MIPS: Consolidate NPTL/non versions of vfork
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-27  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
4         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
7         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8
9 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
10
11         [BZ #17092]
12         * nscd/nscd.c (monitor_child): Return exit status of child
13         instead of return value from wait syscall.
14
15 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
16
17         * configure.ac (libc_commonpagesize): Remove variable.
18         (libc_relro_required): Likewise.
19         (libc_cv_z_relro): Remove configure test.
20         * configure: Regenerated.
21         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
22         variable.
23         (libc_relro_required): Likewise.
24         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
25         (libc_relro_required): Likewise.
26         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
27         (libc_relro_required): Likewise.
28         * sysdeps/arm/preconfigure: Regenerated.
29         * sysdeps/ia64/preconfigure: Remove file.
30         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31         variable.
32         (libc_relro_required): Likewise.
33
34         [BZ #16561]
35         [BZ #16562]
36         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
37         (__ieee754_yn): Set FE_TONEAREST mode internally and then
38         recompute overflowing results in original rounding mode.
39         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
40         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
41         recompute overflowing results in original rounding mode.
42         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
43         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
44         recompute overflowing results in original rounding mode.
45         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
46         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47         recompute overflowing results in original rounding mode.
48         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
49         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
50         recompute overflowing results in original rounding mode.
51         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
52         (libc_feholdsetround_ctx): New macro.
53         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
54         * sysdeps/i386/fpu/libm-test-ulps: Update.
55         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
56
57 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
58
59         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
60         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
61         corresponding .cpsetup call.
62
63 2014-06-26  Roland McGrath  <roland@hack.frob.com>
64
65         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
66         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
67         * sysdeps/arm/Makefile [$(subdir) = csu]
68         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
69         (static-only-routines): Add aeabi_read_tp here.
70         (shared-only-routines): Add libc-aeabi_read_tp here.
71         (CFLAGS-libc-start.c): Add -fexceptions here.
72         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
73         (sysdep_routines, static-only-routines, shared-only-routines):
74         Don't add to these here.
75         (CFLAGS-libc-start.c): Likewise.
76
77         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
78         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
79         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
80         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
81         * sysdeps/arm/Makefile [$(subdir) = rt]
82         (librt-sysdep_routines, librt-shared-only-routines):
83         Append rt-aeabi_unwind_cpp_pr1 here.
84         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
85         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
86         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
87         (libpthread-sysdep_routines, libpthread-shared-only-routines):
88         Append nptl-aeabi_unwind_cpp_pr1 here.
89         (tests): Filter out tst-cleanupx4 here.
90         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
91         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
92         Don't do those here.
93
94 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
95
96         * scripts/list-sources.sh: Do not handle ports specially.
97
98 2014-06-26  Roland McGrath  <roland@hack.frob.com>
99
100         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
101         * sysdeps/arm/feupdateenv.c: Likewise.
102
103         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
104
105 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
106
107         * manual/texinfo.tex: Update to version 2014-05-05.10 with
108         trailing whitespace removed.
109         * scripts/config.guess: Update to version 2014-03-23.
110         * scripts/config.sub: Update to version 2014-05-01
111         * scripts/install-sh: Update to version 2013-12-25.23.
112         * scripts/move-if-change: Update from gnulib.
113
114 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
115
116         * debug/memmove_chk.c: Remove pagecopy.h include.
117
118 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
119
120         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
121         identical to gnulib mktime.
122
123 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
124
125         * configure.ac: Do not test for machine being rs6000.  Do not test
126         for powerpc*-*soft.
127         * configure: Regenerated.
128
129         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
130         test.
131         * configure: Regenerated.
132         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
133         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
134         Remove configure test.
135         * sysdeps/arm/configure: Regenerated.
136         * sysdeps/nptl/configure.ac: Do not check
137         libc_cv_asm_cfi_directives.
138         * sysdeps/nptl/configure: Regenerated.
139         * sysdeps/x86_64/nptl/configure.ac: Remove file.
140         * sysdeps/x86_64/nptl/configure: Remove generated file.
141         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
142         unconditional.
143         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
144
145 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
146
147         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
148         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
149         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
150         it is defined.
151
152         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
153         instead of whether it is defined.
154         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
155         * sysdeps/hppa/dl-machine.h: Likewise.
156         * sysdeps/ia64/dl-machine.h: Likewise.
157         * sysdeps/m68k/dl-machine.h: Likewise.
158         * sysdeps/microblaze/dl-machine.h: Likewise.
159         * sysdeps/mips/dl-machine.: Likewise.
160         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
161         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
162         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
163         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
164         * sysdeps/sh/dl-machine.h: Likewise.
165         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
166         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
167         * sysdeps/tile/dl-machine.h: Likewise.
168         * sysdeps/x86_64/dl-machine.h: Likewise.
169
170         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
171         code.
172         (verify_persistent_db): Likewise.
173
174 2014-06-26  Roland McGrath  <roland@hack.frob.com>
175
176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
177         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
179         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
181         Moved ...
182         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
183         ... here.
184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
185         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
187         Identical file removed.
188         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
189         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
190         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
191         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
192         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
193         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
194         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
195         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
196         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
197         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
199         Moved ...
200         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
202         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
204         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
206         Moved ...
207         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
209         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
210         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
211         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
213         Identical file removed.
214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
215         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
217         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
219         Moved ...
220         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
221         ... here.
222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
223         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
225         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
227         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
229         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
231         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
233         Moved ...
234         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
235         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
236         Moved ...
237         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
238         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
239         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
240         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
241         Moved ...
242         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
243         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
244         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
245
246         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
247         folded into ...
248         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
249         * sysdeps/unix/sysv/linux/s390/Versions
250         (libpthread: GLIBC_2.19): New version set.
251         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
252         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
253         (librt: GLIBC_2.3.3): New version set.
254         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
255         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
256         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
257         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
258         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
259         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
260         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
261         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
262         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
263         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
264         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
265         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
266         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
267         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
268         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
269         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
270         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
271         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
272         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
273         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
274         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
275         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
276         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
278         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
279         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
280         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
281         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
282         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
283         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
284         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
285         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
286         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
287         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
288         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
289         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
290         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
291         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
292         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
293         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
294         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
295         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
296         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
297         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
298         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
299
300         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
301         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
302         (__libc_vfork): Define the function under this name.
303         [!NOT_IN_libc] (__vfork): Make this an alias.
304         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
305         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
306         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
307         (__libc_vfork): Define the function under this name.
308         [!NOT_IN_libc] (__vfork): Make this an alias.
309         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
310         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
311         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
312         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
313         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
314         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
315
316         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
317         code that was previously under [RESET_PID].
318         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
319         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
320         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
321
322         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
323         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
324         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
325         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
326         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
327         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
328         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
329         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
330         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
331         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
332         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
333         Moved ...
334         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
335         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
336         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
337         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
338         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
339         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
340         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
341         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
342         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
343         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
344         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
345         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
346         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
347         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
348         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
349         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
350         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
351         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
352         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
353         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
354         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
355         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
356         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
357         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
358         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
359         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
360         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
361         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
362         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
363
364 2014-06-25  Roland McGrath  <roland@hack.frob.com>
365
366         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
367         that was previously under [RESET_PID].
368         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
369
370 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
371
372         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
373         not undefine and redefine.
374         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
375         [O_CLOEXEC]: Make code unconditional.
376         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
377         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
378         <kernel-features.h>.
379         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
380         conditional variable definition.
381         (shm_open) [O_CLOEXEC]: Make code unconditional.
382         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
383         code.
384
385         * configure.ac (USE_REGPARMS): Don't define here.
386         * configure: Regenerated.
387         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
388         * sysdeps/i386/configure: Regenerated.
389
390         * nptl/createthread.c: Don't include kernel-features.h.
391         * nptl/pthread_cancel.c: Likewise.
392         * nptl/pthread_condattr_setclock.c: Likewise.
393         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
394         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
395         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
396         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
397         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
398         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
399         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
400         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
401         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
402         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
403         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
404         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
405         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
406         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
407         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
408         * nscd/gai.c: Likewise.
409         * nss/nss_db/db-open.c: Likewise.
410         * sysdeps/generic/ldsodefs.h: Likewise.
411         * sysdeps/sh/nptl/tls.h: Likewise.
412         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
413         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
414         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
415         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
416         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
417         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
418         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
419         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
420         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
421         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
422         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
423         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
424         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
425         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
426         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
427         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
428         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
429         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
430         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
431         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
432         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
433         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
434         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
435         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
436         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
437         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
438         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
439         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
440         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
441         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
442         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
443         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
444         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
445         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
446         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
447         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
448         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
449         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
450         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
451         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
452         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
453         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
454         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
455         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
456         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
457         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
458         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
459         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
460         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
461         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
462         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
463         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
464         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
465         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
466         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
467         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
468         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
469         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
473         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
492         * sysdeps/unix/sysv/linux/pread.c: Likewise.
493         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
494         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
495         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
496         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
497         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
498         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
499         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
500         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
501         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
502         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
503         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
504         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
505         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
506         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
507         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
508         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
509         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
510         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
511         * sysdeps/unix/sysv/linux/system.c: Likewise.
512         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
513         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
514         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
515         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
516         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
517         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
518         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
519
520         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
521         * configure: Regenerated.
522         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
523
524         * configure.ac (base_machine): Do not set specially for particular
525         machines here.
526         * configure: Regenerated.
527         * sysdeps/powerpc/preconfigure: Move machine and base_machine
528         settings from configure.ac.
529         * sysdeps/i386/preconfigure: New file.
530         * sysdeps/s390/preconfigure: Likewise.
531         * sysdeps/sh/preconfigure: Likewise.
532         * sysdeps/sparc/preconfigure: Likewise.
533
534 2014-06-25  Roland McGrath  <roland@hack.frob.com>
535
536         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
537         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
538         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
539         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
540         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
541         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
542         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
543         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
544         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
545         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
546         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
547         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
548         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
549         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
550         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
551         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
552         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
553         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
554         * sysdeps/sparc/sparc64/Makefile: ... appended here.
555
556         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
557         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
558         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
559         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
560         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
561         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
562         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
563         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
564         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
565         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
566         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
567         * sysdeps/sparc/sparc32/sem_post.c: ... here.
568         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
569         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
570         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
571         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
572         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
573         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
574         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
575         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
576         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
577         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
578         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
579         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
580         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
581         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
582         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
583         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
584         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
585         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
586         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
587         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
588         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
589         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
590         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
591         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
592         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
593         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
594
595         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
596         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
597         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
598         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
599         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
600         Moved ...
601         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
602         ... here.
603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
604         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
605         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
606         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
607         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
608         Moved ...
609         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
611         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
613         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
615         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
617         Moved ...
618         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
620         Moved ...
621         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
623         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
625         Moved ...
626         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
627         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
628         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
629         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
630         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
632         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
634         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
636         Moved ...
637         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
638         ... here.
639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
640         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
642         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
644         Moved ...
645         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
646         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
647         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
648         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
649         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
650         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
651         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
652         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
653         Moved ...
654         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
655         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
656         Moved ...
657         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
658         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
659         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
660         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
661         Moved ...
662         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
663         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
664         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
665         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
666         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
667
668 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
669
670         * timezone/checktab.awk: Update from tzcode 2014e.
671         * timezone/private.h: Likewise.
672         * timezone/tzfile.h: Likewise.
673         * timezone/zdump.c: Likewise.
674         * timezone/zic.c: Likewise.
675
676         * sysdeps/unix/sysv/linux/kernel-features.h
677         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
678         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
679         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
680         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
681         Remove conditional code.
682
683 2014-06-25  Will Newton  <will.newton@linaro.org>
684
685         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
686         (_dl_arm_cap_flags): Add HWCAP2 values.
687         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
688         (_DL_HWCAP_COUNT): Increase to 37.
689         (_DL_HWCAP_LAST): New define.
690         (_DL_HWCAP2_LAST): New define.
691         (_dl_procinfo): Add support for printing
692         AT_HWCAP2 entries.
693         (_dl_string_hwcap): Use _dl_hwcap_string.
694
695 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
696
697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
698
699 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
700
701         * README: Do not mention ports directory.
702
703         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
704         Remove macro.
705         * sysdeps/unix/sysv/linux/futimes.c: Do not include
706         <kernel-features.h>.
707         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
708         conditional variable definition.
709         (__futimes): Update comment.
710         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
711         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
712
713         [BZ #16560]
714         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
715         arguments close to 0.
716         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
717         Likewise.
718         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
719         Likewise.
720         * math/auto-libm-test-in: Add more tests of exp10.
721         * math/auto-libm-test-out: Regenerated.
722         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
723
724         * sysdeps/unix/sysv/linux/kernel-features.h
725         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
726         * sysdeps/unix/sysv/linux/readv.c: Do not include
727         <kernel-features.h>.
728         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
729         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
730         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
731         unconditional.
732         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
733         conditional code.
734         * sysdeps/unix/sysv/linux/writev.c: Do not include
735         <kernel-features.h>.
736         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
737         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
738         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
739         unconditional.
740         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
741         conditional code.
742
743 2014-06-25  Will Newton  <will.newton@linaro.org>
744
745         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
746         comment changes throughout the file.  Remove checks
747         for HAVE_*_H definitions that are not required.
748         (__gen_tempname): Call abort if an unknown kind value is
749         passed.
750
751 2014-06-25  Andreas Schwab  <schwab@suse.de>
752
753         [BZ #17086]
754         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
755         scalbln, scalblnf, scalblnl in libc.
756
757 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
758
759         [BZ #17086]
760         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
761         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
762         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
763
764 2014-06-24  Roland McGrath  <roland@hack.frob.com>
765
766         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
767         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
768         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
769         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
770         Update #include.
771         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
772         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
773         Update #include.
774         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
775         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
776         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
777         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
778         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
779         * sysdeps/x86/bits/pthreadtypes.h: ... here.
780         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
781         * sysdeps/x86/bits/semaphore.h: ... here.
782         * sysdeps/x86/nptl/elide.h: Moved ...
783         * sysdeps/x86/elide.h: ... here.
784         * sysdeps/x86_64/nptl/Implies: File removed.
785         * sysdeps/i386/nptl/Implies: File removed.
786
787 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
788
789         [BZ #16539]
790         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
791         return the argument for normal arguments with exponent below -64.
792         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
793         Likewise.
794         * math/auto-libm-test-in: Add another test of expm1.
795         * math/auto-libm-test-out: Regenerated.
796
797         [BZ #16287]
798         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
799         calling __erfcl for arguments at least 16.
800         * math/auto-libm-test-in: Add more tests of erf.
801         * math/auto-libm-test-out: Regenerated.
802
803         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
804         individual architectures.
805         * sysdeps/unix/sysv/linux/configure: Regenerated.
806         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
807         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
808         * sysdeps/unix/sysv/linux/powerpc/configure.ac
809         (ldd_rewrite_script): Define variable.
810         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
812         file.
813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
814         generated file.
815         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
816         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
817         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
818         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
819         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
820         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
821         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
822         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
823
824 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
825
826         [BZ #17084]
827         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
828         Rename member __data.d to __data.__elision_data.
829
830 2014-06-24  Wilco  <wdijkstr@arm.com>
831
832         * NEWS: Add 16918 to fixed bug list.
833
834 2014-06-24  Wilco  <wdijkstr@arm.com>
835
836         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
837
838 2014-06-24  Wilco  <wdijkstr@arm.com>
839
840         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
841         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
842         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
843         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
844         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
845         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
846         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
847         Use _FPU_MASK_RM.
848
849 2014-06-24  Wilco  <wdijkstr@arm.com>
850
851         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
852
853 2014-06-24  Wilco  <wdijkstr@arm.com>
854
855         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
856         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
857         * sysdeps/arm/fesetround.c (fesetround): Remove space.
858         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
859
860 2014-06-24  Wilco  <wdijkstr@arm.com>
861
862         [BZ #16918]
863         * sysdeps/arm/feupdateenv.c (feupdateenv):
864         Rewrite to reduce FPSCR accesses and fix return value.
865
866 2014-06-24  Wilco  <wdijkstr@arm.com>
867
868         * sysdeps/arm/fclrexcpt.c (feclearexcept):
869         Optimize to avoid unnecessary FPSCR writes.
870         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
871         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
872         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
873         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
874
875 2014-06-24  Wilco  <wdijkstr@arm.com>
876
877         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
878         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
879         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
880         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
881         Call libc_fetestexcept_vfp.
882         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
883         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
884         __SOFTFP__ ifdef so that they can be built for softfp.
885
886 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
887
888         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
889         argument type signed char.
890
891         * Makerules (check-abi): Dump diff of symlist if the test
892         fails.
893
894 2014-06-23  Roland McGrath  <roland@hack.frob.com>
895
896         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
897         using abort.
898
899         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
900         Remove unused variable ST.
901
902 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
903
904         [BZ #16354]
905         [BZ #17061]
906         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
907         small arguments before calling __expm1.
908         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
909         small arguments before calling __expm1f.
910         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
911         small arguments before calling __expm1l.
912         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
913         Likewise.
914         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
915         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
916         spurious underflow for some cosh tests.
917         * math/auto-libm-test-out: Regenerated.
918         * sysdeps/i386/fpu/libm-test-ulps: Update.
919
920         [BZ #17050]
921         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
922         (__ieee754_y1): Set errno if return value overflows.
923         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
924         (__ieee754_y1f): Set errno if return value overflows.
925         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
926         (__ieee754_y1l): Set errno if return value overflows.
927         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
928         (__ieee754_y1l): Set errno if return value overflows.
929         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
930         * math/auto-libm-test-out: Regenerated.
931
932         * math/gen-auto-libm-tests.c: Document use of
933         ignore-zero-inf-sign.
934         (input_flag_type): Add value flag_ignore_zero_inf_sign.
935         (input_flags): Add ignore-zero-inf-sign.
936         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
937         * math/gen-libm-test.pl (generate_testfile): Handle
938         ignore-zero-inf-sign.
939         * math/auto-libm-test-in: Mark some cpow tests with
940         ignore-zero-inf-sign and some with xfail-rounding.
941         * math/auto-libm-test-out: Regenerated.
942         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
943         * sysdeps/i386/fpu/libm-test-ulps: Update.
944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
945
946         [BZ #16315]
947         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
948         overflowing or underflowing operations take place with sign of
949         result.
950         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
951         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
952         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
953         (__ieee754_pow): Recompute overflowing and underflowing results in
954         original rounding mode.
955         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
956         (__powl_helper): Allow negative argument X and scale negated value
957         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
958         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
959         overflowing or underflowing operations take place with sign of
960         result.
961         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
962         Include <math.h>.
963         * math/auto-libm-test-in: Add more tests of pow.
964         * math/auto-libm-test-out: Regenerated.
965         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
966         (pow_tonearest_test_data): Remove.
967         (pow_test_tonearest): Likewise.
968         (pow_towardzero_test_data): Likewise.
969         (pow_test_towardzero): Likewise.
970         (pow_downward_test_data): Likewise.
971         (pow_test_downward): Likewise.
972         (pow_upward_test_data): Likewise.
973         (pow_test_upward): Likewise.
974         (main): Don't call removed functions.
975         * sysdeps/i386/fpu/libm-test-ulps: Update.
976         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
977
978 2014-06-23  Roland McGrath  <roland@hack.frob.com>
979
980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
981         Moved ...
982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
984         Moved ...
985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
986         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
987         Moved ...
988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
990         Moved ...
991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
993         File removed.
994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
995         File removed.
996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
997         File removed.
998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
999         File removed.
1000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
1001         File removed.
1002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
1003         File removed.
1004         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
1005         File removed.
1006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
1007         File removed.
1008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
1009         File removed.
1010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
1011         File removed.
1012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
1013         File removed.
1014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
1015         File removed.
1016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
1017         Moved ...
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
1019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
1020         Moved ...
1021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
1022         ... here.
1023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
1024         Moved ...
1025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
1026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
1027         Moved ...
1028         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
1029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
1030         Moved ...
1031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
1032         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
1033         Moved ...
1034         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
1035         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
1036         Moved ...
1037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
1038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
1039         Moved ...
1040         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
1041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
1042         Moved ...
1043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
1044         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
1045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
1046         ... here.
1047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
1048         Moved ...
1049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1051         Moved ...
1052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1053         ... here.
1054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
1055         Moved ...
1056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1057         ... here.
1058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1059         Moved ...
1060         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1061         ... here.
1062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
1063         Moved ...
1064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
1065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
1066         Moved ...
1067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
1068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
1069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
1070         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
1071         Moved ...
1072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
1073         ... here.
1074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
1075         Moved ...
1076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
1077         ... here.
1078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
1079         Moved ...
1080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
1081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
1082         Moved ...
1083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
1084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
1085         Moved ...
1086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
1087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
1088         Moved ...
1089         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
1090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
1091         Moved ...
1092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
1093         ... here.
1094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
1095         Moved ...
1096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
1097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
1098         Moved ...
1099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
1100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
1101         Moved ...
1102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
1103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
1104         Moved ...
1105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
1106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
1107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
1108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
1109         Moved ...
1110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
1111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
1112         Moved ...
1113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
1114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
1115         Moved ...
1116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
1117         ... here.
1118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
1119         Moved ...
1120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
1121         ... here.
1122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
1123         Moved ...
1124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
1125         ... here.
1126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
1127         Moved ...
1128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
1129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
1130         Moved ...
1131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
1132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
1133         Moved ...
1134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
1135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
1136         Moved ...
1137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
1138         ... here.
1139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
1140         Moved ...
1141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
1142         ... here.
1143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
1144         Moved ...
1145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
1146         ... here.
1147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
1148         Moved ...
1149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
1150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
1151         Moved ...
1152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
1153
1154 2014-06-23  Will Newton  <will.newton@linaro.org>
1155             Wilco  <wdijkstr@arm.com>
1156
1157         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
1158         implementation.  Include get-rounding-mode.h.
1159         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
1160         [!libc_feholdsetround_noex_ctx]: Define
1161         libc_feholdsetround_noex_ctx.
1162         [!libc_feholdsetround_noexf_ctx]: Define
1163         libc_feholdsetround_noexf_ctx.
1164         [!libc_feholdsetround_noexl_ctx]: Define
1165         libc_feholdsetround_noexl_ctx.
1166         (libc_feholdsetround_ctx): New function.
1167         (libc_feresetround_ctx): New function.
1168         (libc_feholdsetround_noex_ctx): New function.
1169         (libc_feresetround_noex_ctx): New function.
1170
1171 2014-06-23  Roland McGrath  <roland@hack.frob.com>
1172
1173         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
1174         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
1175         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
1176         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
1177         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
1178         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
1179
1180         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
1181         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
1182         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
1183         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
1184         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
1185         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
1186         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
1187         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
1188         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
1189         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
1190         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
1191         Moved ...
1192         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
1193         ... here.
1194         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
1195         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
1196         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
1197         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
1198         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
1199         Moved ...
1200         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
1201         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
1202         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
1203         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
1204         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
1205         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
1206         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
1207         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
1208         Moved ...
1209         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
1210         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
1211         Moved ...
1212         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
1213         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
1214         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
1215         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
1216         Moved ...
1217         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
1218         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
1219         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
1220         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
1221         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
1222         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
1223         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
1224         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
1225         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
1226         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
1227         Moved ...
1228         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
1229         ... here.
1230         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
1231         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
1232         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
1233         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
1234         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
1235         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
1236         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
1237         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
1238         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
1239         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
1240         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
1241         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
1242         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
1243         Moved ...
1244         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
1245         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
1246         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
1247         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
1248         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
1249         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
1250         Moved ...
1251         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
1252         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
1253         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
1254         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
1255         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
1256
1257         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
1258         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
1259         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
1260         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
1261         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
1262         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
1263         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
1264         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
1265         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
1266         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
1267         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
1268         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
1269         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
1270         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
1271         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
1272         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
1273         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
1274         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
1275         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
1276         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
1277         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
1278         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
1279         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
1280         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
1281         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
1282         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
1283         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
1284         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
1285
1286 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
1287
1288         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
1289         (FALLOC_FL_COLLAPSE_RANGE): New macro.
1290         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
1291         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
1292         (IPV6_PMTUDISC_INTERFACE): Likewise.
1293         (IPV6_PMTUDISC_OMIT): Likewise.
1294
1295 2014-06-23  Andreas Schwab  <schwab@suse.de>
1296
1297         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
1298         Remove unused errout label.
1299
1300 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1301
1302         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
1303         macro: hardware supports Vector Crypto instructions.
1304
1305 2014-06-23  Will Newton  <will.newton@linaro.org>
1306
1307         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
1308         rather than __builtin_expect.
1309
1310         * elf/dl-lookup.c (undefined_msg): Remove variable.
1311         (_dl_lookup_symbol_x): Replace undefined_msg with string
1312         literal.
1313
1314         * elf/dl-lookup.c (do_lookup_unique): New function.
1315         (do_lookup_x): Move STB_GNU_UNIQUE handling code
1316         to a separate function.
1317
1318 2014-06-23  Andreas Schwab  <schwab@suse.de>
1319
1320         [BZ #17079]
1321         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
1322         before reading the next line.
1323
1324 2014-06-23  Will Newton  <will.newton@linaro.org>
1325
1326         * test-skeleton.c (signal_handler): Use printf and %m
1327         rather than perror.  Use printf rather than fprintf to
1328         stderr.  Use puts rather than fputs to stderr.
1329         (main): Likewise.
1330
1331 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
1332
1333         * nscd/nscd.c (thread_info_t): Remove typedef.
1334         (thread_info): Remove variable.
1335
1336 2014-06-21  Allan McRae  <allan@archlinux.org>
1337
1338         * NEWS: Mention CVE-2014-4043.
1339
1340 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1341
1342         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
1343         * nptl/smp.h: ... here.
1344
1345         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
1346
1347         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
1348         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
1349         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
1350         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
1351
1352         * nptl/allocatestack.c: Include <stack-aliasing.h>.
1353         * nptl/stack-aliasing.h: New file.
1354         * sysdeps/i386/i686/stack-aliasing.h: New file.
1355         * sysdeps/i386/i686/nptl/Makefile: File removed.
1356         * sysdeps/x86_64/stack-aliasing.h: New file.
1357         * sysdeps/x86_64/nptl/Makefile
1358         (CFLAGS-pthread_create.c): Variable removed.
1359
1360         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
1361         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
1362         old file.
1363         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
1364         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
1365         old file.
1366
1367 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
1368
1369         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1370         (__ASSUME_SIGFRAME_V2): Remove macro.
1371         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
1372         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
1373         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
1374         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
1375         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
1376         Declare as function.  Remove conditional macro definitions.
1377         (__default_rt_sa_restorer): Likewise.
1378         (__default_sa_restorer_v1): Remove declaration.
1379         (__default_sa_restorer_v2): Likewise.
1380         (__default_rt_sa_restorer_v1): Likewise.
1381         (__default_rt_sa_restorer_v2): Likewise.
1382         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
1383         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
1384         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
1385
1386 2014-06-20  Roland McGrath  <roland@hack.frob.com>
1387
1388         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
1389         (libpthread-routines): Add sysdep.
1390         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
1391         * sysdeps/unix/sysv/linux/sparc/Versions
1392         (libpthread: GLIBC_2.3.3): New version set.
1393         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
1394         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
1395         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
1396         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
1397         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
1398         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
1399         Moved ...
1400         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
1401         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
1402         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
1403         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
1404         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
1405         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
1406         * sysdeps/sparc/nptl/sem_init.c: ... here.
1407         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
1408         * sysdeps/sparc/nptl/sem_post.c: ... here.
1409         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
1410         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
1411         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
1412         * sysdeps/sparc/nptl/sem_wait.c: ... here.
1413         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
1414         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
1415         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
1416         (libpthread-routines): Add cpu_relax.
1417         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
1418         File removed.
1419         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
1420         (librt: GLIBC_2.3.3): New version set.
1421         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
1422         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
1423         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
1424         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
1425         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
1426         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
1427         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
1428         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
1429         Moved ...
1430         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
1431         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
1432         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
1433         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
1434         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
1435         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
1436         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
1437         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
1438         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
1439         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
1440         Moved ...
1441         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
1442         Update #include.
1443         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
1444         Moved ...
1445         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
1446         Update #include.
1447         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
1448         Moved ...
1449         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
1450         Update #include.
1451         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
1452         Moved ...
1453         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
1454         Update #include.
1455         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
1456         Moved ...
1457         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
1458         Update #include.
1459         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
1460         Moved ...
1461         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
1462         Update #include.
1463         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
1464         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
1465         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
1466         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
1467         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
1468         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
1469         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
1470         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
1471         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
1472         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
1473         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
1474         Moved ...
1475         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
1476         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
1477         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
1478         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
1479         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
1480
1481 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1482
1483         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
1484         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
1485         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
1486         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
1487         * nscd/nscd.c: Likewise.
1488         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
1489         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
1490         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
1491         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
1492
1493         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
1494         <kernel-features.h>.
1495         (init_mq_netlink): Remove conditional have_sock_cloexec
1496         definitions.  Remove code conditional on have_sock_cloexec < 0.
1497         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
1498         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
1499         * sysdeps/unix/sysv/linux/opensock.c: Do not include
1500         <kernel-features.h>.
1501         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
1502         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
1503
1504 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1505
1506         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
1507         Add tests for memset_chk and memset.
1508
1509         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
1510         with AVX2_Usable.
1511
1512 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1513
1514         [BZ #16046]
1515         * elf/tst-dl-iter-static.c: New file.
1516         * elf/Makefile (tests-static): Add tst-dl-iter-static.
1517
1518         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
1519         error.
1520
1521 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1522
1523         * sysdeps/unix/sysv/linux/kernel-features.h
1524         (__ASSUME_F_GETOWN_EX): Remove macro.
1525         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
1526         <kernel-features.h>.
1527         (miss_F_GETOWN_EX): Remove variable or macro.
1528         (do_fcntl): Do not check miss_F_GETOWN_EX.
1529         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
1530
1531         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
1532         Remove macro.
1533         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
1534         [!__ASSUME_AT_RANDOM]: Remove conditional code.
1535         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
1536
1537         * sysdeps/unix/sysv/linux/kernel-features.h
1538         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
1539         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
1540         [ADJ_OFFSET_SS_READ]: Make code unconditional.
1541         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
1542
1543 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
1544
1545         [BZ #17075]
1546         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
1547         Fix calculation of the symbol's value.
1548         * sysdeps/arm/tst-armtlsdescloc.c: New file.
1549         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
1550         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
1551         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
1552         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
1553         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
1554         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
1555         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
1556         (modules-names): Add `tst-armtlsdescmod',
1557         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
1558         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
1559         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1560         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
1561         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
1562         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
1563         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
1564         ($(objpfx)tst-armtlsdescloc): New dependency.
1565         ($(objpfx)tst-armtlsdescextnow): Likewise.
1566         ($(objpfx)tst-armtlsdescextlazy): Likewise.
1567         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
1568         TLS scheme support.
1569         * sysdeps/arm/configure: Regenerate.
1570
1571 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
1572
1573         * include/fcntl.h (__atfct_seterrno): Remove prototype.
1574         (__atfct_seterrno_2): Likewise.
1575         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
1576         <kernel-features.h>.
1577         (__ASSUME_ATFCTS): Do not undefine and redefine.
1578         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
1579         (__have_atfcts): Remove conditional definition.
1580         (__fxstatat([__NR_fstatat64]: Make code unconditional.
1581         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
1582         unreachable if [__ASSUME_ATFCTS].
1583         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
1584         not undefine and redefine.
1585         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
1586         <kernel-features.h>.
1587         (faccessat) [__NR_faccessat]: Make code unconditional.
1588         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
1589         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
1590         <kernel-features.h>.
1591         (fchmodat) [__NR_fchmodat]: Make code unconditional.
1592         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1593         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
1594         <kernel-features.h>.
1595         (fchownat) [__NR_fchownat]: Make code unconditional.
1596         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
1597         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
1598         <kernel-features.h>.
1599         (futimesat) [__NR_futimesat]: Make code unconditional.
1600         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
1601         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
1602         <kernel-features.h>.
1603         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1604         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1605         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
1606         <kernel-features.h>.
1607         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
1608         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1609         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
1610         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
1611         <kernel-features.h>.
1612         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
1613         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1614         * sysdeps/unix/sysv/linux/linkat.c: Do not include
1615         <kernel-features.h>.
1616         (linkat) [__NR_linkat]: Make code unconditional.
1617         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1618         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
1619         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
1620         <kernel-features.h>.
1621         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
1622         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
1623         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
1624         <kernel-features.h>.
1625         (mkdirat) [__NR_mkdirat]: Make code unconditional.
1626         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
1627         * sysdeps/unix/sysv/linux/openat.c: Do not include
1628         <kernel-features.h>.
1629         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
1630         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
1631         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
1632         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
1633         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
1634         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
1635         <kernel-features.h>.
1636         (readlinkat) [__NR_readlinkat]: Make code unconditional.
1637         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
1638         result of INLINE_SYSCALL directly, not via int variable.
1639         * sysdeps/unix/sysv/linux/renameat.c: Do not include
1640         <kernel-features.h>.
1641         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
1642         (renameat) [__NR_renameat]: Make code unconditional.
1643         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
1644         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
1645         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
1646         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
1647         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
1648         (__ASSUME_ATFCTS): Do not undefine and redefine.
1649         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
1650         <kernel-features.h>.
1651         (symlinkat) [__NR_symlinkat]: Make code unconditional.
1652         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1653         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
1654         <kernel-features.h>.
1655         (unlinkat) [__NR_unlinkat]: Make code unconditional.
1656         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
1657         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
1658         (__ASSUME_ATFCTS): Do not undefine and redefine.
1659         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
1660         <kernel-features.h>.
1661         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
1662         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
1663         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
1664         <kernel-features.h>.
1665         (__xmknodat) [__NR_mknodat]: Make code unconditional.
1666         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
1667
1668 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1669
1670         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
1671
1672 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
1673
1674         [BZ #17069]
1675         * posix/regcomp.c (parse_reg_exp): Deallocate partially
1676         constructed tree before returning error.
1677         * posix/bug-regexp36.c: Expand test case.
1678
1679 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
1680
1681         [BZ #6803]
1682         * math/libm-test.inc (scalbln_test_date):
1683         Add errno expectations.
1684         * math/w_scalblnf.c: New File.
1685         Add wrapper which checks for setting errno to ERANGE.
1686         Add weak_alias for corresponding scalbln function.
1687         * math/w_scalbln.c: Likewise.
1688         * math/w_scalblnl.c: Likewise.
1689         * math/Makefile (libm-calls): Add w_scalbln.
1690         * sysdeps/ieee754/flt-32/s_scalblnf.c:
1691         Remove weak_alias for corresponding scalbln function.
1692         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1693         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
1694         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
1695         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1696         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
1697         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
1698         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
1699         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
1700         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
1701         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
1702         Remove long_double_symbol for scalblnl function in libm, libc.
1703         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
1704         Add wrapper which checks for setting errno to ERANGE.
1705         Add long_double_symbol for scalblnl function in libm, libc.
1706         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
1707         Remove long_double_symbol for scalblnl in libm.
1708         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
1709         Add wrapper which checks for setting errno to ERANGE.
1710         Add long_double_symbol for scalblnl function in libm.
1711         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
1712         Do not use wrapper because of own implementation.
1713
1714 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1715
1716         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
1717         3 bytes for __pad1 for x32.
1718         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
1719
1720 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
1721             H.J. Lu  <hongjiu.lu@intel.com>
1722
1723         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
1724         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
1725         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1726         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1727         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
1728
1729 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
1730
1731         [BZ #17069]
1732         * posix/regcomp.c (parse_expression): Deallocate partially
1733         constructed tree before returning error.
1734         * posix/Makefile.c (tests): Add bug-regex36.
1735         (generated): Add bug-regex36.mtrace.
1736         (tests-special): Add $(objpfx)bug-regex36-mem.out
1737         (bug-regex36-ENV): New variable.
1738         ($(objpfx)bug-regex36-mem.out): New rule.
1739         * posix/bug-regex36.c: New file.
1740
1741 2014-06-19  Will Newton  <will.newton@linaro.org>
1742
1743         * malloc/malloc.c (systrim): If extra is zero then return
1744         early.
1745
1746 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
1747
1748         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
1749
1750 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
1751
1752         * sysdeps/aarch64/strchr.S: New file.
1753
1754 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1755
1756         [BZ #17022]
1757         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
1758         from arguments -2 or below.
1759         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
1760         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
1761
1762 2014-06-18  Andreas Schwab  <schwab@suse.de>
1763
1764         [BZ #17062]
1765         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
1766         of a bracket expr not to run off the end of the string.
1767         * posix/Makefile (tests): Add tst-fnmatch3.
1768         * posix/tst-fnmatch3.c: New file.
1769
1770 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
1771
1772         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
1773         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1774         [$(cross-compiling) = no]: Likewise.
1775         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1776         [$(cross-compiling) = no]: Likewise.
1777
1778 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1779
1780         [BZ #17031]
1781         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
1782         double, adjusted for any remainder from the high double.
1783         * math/libm-test.inc (nearbyint): Add tests.
1784         (rint): Likewise.
1785
1786 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1787
1788         * nptl/sysdeps/powerpc/Makefile: Moved ...
1789         * sysdeps/powerpc/nptl/Makefile: ... here.
1790         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
1791         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
1792         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
1793         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
1794         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
1795         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
1796         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
1797         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
1798         * nptl/sysdeps/powerpc/tls.h: Moved ...
1799         * sysdeps/powerpc/nptl/tls.h: ... here.
1800
1801 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
1802
1803         [BZ #16681]
1804         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
1805         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
1806         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
1807         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
1808         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
1809         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
1810         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
1811         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
1812         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
1813
1814 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
1815
1816         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
1817
1818 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
1819
1820         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
1821         defined operator.
1822
1823         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
1824         $TIMEOUTFACTOR.
1825
1826 2014-06-16  Florian Weimer  <fweimer@redhat.com>
1827
1828         [BZ #17058]
1829         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
1830         non-executed part of the test.
1831
1832 2014-06-16  Andreas Schwab  <schwab@suse.de>
1833
1834         * string/bits/string2.h (strdup, strndup): Update feature guard.
1835
1836 2014-06-14  David S. Miller  <davem@davemloft.net>
1837
1838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1839
1840 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
1841
1842         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
1843         that was previously under [RESET_PID].
1844         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
1845
1846         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
1847         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
1848         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
1849         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1850         (__libc_vfork): New strong alias.
1851         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
1852
1853 2014-06-14 Andi Kleen  <ak@linux.intel.com>
1854
1855         * sysdeps/generic/elide.h: New file.
1856
1857 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1858
1859         * Makefile (installed-headers): Adjust path of pthread.h header.
1860
1861 2014-06-13  Roland McGrath  <roland@hack.frob.com>
1862
1863         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
1864         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
1865         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
1866         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
1867
1868         * nptl/sysdeps/s390/Makefile: Moved ...
1869         * sysdeps/s390/nptl/Makefile: ... here.
1870         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
1871         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
1872         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
1873         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
1874         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
1875         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
1876         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
1877         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
1878         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
1879         * sysdeps/s390/nptl/pthreaddef.h: ... here.
1880         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
1881         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
1882         * nptl/sysdeps/s390/tls.h: Moved ...
1883         * sysdeps/s390/nptl/tls.h: ... here.
1884
1885         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
1886         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
1887
1888 2014-06-13  David S. Miller  <davem@davemloft.net>
1889
1890         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
1891         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
1892         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
1893         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
1894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
1895         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
1896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
1897         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
1898         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
1899         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
1900         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
1901         Remove RESET_PID cpp guards.
1902         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
1903         Remove RESET_PID cpp guards.
1904         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
1905
1906 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
1907
1908         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
1909         __sp to uintptr_t.
1910
1911 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1912
1913         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
1914         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
1915         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
1916         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
1917         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
1918         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
1919         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
1920         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
1921         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
1922         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
1923         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
1924         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
1925         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
1926         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
1927         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
1928         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
1929         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
1930         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
1931         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
1932         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
1933
1934         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
1935         (pthread_rwlock_rdlock): Add elision.
1936         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
1937         (pthread_rwlock_wrlock): Add elision.
1938         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
1939         (pthread_rwlock_trywrlock): Add elision.
1940         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
1941         (pthread_rwlock_tryrdlock): Add elision.
1942         * nptl/pthread_rwlock_unlock.c: Include elide.h.
1943         (pthread_rwlock_tryrdlock): Add elision unlock.
1944         * nptl/sysdeps/pthread/pthread.h:
1945         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
1946         (PTHREAD_RWLOCK_INITIALIZER,
1947         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
1948         Handle new elision field.
1949         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
1950         * sysdeps/arm/nptl/bits/pthreadtypes.h
1951         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1952         * sysdeps/sh/nptl/bits/pthreadtypes.h
1953         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1954         * sysdeps/tile/nptl/bits/pthreadtypes.h
1955         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1956         * sysdeps/a/nptl/bits/pthreadtypes.h
1957         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1958         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1959         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1960         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1961         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1962         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
1963         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1964         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1965         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1966         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1967         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1968         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1969         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1970         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1971         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1972         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
1973         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1974         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
1975         (elision_init): Set try_xbegin to zero when no RTM.
1976         * sysdeps/x86/nptl/bits/pthreadtypes.h
1977         (pthread_rwlock_t): Change __pad1 to __rwelision.
1978         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
1979
1980 2014-06-13  Andi Kleen  <ak@linux.intel.com>
1981
1982         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
1983         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
1984         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
1985         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
1986
1987 2014-06-13  Meador Inge  <meadori@codesourcery.com>
1988
1989         [BZ #16996]
1990         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
1991         that the cached result has been set before returning it.
1992
1993 2014-06-12  Roland McGrath  <roland@hack.frob.com>
1994
1995         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
1996         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
1997         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
1998         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
1999         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
2000         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
2001
2002         * nptl/sysdeps/sparc/Makefile: Moved ...
2003         * sysdeps/sparc/nptl/Makefile: ... here.
2004         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
2005         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
2006         * nptl/sysdeps/sparc/tls.h: Moved ...
2007         * sysdeps/sparc/nptl/tls.h: ... here.
2008         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
2009         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
2010         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
2011         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
2012         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
2013         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
2014         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
2015         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
2016         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
2017         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
2018         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
2019         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
2020         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
2021         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
2022         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
2023         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
2024         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
2025         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
2026         Update #include.
2027         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
2028         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
2029         Update #include.
2030         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
2031         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
2032         Update #include.
2033         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
2034         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
2035         Update #include.
2036
2037         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2038
2039         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
2040         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
2041
2042         * sysdeps/pthread/posix-timer.h: Include <list.h>.
2043         (struct list_links): Type removed.
2044         (struct thread_node, struct timer_node): Replace struct list_links
2045         with struct list_head.
2046         (list_unlink_ip): Likewise.
2047         * sysdeps/pthread/timer_routines.c
2048         (timer_free_list, thread_free_list, thread_active_list): Likewise.
2049         (list_append, list_insbefore): Likewise.
2050         (list_init): Function removed.
2051         (thread_init, init_module): Use INIT_LIST_HEAD instead.
2052         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
2053         * sysdeps/pthread/Makefile: ... here, new file.
2054
2055         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
2056         * sysdeps/nptl/Implies: ... here.
2057         * sysdeps/unix/sysv/linux/Implies: Add nptl.
2058         * nptl/sysdeps/pthread/list.h: Moved ...
2059         * include/list.h: ... here.
2060         * nptl/sysdeps/pthread/createthread.c: Moved ...
2061         * nptl/createthread.c: ... here.
2062         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
2063         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
2064         * nptl/pt-longjmp.c: ... here.
2065         * nptl/sysdeps/pthread/Makefile: Moved ...
2066         * sysdeps/nptl/Makefile: ... here.
2067         * nptl/sysdeps/pthread/Subdirs: Moved ...
2068         * sysdeps/nptl/Subdirs: ... here.
2069         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
2070         * sysdeps/nptl/aio_misc.h: ... here.
2071         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
2072         * sysdeps/nptl/bits/libc-lock.h: ... here.
2073         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
2074         * sysdeps/nptl/bits/libc-lockP.h: ... here.
2075         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
2076         * sysdeps/nptl/bits/stdio-lock.h: ... here.
2077         * nptl/sysdeps/pthread/configure: Moved ...
2078         * sysdeps/nptl/configure: ... here.
2079         * nptl/sysdeps/pthread/configure.ac: Moved ...
2080         * sysdeps/nptl/configure.ac: ... here.
2081         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
2082         * sysdeps/nptl/gai_misc.h: ... here.
2083         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
2084         * sysdeps/nptl/librt-cancellation.c: ... here.
2085         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
2086         * sysdeps/nptl/malloc-machine.h: ... here.
2087         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
2088         * sysdeps/nptl/pthread-functions.h: ... here.
2089         * nptl/sysdeps/pthread/pthread.h: Moved ...
2090         * sysdeps/nptl/pthread.h: ... here.
2091         * nptl/sysdeps/pthread/setxid.h: Moved ...
2092         * sysdeps/nptl/setxid.h: ... here.
2093         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
2094         * sysdeps/nptl/sigfillset.c: ... here.
2095         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
2096         * sysdeps/nptl/tcb-offsets.h: ... here.
2097         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
2098         * sysdeps/nptl/tst-mqueue8x.c: ... here.
2099         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
2100         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
2101         * nptl/sysdeps/pthread/allocalim.h: Moved ...
2102         * sysdeps/pthread/allocalim.h: ... here.
2103         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
2104         * sysdeps/pthread/bits/sigthread.h: ... here.
2105         * nptl/sysdeps/pthread/flockfile.c: Moved ...
2106         * sysdeps/pthread/flockfile.c: ... here.
2107         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
2108         * sysdeps/pthread/ftrylockfile.c: ... here.
2109         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
2110         * sysdeps/pthread/funlockfile.c: ... here.
2111         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
2112         * sysdeps/pthread/posix-timer.h: ... here.
2113         * nptl/sysdeps/pthread/timer_create.c: Moved ...
2114         * sysdeps/pthread/timer_create.c: ... here.
2115         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
2116         * sysdeps/pthread/timer_delete.c: ... here.
2117         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
2118         * sysdeps/pthread/timer_getoverr.c: ... here.
2119         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
2120         * sysdeps/pthread/timer_gettime.c: ... here.
2121         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
2122         * sysdeps/pthread/timer_routines.c: ... here.
2123         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
2124         * sysdeps/pthread/timer_settime.c: ... here.
2125         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
2126         * sysdeps/pthread/tst-timer.c: ... here.
2127         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
2128         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
2129
2130         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
2131         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
2132
2133         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
2134         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
2135         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
2136         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
2137         Update #include target.
2138         * nptl/sysdeps/i386/i686/Makefile: Moved ...
2139         * sysdeps/i386/i686/nptl/Makefile: ... here.
2140         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
2141         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
2142         Update #include target.
2143         * nptl/sysdeps/i386/i686/tls.h: Moved ...
2144         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
2145         * nptl/sysdeps/i386/Makefile: Moved ...
2146         * sysdeps/i386/nptl/Makefile: ... here.
2147         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
2148         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
2149         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
2150         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
2151         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
2152         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
2153         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
2154         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
2155         * sysdeps/i386/nptl/pthreaddef.h: ... here.
2156         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
2157         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
2158         * nptl/sysdeps/i386/tls.h: Moved ...
2159         * sysdeps/i386/nptl/tls.h: ... here.
2160
2161         * sysdeps/sh/Makefile [$(subdir) = csu]
2162         (gen-as-const-headers): Add tcb-offsets.sym.
2163         * nptl/sysdeps/sh/Makefile: File removed.
2164         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
2165         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
2166         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
2167         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
2168         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
2169         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
2170         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
2171         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
2172         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
2173         * sysdeps/sh/nptl/pthreaddef.h: ... here.
2174         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
2175         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
2176         * nptl/sysdeps/sh/tls.h: Moved ...
2177         * sysdeps/sh/nptl/tls.h: ... here.
2178         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
2179         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
2180         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
2181         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
2182         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
2183         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
2184         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
2185         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
2186         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
2187         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
2188         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
2189         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
2190         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
2191         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
2192         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
2193         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
2194         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
2195         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
2196         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
2197         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
2198         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
2199         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
2200         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
2201         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
2202         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
2203         Moved ...
2204         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
2205         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
2206         Moved ...
2207         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
2208         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
2209         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
2210         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
2211         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
2212         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
2213         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
2214         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
2215         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
2216         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
2217         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
2218         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
2219         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
2220         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
2221         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
2222         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
2223         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
2224         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
2225         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
2226
2227 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2228
2229         * posix/spawn_faction_addopen.c: Include string.h.
2230
2231 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2232
2233         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
2234         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
2235         * nptl/sysdeps/x86_64/Makefile: Moved ...
2236         * sysdeps/x86_64/nptl/Makefile: ... here.
2237         * nptl/sysdeps/x86_64/configure: Moved ...
2238         * sysdeps/x86_64/nptl/configure: ... here.
2239         * nptl/sysdeps/x86_64/configure.ac: Moved ...
2240         * sysdeps/x86_64/nptl/configure.ac: ... here.
2241         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
2242         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
2243         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
2244         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
2245         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
2246         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
2247         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
2248         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
2249         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
2250         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
2251         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
2252         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
2253         * nptl/sysdeps/x86_64/tls.h: Moved ...
2254         * sysdeps/x86_64/nptl/tls.h: ... here.
2255         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
2256         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
2257         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
2258         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
2259
2260         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
2261
2262 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2263
2264         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2265
2266 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
2267
2268         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
2269         type.
2270         [POSIX] (off_t): Likewise.
2271         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
2272         [POSIX] (S_ISBLK): Require macro.
2273         [POSIX] (S_ISCHR): Likewise.
2274         [POSIX] (S_ISDIR): Likewise.
2275         [POSIX] (S_ISFIFO): Likewise.
2276         [POSIX] (S_ISREG): Likewise.
2277         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
2278         optional-macro.
2279         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
2280         type.
2281         [POSIX] (time_t): Likewise.
2282         [POSIX] (timer_t): Likewise.
2283
2284 2014-06-11  Florian Weimer  <fweimer@redhat.com>
2285
2286         [BZ #17048]
2287         * posix/spawn_int.h (struct __spawn_action): Make the path string
2288         non-const to support deallocation.
2289         * posix/spawn_faction_addopen.c
2290         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
2291         * posix/spawn_faction_destroy.c
2292         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
2293         path in all spawn_do_open actions.
2294         * posix/tst-spawn.c (do_test): Exercise the copy operation in
2295         posix_spawn_file_actions_addopen.
2296
2297 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
2298
2299         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
2300         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
2301         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
2302         conditional code always true.
2303         (__libc_vfork): New alias.
2304
2305 2014-06-11  Roland McGrath  <roland@hack.frob.com>
2306
2307         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2308         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
2309
2310         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
2311
2312         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2313         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
2314
2315         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
2316         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
2317
2318         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2319         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
2320
2321 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2322
2323         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
2324         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
2325         multiarch strcmp for PPC64.
2326         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
2327         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
2328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
2329         multiarch optimizations.
2330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2331         (__libc_ifunc_impl_list): Likewise.
2332
2333 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2334
2335         * benchtests/scripts/validate_benchout.py: New script.
2336         * benchtests/Makefile (bench-func): Call it.
2337         * benchtests/scripts/benchout.schema.json: New file.
2338
2339 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
2340
2341         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
2342         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
2343         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
2344         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
2345         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
2346         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
2347         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
2348         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
2349         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
2350         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
2351         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
2352         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
2353         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
2354         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
2355         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
2356         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
2357         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2358         Moved ...
2359         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2360         ... here.
2361         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2362         Moved ...
2363         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
2364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2365         Moved ...
2366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2367         ... here.
2368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2369         Moved ...
2370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2371         ... here.
2372         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2373         Moved ...
2374         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
2375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2376         Moved ...
2377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2378         ... here.
2379         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2380         Moved ...
2381         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2382         ... here.
2383         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2384         Moved ...
2385         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
2386         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2387         Moved ...
2388         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2389         ... here.
2390         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2391         Moved ...
2392         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2393         ... here.
2394         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2395         Moved ...
2396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2397         ... here.
2398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2399         Moved ...
2400         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
2401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2402         Moved ...
2403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2404         ... here.
2405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2406         Moved ...
2407         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2408         ... here.
2409         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2410         Moved ...
2411         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2412         ... here.
2413         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2414         Moved ...
2415         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
2416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2417         Moved ...
2418         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2419         ... here.
2420         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2421         Moved ...
2422         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2423         ... here.
2424         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2425         Moved ...
2426         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
2427         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2428         Moved ...
2429         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2430         ... here.
2431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2432         Moved ...
2433         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
2434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2435         Moved ...
2436         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
2437         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2438         Moved ...
2439         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2440         ... here.
2441         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2442         Moved ...
2443         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2444         ... here.
2445         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2446         Moved ...
2447         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2448         ... here.
2449         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2450         Moved ...
2451         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
2452         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2453         Moved ...
2454         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2455         ... here.
2456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2457         Moved ...
2458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2459         ... here.
2460         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
2461         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
2462         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
2463         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
2464         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2465         Moved ...
2466         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2467         ... here.
2468         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
2469         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
2470         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
2471         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
2472         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
2473         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
2474         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
2475         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
2476         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
2477         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
2478         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
2479         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
2480         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2481         Moved ...
2482         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
2483         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2484         Moved ...
2485         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
2486         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
2487         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
2488         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2489         Moved ...
2490         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
2491         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
2492         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
2493         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
2494         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
2495         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
2496         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2497
2498 2014-06-10  Wilco  <wdijkstr@arm.com>
2499
2500         * math/test-fenv-return.c: New file.
2501         * math/Makefile: Add new test test-fenv-return.
2502
2503 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
2504
2505         [BZ #17042]
2506         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
2507         when x - 1 is zero.
2508         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
2509         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
2510         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
2511         0.0L for an argument of 1.0L.
2512         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
2513         Likewise.
2514         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
2515         value when x - 1 is zero.
2516         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
2517         * sysdeps/i386/fpu/libm-test-ulps: Update.
2518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2519
2520 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
2521
2522         [BZ #15119]
2523         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
2524
2525 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2526
2527         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
2528         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
2529
2530 2014-06-09  Roland McGrath  <roland@hack.frob.com>
2531
2532         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2533         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
2534
2535         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2536         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
2537
2538         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2539         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
2540
2541         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
2542         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
2543
2544         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
2545         if not already defined.
2546         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
2547         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
2548         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
2549         (TLS_INIT_TP): Use it.
2550         (TLS_DEFINE_INIT_TP): New macro.
2551         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
2552
2553 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
2554
2555         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
2556         constant.
2557         [POSIX] (IXANY): Likewise.
2558         [POSIX] (OLCUC): Likewise.
2559         [POSIX || POSIX2008] (CBAUD): Do not allow.
2560         [POSIX || POSIX2008] (DEFECHO): Likewise.
2561         [POSIX || POSIX2008] (ECHOCTL): Likewise.
2562         [POSIX || POSIX2008] (ECHOKE): Likewise.
2563         [POSIX || POSIX2008] (ECHOPRT): Likewise.
2564         [POSIX || POSIX2008] (EXTA): Likewise.
2565         [POSIX || POSIX2008] (EXTB): Likewise.
2566         [POSIX || POSIX2008] (FLUSHO): Likewise.
2567         [POSIX || POSIX2008] (LOBLK): Likewise.
2568         [POSIX || POSIX2008] (PENDIN): Likewise.
2569         [POSIX || POSIX2008] (SWTCH): Likewise.
2570         [POSIX || POSIX2008] (VDISCARD): Likewise.
2571         [POSIX || POSIX2008] (VDSUSP): Likewise.
2572         [POSIX || POSIX2008] (VLNEXT): Likewise.
2573         [POSIX || POSIX2008] (VREPRINT): Likewise.
2574         [POSIX || POSIX2008] (VSTATUS): Likewise.
2575         [POSIX || POSIX2008] (VWERASE): Likewise.
2576         (B*): Change to B[0123456789]*.
2577         * conform/data/time.h-data [POSIX || UNIX98]
2578         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
2579         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
2580         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
2581         [POSIX] (tm_*): Do not allow.
2582
2583 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
2584
2585         * Makefile (install): Don't set LANGUAGE.
2586         * Makefile.in (install): Likewise.
2587         * assert/Makefile (test-assert-ENV): Remove variable.
2588         (test-assert-perr-ENV): Likewise.
2589         * elf/Makefile (neededtest4-ENV): Likewise.
2590         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2591         [$(cross-compiling) = no]: Don't set LANGUAGE.
2592         * io/ftwtest-sh (LANG): Remove variable.
2593         * libio/Makefile (tst-widetext-ENV): Likewise.
2594         * manual/install.texi (Running make install): Don't refer to
2595         environment settings for make install.
2596         * INSTALL: Regenerated.
2597         * nptl/tst-tls6.sh: Don't set LANG.
2598         * posix/globtest.sh (LANG): Remove variable.
2599         * string/Makefile (tester-ENV): Likewise.
2600         (inl-tester-ENV): Likewise.
2601         (noinl-tester-ENV): Likewise.
2602         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2603         [$(cross-compiling) = no]: Don't set LANGUAGE.
2604         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
2605         without explicit environment settings.
2606
2607 2014-06-06  Roland McGrath  <roland@hack.frob.com>
2608
2609         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
2610         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
2611         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
2612         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
2613
2614 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
2615
2616         * crypt/crypt-private.h [DOS]: Add some includes taken from the
2617         other files in the crypt directory.
2618         * crypt/crypt.c: Remove duplicate includes.
2619         * crypt/crypt-entry.c: Likewise.
2620         * crypt/crypt_util.c: Likewise.
2621
2622 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
2623
2624         * Makeconfig (run-program-env): New variable.
2625         (run-program-prefix-before-env): Likewise.
2626         (run-program-prefix-after-env): Likewise.
2627         (run-program-prefix): Define in terms of new variables.
2628         (built-program-cmd-before-env): New variable.
2629         (built-program-cmd-after-env): Likewise.
2630         (built-program-cmd): Define in terms of new variables.
2631         (test-program-prefix-before-env): New variable.
2632         (test-program-prefix-after-env): Likewise.
2633         (test-program-prefix): Define in terms of new variables.
2634         (test-program-cmd-before-env): New variable.
2635         (test-program-cmd-after-env): Likewise.
2636         (test-program-cmd): Define in terms of new variables.
2637         * Rules (make-test-out): Use $(run-program-env).
2638         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
2639         (help): Do not mention environment variables.  Mention
2640         --timeoutfactor option.
2641         (timeoutfactor): New variable.
2642         (blacklist_exports): Remove function.
2643         (exports): Remove variable.
2644         (command): Do not include ${exports}.
2645         * manual/install.texi (Configuring and compiling): Do not mention
2646         test wrappers preserving environment variables.  Mention that last
2647         assignment to a variable must take precedence.
2648         * INSTALL: Regenerated.
2649         * benchtests/Makefile (run-bench): Use $(run-program-env).
2650         * catgets/Makefile ($(objpfx)test1.cat): Use
2651         $(built-program-cmd-before-env), $(run-program-env) and
2652         $(built-program-cmd-after-env).
2653         ($(objpfx)test2.cat): Do not specify environment variables
2654         explicitly.
2655         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
2656         $(run-program-env) and $(built-program-cmd-after-env).
2657         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
2658         $(run-program-env) and $(test-program-cmd-after-env).
2659         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
2660         explicitly.
2661         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
2662         run_program_env and test_program_cmd_after_env arguments.
2663         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
2664         * elf/tst-pathopt.sh: Use run_program_env argument.
2665         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
2666         $(test-wrapper-env) and $(run-program-env).
2667         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
2668         run_program_env arguments.
2669         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
2670         * intl/Makefile ($(objpfx)tst-gettext.out): Use
2671         $(test-program-prefix-before-env), $(run-program-env) and
2672         $(test-program-prefix-after-env).
2673         ($(objpfx)tst-gettext2.out): Likewise.
2674         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
2675         run_program_env and test_program_prefix_after_env arguments.
2676         * intl/tst-gettext2.sh: Likewise.
2677         * intl/tst-gettext4.sh: Do not set environment variables
2678         explicitly.
2679         * intl/tst-gettext6.sh: Likewise.
2680         * intl/tst-translit.sh: Likewise.
2681         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
2682         $(test-program-prefix-before-env), $(run-program-env) and
2683         $(test-program-prefix-after-env).
2684         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
2685         run_program_env and test_program_prefix_after_env arguments.
2686         * math/Makefile (run-regen-ulps): Use $(run-program-env).
2687         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
2688         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
2689         explicitly with each use of ${test_wrapper_env}.
2690         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
2691         $(test-program-prefix-before-env), $(run-program-env) and
2692         $(test-program-prefix-after-env).
2693         * posix/tst-getconf.sh: Do not set environment variables
2694         explicitly.
2695         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
2696         run_program_env and test_program_prefix_after_env arguments.
2697         * stdio-common/tst-printf.sh: Do not set environment variables
2698         explicitly.
2699         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
2700         $(test-program-prefix-before-env), $(run-program-env) and
2701         $(test-program-prefix-after-env).
2702         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
2703         run_program_env and test_program_prefix_after_env arguments.
2704         Split $test calls into $test_pre and $test.
2705         * timezone/Makefile (build-testdata): Use
2706         $(built-program-cmd-before-env), $(run-program-env) and
2707         $(built-program-cmd-after-env).
2708
2709 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2710
2711         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
2712         strlen for non SHARED builds.
2713
2714 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
2715
2716         * nptl/allocatestack.c (check_list): Inlined function...
2717         (__reclaim_stacks): ... here.
2718
2719 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2720
2721         [BZ #15698]
2722         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
2723         memory overrun.
2724
2725 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
2726
2727         * Rules (make-test-out): Include
2728         LOCPATH=$(common-objpfx)localedata in default environment.
2729         * debug/Makefile (tst-chk1-ENV): Remove variable.
2730         (tst-chk2-ENV): Likewise.
2731         (tst-chk3-ENV): Likewise.
2732         (tst-chk4-ENV): Likewise.
2733         (tst-chk5-ENV): Likewise.
2734         (tst-chk6-ENV): Likewise.
2735         (tst-lfschk1-ENV): Likewise.
2736         (tst-lfschk2-ENV): Likewise.
2737         (tst-lfschk3-ENV): Likewise.
2738         (tst-lfschk4-ENV): Likewise.
2739         (tst-lfschk5-ENV): Likewise.
2740         (tst-lfschk6-ENV): Likewise.
2741         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
2742         (tst-iconv7-ENV): Likewise.
2743         * intl/Makefile (LOCPATH-ENV): Likewise.
2744         (tst-codeset-ENV): Likewise.
2745         (tst-gettext3-ENV): Likewise.
2746         (tst-gettext5-ENV): Likewise.
2747         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
2748         (tst-fopenloc-ENV): Likewise.
2749         (tst-fgetws-ENV): Remove variable.
2750         (tst-ungetwc1-ENV): Likewise.
2751         (tst-ungetwc2-ENV): Likewise.
2752         (bug-ungetwc2-ENV): Likewise.
2753         (tst-swscanf-ENV): Likewise.
2754         (bug-ftell-ENV): Likewise.
2755         (tst-fgetwc-ENV): Likewise.
2756         (tst-fseek-ENV): Likewise.
2757         (tst-ftell-partial-wide-ENV): Likewise.
2758         (tst-ftell-active-handler-ENV): Likewise.
2759         (tst-ftell-append-ENV): Likewise.
2760         * posix/Makefile (tst-fnmatch-ENV): Likewise.
2761         (tst-regexloc-ENV): Likewise.
2762         (bug-regex1-ENV): Likewise.
2763         (tst-regex-ENV): Likewise.
2764         (tst-regex2-ENV): Likewise.
2765         (bug-regex5-ENV): Likewise.
2766         (bug-regex6-ENV): Likewise.
2767         (bug-regex17-ENV): Likewise.
2768         (bug-regex18-ENV): Likewise.
2769         (bug-regex19-ENV): Likewise.
2770         (bug-regex20-ENV): Likewise.
2771         (bug-regex22-ENV): Likewise.
2772         (bug-regex23-ENV): Likewise.
2773         (bug-regex25-ENV): Likewise.
2774         (bug-regex26-ENV): Likewise.
2775         (bug-regex30-ENV): Likewise.
2776         (bug-regex32-ENV): Likewise.
2777         (bug-regex33-ENV): Likewise.
2778         (bug-regex34-ENV): Likewise.
2779         (bug-regex35-ENV): Likewise.
2780         (tst-rxspencer-ENV): Likewise.
2781         (tst-rxspencer-no-utf8-ENV): Likewise.
2782         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
2783         (tst-sscanf-ENV): Likewise.
2784         (tst-swprintf-ENV): Likewise.
2785         (tst-swscanf-ENV): Likewise.
2786         (test-vfprintf-ENV): Likewise.
2787         (scanf13-ENV): Likewise.
2788         (bug14-ENV): Likewise.
2789         (tst-grouping-ENV): Likewise.
2790         * stdlib/Makefile (tst-strtod-ENV): Likewise.
2791         (tst-strtod3-ENV): Likewise.
2792         (tst-strtod4-ENV): Likewise.
2793         (tst-strtod5-ENV): Likewise.
2794         (testmb2-ENV): Likewise./
2795         * string/Makefile (tst-strxfrm-ENV): Likewise.
2796         (tst-strxfrm2-ENV): Likewise.
2797         (bug-strcoll1-ENV): Likewise.
2798         (test-strcasecmp-ENV): Likewise.
2799         (test-strncasecmp-ENV): Likewise.
2800         * time/Makefile (tst-strptime-ENV): Likewise.
2801         (tst-ftime_l-ENV): Likewise.
2802         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
2803         (tst-mbrtowc-ENV): Likewise.
2804         (tst-wcrtomb-ENV): Likewise.
2805         (tst-mbrtowc2-ENV): Likewise.
2806         (tst-c16c32-1-ENV): Likewise.
2807         (tst-mbsnrtowcs-ENV): Likewise.
2808
2809 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
2810
2811         * manual/resource.texi (How to get information about the memory
2812         subsystem?): Fix typo.
2813         Reported by Peon de la Parra Ivan <peon@keba.com>
2814
2815 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
2816
2817         [BZ #16882]
2818         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
2819         (pthread_spin_lock): Branch out of spin loop to proper location.
2820         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
2821         (pthread_spin_lock): Likewise.
2822
2823         * nptl/tst-spin4.c: New test.
2824         * nptl/Makefile (tests): Add tst-spin4.
2825
2826 2014-06-03  Andreas Schwab  <schwab@suse.de>
2827
2828         [BZ #15946]
2829         * resolv/res_send.c (send_dg): Reload file descriptor after
2830         calling reopen.
2831
2832 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
2833
2834         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2835
2836 2014-06-03  Richard Henderson  <rth@redhat.com>
2837
2838         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
2839         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
2840         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
2841         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
2842         in the SAVE_PID block.
2843         (__libc_vfork): New alias.
2844         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
2845
2846         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
2847         child in registers, not on the stack.  Remove RESET_PID conditionals.
2848         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
2849
2850 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
2851
2852         * sysdeps/aarch64/libm-test-ulps: Regenerate.
2853
2854 2014-06-03  Wilco  <wdijkstr@arm.com>
2855
2856         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
2857         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
2858         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2859         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
2860         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
2861         Likewise.
2862
2863 2014-06-03  Wilco  <wdijkstr@arm.com>
2864
2865         * sysdeps/aarch64/fpu/math_private.h
2866         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
2867         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
2868         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
2869         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
2870         Fix declarations.
2871
2872 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2873
2874         * crypt/crypt-private.h: Include ufc-crypt.h.
2875         (__b64_from_24bit): Declare extern.
2876         * crypt/crypt_util.c(__b64_from_24bit): New function.
2877         (b64t): New static const variable.
2878         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
2879         (b64t): Remove variable.
2880         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
2881         * crypt/sha256-crypt.c: Include crypt-private.h.
2882         (b64t): Remove variable.
2883         (__sha256_crypt_r): Remove b64_from_24bit and replace
2884         with __b64_from_24bit.
2885         * crypt/sha512-crypt.c: Likewise.
2886
2887 2014-06-02  Roland McGrath  <roland@hack.frob.com>
2888
2889         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
2890         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
2891         Label the code __libc_vfork rather than __vfork.
2892         [!NOT_IN_libc] (vfork): Define as weak alias.
2893         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
2894         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
2895         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
2896
2897 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2898
2899         * malloc/malloc.c (malloc_info): Fix format specifier for
2900         n_mmaps.
2901
2902 2014-06-02  Wilco  <wdijkstr@arm.com>
2903
2904         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
2905         FPCR write.
2906
2907 2014-06-02  Wilco  <wdijkstr@arm.com>
2908
2909         [BZ #17009]
2910         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
2911         Rewrite to reduce FPCR/FPSR accesses.
2912
2913 2014-06-01  David S. Miller  <davem@davemloft.net>
2914
2915         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2916
2917 2014-05-31  David S. Miller  <davem@davemloft.net>
2918
2919         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
2920         to occur in round to nearest mode when |x| >= 2.0
2921
2922 2014-05-30  Richard Henderson  <rth@twiddle.net>
2923
2924         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
2925         (PSEUDO_RET_NOERRNO): Remove.
2926         (ret): Don't redefine.
2927         (ret_NOERRNO): Define in terms of ret.
2928         (ret_ERRVAL): Likewise.
2929
2930         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
2931         use of PSEUDO_RET; perform the error check directly.
2932
2933 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
2934
2935         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
2936         with __int128_t.
2937
2938 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2939
2940         * malloc/malloc (malloc_info): Fix formatting.
2941
2942 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2943             Roland McGrath  <roland@hack.frob.com>
2944
2945         * malloc/malloc (malloc_info): Also print mmapped statistics.
2946
2947 2014-05-30  Roland McGrath  <roland@hack.frob.com>
2948
2949         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
2950         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
2951
2952 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
2953
2954         * malloc/malloc.c (malloc_info): Inline mi_arena.
2955
2956 2014-05-29  Richard Henderson  <rth@twiddle.net>
2957
2958         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
2959         Remove comma before expanding ASM_ARGS_##nr.
2960         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
2961         Make _x0 a strict output; make _x8 a strict input; adjust expansion
2962         of ASM_ARGS_##nr.
2963         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
2964         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
2965         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
2966         (ASM_ARGS_1): Add leading comma.
2967
2968         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
2969         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
2970         to __errno_location.
2971         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
2972         Remove the expected plt for __errno_location.
2973
2974         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2975         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
2976         call to __read_tp.
2977
2978         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2979         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
2980         it and break it down.
2981         (DOCARGS_0, DOCARGS_1): Do nothing.
2982         (DOCARGS_2): Update to store into the new stack frame.
2983         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
2984         (UNDOCARGS_1): Update to restore from the new stack frame.
2985         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
2986         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
2987
2988         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2989         (SINGLE_THREAD_P): New parameter for result regno.
2990         (PSEUDO): Update to match; use cbz instead of beq.
2991
2992         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2993         Use ENTRY to define the _nocancel entry point.  Share the syscall
2994         and syscall error check paths with the cancel path.
2995         (PSEUDO_END): New.
2996
2997         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
2998         whitespace; tabs before and after asm mnemonics.
2999
3000 2014-05-29  Eric Wong  <normalperson@yhbt.net>
3001
3002         [BZ #15132]
3003         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
3004         Call fstat64 or stat64 internally, depending on arguments passed.
3005         Replace stat buffer argument with file descriptor argument.
3006         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
3007         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
3008         Pass fd to __internal_statvfs instead of calling fstat64.
3009         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
3010         Pass fd to __internal_statvfs64 instead of calling fstat64.
3011         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
3012         Pass -1 to __internal_statvfs instead of calling stat64.
3013         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
3014         Pass -1 to __internal_statvfs64 instead of calling stat64.
3015
3016 2014-05-28  Roland McGrath  <roland@hack.frob.com>
3017
3018         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
3019         that was previously under [RESET_PID].
3020         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
3021
3022         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
3023         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
3024
3025 2014-05-27  Roland McGrath  <roland@hack.frob.com>
3026
3027         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
3028
3029         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
3030         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
3031
3032 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
3033
3034         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
3035
3036 2014-05-27  Andreas Schwab  <schwab@suse.de>
3037
3038         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
3039         TLS_INIT_TP macro.
3040         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
3041         * elf/rtld.c (init_tls, dl_main): Likewise.
3042         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
3043         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
3044         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
3045         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
3046         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
3047         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
3048         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
3049         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
3050         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
3051         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
3052         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
3053         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
3054         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
3055         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
3056         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
3057         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
3058         * sysdeps/generic/tls.h: Update description.
3059
3060 2014-05-27  Will Newton  <will.newton@linaro.org>
3061
3062         [BZ #16990]
3063         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
3064         and restore r2 rather than just restoring.
3065
3066 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3067
3068         [BZ #16724]
3069         * libio/tst-ftell-append.c: New test case.
3070         * libio/Makefile (tests): Add test case.
3071         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
3072         append mode.
3073         * libio/wfileops.c (do_ftell_wide): Likewise.
3074
3075 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3076
3077         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3078
3079         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
3080         ...
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
3082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
3083         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
3084         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
3085         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
3086         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
3087         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
3088         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
3089         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3090         Moved ...
3091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
3092         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3093         Moved ...
3094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
3095         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
3096         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
3097         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
3098         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
3099         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
3100         ...
3101         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
3102         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
3103         Moved ...
3104         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
3105         here.
3106         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
3107         ...
3108         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
3109         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
3110         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
3111
3112         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
3113         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
3114         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
3115         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
3116
3117         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
3118         merge into ...
3119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
3120         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
3121         ...
3122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
3123         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
3124         ...
3125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
3126         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
3127         Moved ...
3128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
3129         here.
3130         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
3131         Moved ...
3132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
3133         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
3134         Moved ...
3135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
3136
3137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
3138         conditional [RESET_PID].
3139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3140         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
3141         removed.
3142         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
3143         removed.
3144
3145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
3146         <tcb-offsets.h>.
3147         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
3148         (__libc_vfork): New strong alias.
3149         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
3150         removed.
3151         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
3152         Removed.
3153
3154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
3155         <tcb-offsets.h>.
3156         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
3157         (__libc_vfork): New strong alias.
3158         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
3159         removed.
3160         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
3161         removed.
3162
3163 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
3164
3165         * malloc/malloc.c (mi_arena): New function.
3166         (malloc_info): Remove nested function mi_arena. Call non-nosted
3167         function mi_arena.
3168
3169 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3170
3171         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
3172         by insrwi.
3173         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
3174         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
3175         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
3176         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
3177         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
3178         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
3179         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
3180
3181 2014-05-26  Andreas Schwab  <schwab@suse.de>
3182
3183         [BZ #16984]
3184         * locale/programs/repertoire.c (repertoire_read): Add slash
3185         between I18NPATH element and file name.
3186         * locale/programs/locfile.c (locfile_read): Likewise.
3187
3188 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3189
3190         * nptl/pthread_mutexattr_settype.c
3191         (__pthread_mutexattr_settype):
3192         Disable lock elision for PTHREAD_MUTEX_NORMAL.
3193
3194 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
3195
3196         * nptl/tst-mutex5 (do_test):
3197         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
3198
3199 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3200
3201         * benchtests/README: Document 'init' directive.
3202         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
3203         BENCH_INIT.
3204         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
3205         (parse_file): Recognize 'init' directive.
3206
3207 2014-05-26  Kyle McMartin  <kyle@redhat.com>
3208
3209         [BZ #16796]
3210         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
3211         alignment of struct pthread.
3212
3213 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
3214
3215         [BZ #16878]
3216         * nscd/netgroupcache.c (addgetnetgrentX): Look for
3217         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3218         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
3219         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
3220
3221 2014-05-25  Richard Henderson  <rth@twiddle.net>
3222
3223         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3224         (SINGLE_THREAD_P_PIC): Remove.
3225         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
3226         (SINGLE_THREAD_P_PIC): Remove.
3227
3228         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
3229         branch to syscall error ...
3230         (PSEUDO): ... here.
3231         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
3232         from __local_syscall_error to .Lsyscall_error.
3233         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
3234         (SYSCALL_ERROR): Update label name.
3235
3236         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3237         Do not use DOARGS/UNDOARGS.
3238         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
3239         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
3240         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
3241         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
3242         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
3243
3244         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
3245         block comment.
3246
3247         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
3248         define if !NOT_IN_libc.
3249         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
3250         define with non-default symbol versions.
3251
3252 2014-05-23  Richard Henderson  <rth@twiddle.net>
3253
3254         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
3255         (vfork, __vfork): Define via compat_symbol.
3256
3257         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
3258         [!HAVE_IFUNC] (vfork_compat): Remove.
3259         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
3260
3261 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3262
3263         [BZ #16978]
3264         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
3265         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
3266         variable.
3267
3268 2014-05-23  Richard Henderson  <rth@twiddle.net>
3269
3270         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
3271         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
3272         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
3273         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
3274
3275         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
3276         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
3277         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
3278         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
3279         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
3280         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
3281         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
3282         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
3283         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
3284         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
3285         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
3286         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
3287         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
3288         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
3289         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
3290         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
3291         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
3292         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
3293         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
3294         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
3295         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
3296         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
3297         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
3298         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
3299         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
3300         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
3301         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
3302         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
3303         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
3304         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
3305         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
3306         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
3307         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
3308         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
3309         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
3310         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
3311         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
3312         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
3313         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
3314         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
3315         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
3316         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
3317         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
3318         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
3319         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
3320         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
3321         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
3322         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
3323         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
3324         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
3325         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
3326         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
3327         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
3328         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
3329         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
3330         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
3331
3332         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
3333         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
3334         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
3335         before exiting on error.
3336         (__libc_vfork): New strong alias.
3337         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
3338         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
3339
3340         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
3341         that was previously under [RESET_PID].
3342         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
3343
3344         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
3345
3346 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
3347
3348         [BZ #16977]
3349         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
3350         value when x - 1 is zero.
3351         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
3352         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3353         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
3354         0.0L for an argument of 1.0L.
3355         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
3356         Likewise.
3357         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
3358         value when x - 1 is zero.
3359         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
3360         * sysdeps/i386/fpu/libm-test-ulps: Update.
3361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3362
3363 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3364
3365         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
3366         alphasort and versionsort.
3367
3368 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3369
3370         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
3371         macro.
3372         [copysignf]: Likewise.
3373
3374 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3375
3376         * crypt/md5-crypt.c: Fix formatting.
3377
3378 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3379
3380         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
3381         (b64_from_24bit): New function.
3382
3383 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3384
3385         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
3386         libc_hidden_builtin_def to ifunc.
3387         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3388         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
3389
3390 2014-05-21  Roland McGrath  <roland@hack.frob.com>
3391
3392         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
3393         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
3394
3395 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
3396
3397         * nscd/Depend (linuxthreads): Remove.
3398         (nptl): Add.
3399         * resolv/Depend (linuxthreads): Remove.
3400         * rt/Depend (linuxthreads): Remove.
3401
3402         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
3403         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
3404         $(common-objpfx)elf/.
3405         (link-libc-before-gnulib): Likewise.
3406         (elfobjdir): Remove variable.
3407         * Makefile (install): Use $(elf-objpfx) instead of
3408         $(common-objpfx)elf/.
3409         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
3410         $(elfobjdir)/.
3411         (link-libc-deps): Likewise.
3412         ($(common-objpfx)libc.so): Likewise.
3413         ($(common-objpfx)linkobj/libc.so): Likewise.
3414         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
3415         instead of $(common-objpfx)elf/.
3416         (symbolic-link-list): Likewise.
3417         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
3418         [$(cross-compiling) = no]: Likewise.
3419         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
3420         $(elfobjdir)/.
3421         (static-gnulib-arch): Likewise.
3422         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
3423         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
3424         $(common-objpfx)elf/.
3425
3426 2014-05-21  Richard Henderson  <rth@redhat.com>
3427
3428         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
3429         (SINGLE_THREAD_P): Use the correct width load.  Fold
3430         into the ldr offset.
3431
3432         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
3433         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
3434
3435 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
3436
3437         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
3438         (libgcc_s_resume): Use __attribute_used__.
3439         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
3440         Likewise.
3441
3442 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3443
3444         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
3445         optimization when used with float constants.
3446
3447         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3448
3449 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
3450
3451         [BZ #16915]
3452         * locale/nl_langinfo_l.c: Make direct reference to every
3453         _nl_current_CATEGORY symbol.
3454         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
3455         (tests-static): Add tst-langinfo-static.
3456         (tests-special): Add tst-langinfo-static.out.
3457         ($(objpfx)tst-langinfo.out): Redirect output.
3458         ($(objpfx)tst-langinfo-static.out): New.
3459         * localedata/tst-langinfo.sh: Send output to stdout.
3460         * localedata/tst-langinfo-static.c: New file.
3461
3462         [BZ #16965]
3463         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
3464         when the shift amount is modulo the limb size.
3465
3466 2014-05-20  Richard Henderson  <rth@redhat.com>
3467
3468         [BZ #16967]
3469         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
3470         Change type of sa_flags from unsigned int to int.
3471
3472         [BZ #16966]
3473         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
3474
3475         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
3476
3477 2014-05-20  Will Newton  <will.newton@linaro.org>
3478
3479         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
3480         Test the return value of the system call in the nocancel case.
3481
3482 2014-05-20  Will Newton  <will.newton@linaro.org>
3483             Yvan Roux  <yvan.roux@linaro.org>
3484
3485         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
3486         #include of asm/ptrace.h.
3487         (PTRACE_GET_THREAD_AREA): Remove #undef.
3488         (PTRACE_GETHBPREGS): Likewise.
3489         (PTRACE_SETHBPREGS): Likewise.
3490         (struct user_regs_struct): New structure.
3491         (struct user_fpsimd_struct): New structure.
3492         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
3493         #include of asm/ptrace.h and second #include of sys/user.h.
3494         (PTRACE_GET_THREAD_AREA): Remove #undef.
3495         (PTRACE_GETHBPREGS): Likewise.
3496         (PTRACE_SETHBPREGS): Likewise.
3497         (ELF_NGREG): Use new struct user_regs_struct.
3498         (elf_fpregset_t): Use new struct user_fpsimd_struct.
3499
3500 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3501
3502         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
3503         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
3504
3505 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
3506
3507         [BZ #16958]
3508         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
3509         membar to avoid block loads/stores to overlap previous stores.
3510
3511 2014-05-17  Richard Henderson  <rth@redhat.com>
3512
3513         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
3514         Create the __##syscall_name##_nocancel entry point.
3515         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
3516         Remove; let the sysdep-cancel.h code create it.
3517
3518 2014-05-17  David S. Miller  <davem@davemloft.net>
3519
3520         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
3521         Protect with __USE_GNU.
3522         (TIOCSET_TEMPT): Likewise.
3523         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3524         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
3525         these are already provided in bits/ioctl-types.h
3526
3527 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3528
3529         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
3530         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
3531
3532         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
3533         Use wait4 regardless of [__NR_waitpid].
3534
3535 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
3536
3537         PR libgcc/60166
3538         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
3539         (_FP_NANSIGN_Q): Set the quiet bit.
3540
3541 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
3542
3543         * benchtests/Makefile
3544         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
3545         not $(common-objpfx)math/libm.so.
3546         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
3547         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
3548         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
3549         $(common-objpfx)dlfcn/libdl.so.
3550         ($(objpfx)tst-audit8): Depend on $(libm), not
3551         $(common-objpfx)math/libm.so.
3552         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
3553         not $(common-objpfx)dlfcn/libdl.so.
3554         * math/Makefile
3555         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3556         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
3557         [$(build-shared) = yes].
3558         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
3559         $(common-objpfx)nptl/libpthread.so.
3560         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
3561         $(common-objpfx)math/libm.so$(libm.so-version) or
3562         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
3563         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
3564         $(common-objpfx)dlfcn/libdl.so.
3565         * setjmp/Makefile (link-libm): Remove variable.
3566         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
3567         * stdio-common/Makefile (link-libm): Remove variable.
3568         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
3569         * stdlib/Makefile (link-libm): Remove variable.
3570         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
3571         ($(objpfx)tst-strtod-round): Likewise.
3572         ($(objpfx)tst-tininess): Likewise.
3573         ($(objpfx)tst-strtod-underflow): Likewise.
3574         ($(objpfx)tst-strtod6): Likewise.
3575         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
3576         $(libdl), not $(common-objpfx)nptl/libpthread.so and
3577         $(common-objpfx)dlfcn/libdl.so.
3578
3579 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3580
3581         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
3582         BSD terminal modes definitions.
3583
3584 2014-05-16  Roland McGrath  <roland@hack.frob.com>
3585
3586         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
3587         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
3588
3589         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
3590         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
3591         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
3592         Don't do #include_next.
3593         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
3594         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
3595         Don't do #include_next.
3596         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
3597         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
3598         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
3599         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
3600
3601 2014-05-16  Allan McRae  <allan@archlinux.org>
3602
3603         * po/sv.po: Update Swedish translation from translation project.
3604
3605         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
3606         in sed expression.
3607
3608 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
3609
3610         [BZ #16917]
3611         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
3612         errno if the TIOCGPTN ioctl fails with an error different than
3613         EINVAL.
3614         * login/tst-ptsname.c: New file.
3615         * login/Makefile (tests): Add tst-ptsname.
3616
3617         [BZ #16943]
3618         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
3619         and prlimit64.
3620
3621 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3622
3623         [BZ #16849]
3624         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
3625         herrno to return EAI_AGAIN.
3626
3627 2014-05-14  Roland McGrath  <roland@hack.frob.com>
3628
3629         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
3630         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
3631         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
3632         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
3633         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
3634         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
3635         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
3636         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
3637         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
3638         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
3639         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
3640         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
3641         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
3642         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
3643         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
3644         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
3645         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
3646         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
3647         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
3648         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
3649         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
3650         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
3651         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
3652         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
3653         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
3654         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
3655         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
3656         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
3657         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
3658         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
3659         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
3660         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
3661         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
3662         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
3663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
3664         Moved ...
3665         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
3666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
3667         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
3668         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
3669         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
3670         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
3671         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
3672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
3673         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
3674         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
3675         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
3676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
3677         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
3678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
3679         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
3680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
3681         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
3682         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
3683         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
3684         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
3685         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
3686         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
3687         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
3688         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
3689         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
3690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
3691         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
3692         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
3693         Moved ...
3694         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
3695         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
3696         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
3697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
3698         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
3699         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
3700         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
3701         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
3702         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
3703         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
3704         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
3705         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
3706         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
3707         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
3708         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
3709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
3710         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
3711         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
3712         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
3713         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
3714         Moved ...
3715         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
3716         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
3717         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
3718
3719         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
3720         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
3721         (libpthread-sysdep_routines): Add elision-related stuff here instead.
3722         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
3723         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
3724         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
3725         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
3726         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
3727         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
3728         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
3729         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
3730         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
3731         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
3732         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
3733         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
3734         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
3735         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
3736         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
3737         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
3738         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
3739         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
3740         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
3741         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
3742         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
3743         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
3744         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
3745         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
3746         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
3747         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
3748         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
3749         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
3750
3751         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
3752         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
3753
3754         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
3755         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
3756         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
3757         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
3758         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
3759         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
3760         Moved ...
3761         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
3762         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
3763         Moved ...
3764         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
3765         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
3766         Moved ...
3767         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
3768         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
3769         Moved ...
3770         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
3771         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
3772         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
3773         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
3774         Moved ...
3775         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
3776         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
3777         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
3778         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
3779         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
3780         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
3781         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
3782         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
3783         Moved ...
3784         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
3785         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3786         Moved ...
3787         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
3788         ... here.
3789         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
3790         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
3791         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
3792         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
3793         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3794         Moved ...
3795         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
3796         ... here.
3797         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
3798         Moved ...
3799         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
3800         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
3801         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
3802         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
3803         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
3804         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
3805         Moved ...
3806         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
3807         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
3808         Moved ...
3809         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
3810         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
3811         Moved ...
3812         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
3813         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
3814         Moved ...
3815         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
3816         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
3817         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
3818         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
3819         Moved ...
3820         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
3821         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
3822         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
3823         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
3824         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
3825         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
3826         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
3827         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
3828         Moved ...
3829         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
3830         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3831         Moved ...
3832         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
3833         ... here.
3834         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
3835         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
3836         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
3837         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
3838         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3839         Moved ...
3840         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
3841         ... here.
3842         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
3843         Moved ...
3844         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
3845         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
3846         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
3847         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
3848         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
3849         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
3850         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
3851         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
3852         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
3853         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
3854         Moved ...
3855         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
3856         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
3857         Moved ...
3858         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
3859         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
3860         Moved ...
3861         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
3862         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
3863         Moved ...
3864         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
3865         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
3866         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
3867         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
3868         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
3869         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
3870         Moved ...
3871         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
3872         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
3873         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
3874         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
3875         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
3876         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
3877         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
3878         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
3879         Moved ...
3880         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
3881         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3882         Moved ...
3883         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
3884         ... here.
3885         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
3886         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
3887         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
3888         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
3889         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3890         Moved ...
3891         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
3892         ... here.
3893         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
3894         Moved ...
3895         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
3896         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
3897         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
3898         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
3899         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
3900         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
3901         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
3902         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
3903         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
3904         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
3905         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
3906
3907         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
3908         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
3909
3910         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
3911         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
3912
3913         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
3914         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
3915         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
3916         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
3917         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
3918         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
3919         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
3920         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
3921         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
3922         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
3923         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
3924         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
3925         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
3926         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
3927         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
3928         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
3929         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
3930         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
3931         Moved ...
3932         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
3933         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
3934         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
3935         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
3936         Moved ...
3937         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
3938         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
3939         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
3940         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
3941         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
3942         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
3943         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
3944         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
3945         Moved ...
3946         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
3947         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
3948         Moved ...
3949         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
3950         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
3951         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
3952         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
3953         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
3954         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
3955         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
3956         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
3957         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
3958         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
3959         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
3960         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
3961         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
3962         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
3963         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
3964         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
3965         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
3966
3967         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
3968         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
3969         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
3970         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
3971         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
3972
3973         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
3974         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
3975         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
3976         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
3977         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
3978         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
3979         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
3980         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
3981         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
3982         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
3983
3984         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
3985         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
3986
3987         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
3988         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3989         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
3990         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
3991         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
3992         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
3993         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
3994         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
3995         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
3996         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
3997         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
3998         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
3999         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
4000         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
4001         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
4002         Update #include.
4003         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
4004         Likewise.
4005         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
4006         Likewise.
4007         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
4008         Likewise.
4009         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
4010         Likewise.
4011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
4012         Likewise.
4013         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
4014         Likewise.
4015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
4016         Likewise.
4017         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
4018         Likewise.
4019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
4020         Likewise.
4021         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
4022         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
4023         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
4024         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
4025         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
4026         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
4027         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
4028         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
4029         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
4030         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
4031         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
4032         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
4033         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
4034         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
4035         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
4036
4037         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
4038         that was previously under [RESET_PID].
4039         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
4040         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
4041         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
4042
4043         * sysdeps/i386/nptl/Implies: New file.
4044         * sysdeps/x86_64/nptl/Implies: New file.
4045         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
4046         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
4047         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
4048         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
4049
4050         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
4051         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4052         (__libc_vfork): New strong alias.
4053         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
4054         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
4055
4056         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
4057         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4058         (__libc_vfork): New strong alias.
4059         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
4060         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
4061
4062         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
4063         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
4064         (__libc_vfork): New strong alias.
4065         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
4066         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
4067         * nptl/pt-vfork.c: New file.
4068         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
4069         (libpthread: GLIBC_2.20): New version set (empty).
4070
4071 2014-05-14  Will Newton  <will.newton@linaro.org>
4072
4073         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
4074         rather than #if.
4075
4076 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4077
4078         [BZ #16564]
4079         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
4080         arguments with exponent 65 or above.
4081         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
4082         arguments 0x1p113L or above.
4083         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
4084         to arguments 0x1p107L or above.
4085         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
4086         positive arguments with exponent 65 or above.
4087         * math/auto-libm-test-in: Add more tests of log1p.
4088         * math/auto-libm-test-out: Regenerated.
4089
4090         [BZ #16928]
4091         * math/s_cacos.c (__cacos): Ensure zero real part of result from
4092         non-finite arguments is +0.
4093         * math/s_cacosf.c (__cacosf): Likewise.
4094         * math/s_cacosl.c (__cacosl): Likewise.
4095         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
4096         * sysdeps/i386/fpu/libm-test-ulps: Update.
4097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4098
4099         [BZ #16927]
4100         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
4101         value.
4102         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
4103         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
4104         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
4105         for explicit high bit of mantissa when testing for argument equal
4106         to 1.
4107         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
4108         * sysdeps/i386/fpu/libm-test-ulps: Update.
4109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4110
4111         [BZ #16516]
4112         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
4113         (__erf): Scale by 16 instead of 8 in potentially underflowing
4114         case.  Ensure exception if result actually underflows.
4115         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
4116         (__erff): Scale by 16 instead of 8 in potentially underflowing
4117         case.  Ensure exception if result actually underflows.
4118         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
4119         (efx8): Remove variable.
4120         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4121         case.  Ensure exception if result actually underflows.
4122         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
4123         (efx8): Remove variable.
4124         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4125         case.  Ensure exception if result actually underflows.
4126         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
4127         (efx8): Remove variable.
4128         (__erfl): Scale by 16 instead of 8 in potentially underflowing
4129         case.  Ensure exception if result actually underflows.
4130         * math/auto-libm-test-in: Add more tests of erf.
4131         * math/auto-libm-test-out: Regenerated.
4132
4133 2014-05-14  Andreas Schwab  <schwab@suse.de>
4134
4135         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
4136         Remove code conditionalized on USE___THREAD.
4137
4138         * config.h.in (HAVE_PT_CHOWN): Define as 0.
4139         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
4140         not definedness.
4141
4142 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
4143
4144         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
4145         Define unconditionally.
4146         (__ASSUME_O_CLOEXEC): Likewise.
4147         (__ASSUME_SOCK_CLOEXEC): Likewise.
4148         (__ASSUME_IN_NONBLOCK): Likewise.
4149         (__ASSUME_PIPE2): Likewise.
4150         (__ASSUME_EVENTFD2): Likewise.
4151         (__ASSUME_SIGNALFD4): Likewise.
4152         (__ASSUME_DUP3): Likewise.
4153         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4154         (__ASSUME_DUP3): Do not define.
4155         (__ASSUME_EVENTFD2): Likewise.
4156         (__ASSUME_IN_NONBLOCK): Likewise.
4157         (__ASSUME_O_CLOEXEC): Likewise.
4158         (__ASSUME_PIPE2): Likewise.
4159         (__ASSUME_SIGNALFD4): Likewise.
4160         (__ASSUME_SOCK_CLOEXEC): Likewise.
4161         (__ASSUME_UTIMES): Undefine.
4162         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4163         (__ASSUME_UTIMES): Do not define.
4164         (__ASSUME_O_CLOEXEC): Likewise.
4165         (__ASSUME_SOCK_CLOEXEC): Likewise.
4166         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
4167         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
4168         0x020621].
4169         (__ASSUME_PIPE2): Likewise.
4170         (__ASSUME_EVENTFD2): Likewise.
4171         (__ASSUME_SIGNALFD4): Likewise.
4172         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
4173         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
4174         Do not define.
4175         (__ASSUME_EVENTFD2): Likewise.
4176         (__ASSUME_SIGNALFD4): Likewise.
4177         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4178         (__ASSUME_32BITUIDS): Likewise.
4179         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
4180         (__ASSUME_IPC64): Likewise.
4181         (__ASSUME_ST_INO_64_BIT): Likewise.
4182         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
4183         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
4184         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4185         (__ASSUME_UTIMES): Do not define.
4186         (__ASSUME_PSELECT): Likewise.
4187         (__ASSUME_PPOLL): Likewise.
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         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4196         (__ASSUME_UTIMES): Likewise.
4197         (__ASSUME_O_CLOEXEC): Likewise.
4198         (__ASSUME_SOCK_CLOEXEC): Likewise.
4199         (__ASSUME_IN_NONBLOCK): Likewise.
4200         (__ASSUME_PIPE2): Likewise.
4201         (__ASSUME_EVENTFD2): Likewise.
4202         (__ASSUME_SIGNALFD4): Likewise.
4203         (__ASSUME_DUP3): Likewise.
4204         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4205         (__ASSUME_UTIMES): Likewise.
4206         (__ASSUME_O_CLOEXEC): Likewise.
4207         (__ASSUME_SOCK_CLOEXEC): Likewise.
4208         (__ASSUME_IN_NONBLOCK): Likewise.
4209         (__ASSUME_PIPE2): Likewise.
4210         (__ASSUME_EVENTFD2): Likewise.
4211         (__ASSUME_SIGNALFD4): Likewise.
4212         (__ASSUME_DUP3): Likewise.
4213         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
4214         Likewise.
4215         (__ASSUME_UTIMES): Likewise.
4216         (__ASSUME_EVENTFD2): Likewise.
4217         (__ASSUME_SIGNALFD4): Likewise.
4218         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4219         (__ASSUME_O_CLOEXEC): Likewise.
4220         (__ASSUME_SOCK_CLOEXEC): Likewise.
4221         (__ASSUME_IN_NONBLOCK): Likewise.
4222         (__ASSUME_PIPE2): Likewise.
4223         (__ASSUME_EVENTFD2): Likewise.
4224         (__ASSUME_SIGNALFD4): Likewise.
4225         (__ASSUME_DUP3): Likewise.
4226         (__ASSUME_UTIMES): Undefine.
4227
4228         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
4229         feclearexcept.  Remove symbol versioning code.
4230         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
4231         symbol versioning code.
4232         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
4233         symbol versioning code.
4234         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
4235         feupdateenv.  Remove symbol versioning code.
4236         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
4237         fegetexceptflag.  Remove symbol versioning code.
4238         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
4239         fesetexceptflag.  Remove symbol versioning code.
4240         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
4241         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
4242         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
4243         (__posix_fadvise64_l32): Remove prototype.
4244         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
4245         code.
4246
4247 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4248
4249         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
4250         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
4251         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
4252         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
4253
4254 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
4255
4256         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
4257         current working directory
4258
4259 2014-05-13  Roland McGrath  <roland@hack.frob.com>
4260
4261         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
4262         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
4263         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
4264         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
4265         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
4266         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
4267         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
4268         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
4269         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
4270         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
4271         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
4272         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
4273         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
4274         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
4275         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
4276         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
4277         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
4278         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
4279         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
4280         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
4281         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
4282         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
4283         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
4284         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
4285         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
4286         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
4287         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
4288         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
4289         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
4290         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
4291         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
4292         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
4293         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
4294         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
4295         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
4296         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
4297         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
4298         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
4299         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
4300         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
4301         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
4302         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
4303
4304         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
4305         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
4306
4307         * sysdeps/unix/sysv/linux/arm/Makefile
4308         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
4309         Add rt-aeabi_unwind_cpp_pr1.
4310         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
4311         Add nptl-aeabi_unwind_cpp_pr1.
4312         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
4313         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
4314         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
4315         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
4316         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
4317         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
4318
4319         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
4320         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
4321         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
4322         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
4323
4324         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
4325         Deconditionalize the code that was previously under [RESET_PID].
4326         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
4327
4328         * sysdeps/generic/exit-thread.h: New file.
4329         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
4330         * include/unistd.h (__exit_thread): Remove declaration.
4331         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
4332         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
4333         * csu/libc-start.c: Include <exit-thread.h>.
4334         (LIBC_START_MAIN): Pass no argument to __exit_thread.
4335         * nptl/pthread_create.c: Include <exit-thread.h>.
4336         (start_thread): Call __exit_thread in place of __exit_thread_inline.
4337         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
4338         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
4339         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
4340         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
4341         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
4342         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
4343         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
4344         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
4345         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
4346         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
4347         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
4348         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
4349         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
4350         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
4351         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
4352         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
4353
4354 2014-05-13  Andreas Schwab  <schwab@suse.de>
4355
4356         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
4357
4358 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
4359
4360         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
4361         (__ASSUME_UTIMES): Do not condition on kernel version.
4362         (__ASSUME_PSELECT): Define unconditionally.
4363         (__ASSUME_PPOLL): Likewise.
4364         (__ASSUME_ATFCTS): Likewise.
4365         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
4366         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
4367         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
4368         (__ASSUME_UTIMENSAT): Define unconditionally.
4369         (__ASSUME_PRIVATE_FUTEX): Likewise.
4370         (__ASSUME_FALLOCATE): Likewise.
4371         (__ASSUME_O_CLOEXEC): Likewise.
4372         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
4373         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
4374         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
4375         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
4376         (__ASSUME_IN_NONBLOCK): Likewise.
4377         (__ASSUME_PIPE2): Likewise.
4378         (__ASSUME_EVENTFD2): Likewise.
4379         (__ASSUME_SIGNALFD4): Likewise.
4380         (__ASSUME_DUP3): Likewise.
4381         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4382         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
4383         (__ASSUME_AT_RANDOM): Likewise.
4384         (__ASSUME_PREADV): Likewise.
4385         (__ASSUME_PWRITEV): Likewise.
4386         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
4387         (__ASSUME_F_GETOWN_EX): Define unconditionally.
4388         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
4389         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
4390         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
4391         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4392         (__ASSUME_O_CLOEXEC): Define unconditionally.
4393         (__ASSUME_PSELECT): Do not undefine conditionally.
4394         (__ASSUME_PPOLL): Likewise.
4395         (__ASSUME_ATFCTS): Likewise.
4396         (__ASSUME_SET_ROBUST_LIST): Likewise.
4397         (__ASSUME_UTIMENSAT): Likewise.
4398         (__ASSUME_FDATASYNC): Define unconditionally.
4399         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4400         (__ASSUME_SIGFRAME_V2): Likewise.
4401         )__ASSUME_EVENTFD2): Likewise.
4402         (__ASSUME_SIGNALFD4): Likewise.
4403         (__ASSUME_PSELECT): Do not undefine conditionally.
4404         (__ASSUME_PPOLL): Likewise.
4405         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4406         (__ASSUME_PSELECT): Define unconditionally.
4407         (__ASSUME_PPOLL): Likewise.
4408         (__ASSUME_O_CLOEXEC): Likewise.
4409         (__ASSUME_SOCK_CLOEXEC): Likewise.
4410         (__ASSUME_IN_NONBLOCK): Likewise.
4411         (__ASSUME_PIPE2): Likewise.
4412         (__ASSUME_EVENTFD2): Likewise.
4413         (__ASSUME_SIGNALFD4): Likewise.
4414         (__ASSUME_DUP3): Likewise.
4415         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4416         (__ASSUME_O_CLOEXEC): Likewise.
4417         (__ASSUME_SOCK_CLOEXEC): Likewise.
4418         (__ASSUME_IN_NONBLOCK): Likewise.
4419         (__ASSUME_PIPE2): Likewise.
4420         (__ASSUME_EVENTFD2): Likewise.
4421         (__ASSUME_SIGNALFD4): Likewise.
4422         (__ASSUME_DUP3): Likewise.
4423         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4424         (__ASSUME_EVENTFD2): Likewise.
4425         (__ASSUME_SIGNALFD4): Likewise.
4426         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
4427
4428 2014-05-12  Andreas Schwab  <schwab@suse.de>
4429
4430         [BZ #16932]
4431         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
4432         (_nss_nis_gethostbyname4_r): Return error if item length is larger
4433         than maximum RPC packet size.
4434         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
4435         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
4436         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
4437         (_nss_nis_getservbyport_r): Likewise.
4438
4439 2014-05-12  Will Newton  <will.newton@linaro.org>
4440
4441         * malloc/Makefile (tests): Add tst-mallopt.
4442         * malloc/tst-mallopt.c: New file.
4443
4444 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4445
4446         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
4447         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
4448
4449 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4450
4451         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
4452         (tst-tlsmod6.so): Likewise.
4453
4454 2014-05-09  Roland McGrath  <roland@hack.frob.com>
4455
4456         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
4457
4458 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
4459
4460         [BZ #16064]
4461         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
4462         and <dl-procinfo.h>.
4463         (__fegetenv): Save SSE state in envp->__eip if supported.
4464         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
4465         envp->__eip if supported.
4466         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
4467         and <dl-procinfo.h>.
4468         (__fesetenv): Always set __eip, __cs_selector, __opcode,
4469         __data_offset and __data_selector in environment to 0.  Set SSE
4470         state if supported.
4471         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4472         test-fenv-sse.
4473         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
4474         -mfpmath=sse.
4475         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
4476
4477 2014-05-09  Will Newton  <will.newton@linaro.org>
4478
4479         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
4480         and libc_relro_required for ARM.
4481         * sysdeps/arm/preconfigure: Regenerate.
4482
4483 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
4484             Stefan Liebler  <stli@linux.vnet.ibm.com>
4485
4486         * config.make.in (enable-lock-elision): New Makefile variable.
4487         * configure.ac: Likewise.
4488         * configure: Regenerate.
4489         * sysdeps/s390/configure.ac:
4490         Add check for gcc transactions support.
4491         * sysdeps/s390/configure: Regenerate.
4492         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
4493         Build elision files if enabled.
4494         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
4495         Add lock elision support for s390.
4496         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
4497         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
4498         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
4499         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
4500         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
4501         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
4502         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4503         Likewise.
4504         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
4505         Likewise.
4506         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
4507         Likewise.
4508         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
4509         Likewise.
4510         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
4511         (__lll_timedlock_elision, __lll_lock_elision)
4512         (__lll_unlock_elision, __lll_trylock_elision)
4513         (lll_timedlock_elision, lll_lock_elision)
4514         (lll_unlock_elision, lll_trylock_elision): Add.
4515         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4516         (pthread_mutex_t): Add lock elision support for s390.
4517
4518 2014-05-14  Wilco  <wdijkstr@arm.com>
4519
4520         * sysdeps/arm/fclrexcpt.c: Cleanup.
4521         * sysdeps/arm/fedisblxcpt.c: Cleanup.
4522         * sysdeps/arm/feenablxcpt.c: Cleanup.
4523         * sysdeps/arm/fegetenv.c: Cleanup.
4524         * sysdeps/arm/fegetexcept.c: Cleanup.
4525         * sysdeps/arm/fegetround.c: Cleanup.
4526         * sysdeps/arm/feholdexcpt.c: Cleanup.
4527         * sysdeps/arm/fesetenv.c: Cleanup.
4528         * sysdeps/arm/fesetround.c: Cleanup.
4529         * sysdeps/arm/feupdateenv.c: Cleanup.
4530         * sysdeps/arm/fgetexcptflg.c: Cleanup.
4531         * sysdeps/arm/fraiseexcpt.c: Cleanup.
4532         * sysdeps/arm/fsetexcptflg.c: Cleanup.
4533         * sysdeps/arm/ftestexcept.c: Cleanup.
4534         * sysdeps/arm/get-rounding-mode.h: Cleanup.
4535         * sysdeps/arm/setfpucw.c: Cleanup.
4536
4537 2014-05-09  Will Newton  <will.newton@linaro.org>
4538
4539         * sysdeps/arm/armv7/strcmp.S: New file.
4540         * NEWS: Mention addition of ARMv7 optimized strcmp.
4541
4542 2014-05-08  Roland McGrath  <roland@hack.frob.com>
4543
4544         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
4545         look for %.ac rather than %.in.
4546
4547         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
4548         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
4549         * sysdeps/mach/hurd/configure: Regenerated.
4550         * sysdeps/unix/sysv/linux/configure: Regenerated.
4551
4552         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
4553
4554 2014-05-07  Steve Ellcey  <sellcey@mips.com>
4555
4556         [BZ# 16922]
4557         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
4558         (LONG_SUB): Ditto.
4559         (PTR_SUB): Ditto.
4560
4561 2014-05-07  Andreas Schwab  <schwab@suse.de>
4562
4563         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
4564         when skipping over non-matching result from nscd.
4565
4566 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
4567
4568         [BZ #16876]
4569         * nptl/sockperf.c (client): Check socket return value.
4570
4571         [BZ #16877]
4572         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
4573         nscd security class.
4574
4575 2014-05-06  Roland McGrath  <roland@hack.frob.com>
4576
4577         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
4578         * sysdeps/arm/unwind.h: ... here.
4579
4580 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
4581
4582         [BZ# 16916]
4583         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
4584         Define.
4585
4586 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4587
4588         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
4589         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
4590         multiarch strncpy for PPC64.
4591         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
4592         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
4593         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
4594         multiarch optimizations.
4595         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4596         (__libc_ifunc_impl_list): Likewise.
4597         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
4598         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
4599         multiarch stpncpy for PPC64.
4600         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
4601         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
4602
4603 2014-05-06  Andreas Schwab  <schwab@suse.de>
4604
4605         [BZ #16912]
4606         * gmon/mcount.c (_MCOUNT_DECL): Use
4607         atomic_compare_and_exchange_bool_acq instead of
4608         catomic_compare_and_exchange_bool_acq.
4609
4610 2014-05-05  Roland McGrath  <roland@hack.frob.com>
4611
4612         * elf/Makefile (others, install-bin): Remove pldd.
4613         (pldd-modules): Variable removed.
4614         ($(objpfx)pldd): Target removed.
4615         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
4616         (others, install-bin): Append pldd here.
4617         ($(objpfx)pldd): New target.
4618
4619         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
4620         to 0, so the first #if test emitted later doesn't see it undefined.
4621         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
4622         * sysdeps/gnu/errlist.c: Regenerated.
4623
4624 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4625
4626         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
4627         [libc_hidden_builtin_def]: Define to empty value.
4628         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
4629         [libc_hidden_builtin_def]: Likewise.
4630         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
4631         [libc_hidden_builtin_def]: Likewise.
4632         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
4633         [libc_hidden_builtin_def]: Likewise.
4634         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
4635         __redirect_memcpy and define ifunc as default hidden symbol.
4636         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
4637         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
4638
4639 2014-05-04  Adam Conrad  <adconrad@0c3.net>
4640
4641         * locale/iso-4217.def: Reintroduce XDR currency.
4642
4643 2014-05-04  Allan McRae  <allan@archlinux.org>
4644
4645         * po/eo.po: Update Esperanto translation from translation project.
4646
4647 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
4648
4649         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
4650         and FEATURE_INDEX_MAX to 1.
4651         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
4652
4653 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4654
4655         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
4656         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
4657         * iconvdata/big5.c (ONE_DIRECTION): Define.
4658         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
4659         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
4660         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
4661         * iconvdata/cp932.c (ONE_DIRECTION): Define.
4662         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
4663         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
4664         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
4665         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
4666         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
4667         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
4668         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
4669         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
4670         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
4671         * iconvdata/gbk.c (ONE_DIRECTION): Define.
4672         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
4673         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
4674         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
4675         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
4676         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
4677         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
4678         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
4679         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
4680         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
4681         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
4682         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
4683         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
4684         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
4685         * iconvdata/iso646.c (ONE_DIRECTION): Define.
4686         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
4687         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
4688         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
4689         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
4690         * iconvdata/johab.c (ONE_DIRECTION): Define.
4691         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
4692         * iconvdata/sjis.c (ONE_DIRECTION): Define.
4693         * iconvdata/t.61.c (ONE_DIRECTION): Define.
4694         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
4695         * iconvdata/tscii.c (ONE_DIRECTION): Define.
4696         * iconvdata/uhc.c (ONE_DIRECTION): Define.
4697         * iconvdata/unicode.c (ONE_DIRECTION): Define.
4698         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
4699         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
4700         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
4701
4702 2014-05-01  Roland McGrath  <roland@hack.frob.com>
4703
4704         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
4705         (_IO_JUMPS_OFFSET): Define to 0.
4706
4707         * nptl/sysdeps/pthread/bits/libc-lock.h
4708         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
4709         (__libc_lock_define_initialized_recursive): Always define using
4710         initializer.  Modern compilers treat uninitialized (implicit zero) and
4711         explicit zero initializers the same (i.e. put the datum in bss).
4712
4713 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4714
4715         * nscd/nscd-client.h: Include <string.h>.
4716
4717 2014-05-01  David S. Miller  <davem@davemloft.net>
4718
4719         [BZ #16885]
4720         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
4721         multiple zero bytes exist at the end of a string.
4722         Reported by Aurelien Jarno <aurelien@aurel32.net>
4723
4724         * string/test-strcmp.c (check): Add explicit test for situations where
4725         there are multiple zero bytes after the first.
4726
4727 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
4728
4729         [BZ #16890]
4730         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
4731         when compiling wprintf.
4732         * stdio-common/tstdiomisc.c (t3): New function.
4733         (main): Call it.
4734
4735 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4736
4737         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
4738         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
4739         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
4740         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
4741
4742 2014-05-01  Steve Ellcey  <sellcey@mips.com>
4743
4744         * stdlib/longlong.h: Updated from GCC.
4745
4746 2014-05-01  Will Newton  <will.newton@linaro.org>
4747             Bernard Ogden  <bernie.ogden@linaro.org>
4748
4749         * NEWS: Update fixed bug list.
4750
4751         [BZ #15119]
4752         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
4753
4754 2014-04-30  David S. Miller  <davem@davemloft.net>
4755
4756         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
4757         (libc_feholdexcept_setround_sparc_ctx): New function.
4758         (libc_fesetenv_sparc_ctx): Likewise.
4759         (libc_feupdateenv_sparc_ctx): Likewise.
4760         (libc_feholdsetround_sparc_ctx): Likewise.
4761         (libc_feholdexcept_setround_ctx): Define.
4762         (libc_feholdexcept_setroundf_ctx): Likewise.
4763         (libc_feholdexcept_setroundl_ctx): Likewise.
4764         (libc_fesetenv_ctx): Likewise.
4765         (libc_fesetenvf_ctx): Likewise.
4766         (libc_fesetenvl_ctx): Likewise.
4767         (libc_feupdateenv_ctx): Likewise.
4768         (libc_feupdateenvf_ctx): Likewise.
4769         (libc_feupdateenvl_ctx): Likewise.
4770         (libc_feresetround_ctx): Likewise.
4771         (libc_feresetroundf_ctx): Likewise.
4772         (libc_feresetroundl_ctx): Likewise.
4773         (libc_feholdsetround_ctx): Likewise.
4774         (libc_feholdsetroundf_ctx): Likewise.
4775         (libc_feholdsetroundl_ctx): Likewise.
4776
4777         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4778         with __USE_GNU instead of XOPEN cpp guards.
4779
4780         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
4781         0.
4782
4783         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
4784         with XOPEN cpp guards.
4785
4786 2014-04-30  Julian Brown  <julian@codesourcery.com>
4787
4788         [BZ #16888]
4789         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
4790         handling.
4791
4792 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
4793
4794         [BZ #9894]
4795         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
4796         Change to 2.6.32.
4797         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
4798         * sysdeps/unix/sysv/linux/configure: Regenerated.
4799         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
4800         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
4801         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
4802         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
4803         * README: Update reference to required Linux kernel version.
4804         * manual/install.texi (Linux): Update reference to required Linux
4805         kernel headers version.
4806         * INSTALL: Regenerated.
4807
4808         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
4809         header inclusion.
4810         [POSIX] (limits.h): Likewise.
4811         [POSIX] (math.h): Likewise.
4812         [POSIX] (sys/wait.h): Likewise.
4813         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
4814         function.
4815         [POSIX] (stddef.h): Do not allow header inclusion.
4816
4817 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4818
4819         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
4820
4821 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
4822
4823         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
4824         Return immediately after lll_futex_wake.
4825
4826 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4827
4828         [BZ #16791]
4829         * nscd/nscd-client.h (datahead_init_common): Initialize entire
4830         structure.
4831         (datahead_init_pos): Call datahead_init_common early.
4832         (datahead_init_neg): Likewise.
4833
4834         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
4835         datahead_init_neg): New functions.
4836         * nscd/aicache.c (addhstaiX): Use them.
4837         * nscd/grpcache.c (cache_addgr): Likewise.
4838         * nscd/hstcache.c (cache_addhst): Likewise.
4839         * nscd/initgrcache.c (addinitgroupsX): Likewise.
4840         * nscd/netgroupcache.c (do_notfound): Likewise.
4841         (addgetnetgrentX): Likewise.
4842         (addinnetgrX): Likewise.
4843         * nscd/pwdcache.c (cache_addpw): Likewise.
4844         * nscd/servicescache.c (cache_addserv): Likewise.
4845
4846 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
4847             Atsushi Onoe  <atsushi@onoe.org>
4848
4849         [BZ #14308]
4850         [BZ #12994]
4851         [BZ #13651]
4852         * resolv/res_query.c (__libc_res_nsearch): Return if at least
4853         one response is valid.
4854         * resolv/res_send.c (send_dg): Check for validity of other
4855         response if the current response is a referral.
4856
4857 2014-04-29  Steve Ellcey  <sellcey@mips.com>
4858
4859         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
4860
4861 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
4862
4863         [BZ #16823]
4864         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
4865         Always divide by positive zero when computing -Inf result.
4866         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4867         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
4868
4869 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4870
4871         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
4872         FPSCR if value do not change.
4873         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
4874         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
4875         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
4876         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
4877         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
4878         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
4879         function.
4880
4881 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
4882
4883         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
4884         * sysdeps/unix/sysv/linux/hppa: Move directory from
4885         ports/systeps/unix/sysv/linux/hppa.
4886         * README: Update listing for hppa-*-linux-gnu.
4887
4888 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
4889
4890         [BZ #16754]
4891         * manual/stdio.texi (Hook functions): Fix types of stream hook
4892         functions.
4893         [BZ #16854]
4894         * socket/sys/socket.h: Fix typo in comment.
4895
4896 2014-04-28  Wilco  <wdijkstr@arm.com>
4897
4898         * sysdeps/arm/fenv_private.h: New file.
4899         * sysdeps/arm/math_private.h: New file.
4900         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
4901
4902 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
4903
4904         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
4905         with __int128_t.
4906         (La_x86_64_retval): Likewise.
4907
4908 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
4909
4910         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
4911         fpsr if value didn't change.
4912         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
4913         to fpcr if value didn't change.
4914         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
4915         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
4916         fpsr or fpcr if value didn't change.
4917         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
4918         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
4919         fpcr if value didn't change.
4920         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
4921         to fpsr if value didn't change.
4922
4923 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
4924
4925         * nptl/tst-sem3.c: Use test-skeleton.c
4926         (main): Rename to do_test.  Use return instead of
4927         exit.
4928         * nptl/tst-sem4.c: Use test-skeleton.c
4929         (main): Rename to do_test.
4930
4931 2014-04-22  David S. Miller  <davem@davemloft.net>
4932
4933         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
4934         (struct sigaction): New struct member __glibc_reserved0, change
4935         type of sa_flags to int.
4936
4937 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
4938
4939         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
4940         (COUNT_LEADING_ZEROS_0): Define for AArch64.
4941
4942 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
4943
4944         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
4945         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
4946
4947 2014-04-22  Will Newton  <will.newton@linaro.org>
4948             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
4949
4950         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
4951         (__longjmp): Add longjmp and longjmp_target SystemTap
4952         probes.
4953         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
4954         (__sigsetjmp): Add setjmp SystemTap probe.
4955
4956 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
4957
4958         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
4959         match manual order.
4960
4961 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4962
4963         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
4964
4965         * sysdeps/powerpc/fpu/fenv_private.h
4966         (libc_feholdexcept_setroundl_ctx): Define to
4967         libc_feholdexcept_setround_ppc_ctx.
4968         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
4969         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
4970         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
4971         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
4972
4973 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
4974
4975         * sysdeps/aarch64/math-tests.h: New file.
4976
4977 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
4978
4979         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
4980         New.
4981         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4982         Check and set bit_AVX2_Usable.
4983         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
4984         macro.
4985         (bit_AVX2): Likewise.
4986         (index_AVX2_Usable): Likewise.
4987         (CPUID_AVX2): Likewise.
4988         (HAS_AVX2): Likewise.
4989
4990 2014-04-17  Will Newton  <will.newton@linaro.org>
4991
4992         * manual/setjmp.texi (System V contexts): Add note that
4993         calling setcontext on a context created by a call to a
4994         signal handler is undefined.  Update text to note that
4995         setcontext from a signal handler is possible but not
4996         recommended.
4997
4998         [BZ #16629]
4999         * stdlib/tst-setcontext.c: Include signal.h.
5000         (main): Check that the signal stack before and
5001         after swapcontext is the same.
5002
5003         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
5004         Re-implement to restore registers in user code and avoid
5005         rt_sigreturn system call.
5006
5007 2014-04-17  Wilco  <wdijkstr@arm.com>
5008
5009         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
5010         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
5011         * math/test-fenv.c: Skip exception trap tests on targets which only
5012         support non-stop mode.
5013
5014 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
5015             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5016
5017         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
5018         (libc_feholdsetround_aarch64_ctx)
5019         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
5020         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
5021         (libc_feresetround_ctx, libc_feresetroundf_ctx)
5022         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
5023         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
5024         (libc_feresetround_noexl_ctx): Define.
5025
5026 2014-04-16  Richard Henderson  <rth@redhat.com>
5027
5028         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
5029
5030         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
5031         unwind tables.
5032
5033         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
5034         const from the non-libc, non-ldso copy.
5035
5036         * sysdeps/alpha/libm-test-ulps: Regenerate.
5037
5038 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
5039             Wilco Dijkstra  <wilco.dijkstra@arm.com>
5040
5041         * sysdeps/aarch64/fpu/math_private.h: New file.
5042
5043 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5044
5045         * sysdeps/aarch64/libm-test-ulps: Regenerate.
5046
5047 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
5048
5049         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
5050         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
5051         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
5052         Intel MPX bound registers before _dl_profile_fixup.
5053         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
5054         registers after _dl_profile_fixup.  Save and restore bound
5055         registers bnd0/bnd1 when calling _dl_call_pltexit.
5056         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
5057         (LR_BND_OFFSET): Likewise.
5058         (LRV_BND0_OFFSET): Likewise.
5059         (LRV_BND1_OFFSET): Likewise.
5060
5061 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5062
5063         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
5064         to...
5065         * sysdeps/mach/hurd/i386/tls.h: ... here.
5066         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
5067         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
5068         fields.
5069
5070 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5071
5072         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
5073
5074 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5075
5076         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
5077
5078 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
5079
5080         [BZ #14770]
5081         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5082         * sysdeps/s390/configure: Regenerate.
5083
5084         [BZ #16824]
5085         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
5086         Set round-to-nearest internally to reduce error accumulation.
5087
5088 2014-04-16  Alan Modra  <amodra@gmail.com>
5089
5090         [BZ #16740]
5091         [BZ #16619]
5092         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
5093         * math/libm-test.inc (frexp_test_data): Add tests.
5094         * NEWS: Update fixed bug list.
5095
5096 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5097
5098         * benchtests/Makefile: Depend on libraries in build directory.
5099         (bench-math): Separate out math tests.
5100         (bench-pthread): Separate out pthread tests.
5101         (bench): Include math and pthread tests.
5102
5103 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
5104
5105         [BZ #16831]
5106         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
5107         _dl_debug_initialize.
5108
5109         * configure.ac: Remove SELinux header check.
5110         * configure: Regenerate.
5111         * nscd/selinux.c (perms): Array of const char* to permission names.
5112         (nscd_request_avc_has_perm): Call security_deny_unknown to find
5113         default policy. Call string_to_security_class and string_to_av_perm to
5114         translate strings. Enforce default policy and call avs_has_perm with
5115         results of translated strings.
5116
5117 2014-04-13  David S. Miller  <davem@davemloft.net>
5118
5119         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5120
5121 2014-04-12  Allan McRae  <allan@archlinux.org>
5122
5123         [BZ #16838]
5124         * manual/string.texi (Collation Functions): Fix qsort argument
5125         order in example.
5126         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
5127
5128 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
5129
5130         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
5131         Make the test a no-op if there are no exceptions defined.
5132
5133 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5134
5135         * elf/Makefile (tests): make tst-dlopen-aout conditional on
5136         enable-hardcoded-path-in-tests
5137
5138 2014-04-11  Will Newton  <will.newton@linaro.org>
5139
5140         * benchtests/Makefile (extra-objs): Add json-lib.o.
5141         (bench-func): Tidy up JSON output.
5142         * benchtests/bench-skeleton.c: Include json-lib.h.
5143         (main): Use JSON library functions to do output of
5144         benchmark results.
5145         * benchtests/bench-timing-type.c (main): Output the
5146         timing type simply, leaving formatting to the user.
5147         * benchtests/json-lib.c: New file.
5148         * benchtests/json-lib.h: Likewise.
5149
5150 2014-04-11  Torvald Riegel  <triegel@redhat.com>
5151
5152         [BZ #15215]
5153         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
5154         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
5155         memory barriers.  Add comments.
5156         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
5157         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
5158         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
5159         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
5160         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
5161         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
5162
5163 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5164
5165         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
5166         * sysdeps/s390/s390-64/configure.ac: ... this ...
5167         * sysdeps/s390/configure.ac: ... to here.
5168         * sysdeps/s390/s390-32/configure: Delete file.
5169         * sysdeps/s390/s390-64/configure: Delete file.
5170         * sysdeps/s390/configure: Regenerate.
5171
5172 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
5173
5174         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
5175
5176 2014-04-11  Will Newton  <will.newton@linaro.org>
5177
5178         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
5179         to zero if it is not defined elsewhere.  (mtrim): Test
5180         the value of MALLOC_DEBUG with #if rather than #ifdef.
5181
5182 2014-04-10 Torvald Riegel  <triegel@redhat.com>
5183
5184         * benchtests/pthread_once-inputs: New file.
5185         * benchtests/pthread_once-source.c: New file.
5186         * benchtests/README: Update documentation.
5187
5188 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
5189             H.J. Lu  <hongjiu.lu@intel.com>
5190
5191         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
5192         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
5193         * sysdeps/x86_64/configure: Regenerated.
5194         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
5195         macro.
5196         (REGISTER_SAVE_RAX): Likewise.
5197         (REGISTER_SAVE_RCX): Likewise.
5198         (REGISTER_SAVE_RDX): Likewise.
5199         (REGISTER_SAVE_RSI): Likewise.
5200         (REGISTER_SAVE_RDI): Likewise.
5201         (REGISTER_SAVE_R8): Likewise.
5202         (REGISTER_SAVE_R9): Likewise.
5203         (REGISTER_SAVE_BND0): Likewise.
5204         (REGISTER_SAVE_BND1): Likewise.
5205         (REGISTER_SAVE_BND2): Likewise.
5206         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
5207         bound registers when calling _dl_fixup.
5208
5209 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5210
5211         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
5212         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
5213         of its definition.
5214         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
5215         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
5216         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
5217         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
5218         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
5219         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
5220         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
5221
5222 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
5223
5224         [BZ #15514]
5225         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
5226         pathconf(_PC_NAME_MAX).
5227
5228 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5229
5230         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
5231         Remove macro usage.
5232         (__PTHREAD_SPINS): Move definition to ...
5233         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5234         (__PTHREAD_SPINS): ... here.
5235         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5236         (__PTHREAD_SPIN): Likewise.
5237         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
5238         (__PTHREAD_SPIN): Likewise.
5239         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
5240         (__PTHREAD_SPIN): Likewise.
5241         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
5242         (__PTHREAD_SPIN): Likewise.
5243         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
5244         (__PTHREAD_SPIN): Likewise.
5245         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
5246         (__PTHREAD_SPIN): Likewise.
5247         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
5248         (__PTHREAD_SPIN): Likewise.
5249         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
5250         (__PTHREAD_SPIN): Likewise.
5251         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
5252         (__PTHREAD_SPIN): Likewise.
5253         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
5254         (__PTHREAD_SPIN): Likewise.
5255         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
5256         (__PTHREAD_SPIN): Likewise.
5257         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
5258         (__PTHREAD_SPIN): Likewise.
5259
5260         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
5261         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
5262         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
5263         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
5264         imply folder.
5265         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
5266         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
5267         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
5268         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
5269         correct imply path.
5270         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
5271         strlen symbol for non multi-arch builds.
5272         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
5273         missing hidden_def and weak_alias.
5274
5275 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
5276
5277         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
5278
5279 2014-04-07  Will Newton  <will.newton@linaro.org>
5280
5281         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
5282         and contents.  [!_LIBC] Remove #ifndef and contents.
5283         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
5284         * string/memccpy.c (__memccpy): Use ANSI prototype.
5285         * string/memfrob.c (memfrob): Likewise.
5286         * string/strcoll.c (STRCOLL): Likewise.
5287         * string/strlen.c (strlen): Likewise.
5288         * string/strtok.c (STRTOK): Likewise.
5289         * string/strcat.c: Remove unused #include of memcopy.h.
5290         (strcat): Use ANSI prototype.
5291         * string/strchr.c: Remove unused #include of memcopy.h.
5292         (strchr): Use ANSI prototype.
5293         * string/strcmp.c: Remove unused #include of memcopy.h.
5294         (strcmp): Use ANSI prototype.
5295         * string/strcpy.c: Remove unused #include of memcopy.h.
5296         (strcpy): Use ANSI prototype.
5297
5298 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5299
5300         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
5301         * config.make.in (config-extra-cppflags): Set it from
5302         libc_extra_cppflags.
5303         * configure.ac (libc_extra_cflags): Make it accumulate over
5304         configure fragments.
5305         (libc_extra_cppflags): New flag.
5306         * configure. Regenerate.
5307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
5308         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
5309         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
5310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
5311
5312         [BZ #16815]
5313         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
5314         result for FE_DOWNWARD rounding mode.
5315         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
5316         Likewise.
5317         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5318
5319 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
5320
5321         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
5322         in function argument name.
5323
5324 2014-04-03  David Svoboda  <svoboda@cert.org>
5325
5326         [BZ #5666]
5327         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
5328         explicitly.
5329
5330 2014-04-03  Roland McGrath  <roland@hack.frob.com>
5331
5332         * elf/dl-unmap-segments.h: New file.
5333         * sysdeps/generic/ldsodefs.h
5334         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
5335         * elf/dl-close.c: Include <dl-unmap-segments.h>.
5336         * elf/dl-fptr.c: Likewise.
5337         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
5338         * sysdeps/aarch64/tlsdesc.c: Likewise.
5339         * sysdeps/arm/tlsdesc.c: Likewise.
5340         * sysdeps/i386/tlsdesc.c: Likewise.
5341         * sysdeps/tile/dl-runtime.c: Likewise.
5342         * sysdeps/x86_64/tlsdesc.c: Likewise.
5343         * elf/dl-load.h: New file.
5344         * elf/dl-load.c: Include it.
5345         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
5346         Macros moved to dl-load.h.
5347         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
5348         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
5349         Use _dl_unmap_segments in place of __munmap.
5350         Break out segment-mapping loop into ...
5351         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
5352
5353 2014-04-03  Will Newton  <will.newton@linaro.org>
5354
5355         * elf/dl-lookup.c (do_lookup_x): Remove comment
5356         referring to nested function and move variable
5357         declarations down to before first use.
5358
5359 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
5360
5361         [BZ #16799]
5362         [BZ #16800]
5363         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
5364         with 0 numerator.
5365         * math/s_catanf.c (__catanf): Likewise.
5366         * math/s_catanh.c (__catanh): Likewise.
5367         * math/s_catanhf.c (__catanhf): Likewise.
5368         * math/s_catanhl.c (__catanhl): Likewise.
5369         * math/s_catanl.c (__catanl): Likewise.
5370         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
5371         by positive zero when computing -Inf result.
5372         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
5373         (catanh_test): Likewise.
5374         * sysdeps/i386/fpu/libm-test-ulps: Update.
5375         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5376
5377         [BZ #16789]
5378         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
5379         instead of using underflowing value in computing result.
5380         * math/s_clog10.c (__clog10): Likewise.
5381         * math/s_clog10f.c (__clog10f): Likewise.
5382         * math/s_clog10l.c (__clog10l): Likewise.
5383         * math/s_clogf.c (__clogf): Likewise.
5384         * math/s_clogl.c (__clogl): Likewise.
5385         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
5386         (clog10_test): Likewise.
5387         * sysdeps/i386/fpu/libm-test-ulps: Update.
5388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5389
5390 2014-04-02  Alan Modra  <amodra@gmail.com>
5391
5392         [BZ #16739]
5393         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
5394         output when value is near a power of two.  Use int64_t for lx and
5395         remove casts.  Use decimal rather than hex exponent constants.
5396         Don't use long double multiplication when double will suffice.
5397         * math/libm-test.inc (nextafter_test_data): Add tests.
5398         * NEWS: Add 16739 and 16786 to bug list.
5399
5400         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
5401
5402         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
5403
5404 2014-04-01  Will Newton  <will.newton@linaro.org>
5405
5406         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
5407         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
5408
5409 2014-04-01  Florian Weimer  <fweimer@redhat.com>
5410
5411         [BZ #13347]
5412         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
5413         * nptl/tst-setuid2.c: New file.
5414         * nptl/Makefile (xtests): Add tst-setuid2.
5415
5416 2014-04-01  Alan Modra  <amodra@gmail.com>
5417
5418         [BZ #16786]
5419         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
5420
5421 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5422
5423         [BZ #6803]
5424         [BZ #6804]
5425         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
5426         set errno as appropriate.
5427         * math/w_scalbf.c (__scalbf): Likewise.
5428         * math/w_scalbl.c (__scalbl): Likewise.
5429         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
5430         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
5431         * math/libm-test.inc (scalb_test_data): Add errno expectations.
5432         Add more NaN tests.
5433
5434         [BZ #16349]
5435         * math/w_atan2.c: Include <errno.h>.
5436         (__atan2): Set errno for result underflowing to zero.
5437         * math/w_atan2f.c: Include <errno.h>.
5438         (__atan2f): Set errno for result underflowing to zero.
5439         * math/w_atan2l.c: Include <errno.h>.
5440         (__atan2l): Set errno for result underflowing to zero.
5441         * math/auto-libm-test-in: Don't allow missing errno for some atan2
5442         tests.
5443         * math/auto-libm-test-out: Regenerated.
5444
5445 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5446
5447         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5448         Encode instruction correctly in little endian.
5449         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5450         Likewise.
5451         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5452         Likewise.
5453         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5454         Likewise.
5455         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5456         Likewise.
5457
5458 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
5459
5460         [BZ #9894]
5461         * sysdeps/unix/sysv/linux/kernel-features.h
5462         [__sparc__ && !__arch64__ && !__sparc_v9__]
5463         (__ASSUME_SET_ROBUST_LIST): Do not define.
5464         [__sparc__ && !__arch64__ && !__sparc_v9__]
5465         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5466         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
5467         Likewise.
5468         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5469         (__ASSUME_FUTEX_LOCK_PI): Undefine.
5470         (__ASSUME_REQUEUE_PI): Likewise.
5471         (__ASSUME_SET_ROBUST_LIST): Likewise.
5472         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5473         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
5474         Undefine.
5475         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5476         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
5477         Likewise.
5478         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
5479         Likewise.
5480         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
5481         Likewise.
5482         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5483         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
5484         Undefine.
5485         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
5486         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
5487         Likewise.
5488
5489         [BZ #16648]
5490         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5491         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
5492         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
5493
5494 2014-03-31  Will Newton  <will.newton@linaro.org>
5495
5496         * benchtests/Makefile (bench): Add ffs and ffsll to list
5497         of tests.
5498         * benchtests/ffs-inputs: New file.
5499         * benchtests/ffsll-inputs: Likewise.
5500
5501 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
5502
5503         [BZ #16770]
5504         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
5505         too large before casting to int.
5506         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
5507         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
5508         * math/libm-test.inc (scalb_test_data): Add more tests.
5509
5510 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
5511
5512         * benchtests/Makefile (DETAILED_OPT): New make option.
5513         (bench-func): Run benchmark program with -d if DETAILED_OPT is
5514         set.
5515         * benchtests/bench-skeleton.c: Include stdbool.h.
5516         (main): Store and print timings per input.
5517         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
5518         member to each argument value.
5519         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
5520         (_print_arg_data): Initialize per-input timing to 0.
5521
5522         * benchtests/Makefile (timing-type): New binary.
5523         (bench-clean): Also remove bench-timing-type.
5524         (bench): New target for timing-type.
5525         (bench-func): Print output in JSON format.
5526         * benchtests/bench-skeleton.c (main): Print output in JSON
5527         format.
5528         * benchtests/bench-timing-type.c: New file.
5529         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
5530         (TIMING_PRINT_STATS): Remove.
5531         * benchtests/scripts/bench.py (_print_arg_data): Store variant
5532         name separately.
5533
5534         * benchtests/bench-modf.c: Remove.
5535         * benchtests/modf-inputs: New inputs file.
5536
5537 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
5538
5539         [BZ #16362]
5540         * math/s_clog10.c (M_PI_LOG10E): New macro.
5541         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
5542         imaginary parts are 0.
5543         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
5544         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
5545         imaginary parts are 0.
5546         * math/s_clog10l.c (M_PI_LOG10El): New macro.
5547         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
5548         imaginary parts are 0.
5549         * math/libm-test.inc (clog10_test_data): Update expected results
5550         for when real and imaginary parts are 0.
5551
5552 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
5553
5554         * elf/dl-load.c: Finish conversion of __builtin_expect into
5555         __glibc_{un}likely.
5556
5557 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
5558
5559         [BZ #16348]
5560         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
5561         1+x for argument with exponent below -67.
5562         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
5563         Likewise.
5564         * math/auto-libm-test-in: Add more tests of exp.
5565         * math/auto-libm-test-out: Regenerated.
5566
5567 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5568
5569         [BZ #16759]
5570         * inet/getnetgrent_r.c (get_nonempty_val): New function.
5571         (nscd_getnetgrent): Use it.
5572
5573         [BZ #16760]
5574         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
5575         of stpcpy.
5576
5577 2014-03-27  Andi Kleen  <ak@linux.intel.com>
5578
5579         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
5580         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5581         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5582         (lll_robust_unlock): Remove out of line section. Use cfi
5583         intrinsics.
5584         (LLL_STUB_UNWIND_INFO*): Remove.
5585         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
5586         (lll_robust_lock, lll_cond_lock, lll_timedlock)
5587         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
5588         (lll_robust_unlock): Remove out of line section. Use cfi
5589         intrinsics.
5590         (LLL_STUB_UNWIND_INFO*): Remove.
5591
5592 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
5593
5594         [BZ #16758]
5595         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
5596         blank values.
5597
5598 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
5599
5600         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
5601
5602 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
5603
5604         [BZ #16198]
5605         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
5606         fnstenv.
5607         * math/test-fenv-preserve.c: New file.
5608         * math/Makefile (tests): Add test-fenv-preserve.
5609
5610 2014-03-26  Will Newton <will.newton@linaro.org>
5611
5612         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
5613
5614 2014-03-25  Roland McGrath  <roland@hack.frob.com>
5615
5616         * scripts/versionlist.awk: Partition the version sets and emit all
5617         GLIBC_* (sorted) before all others (sorted).
5618
5619 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5620
5621         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
5622         GLIBC_2.2.5 version.
5623
5624 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5625
5626         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
5627         calls.
5628
5629         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
5630         previous change.
5631
5632         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5633
5634 2014-03-25  Andreas Schwab  <schwab@suse.de>
5635
5636         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
5637         label to be used after in6ailist is initialized.
5638
5639 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5640
5641         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
5642         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5643
5644 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
5645
5646         [BZ #16357]
5647         [BZ #16599]
5648         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
5649         min_plus_half.
5650         (fp_formats): Update initializers.
5651         (init_fp_formats): Initialize new field.
5652         (output_for_one_input_case): Allow underflow for results up to
5653         min_plus_half.
5654         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
5655         * math/auto-libm-test-in: Don't mark some underflows from asin and
5656         atanh as spurious.
5657         * math/auto-libm-test-out: Regenerated.
5658         * sysdeps/i386/fpu/libm-test-ulps: Update.
5659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5660
5661 2014-03-25  Andreas Schwab  <schwab@suse.de>
5662
5663         * libio/Makefile (tst-ftell-partial-wide-ENV)
5664         (tst-ftell-active-handler-ENV): Define.
5665
5666 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
5667
5668         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
5669
5670 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5671
5672         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
5673
5674 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5675
5676         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
5677         * sysdeps/x86_64/fpu/multiarch/e_exp.c
5678         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
5679
5680 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
5681
5682         [BZ #16634]
5683         * elf/dl-load.c (open_verify): Add mode parameter.
5684         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
5685         (open_path): Change from boolean 'secure' to complete flag 'mode'
5686         (_dl_map_object): Adjust.
5687         * elf/Makefile (tests): Add tst-dlopen-aout.
5688         * elf/tst-dlopen-aout.c: New test.
5689
5690 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
5691
5692         [BZ #16714]
5693         * sysdeps/unix/sysv/linux/s390/bits/stat.h
5694         (struct stat): Rename member pad0 to __glibc_reserved0.
5695
5696         [BZ #16712]
5697         * sysdeps/s390/s390-32/bits/wordsize.h
5698         (__WORDSIZE32_SIZE_ULONG): New define.
5699         * sysdeps/s390/s390-64/bits/wordsize.h
5700         (__WORDSIZE32_SIZE_ULONG): Likewise.
5701         * sysdeps/generic/stdint.h (SIZE_MAX):
5702         Define as UL if __WORDSIZE32_SIZE_ULONG.
5703
5704         [BZ #16713]
5705         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
5706         (__glibc_reserved0): New variable.
5707         (sa_flags): Change type to int.
5708
5709         * posix/Makefile (before-compile): Use += before-compile instead
5710         of a :=.
5711
5712         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
5713         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
5714
5715 2014-03-20  Andreas Schwab  <schwab@suse.de>
5716
5717         [BZ #16743]
5718         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
5719         non-matching result from nscd.
5720
5721 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5722
5723         * scripts/bench.py: Moved to ...
5724         * benchtests/scripts/bench.py: ... here.
5725         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
5726
5727 2014-03-24  Andreas Schwab  <schwab@suse.de>
5728
5729         [BZ #16002]
5730         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
5731         alloca_account and account alloca use for struct in6ailist.
5732
5733 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
5734
5735         [BZ #16284]
5736         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
5737         rounding mode to recompute results that overflow to infinity or
5738         underflow to zero.
5739         * math/auto-libm-test-in: Don't mark tests as expected to fail for
5740         bug 16284.
5741         * math/auto-libm-test-out: Regenerated.
5742         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
5743         (ccosh_test): Likewise.
5744         (csin_test_data): Use plus_oflow.
5745         (csin_test): Use ALL_RM_TEST.
5746         (csinh_test_data): Use plus_oflow.
5747         (csinh_test): Use ALL_RM_TEST.
5748         * sysdeps/i386/fpu/libm-test-ulps: Update.
5749         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5750
5751 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
5752
5753         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
5754         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
5755         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
5756
5757         [BZ #16731]
5758         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
5759         when x - 1 is zero.
5760         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
5761         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
5762         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5763         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
5764         argument is 1.
5765         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
5766         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
5767         zero.
5768         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
5769         * sysdeps/i386/fpu/libm-test-ulps: Update.
5770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5771
5772 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5773
5774         * scripts/bench.pl: Remove file.
5775         * scripts/bench.py: New benchmark script.
5776         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
5777         * benchtests/README: Mention python dependency.
5778         * scripts/pylintrc: New file.
5779         * scripts/pylint: New file.
5780
5781         * bits/mathdef.h: Use #ifdef instead of #if.
5782         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
5783         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5784         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
5785         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5786         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
5787         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
5788
5789 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5790             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5791
5792         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
5793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
5794         and strpbrk-ppc64 objects.
5795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5796         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
5797         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
5798         multiarch strpbrk for POWER7.
5799         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
5800         multiarch strpbrk for PPC64.
5801         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
5802         ifunc selector.
5803         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
5804         strpbrk for POWER7.
5805
5806 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5807
5808         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
5809         (atan_test): Likewise.
5810         (atanh_test_data): Use NO_TEST_INLINE for two tests.
5811         (atanh_test): Use ALL_RM_TEST.
5812         (atan2_test_data): Likewise.
5813         (cabs_test): Likewise.
5814         (cacosh_test): Likewise.
5815         (carg_test): Likewise.
5816         (casin_test): Likewise.
5817         (casinh_test): Likewise.
5818         (cbrt_test): Likewise.
5819         (csqrt_test): Likewise.
5820         (erf_test): Likewise.
5821         (erfc_test): Likewise.
5822         (pow10_test): Likewise.
5823         (exp2_test): Likewise.
5824         (hypot_test): Likewise.
5825         (j0_test): Likewise.
5826         (j1_test): Likewise.
5827         (lgamma_test): Likewise.
5828         (gamma_test): Likewise.
5829         (sincos_test): Likewise.
5830         (tanh_test): Likewise.
5831         (y0_test): Likewise.
5832         (y1_test): Likewise.
5833         * sysdeps/i386/fpu/libm-test-ulps: Update.
5834         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5835
5836 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5837
5838         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
5839         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
5840         and strcspn-ppc64 objects.
5841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5842         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
5843         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
5844         multiarch strcspn for POWER7.
5845         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
5846         multiarch strcspn for PPC64.
5847         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
5848         ifunc selector.
5849         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
5850         strcspn for POWER7.
5851
5852 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
5853
5854         * math/gen-libm-test.pl (generate_testfile): Expect only function
5855         name as argument to AUTO_TESTS_* and pass results for all rounding
5856         modes to parse_args.
5857         (parse_auto_input): Separate inputs of automatic tests from
5858         outputs before storing in %auto_tests.
5859         * math/libm-test.inc (acos_test_data): Update call to
5860         AUTO_TESTS_f_f.
5861         (acos_test): Use ALL_RM_TEST.
5862         (acos_tonearest_test_data): Remove.
5863         (acos_test_tonearest): Likewise.
5864         (acos_towardzero_test_data): Likewise.
5865         (acos_test_towardzero): Likewise.
5866         (acos_downward_test_data): Likewise.
5867         (acos_test_downward): Likewise.
5868         (acos_upward_test_data): Likewise.
5869         (acos_test_upward): Likewise.
5870         (acosh_test_data): Update call to AUTO_TESTS_f_f.
5871         (asin_test_data): Likewise.
5872         (asin_test): Use ALL_RM_TEST.
5873         (asin_tonearest_test_data): Remove.
5874         (asin_test_tonearest): Likewise.
5875         (asin_towardzero_test_data): Likewise.
5876         (asin_test_towardzero): Likewise.
5877         (asin_downward_test_data): Likewise.
5878         (asin_test_downward): Likewise.
5879         (asin_upward_test_data): Likewise.
5880         (asin_test_upward): Likewise.
5881         (asinh_test_data): Update call to AUTO_TESTS_f_f.
5882         (atan_test_data): Likewise.
5883         (atanh_test_data): Likewise.
5884         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
5885         (cabs_test_data): Update call to AUTO_TESTS_c_f.
5886         (carg_test_data): Likewise.
5887         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
5888         (ccos_test_data): Update call to AUTO_TESTS_c_c.
5889         (ccosh_test_data): Likewise.
5890         (cexp_test_data): Likewise.
5891         (clog_test_data): Likewise.
5892         (clog10_test_data): Likewise.
5893         (cos_test_data): Update call to AUTO_TESTS_f_f.
5894         (cos_test): Use ALL_RM_TEST.
5895         (cos_tonearest_test_data): Remove.
5896         (cos_test_tonearest): Likewise.
5897         (cos_towardzero_test_data): Likewise.
5898         (cos_test_towardzero): Likewise.
5899         (cos_downward_test_data): Likewise.
5900         (cos_test_downward): Likewise.
5901         (cos_upward_test_data): Likewise.
5902         (cos_test_upward): Likewise.
5903         (cosh_test_data): Update call to AUTO_TESTS_f_f.
5904         (cosh_test): Use ALL_RM_TEST.
5905         (cosh_tonearest_test_data): Remove.
5906         (cosh_test_tonearest): Likewise.
5907         (cosh_towardzero_test_data): Likewise.
5908         (cosh_test_towardzero): Likewise.
5909         (cosh_downward_test_data): Likewise.
5910         (cosh_test_downward): Likewise.
5911         (cosh_upward_test_data): Likewise.
5912         (cosh_test_upward): Likewise.
5913         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
5914         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
5915         (ctan_test_data): Likewise.
5916         (ctan_test): Use ALL_RM_TEST.
5917         (ctan_tonearest_test_data): Remove.
5918         (ctan_test_tonearest): Likewise.
5919         (ctan_towardzero_test_data): Likewise.
5920         (ctan_test_towardzero): Likewise.
5921         (ctan_downward_test_data): Likewise.
5922         (ctan_test_downward): Likewise.
5923         (ctan_upward_test_data): Likewise.
5924         (ctan_test_upward): Likewise.
5925         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
5926         (ctanh_test): Use ALL_RM_TEST.
5927         (ctanh_tonearest_test_data): Remove.
5928         (ctanh_test_tonearest): Likewise.
5929         (ctanh_towardzero_test_data): Likewise.
5930         (ctanh_test_towardzero): Likewise.
5931         (ctanh_downward_test_data): Likewise.
5932         (ctanh_test_downward): Likewise.
5933         (ctanh_upward_test_data): Likewise.
5934         (ctanh_test_upward): Likewise.
5935         (erf_test_data): Update call to AUTO_TESTS_f_f.
5936         (erfc_test_data): Likewise.
5937         (exp_test_data): Likewise.
5938         (exp_test): Use ALL_RM_TEST.
5939         (exp_tonearest_test_data): Remove.
5940         (exp_test_tonearest): Likewise.
5941         (exp_towardzero_test_data): Likewise.
5942         (exp_test_towardzero): Likewise.
5943         (exp_downward_test_data): Likewise.
5944         (exp_test_downward): Likewise.
5945         (exp_upward_test_data): Likewise.
5946         (exp_test_upward): Likewise.
5947         (exp10_test_data): Update call to AUTO_TESTS_f_f.
5948         (exp10_test): Use ALL_RM_TEST.
5949         (exp10_tonearest_test_data): Remove.
5950         (exp10_test_tonearest): Likewise.
5951         (exp10_towardzero_test_data): Likewise.
5952         (exp10_test_towardzero): Likewise.
5953         (exp10_downward_test_data): Likewise.
5954         (exp10_test_downward): Likewise.
5955         (exp10_upward_test_data): Likewise.
5956         (exp10_test_upward): Likewise.
5957         (exp2_test_data): Update call to AUTO_TESTS_f_f.
5958         (expm1_test_data): Likewise.
5959         (expm1_test): Use ALL_RM_TEST.
5960         (expm1_tonearest_test_data): Remove.
5961         (expm1_test_tonearest): Likewise.
5962         (expm1_towardzero_test_data): Likewise.
5963         (expm1_test_towardzero): Likewise.
5964         (expm1_downward_test_data): Likewise.
5965         (expm1_test_downward): Likewise.
5966         (expm1_upward_test_data): Likewise.
5967         (expm1_test_upward): Likewise.
5968         (fma_test_data): Update call to AUTO_TESTS_fff_f.
5969         (fma_test): Use ALL_RM_TEST.
5970         (fma_towardzero_test_data): Remove.
5971         (fma_test_towardzero): Likewise.
5972         (fma_downward_test_data): Likewise.
5973         (fma_test_downward): Likewise.
5974         (fma_upward_test_data): Likewise.
5975         (fma_test_upward): Likewise.
5976         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
5977         (j0_test_data): Update call to AUTO_TESTS_f_f.
5978         (j1_test_data): Likewise.
5979         (jn_test_data): Update call to AUTO_TESTS_if_f.
5980         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
5981         (log_test_data): Update call to AUTO_TESTS_f_f.
5982         (log10_test_data): Likewise.
5983         (log1p_test_data): Likewise.
5984         (log2_test_data): Likewise.
5985         (pow_test_data): Update call to AUTO_TESTS_ff_f.
5986         (pow_tonearest_test_data): Likewise.
5987         (sin_test_data): Update call to AUTO_TESTS_f_f.
5988         (sin_test): Use ALL_RM_TEST.
5989         (sin_tonearest_test_data): Remove.
5990         (sin_test_tonearest): Likewise.
5991         (sin_towardzero_test_data): Likewise.
5992         (sin_test_towardzero): Likewise.
5993         (sin_downward_test_data): Likewise.
5994         (sin_test_downward): Likewise.
5995         (sin_upward_test_data): Likewise.
5996         (sin_test_upward): Likewise.
5997         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
5998         (sinh_test_data): Update call to AUTO_TESTS_f_f.
5999         (sinh_test): Use ALL_RM_TEST.
6000         (sinh_tonearest_test_data): Remove.
6001         (sinh_test_tonearest): Likewise.
6002         (sinh_towardzero_test_data): Likewise.
6003         (sinh_test_towardzero): Likewise.
6004         (sinh_downward_test_data): Likewise.
6005         (sinh_test_downward): Likewise.
6006         (sinh_upward_test_data): Likewise.
6007         (sinh_test_upward): Likewise.
6008         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
6009         (sqrt_test): Use ALL_RM_TEST.
6010         (sqrt_tonearest_test_data): Remove.
6011         (sqrt_test_tonearest): Likewise.
6012         (sqrt_towardzero_test_data): Likewise.
6013         (sqrt_test_towardzero): Likewise.
6014         (sqrt_downward_test_data): Likewise.
6015         (sqrt_test_downward): Likewise.
6016         (sqrt_upward_test_data): Likewise.
6017         (sqrt_test_upward): Likewise.
6018         (tan_test_data): Update call to AUTO_TESTS_f_f.
6019         (tan_test): Use ALL_RM_TEST.
6020         (tan_tonearest_test_data): Remove.
6021         (tan_test_tonearest): Likewise.
6022         (tan_towardzero_test_data): Likewise.
6023         (tan_test_towardzero): Likewise.
6024         (tan_downward_test_data): Likewise.
6025         (tan_test_downward): Likewise.
6026         (tan_upward_test_data): Likewise.
6027         (tan_test_upward): Likewise.
6028         (tanh_test_data): Update call to AUTO_TESTS_f_f.
6029         (tgamma_test_data): Likewise.
6030         (y0_test_data): Likewise.
6031         (y1_test_data): Likewise.
6032         (yn_test_data): Update call to AUTO_TESTS_if_f.
6033         (main): Do not call removed functions.
6034
6035 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6036
6037         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
6038         (ldexp_test_data): Remove.
6039         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
6040         scalbn_test_data.
6041         (scalb_test): Use ALL_RM_TEST.
6042
6043 2014-03-19  Andreas Schwab  <schwab@suse.de>
6044
6045         * nscd/nscd.service: Also invalidate netgroup cache on reload.
6046
6047 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
6048
6049         [BZ #16649]
6050         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6051         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
6052         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
6053         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6054         (__ASSUME_PREADV): Undefine.
6055         (__ASSUME_PWRITEV): Likewise.
6056
6057 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6058
6059         * bits/mman-linux.h: Add comment about non-Linux use.
6060         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
6061         bits/mman-linux.h resting place.
6062
6063         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
6064         * bits/mman-linux.h: ... here.
6065
6066 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6067
6068         * conform/conformtest.pl: Add standard definition when calling C
6069         preprocessor on data files.
6070         (checknamespace): Remove unused variable.
6071
6072 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6073
6074         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
6075         minus_oflow, plus_uflow and minus_uflow in expected results.
6076         * math/libm-test.inc (scalbn_test_data): Add more tests of
6077         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
6078         minus_uflow.
6079         (scalbn_test): Use ALL_RM_TEST.
6080         (scalbln_test_data): Add more tests of negative arguments.  Use
6081         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
6082         (scalbln_test): Use ALL_RM_TEST.
6083
6084 2014-03-18  Roland McGrath  <roland@hack.frob.com>
6085
6086         * scripts/abilist.awk: Ignore symbols marked with .hidden.
6087
6088 2014-03-18  Will Newton  <will.newton@linaro.org>
6089
6090         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
6091         inaccurate comment.
6092
6093 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
6094
6095         * Makerules [!subdir] (check-abi): Exit with error status if a
6096         test failed.
6097
6098 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6099
6100         * math/libm-test.inc (nearbyint_test_data): Include all tests used
6101         for rint.  Include results for all rounding modes.
6102         (nearbyint_test): Use ALL_RM_TEST.
6103         (rint_test_data): Include all tests used for nearbyint.
6104
6105 2014-03-17  Will Newton  <will.newton@linaro.org>
6106
6107         * nptl/sysdeps/pthread/pthread.h: Revert previous
6108         change.
6109
6110         * sysdeps/generic/ldsodefs.h: Revert previous
6111         change.
6112
6113         * libio/genops.c: Revert previous change.
6114         * libio/libioP.h: Likewise.
6115         * stdio-common/vfprintf.c: Likewise.
6116
6117         * sysdeps/generic/math_private.h: Revert previous
6118         change.
6119
6120         * sysdeps/generic/math_private.h: Check whether
6121         HAVE_RM_CTX is defined with #ifdef rather
6122         than #if.
6123
6124         * argp/argp-fmtstream.h: Check whether
6125         __STRICT_ANSI__ is defined with #ifdef rather
6126         than #if.
6127         * argp/argp.h: Likewise.
6128
6129         * libio/genops.c: Check whether
6130         _IO_JUMPS_OFFSET is defined with #ifdef rather
6131         than #if.
6132         * libio/libioP.h: Likewise.
6133         * stdio-common/vfprintf.c: Likewise.
6134
6135         * sysdeps/generic/ldsodefs.h: Check whether
6136         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
6137         than #if.
6138
6139         * nptl/sysdeps/pthread/pthread.h: Check
6140         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
6141         its value.
6142
6143 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6144
6145         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
6146         setting O_APPEND.
6147         * libio/tst-ftell-active-handler.c (do_append_test): Add a
6148         test case.
6149
6150         [BZ #16680]
6151         * libio/fileops.c (_IO_file_open): Seek to end of file but
6152         don't cache the offset.
6153         (get_file_offset): Remove function.
6154         (do_ftell): Use cached offset when available.
6155         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
6156         don't cache the offset.
6157         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
6158         case.
6159         (do_one_test): Call it.
6160         (do_ftell_test): Fix up expected old offset for a+ mode.
6161         * libio/wfileops.c (do_ftell_wide): Used cached offset when
6162         available.
6163
6164         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
6165         up test status with function return status.
6166         (do_write_test): Likewise.
6167         (do_append_test): Likewise.
6168
6169         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
6170         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
6171         Remove.
6172
6173 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
6174
6175         * math/gen-libm-test.pl (parse_args): Handle results specified for
6176         each rounding mode separately.
6177         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
6178         tests and results from lrint_tonearest_test_data,
6179         lrint_towardzero_test_data, lrint_downward_test_data and
6180         lrint_upward_test_data.
6181         (lrint_test): Use ALL_RM_TEST.
6182         (lrint_tonearest_test_data): Remove.
6183         (lrint_test_tonearest): Likewise.
6184         (lrint_towardzero_test_data): Likewise.
6185         (lrint_test_towardzero): Likewise.
6186         (lrint_downward_test_data): Likewise.
6187         (lrint_test_downward): Likewise.
6188         (lrint_upward_test_data): Likewise.
6189         (lrint_test_upward): Likewise.
6190         (llrint_test_data): Merge in per-rounding-mode tests and results
6191         from llrint_tonearest_test_data, llrint_towardzero_test_data,
6192         llrint_downward_test_data and llrint_upward_test_data.
6193         (llrint_test): Use ALL_RM_TEST.
6194         (llrint_tonearest_test_data): Remove.
6195         (llrint_test_tonearest): Likewise.
6196         (llrint_towardzero_test_data): Likewise.
6197         (llrint_test_towardzero): Likewise.
6198         (llrint_downward_test_data): Likewise.
6199         (llrint_test_downward): Likewise.
6200         (llrint_upward_test_data): Likewise.
6201         (llrint_test_upward): Likewise.
6202         (rint_test_data): Merge in per-rounding-mode tests and results
6203         from rint_tonearest_test_data, rint_towardzero_test_data,
6204         rint_downward_test_data and rint_upward_test_data.  Add
6205         per-rounding-mode results for tests not in those arrays.
6206         (rint_test): Use ALL_RM_TEST.
6207         (rint_tonearest_test_data): Remove.
6208         (rint_test_tonearest): Likewise.
6209         (rint_towardzero_test_data): Likewise.
6210         (rint_test_towardzero): Likewise.
6211         (rint_downward_test_data): Likewise.
6212         (rint_test_downward): Likewise.
6213         (rint_upward_test_data): Likewise.
6214         (rint_test_upward): Likewise.
6215         (main): Don't call removed functions.
6216
6217 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6218
6219         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
6220         "Compiled on ..." crapola.  It is anti-useful.
6221
6222 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
6223
6224         * scripts/evaluate-test.sh: Handle fourth argument to determine
6225         whether test run should stop on failure.
6226         * Makeconfig (stop-on-test-failure): New variable.
6227         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
6228         $(stop-on-test-failure).
6229         * Makefile (tests): Give a summary of results from testing and
6230         exit with failure status if they include an ERROR or FAIL.
6231         (xtests): Likewise.
6232         * manual/install.texi (Configuring and compiling): Mention
6233         stop-on-test-failure=y.
6234         * INSTALL: Regenerated.
6235
6236 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6237
6238         * scripts/versionlist.awk: New file.
6239         * Makerules [$(build-shared) = yes]
6240         (postclean-generated): Add Versions.def, not Versions.def.v and
6241         Versions.def.v.i.
6242         ($(common-objpfx)Versions.def.v.i): Target removed.
6243         ($(common-objpfx)Versions.def): New target.
6244         ($(common-objpfx)Versions.all): Depend on that rather that
6245         $(common-objpfx)Versions.def.v.
6246         * Versions.def: File removed.
6247
6248         * Makeconfig (+gccwarn): Add -Wundef.
6249         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
6250         a dl-sysdep.h breaking its contract.
6251         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
6252         * include/stackinfo.h: New file.
6253         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
6254         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
6255         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
6256         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
6257         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
6258         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
6259         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6260         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6261         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6262         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6263         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6264         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
6265         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6266         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6267         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
6268
6269 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6270
6271         [BZ #16707]
6272         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
6273         implementation.
6274         * math/libm-test.inc (round_test_data): Add more tests.
6275
6276         [BZ #16706]
6277         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
6278         implementation.
6279         * math/libm-test.inc (nearbyint_test_data): Add more tests.
6280
6281         [BZ #16701]
6282         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
6283         implementation.
6284         * math/libm-test.inc (ceil_test_data): Add more tests.
6285
6286         * math/libm-test.inc (trunc_test_data): Add more tests related to
6287         BZ#16414.
6288
6289 2014-03-14  Roland McGrath  <roland@hack.frob.com>
6290
6291         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
6292         with #if rather than #ifdef.
6293         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
6294
6295 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
6296
6297         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
6298         first.  Disable AVX-512 GCC support if assembler doesn't support
6299         it.
6300         * sysdeps/x86_64/configure: Regenerated.
6301
6302 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
6303
6304         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
6305         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
6306         (__old_pthread_attr_setstack): Likewise.
6307         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
6308         [!_STACK_GROWS_DOWN]: Likewise.
6309
6310 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
6311
6312         * config.make.in (have-bash2): Delete.
6313         * configure.ac (libc_cv_have_bash2): Delete.
6314         * configure: Regenerate.
6315         * elf/Makefile (common-ldd-rewrite): Rename to ...
6316         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
6317         (sh-ldd-rewrite): Delete.
6318         (bash-ldd-rewrite): Delete.
6319         (have-bash2): Delete checks.
6320         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
6321         ldd-rewrite.
6322
6323         * config.make.in (have-ksh): Delete.
6324         (KSH): Delete.
6325         * configure.ac (libc_cv_have_ksh): Delete.
6326         * configure: Regenerate.
6327
6328         * elf/Makefile: Delete $(have-ksh) check.
6329         ($(objpfx)sotruss): Change KSH to BASH.
6330         * elf/sotruss.ksh: Rename to ...
6331         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
6332         function style to match POSIX.  Drop ksh vim mode setting.
6333
6334         * manual/time.texi (Specifying the Time Zone with TZ): Change
6335         Tuesday to Thursday.
6336
6337         * debug/tst-longjmp_chk2.c: Update header comment.
6338         (stackoverflow_handler): Add comment.  Call assert on pass value.
6339
6340 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
6341
6342         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
6343         (HAVE_AVX512_ASM_SUPPORT): Likewise.
6344         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
6345         (La_x86_64_vector): Add zmm.
6346         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
6347         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
6348         ($(objpfx)tst-audit10): New target.
6349         ($(objpfx)tst-audit10.out): Likewise.
6350         (tst-audit10-ENV): New.
6351         (AVX512-CFLAGS): Likewise.
6352         (CFLAGS-tst-audit10.c): Likewise.
6353         (CFLAGS-tst-auditmod10a.c): Likewise.
6354         (CFLAGS-tst-auditmod10b.c): Likewise.
6355         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
6356         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
6357         * sysdeps/x86_64/configure: Regenerated.
6358         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
6359         AVX-512 zmm register support.
6360         (_dl_x86_64_save_sse): Likewise.
6361         (_dl_x86_64_restore_sse): Likewise.
6362         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
6363         size vector registers.
6364         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
6365         (ZMM_SIZE): Likewise.
6366         * sysdeps/x86_64/tst-audit10.c: New file.
6367         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
6368         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
6369
6370 2014-03-13  Roland McGrath  <roland@hack.frob.com>
6371
6372         * configure.ac (HAVE_EHDR_START): New check.
6373         * configure: Regenerated.
6374         * config.h.in (HAVE_EHDR_START): New #undef.
6375         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
6376         assuming the lowest-addressed segment maps the start of the file.
6377
6378 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
6379
6380         * INSTALL: Regenerated.
6381
6382 2014-03-13  Will Newton  <will.newton@linaro.org>
6383
6384         * manual/setjmp.texi (System V contexts): Improve
6385         clarity and grammar of documentation.
6386
6387 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
6388
6389         [BZ #16381]
6390         * elf/Makefile (tests): Add tst-pie2.
6391         (tests-pie): Add tst-pie2.
6392         * elf/tst-pie2.c: New file.
6393         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
6394         for ET_EXEC.
6395         * elf/rtld.c (map_doit): Load executable as lt_executable.
6396         (dl_main): Likewise.
6397
6398 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
6399
6400         [BZ #16642]
6401         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6402         (__ASSUME_PSELECT): Undefine.
6403
6404 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6405
6406         [BZ #16689]
6407         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
6408         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
6409         static build.
6410         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
6411         selector for static builds.
6412
6413 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6414
6415         [BZ #16695]
6416         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
6417         key in the buffer.
6418
6419 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6420
6421         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
6422         IFUNC selector for static builds.
6423
6424 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
6425
6426         * sysdeps/mips/math_private.h [__mips_hard_float]
6427         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
6428         libc_feresetround_mips_ctx.
6429         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
6430         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
6431         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
6432
6433         [BZ #16677]
6434         * math/s_nextafter.c (__nextafter): Do not return value from
6435         overflowing computation.
6436         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
6437         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
6438         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
6439         Likewise.
6440         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
6441         Likewise.
6442         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
6443         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
6444
6445 2014-03-11  Roland McGrath  <roland@hack.frob.com>
6446
6447         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
6448         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
6449         Move sfi_sp use from the load-multiple (that no longer sets sp) to
6450         the new mov targetting sp.
6451
6452 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6453
6454         [BZ #16683]
6455         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
6456         Define it for static builds as well.
6457         (NO_BZERO_IMPL): Likewise.
6458
6459 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6460
6461         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
6462         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
6463         multiarch strspn for PPC64.
6464         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
6465         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
6466         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6467         (__libc_ifunc_impl_list): Likewise.
6468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
6469         multiarch optimizations
6470         * string/strspn.c (strspn): Using macro to redefine symbol name.
6471
6472 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6473             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6474
6475         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
6476         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
6477         multiarch strncat for PPC64.
6478         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
6479         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
6480         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6481         (__libc_ifunc_impl_list): Likewise.
6482         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
6483         multiarch optimizations
6484
6485 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6486
6487         [BZ #16639]
6488         * nscd/nscd.service: Make service type forking.
6489
6490 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6491
6492         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
6493         sign in non default rounding modes.
6494         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
6495
6496 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
6497
6498         * math/libm-test.inc (ALL_RM_TEST): New macro.
6499         (ceil_test): Use ALL_RM_TEST.
6500         (cimag_test): Likewise.
6501         (conj_test): Likewise.
6502         (copysign_test): Likewise.
6503         (cproj_test): Likewise.
6504         (creal_test): Likewise.
6505         (fabs_test): Likewise.
6506         (floor_test): Likewise.
6507         (fmax_test): Likewise.
6508         (fmin_test): Likewise.
6509         (fmod_test): Likewise.
6510         (fpclassify_test): Likewise.
6511         (frexp_test): Likewise.
6512         (ilogb_test): Likewise.
6513         (isfinite_test): Likewise.
6514         (finite_test): Likewise.
6515         (isgreater_test): Likewise.
6516         (isgreaterequal_test): Likewise.
6517         (isinf_test): Likewise.
6518         (isless_test): Likewise.
6519         (islessequal_test): Likewise.
6520         (islessgreater_test): Likewise.
6521         (isnan_test): Likewise.
6522         (isnormal_test): Likewise.
6523         (issignaling_test): Likewise.
6524         (isunordered_test): Likewise.
6525         (logb_test): Likewise.
6526         (logb_downward_test_data): Remove.
6527         (logb_test_downward): Likewise.
6528         (lround_test): Use ALL_RM_TEST.
6529         (llround_test): Likewise.
6530         (modf_test): Likewise.
6531         (nexttoward_test): Likewise.
6532         (remainder_test): Likewise.
6533         (drem_test): Likewise.
6534         (remainder_tonearest_test_data): Likewise.
6535         (remainder_test_tonearest): Likewise.
6536         (drem_test_tonearest): Likewise.
6537         (remainder_towardzero_test_data): Likewise.
6538         (remainder_test_towardzero): Likewise.
6539         (drem_test_towardzero): Likewise.
6540         (remainder_downward_test_data): Likewise.
6541         (remainder_test_downward): Likewise.
6542         (drem_test_downward): Likewise.
6543         (remainder_upward_test_data): Likewise.
6544         (remainder_test_upward): Likewise.
6545         (drem_test_upward): Likewise.
6546         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
6547         (round_test): Use ALL_RM_TEST.
6548         (signbit_test): Likewise.
6549         (trunc_test): Likewise.
6550         (significand_test): Likewise.
6551         (main): Don't call removed functions.
6552
6553 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6554
6555         [BZ #16674]
6556         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
6557         || __USE_XOPEN2K8].
6558         (ILL_ILLOPN): Likewise.
6559         (ILL_ILLADR): Likewise.
6560         (ILL_ILLTRP): Likewise.
6561         (ILL_PRVOPC): Likewise.
6562         (ILL_PRVREG): Likewise.
6563         (ILL_COPROC): Likewise.
6564         (ILL_BADSTK): Likewise.
6565         (FPE_INTDIV): Likewise.
6566         (FPE_INTOVF): Likewise.
6567         (FPE_FLTDIV): Likewise.
6568         (FPE_FLTOVF): Likewise.
6569         (FPE_FLTUND): Likewise.
6570         (FPE_FLTRES): Likewise.
6571         (FPE_FLTINV): Likewise.
6572         (FPE_FLTSUB): Likewise.
6573         (SEGV_MAPERR): Likewise.
6574         (SEGV_ACCERR): Likewise.
6575         (BUS_ADRALN): Likewise.
6576         (BUS_ADRERR): Likewise.
6577         (BUS_OBJERR): Likewise.
6578         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6579         (TRAP_TRACE): Likewise.
6580         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6581         __USE_XOPEN2K8].
6582         (CLD_KILLED): Likewise.
6583         (CLD_DUMPED): Likewise.
6584         (CLD_TRAPPED): Likewise.
6585         (CLD_STOPPED): Likewise.
6586         (CLD_CONTINUED): Likewise.
6587         (POLL_IN): Likewise.
6588         (POLL_OUT): Likewise.
6589         (POLL_MSG): Likewise.
6590         (POLL_ERR): Likewise.
6591         (POLL_PRI): Likewise.
6592         (POLL_HUP): Likewise.
6593         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
6594         Likewise.
6595         (ILL_ILLOPN): Likewise.
6596         (ILL_ILLADR): Likewise.
6597         (ILL_ILLTRP): Likewise.
6598         (ILL_PRVOPC): Likewise.
6599         (ILL_PRVREG): Likewise.
6600         (ILL_COPROC): Likewise.
6601         (ILL_BADSTK): Likewise.
6602         (FPE_INTDIV): Likewise.
6603         (FPE_INTOVF): Likewise.
6604         (FPE_FLTDIV): Likewise.
6605         (FPE_FLTOVF): Likewise.
6606         (FPE_FLTUND): Likewise.
6607         (FPE_FLTRES): Likewise.
6608         (FPE_FLTINV): Likewise.
6609         (FPE_FLTSUB): Likewise.
6610         (SEGV_MAPERR): Likewise.
6611         (SEGV_ACCERR): Likewise.
6612         (BUS_ADRALN): Likewise.
6613         (BUS_ADRERR): Likewise.
6614         (BUS_OBJERR): Likewise.
6615         (BUS_MCEERR_AR): Likewise.
6616         (BUS_MCEERR_AO): Likewise.
6617         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6618         (TRAP_TRACE): Likewise.
6619         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6620         __USE_XOPEN2K8].
6621         (CLD_KILLED): Likewise.
6622         (CLD_DUMPED): Likewise.
6623         (CLD_TRAPPED): Likewise.
6624         (CLD_STOPPED): Likewise.
6625         (CLD_CONTINUED): Likewise.
6626         (POLL_IN): Likewise.
6627         (POLL_OUT): Likewise.
6628         (POLL_MSG): Likewise.
6629         (POLL_ERR): Likewise.
6630         (POLL_PRI): Likewise.
6631         (POLL_HUP): Likewise.
6632         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
6633         (ILL_ILLOPN): Likewise.
6634         (ILL_ILLADR): Likewise.
6635         (ILL_ILLTRP): Likewise.
6636         (ILL_PRVOPC): Likewise.
6637         (ILL_PRVREG): Likewise.
6638         (ILL_COPROC): Likewise.
6639         (ILL_BADSTK): Likewise.
6640         (FPE_INTDIV): Likewise.
6641         (FPE_INTOVF): Likewise.
6642         (FPE_FLTDIV): Likewise.
6643         (FPE_FLTOVF): Likewise.
6644         (FPE_FLTUND): Likewise.
6645         (FPE_FLTRES): Likewise.
6646         (FPE_FLTINV): Likewise.
6647         (FPE_FLTSUB): Likewise.
6648         (SEGV_MAPERR): Likewise.
6649         (SEGV_ACCERR): Likewise.
6650         (BUS_ADRALN): Likewise.
6651         (BUS_ADRERR): Likewise.
6652         (BUS_OBJERR): Likewise.
6653         (BUS_MCEERR_AR): Likewise.
6654         (BUS_MCEERR_AO): Likewise.
6655         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6656         (TRAP_TRACE): Likewise.
6657         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6658         __USE_XOPEN2K8].
6659         (CLD_KILLED): Likewise.
6660         (CLD_DUMPED): Likewise.
6661         (CLD_TRAPPED): Likewise.
6662         (CLD_STOPPED): Likewise.
6663         (CLD_CONTINUED): Likewise.
6664         (POLL_IN): Likewise.
6665         (POLL_OUT): Likewise.
6666         (POLL_MSG): Likewise.
6667         (POLL_ERR): Likewise.
6668         (POLL_PRI): Likewise.
6669         (POLL_HUP): Likewise.
6670         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
6671         Likewise.
6672         (ILL_ILLOPN): Likewise.
6673         (ILL_ILLADR): Likewise.
6674         (ILL_ILLTRP): Likewise.
6675         (ILL_PRVOPC): Likewise.
6676         (ILL_PRVREG): Likewise.
6677         (ILL_COPROC): Likewise.
6678         (ILL_BADSTK): Likewise.
6679         (ILL_BADIADDR): Likewise.
6680         (ILL_BREAK): Likewise.
6681         (FPE_INTDIV): Likewise.
6682         (FPE_INTOVF): Likewise.
6683         (FPE_FLTDIV): Likewise.
6684         (FPE_FLTOVF): Likewise.
6685         (FPE_FLTUND): Likewise.
6686         (FPE_FLTRES): Likewise.
6687         (FPE_FLTINV): Likewise.
6688         (FPE_FLTSUB): Likewise.
6689         (FPE_DECOVF): Likewise.
6690         (FPE_DECDIV): Likewise.
6691         (FPE_DECERR): Likewise.
6692         (FPE_INVASC): Likewise.
6693         (FPE_INVDEC): Likewise.
6694         (SEGV_MAPERR): Likewise.
6695         (SEGV_ACCERR): Likewise.
6696         (SEGV_PSTKOVF): Likewise.
6697         (BUS_ADRALN): Likewise.
6698         (BUS_ADRERR): Likewise.
6699         (BUS_OBJERR): Likewise.
6700         (BUS_MCEERR_AR): Likewise.
6701         (BUS_MCEERR_AO): Likewise.
6702         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6703         (TRAP_TRACE): Likewise.
6704         (TRAP_BRANCH): Likewise.
6705         (TRAP_HWBKPT): Likewise.
6706         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6707         __USE_XOPEN2K8].
6708         (CLD_KILLED): Likewise.
6709         (CLD_DUMPED): Likewise.
6710         (CLD_TRAPPED): Likewise.
6711         (CLD_STOPPED): Likewise.
6712         (CLD_CONTINUED): Likewise.
6713         (POLL_IN): Likewise.
6714         (POLL_OUT): Likewise.
6715         (POLL_MSG): Likewise.
6716         (POLL_ERR): Likewise.
6717         (POLL_PRI): Likewise.
6718         (POLL_HUP): Likewise.
6719         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
6720         (ILL_ILLOPN): Likewise.
6721         (ILL_ILLADR): Likewise.
6722         (ILL_ILLTRP): Likewise.
6723         (ILL_PRVOPC): Likewise.
6724         (ILL_PRVREG): Likewise.
6725         (ILL_COPROC): Likewise.
6726         (ILL_BADSTK): Likewise.
6727         (FPE_INTDIV): Likewise.
6728         (FPE_INTOVF): Likewise.
6729         (FPE_FLTDIV): Likewise.
6730         (FPE_FLTOVF): Likewise.
6731         (FPE_FLTUND): Likewise.
6732         (FPE_FLTRES): Likewise.
6733         (FPE_FLTINV): Likewise.
6734         (FPE_FLTSUB): Likewise.
6735         (SEGV_MAPERR): Likewise.
6736         (SEGV_ACCERR): Likewise.
6737         (BUS_ADRALN): Likewise.
6738         (BUS_ADRERR): Likewise.
6739         (BUS_OBJERR): Likewise.
6740         (BUS_MCEERR_AR): Likewise.
6741         (BUS_MCEERR_AO): Likewise.
6742         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6743         (TRAP_TRACE): Likewise.
6744         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6745         __USE_XOPEN2K8].
6746         (CLD_KILLED): Likewise.
6747         (CLD_DUMPED): Likewise.
6748         (CLD_TRAPPED): Likewise.
6749         (CLD_STOPPED): Likewise.
6750         (CLD_CONTINUED): Likewise.
6751         (POLL_IN): Likewise.
6752         (POLL_OUT): Likewise.
6753         (POLL_MSG): Likewise.
6754         (POLL_ERR): Likewise.
6755         (POLL_PRI): Likewise.
6756         (POLL_HUP): Likewise.
6757         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
6758         (ILL_ILLOPN): Likewise.
6759         (ILL_ILLADR): Likewise.
6760         (ILL_ILLTRP): Likewise.
6761         (ILL_PRVOPC): Likewise.
6762         (ILL_PRVREG): Likewise.
6763         (ILL_COPROC): Likewise.
6764         (ILL_BADSTK): Likewise.
6765         (FPE_INTDIV): Likewise.
6766         (FPE_INTOVF): Likewise.
6767         (FPE_FLTDIV): Likewise.
6768         (FPE_FLTOVF): Likewise.
6769         (FPE_FLTUND): Likewise.
6770         (FPE_FLTRES): Likewise.
6771         (FPE_FLTINV): Likewise.
6772         (FPE_FLTSUB): Likewise.
6773         (SEGV_MAPERR): Likewise.
6774         (SEGV_ACCERR): Likewise.
6775         (BUS_ADRALN): Likewise.
6776         (BUS_ADRERR): Likewise.
6777         (BUS_OBJERR): Likewise.
6778         (BUS_MCEERR_AR): Likewise.
6779         (BUS_MCEERR_AO): Likewise.
6780         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6781         (TRAP_TRACE): Likewise.
6782         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6783         __USE_XOPEN2K8].
6784         (CLD_KILLED): Likewise.
6785         (CLD_DUMPED): Likewise.
6786         (CLD_TRAPPED): Likewise.
6787         (CLD_STOPPED): Likewise.
6788         (CLD_CONTINUED): Likewise.
6789         (POLL_IN): Likewise.
6790         (POLL_OUT): Likewise.
6791         (POLL_MSG): Likewise.
6792         (POLL_ERR): Likewise.
6793         (POLL_PRI): Likewise.
6794         (POLL_HUP): Likewise.
6795         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
6796         (ILL_ILLOPN): Likewise.
6797         (ILL_ILLADR): Likewise.
6798         (ILL_ILLTRP): Likewise.
6799         (ILL_PRVOPC): Likewise.
6800         (ILL_PRVREG): Likewise.
6801         (ILL_COPROC): Likewise.
6802         (ILL_BADSTK): Likewise.
6803         (FPE_INTDIV): Likewise.
6804         (FPE_INTOVF): Likewise.
6805         (FPE_FLTDIV): Likewise.
6806         (FPE_FLTOVF): Likewise.
6807         (FPE_FLTUND): Likewise.
6808         (FPE_FLTRES): Likewise.
6809         (FPE_FLTINV): Likewise.
6810         (FPE_FLTSUB): Likewise.
6811         (SEGV_MAPERR): Likewise.
6812         (SEGV_ACCERR): Likewise.
6813         (BUS_ADRALN): Likewise.
6814         (BUS_ADRERR): Likewise.
6815         (BUS_OBJERR): Likewise.
6816         (BUS_MCEERR_AR): Likewise.
6817         (BUS_MCEERR_AO): Likewise.
6818         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6819         (TRAP_TRACE): Likewise.
6820         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6821         __USE_XOPEN2K8].
6822         (CLD_KILLED): Likewise.
6823         (CLD_DUMPED): Likewise.
6824         (CLD_TRAPPED): Likewise.
6825         (CLD_STOPPED): Likewise.
6826         (CLD_CONTINUED): Likewise.
6827         (POLL_IN): Likewise.
6828         (POLL_OUT): Likewise.
6829         (POLL_MSG): Likewise.
6830         (POLL_ERR): Likewise.
6831         (POLL_PRI): Likewise.
6832         (POLL_HUP): Likewise.
6833         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
6834         (ILL_ILLOPN): Likewise.
6835         (ILL_ILLADR): Likewise.
6836         (ILL_ILLTRP): Likewise.
6837         (ILL_PRVOPC): Likewise.
6838         (ILL_PRVREG): Likewise.
6839         (ILL_COPROC): Likewise.
6840         (ILL_BADSTK): Likewise.
6841         (ILL_DBLFLT): Likewise.
6842         (ILL_HARDWALL): Likewise.
6843         (FPE_INTDIV): Likewise.
6844         (FPE_INTOVF): Likewise.
6845         (FPE_FLTDIV): Likewise.
6846         (FPE_FLTOVF): Likewise.
6847         (FPE_FLTUND): Likewise.
6848         (FPE_FLTRES): Likewise.
6849         (FPE_FLTINV): Likewise.
6850         (FPE_FLTSUB): Likewise.
6851         (SEGV_MAPERR): Likewise.
6852         (SEGV_ACCERR): Likewise.
6853         (BUS_ADRALN): Likewise.
6854         (BUS_ADRERR): Likewise.
6855         (BUS_OBJERR): Likewise.
6856         (BUS_MCEERR_AR): Likewise.
6857         (BUS_MCEERR_AO): Likewise.
6858         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6859         (TRAP_TRACE): Likewise.
6860         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6861         __USE_XOPEN2K8].
6862         (CLD_KILLED): Likewise.
6863         (CLD_DUMPED): Likewise.
6864         (CLD_TRAPPED): Likewise.
6865         (CLD_STOPPED): Likewise.
6866         (CLD_CONTINUED): Likewise.
6867         (POLL_IN): Likewise.
6868         (POLL_OUT): Likewise.
6869         (POLL_MSG): Likewise.
6870         (POLL_ERR): Likewise.
6871         (POLL_PRI): Likewise.
6872         (POLL_HUP): Likewise.
6873         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
6874         (ILL_ILLOPN): Likewise.
6875         (ILL_ILLADR): Likewise.
6876         (ILL_ILLTRP): Likewise.
6877         (ILL_PRVOPC): Likewise.
6878         (ILL_PRVREG): Likewise.
6879         (ILL_COPROC): Likewise.
6880         (ILL_BADSTK): Likewise.
6881         (FPE_INTDIV): Likewise.
6882         (FPE_INTOVF): Likewise.
6883         (FPE_FLTDIV): Likewise.
6884         (FPE_FLTOVF): Likewise.
6885         (FPE_FLTUND): Likewise.
6886         (FPE_FLTRES): Likewise.
6887         (FPE_FLTINV): Likewise.
6888         (FPE_FLTSUB): Likewise.
6889         (SEGV_MAPERR): Likewise.
6890         (SEGV_ACCERR): Likewise.
6891         (BUS_ADRALN): Likewise.
6892         (BUS_ADRERR): Likewise.
6893         (BUS_OBJERR): Likewise.
6894         (BUS_MCEERR_AR): Likewise.
6895         (BUS_MCEERR_AO): Likewise.
6896         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
6897         (TRAP_TRACE): Likewise.
6898         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
6899         __USE_XOPEN2K8].
6900         (CLD_KILLED): Likewise.
6901         (CLD_DUMPED): Likewise.
6902         (CLD_TRAPPED): Likewise.
6903         (CLD_STOPPED): Likewise.
6904         (CLD_CONTINUED): Likewise.
6905         (POLL_IN): Likewise.
6906         (POLL_OUT): Likewise.
6907         (POLL_MSG): Likewise.
6908         (POLL_ERR): Likewise.
6909         (POLL_PRI): Likewise.
6910         (POLL_HUP): Likewise.
6911         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
6912         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
6913
6914         [BZ #16670]
6915         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
6916         before #include of <time.h>.
6917         [!__USE_XOPEN2K] (__need_timespec): Likewise.
6918         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
6919         (test-xfail-UNIX98/sched.h/conform): Likewise.
6920
6921 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
6922
6923         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
6924         error absence of trapping exception support.
6925         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
6926
6927 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
6928
6929         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
6930         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
6931         * timezone/Makefile (testdata): Move definition above include of
6932         Rules.
6933         (test-zones): New variable.
6934         (tests-special): Add zone files.
6935         (build-testdata): Use $(evaluate-test).
6936
6937         * elf/Makefile (tests-special): Rename tests to end with .out.
6938         ($(objpfx)noload-mem): Likewise.
6939         ($(objpfx)tst-leaks1-mem): Likewise.
6940         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
6941         * iconv/Makefile (xtests-special): Change test-iconvconfig to
6942         $(objpfx)test-iconvconfig.out.
6943         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
6944         set -e inside subshell and redirect output to file.
6945         * iconvdata/Makefile (generated): Rename tests to end with .out.
6946         Correct type.
6947         (tests-special): Rename tests to end with .out.
6948         ($(objpfx)mtrace-tst-loading): Likewise.
6949         * intl/Makefile (generated): Likewise.
6950         (tests-special): Likewise.
6951         ($(objpfx)mtrace-tst-gettext): Likewise.
6952         * misc/Makefile (generated): Likewise.
6953         (tests-special): Likewise.
6954         ($(objpfx)tst-error1-mem): Likewise.
6955         * nptl/Makefile (tests-special): Likewise.
6956         ($(objpfx)tst-stack3-mem): Likewise.
6957         (generated): Likewise.
6958         * posix/Makefile (generated): Likewise.
6959         (tests-special): Likewise.
6960         (xtests-special): Likewise.
6961         ($(objpfx)tst-fnmatch-mem): Likewise.
6962         ($(objpfx)bug-regex2-mem): Likewise.
6963         ($(objpfx)bug-regex14-mem): Likewise.
6964         ($(objpfx)bug-regex21-mem): Likewise.
6965         ($(objpfx)bug-regex31-mem): Likewise.
6966         ($(objpfx)tst-vfork3-mem): Likewise.
6967         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6968         ($(objpfx)tst-pcre-mem): Likewise.
6969         ($(objpfx)tst-boost-mem): Likewise.
6970         ($(objpfx)bug-ga2-mem): Likewise.
6971         ($(objpfx)bug-glob2-mem): Likewise.
6972         * resolv/Makefile (generate): Likewise.
6973         (tests-special): Likewise.
6974         (xtests-special): Likewise.
6975         (generated): Likewise.
6976         ($(objpfx)mtrace-tst-leaks): Likewise.
6977         ($(objpfx)mtrace-tst-leaks2): Likewise.
6978
6979         * scripts/merge-test-results.sh: New file.
6980         * Makefile (tests-special-notdir): New variable.
6981         (tests): Run merge-test-results.sh.
6982         (xtests): Likewise.
6983         * Rules (tests-special-notdir): New variable.
6984         (xtests-special-notdir): Likewise.
6985         (tests): Run merge-test-results.sh
6986         (xtests): Likewise.
6987
6988         * Makeconfig (test-xfail-name): New variable.
6989         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
6990         compute variable name for expected failures.
6991         * conform/Makefile (conformtest-headers-data): New variable.
6992         (conformtest-standards): Likewise.
6993         (conformtest-headers-ISO): Likewise.
6994         (conformtest-headers-ISO99): Likewise.
6995         (conformtest-headers-ISO11): Likewise.
6996         (conformtest-headers-POSIX): Likewise.
6997         (conformtest-headers-XPG3): Likewise.
6998         (conformtest-headers-XPG4): Likewise.
6999         (conformtest-headers-UNIX98): Likewise.
7000         (conformtest-headers-XOPEN2K): Likewise.
7001         (conformtest-headers-POSIX2008): Likewise.
7002         (conformtest-headers-XOPEN2K8): Likewise.
7003         (conformtest-header-list-base): Likewise.
7004         (conformtest-header-list-tests): Likewise.
7005         (conformtest-header-base): Likewise.
7006         (conformtest-header-tests): Likewise.
7007         (tests-special): Add $(conformtest-header-list-tests).  If
7008         [$(fast-check) && !$(cross-compiling)], add
7009         $(conformtest-header-tests) instead of
7010         $(objpfx)run-conformtest.out.
7011         (generated): Add $(conformtest-header-list-base).  If
7012         [$(fast-check) && !$(cross-compiling)], add
7013         $(conformtest-header-base).  Remove previous setting.
7014         ($(conformtest-header-list-tests)): New target.
7015         (test-xfail-run-conformtest): Remove variable.
7016         ($(objpfx)run-conformtest.out): Remove target.
7017         (test-xfail-ISO11/complex.h/conform): New variable.
7018         (test-xfail-ISO11/stdalign.h/conform): Likewise.
7019         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
7020         (test-xfail-XPG3/varargs.h/conform): Likewise.
7021         (test-xfail-XPG4/varargs.h/conform): Likewise.
7022         (test-xfail-UNIX98/varargs.h/conform): Likewise.
7023         (test-xfail-XPG4/ndbm.h/conform): Likewise.
7024         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
7025         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
7026         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
7027         (test-xfail-XPG3/fcntl.h/conform): Likewise.
7028         (test-xfail-XPG3/ftw.h/conform): Likewise.
7029         (test-xfail-XPG3/grp.h/conform): Likewise.
7030         (test-xfail-XPG3/langinfo.h/conform): Likewise.
7031         (test-xfail-XPG3/limits.h/conform): Likewise.
7032         (test-xfail-XPG3/pwd.h/conform): Likewise.
7033         (test-xfail-XPG3/search.h/conform): Likewise.
7034         (test-xfail-XPG3/signal.h/conform): Likewise.
7035         (test-xfail-XPG3/stdio.h/conform): Likewise.
7036         (test-xfail-XPG3/stdlib.h/conform): Likewise.
7037         (test-xfail-XPG3/string.h/conform): Likewise.
7038         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
7039         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
7040         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
7041         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
7042         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
7043         (test-xfail-XPG3/sys/types.h/conform): Likewise.
7044         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
7045         (test-xfail-XPG3/termios.h/conform): Likewise.
7046         (test-xfail-XPG3/time.h/conform): Likewise.
7047         (test-xfail-XPG3/unistd.h/conform): Likewise.
7048         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
7049         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7050         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7051         (test-xfail-XPG4/netdb.h/conform): Likewise.
7052         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
7053         (test-xfail-XPG4/signal.h/conform): Likewise.
7054         (test-xfail-XPG4/stdio.h/conform): Likewise.
7055         (test-xfail-XPG4/stdlib.h/conform): Likewise.
7056         (test-xfail-XPG4/stropts.h/conform): Likewise.
7057         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
7058         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
7059         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
7060         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
7061         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
7062         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
7063         (test-xfail-XPG4/sys/time.h/conform): Likewise.
7064         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7065         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
7066         (test-xfail-XPG4/termios.h/conform): Likewise.
7067         (test-xfail-XPG4/ucontext.h/conform): Likewise.
7068         (test-xfail-XPG4/unistd.h/conform): Likewise.
7069         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7070         (test-xfail-POSIX/sched.h/conform): Likewise.
7071         (test-xfail-POSIX/signal.h/conform): Likewise.
7072         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
7073         (test-xfail-POSIX/tar.h/conform): Likewise.
7074         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
7075         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
7076         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7077         (test-xfail-UNIX98/netdb.h/conform): Likewise.
7078         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
7079         (test-xfail-UNIX98/sched.h/conform): Likewise.
7080         (test-xfail-UNIX98/signal.h/conform): Likewise.
7081         (test-xfail-UNIX98/stdio.h/conform): Likewise.
7082         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7083         (test-xfail-UNIX98/stropts.h/conform): Likewise.
7084         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
7085         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
7086         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
7087         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
7088         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
7089         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7090         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
7091         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
7092         (test-xfail-UNIX98/unistd.h/conform): Likewise.
7093         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7094         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
7095         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
7096         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7097         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
7098         (test-xfail-XOPEN2K/math.h/conform): Likewise.
7099         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7100         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
7101         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
7102         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
7103         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
7104         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
7105         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
7106         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
7107         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
7108         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
7109         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
7110         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
7111         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
7112         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
7113         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
7114         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
7115         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
7116         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
7117         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
7118         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
7119         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
7120         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
7121         (test-xfail-POSIX2008/signal.h/conform): Likewise.
7122         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
7123         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
7124         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
7125         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
7126         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
7127         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
7128         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
7129         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
7130         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
7131         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
7132         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
7133         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
7134         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
7135         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
7136         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
7137         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
7138         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
7139         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
7140         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
7141         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
7142         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
7143         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
7144         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
7145         (conformtest-cc-flags): Likewise.
7146         ($(conformtest-header-tests): New target.
7147         * conform/check-header-lists.sh: New file.
7148         * conform/run-conformtest.sh: Remove.
7149
7150         * conform/conformtest.pl: Allow ' and \ in values given for
7151         constants.
7152         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
7153         inclusion.
7154         [POSIX] (sys/types.h): Likewise.
7155         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
7156         inclusion.
7157         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
7158         inclusion.
7159         * conform/data/signal.h-data (SIGIO): Remove expectation.
7160         [XPG3] (SIGBUS): Do not expect.
7161         [POSIX || XPG3] (SIGPOLL): Likewise.
7162         [POSIX || XPG3] (SIGPROF): Likewise.
7163         [POSIX || XPG3] (SIGSYS): Likewise.
7164         [XPG3] (SIGTRAP): Likewise.
7165         [POSIX || XPG3] (SIGURG): Likewise.
7166         [POSIX || XPG3] (SIGVTALRM): Likewise.
7167         [POSIX || XPG3] (SIGXCPU): Likewise.
7168         [POSIX || XPG3] (SIGXFSZ): Likewise.
7169         [POSIX] (SA_SIGINFO): Expect.
7170         [XPG3] (siginfo_t): Do not expect type or contents.
7171         [POSIX] (si_pid): Do not expect element.
7172         [POSIX] (si_uid): Likewise.
7173         [POSIX] (si_addr): Likewise.
7174         [POSIX] (si_status): Likewise.
7175         [POSIX] (si_band): Likewise.
7176         [XPG4] (si_value): Likewise.
7177         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
7178         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
7179         [POSIX || XPG3] (ILL_ILLADR): Likewise.
7180         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
7181         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
7182         [POSIX || XPG3] (ILL_PRVREG): Likewise.
7183         [POSIX || XPG3] (ILL_COPROC): Likewise.
7184         [POSIX || XPG3] (ILL_BADSTK): Likewise.
7185         [POSIX || XPG3] (FPE_INTDIV): Likewise.
7186         [POSIX || XPG3] (FPE_INTOVF): Likewise.
7187         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
7188         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
7189         [POSIX || XPG3] (FPE_FLTUND): Likewise.
7190         [POSIX || XPG3] (FPE_FLTRES): Likewise.
7191         [POSIX || XPG3] (FPE_FLTINV): Likewise.
7192         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
7193         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
7194         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
7195         [POSIX || XPG3] (BUS_ADRALN): Likewise.
7196         [POSIX || XPG3] (BUS_ADRERR): Likewise.
7197         [POSIX || XPG3] (BUS_OBJERR): Likewise.
7198         [POSIX || XPG3] (CLD_EXITED): Likewise.
7199         [POSIX || XPG3] (CLD_KILLED): Likewise.
7200         [POSIX || XPG3] (CLD_DUMPED): Likewise.
7201         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
7202         [POSIX || XPG3] (CLD_STOPPED): Likewise.
7203         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
7204         [POSIX || XPG3] (POLL_IN): Likewise.
7205         [POSIX || XPG3] (POLL_OUT): Likewise.
7206         [POSIX || XPG3] (POLL_MSG): Likewise.
7207         [POSIX || XPG3] (POLL_ERR): Likewise.
7208         [POSIX || XPG3] (POLL_PRI): Likewise.
7209         [POSIX || XPG3] (POLL_HUP): Likewise.
7210         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
7211         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
7212         (SIG*): Do not allow.
7213         [XPG3] (si_*): Likewise.
7214         [XPG3] (SI_*): Likewise.
7215         [XPG3 || XPG4] (sigev_*): Likewise.
7216         [XPG3 || XPG4] (SIGEV_*): Likewise.
7217         [XPG3 || XPG4] (sival_*): Likewise.
7218         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
7219         [POSIX || XPG3] (BUS_*): Likewise.
7220         [POSIX || XPG3] (CLD_*): Likewise.
7221         [POSIX || XPG3] (FPE_*): Likewise.
7222         [POSIX || XPG3] (ILL_*): Likewise.
7223         [POSIX || XPG3] (POLL_*): Likewise.
7224         [POSIX || XPG3] (SEGV_*): Likewise.
7225         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
7226         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
7227         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
7228         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
7229         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
7230         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
7231         Specify type and value.
7232         (TVERSLEN): Likewise.
7233         (REGTYPE): Likewise.
7234         (AREGTYPE): Likewise.
7235         (LNKTYPE): Likewise.
7236         (SYMTYPE): Likewise.
7237         (CHRTYPE): Likewise.
7238         (BLKTYPE): Likewise.
7239         (DIRTYPE): Likewise.
7240         (FIFOTYPE): Likewise.
7241         (CONTTYPE): Likewise.
7242         (TSUID): Likewise.
7243         (TSGID): Likewise.
7244         (TSVTX): Likewise.
7245         (TUREAD): Likewise.
7246         (TUWRITE): Likewise.
7247         (TUEXEC): Likewise.
7248         (TGREAD): Likewise.
7249         (TGWRITE): Likewise.
7250         (TGEXEC): Likewise.
7251         (TOREAD): Likewise.
7252         (TOWRITE): Likewise.
7253         (TOEXEC): Likewise.
7254         [POSIX] (TSVTX): Expect constant.
7255
7256 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
7257
7258         * Makefile (tests): Change dependencies to ....
7259         (tests-special): ... additions to this variable.
7260         (tests): Depend on $(tests-special).
7261         * Makerules (check-abi-list): New variable.
7262         (check-abi): Depend on $(check-abi-list).
7263         [$(subdir) = elf] (tests-special): Add
7264         $(objpfx)check-abi-libc.out.
7265         [$(build-shared) = yes && subdir] (tests-special): Add
7266         $(check-abi-list).
7267         [$(build-shared) = yes && subdir] (tests): Do not depend on
7268         check-abi.
7269         * Rules (tests): Depend on $(tests-special).
7270         (xtests): Depend on $(xtests-special).
7271         * catgets/Makefile (tests): Change dependencies to ....
7272         (tests-special): ... additions to this variable.
7273         * conform/Makefile (tests): Change dependencies to ....
7274         (tests-special): ... additions to this variable.
7275         * elf/Makefile (tests): Change dependencies to ....
7276         (tests-special): ... additions to this variable.
7277         * grp/Makefile (tests): Change dependencies to ....
7278         (tests-special): ... additions to this variable.
7279         * iconv/Makefile (xtests): Change dependencies to ....
7280         (xtests-special): ... additions to this variable.
7281         * iconvdata/Makefile (tests): Change dependencies to ....
7282         (tests-special): ... additions to this variable.
7283         * intl/Makefile (tests): Change dependencies to ....
7284         (tests-special): ... additions to this variable.  Also add
7285         $(objpfx)tst-gettext.out.
7286         * io/Makefile (tests): Change dependencies to ....
7287         (tests-special): ... additions to this variable.
7288         * libio/Makefile (tests): Change dependencies to ....
7289         (tests-special): ... additions to this variable.
7290         * malloc/Makefile (tests): Change dependencies to ....
7291         (tests-special): ... additions to this variable.
7292         * misc/Makefile (tests): Change dependencies to ....
7293         (tests-special): ... additions to this variable.
7294         * nptl/Makefile (tests): Change dependencies to ....
7295         (tests-special): ... additions to this variable.
7296         * nptl_db/Makefile (tests): Change dependencies to ....
7297         (tests-special): ... additions to this variable.
7298         * posix/Makefile (tests): Change dependencies to ....
7299         (tests-special): ... additions to this variable.
7300         (xtests): Change dependencies to ....
7301         (xtests-special): ... additions to this variable.
7302         * resolv/Makefile (tests): Change dependencies to ....
7303         (tests-special): ... additions to this variable.
7304         (xtests): Change dependencies to ....
7305         (xtests-special): ... additions to this variable.
7306         * stdio-common/Makefile (tests): Change dependencies to ....
7307         (tests-special): ... additions to this variable.
7308         (do-tst-unbputc): Remove target.
7309         (do-tst-printf): Likewise.
7310         * stdlib/Makefile (tests): Change dependencies to ....
7311         (tests-special): ... additions to this variable.
7312         * string/Makefile (tests): Change dependencies to ....
7313         (tests-special): ... additions to this variable.
7314         * sysdeps/x86/Makefile (tests): Change dependencies to ....
7315         (tests-special): ... additions to this variable.
7316
7317         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
7318         whole file.
7319         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
7320         whole file.
7321         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
7322         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
7323
7324         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
7325         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
7326         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
7327         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
7328         * conform/data/libgen.h-data [XPG3]: Likewise.
7329         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
7330         * conform/data/ndbm.h-data [XPG3]: Likewise.
7331         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7332         * conform/data/netdb.h-data [XPG3]: Likewise.
7333         * conform/data/netinet/in.h-data [XPG3]: Likewise.
7334         * conform/data/poll.h-data [XPG3]: Likewise.
7335         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
7336         * conform/data/strings.h-data [XPG3]: Likewise.
7337         * conform/data/stropts.h-data [XPG3]: Likewise.
7338         * conform/data/sys/mman.h-data [XPG3]: Likewise.
7339         * conform/data/sys/resource.h-data [XPG3]: Likewise.
7340         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
7341         Likewise.
7342         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
7343         * conform/data/sys/time.h-data [XPG3]: Likewise.
7344         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
7345         * conform/data/sys/uio.h-data [XPG3]: Likewise.
7346         * conform/data/sys/un.h-data [XPG3]: Likewise.
7347         * conform/data/syslog.h-data [XPG3]: Likewise.
7348         * conform/data/ucontext.h-data [XPG3]: Likewise.
7349         * conform/data/utmpx.h-data [XPG3]: Likewise.
7350         * conform/data/varargs.h-data [UNIX98]: Enable file.
7351
7352         * manual/Makefile (INSTALL_INFO): Remove variable setting.
7353
7354         * math/libm-test.inc (struct test_f_f_data): Move expected results
7355         into structure for each rounding mode.
7356         (struct test_ff_f_data): Likewise.
7357         (struct test_ff_f_data_nexttoward): Likewise.
7358         (struct test_fi_f_data): Likewise.
7359         (struct test_fl_f_data): Likewise.
7360         (struct test_if_f_data): Likewise.
7361         (struct test_fff_f_data): Likewise.
7362         (struct test_c_f_data): Likewise.
7363         (struct test_f_f1_data): Likewise.
7364         (struct test_fF_f1_data): Likewise.
7365         (struct test_ffI_f1_data): Likewise.
7366         (struct test_c_c_data): Likewise.
7367         (struct test_cc_c_data): Likewise.
7368         (struct test_f_i_data): Likewise.
7369         (struct test_ff_i_data): Likewise.
7370         (struct test_f_l_data): Likewise.
7371         (struct test_f_L_data): Likewise.
7372         (struct test_fFF_11_data): Likewise.
7373         (RM_): New macro.
7374         (RM_FE_DOWNWARD): Likewise.
7375         (RM_FE_TONEAREST): Likewise.
7376         (RM_FE_TOWARDZERO): Likewise.
7377         (RM_FE_UPWARD): Likewise.
7378         (RUN_TEST_LOOP_f_f): Update references to expected results.
7379         (RUN_TEST_LOOP_2_f): Likewise.
7380         (RUN_TEST_LOOP_fff_f): Likewise.
7381         (RUN_TEST_LOOP_c_f): Likewise.
7382         (RUN_TEST_LOOP_f_f1): Likewise.
7383         (RUN_TEST_LOOP_fF_f1): Likewise.
7384         (RUN_TEST_LOOP_fI_f1): Likewise.
7385         (RUN_TEST_LOOP_ffI_f1): Likewise.
7386         (RUN_TEST_LOOP_c_c): Likewise.
7387         (RUN_TEST_LOOP_cc_c): Likewise.
7388         (RUN_TEST_LOOP_f_i): Likewise.
7389         (RUN_TEST_LOOP_f_i_tg): Likewise.
7390         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7391         (RUN_TEST_LOOP_f_b): Likewise.
7392         (RUN_TEST_LOOP_f_b_tg): Likewise.
7393         (RUN_TEST_LOOP_f_l): Likewise.
7394         (RUN_TEST_LOOP_f_L): Likewise.
7395         (RUN_TEST_LOOP_fFF_11): Likewise.
7396         * math/gen-libm-test.pl (parse_args): Output four copies of
7397         expected results for each test.
7398
7399         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7400         (__ASSUME_UTIMES): Remove.
7401         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7402         (__ASSUME_UTIMES): Likewise.
7403
7404         * math/gen-auto-libm-tests.c: Update comment on output format.
7405         (output_for_one_input_case): Generate before-rounding and
7406         after-rounding information as conditions on output flags not
7407         floating-point format.
7408         * math/auto-libm-test-out: Regenerated.
7409         * math/gen-libm-test.pl (cond_value): New function.
7410         (or_cond_value): Use cond_value.
7411         (generate_testfile): Handle conditional exceptions.
7412
7413 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
7414
7415         * math/libm-test.inc (max_valid_error): New variable.
7416         (init_max_error): Take new argument specifying whether function
7417         results are exactly determined.  Set max_valid_error and bound
7418         other variables for errors based on this argument.
7419         (set_max_error): Do not record results above max_valid_error.
7420         (check_float_internal): Only accept errors of up to 0.5ulps if
7421         also at most max_valid_error.
7422         (START): Take new argument EXACT and pass it to init_max_error.
7423         (acos_test): Update call to START.
7424         (acos_test_tonearest): Likewise.
7425         (acos_test_towardzero): Likewise.
7426         (acos_test_downward): Likewise.
7427         (acos_test_upward): Likewise.
7428         (acosh_test): Likewise.
7429         (asin_test): Likewise.
7430         (asin_test_tonearest): Likewise.
7431         (asin_test_towardzero): Likewise.
7432         (asin_test_downward): Likewise.
7433         (asin_test_upward): Likewise.
7434         (asinh_test): Likewise.
7435         (atan_test): Likewise.
7436         (atanh_test): Likewise.
7437         (atan2_test): Likewise.
7438         (cabs_test): Likewise.
7439         (cacos_test): Likewise.
7440         (cacosh_test): Likewise.
7441         (carg_test): Likewise.
7442         (casin_test): Likewise.
7443         (casinh_test): Likewise.
7444         (catan_test): Likewise.
7445         (catanh_test): Likewise.
7446         (cbrt_test): Likewise.
7447         (ccos_test): Likewise.
7448         (ccosh_test): Likewise.
7449         (ceil_test): Likewise.
7450         (cexp_test): Likewise.
7451         (cimag_test): Likewise.
7452         (clog_test): Likewise.
7453         (clog10_test): Likewise.
7454         (conj_test): Likewise.
7455         (copysign_test): Likewise.
7456         (cos_test): Likewise.
7457         (cos_test_tonearest): Likewise.
7458         (cos_test_towardzero): Likewise.
7459         (cos_test_downward): Likewise.
7460         (cos_test_upward): Likewise.
7461         (cosh_test): Likewise.
7462         (cosh_test_tonearest): Likewise.
7463         (cosh_test_towardzero): Likewise.
7464         (cosh_test_downward): Likewise.
7465         (cosh_test_upward): Likewise.
7466         (cpow_test): Likewise.
7467         (cproj_test): Likewise.
7468         (creal_test): Likewise.
7469         (csin_test): Likewise.
7470         (csinh_test): Likewise.
7471         (csqrt_test): Likewise.
7472         (ctan_test): Likewise.
7473         (ctan_test_tonearest): Likewise.
7474         (ctan_test_towardzero): Likewise.
7475         (ctan_test_downward): Likewise.
7476         (ctan_test_upward): Likewise.
7477         (ctanh_test): Likewise.
7478         (ctanh_test_tonearest): Likewise.
7479         (ctanh_test_towardzero): Likewise.
7480         (ctanh_test_downward): Likewise.
7481         (ctanh_test_upward): Likewise.
7482         (erf_test): Likewise.
7483         (erfc_test): Likewise.
7484         (exp_test): Likewise.
7485         (exp_test_tonearest): Likewise.
7486         (exp_test_towardzero): Likewise.
7487         (exp_test_downward): Likewise.
7488         (exp_test_upward): Likewise.
7489         (exp10_test): Likewise.
7490         (exp10_test_tonearest): Likewise.
7491         (exp10_test_towardzero): Likewise.
7492         (exp10_test_downward): Likewise.
7493         (exp10_test_upward): Likewise.
7494         (pow10_test): Likewise.
7495         (exp2_test): Likewise.
7496         (expm1_test): Likewise.
7497         (expm1_test_tonearest): Likewise.
7498         (expm1_test_towardzero): Likewise.
7499         (expm1_test_downward): Likewise.
7500         (expm1_test_upward): Likewise.
7501         (fabs_test): Likewise.
7502         (fdim_test): Likewise.
7503         (floor_test): Likewise.
7504         (fma_test): Likewise.
7505         (fma_test_towardzero): Likewise.
7506         (fma_test_downward): Likewise.
7507         (fma_test_upward): Likewise.
7508         (fmax_test): Likewise.
7509         (fmin_test): Likewise.
7510         (fmod_test): Likewise.
7511         (fpclassify_test): Likewise.
7512         (frexp_test): Likewise.
7513         (hypot_test): Likewise.
7514         (ilogb_test): Likewise.
7515         (isfinite_test): Likewise.
7516         (finite_test): Likewise.
7517         (isgreater_test): Likewise.
7518         (isgreaterequal_test): Likewise.
7519         (isinf_test): Likewise.
7520         (isless_test): Likewise.
7521         (islessequal_test): Likewise.
7522         (islessgreater_test): Likewise.
7523         (isnan_test): Likewise.
7524         (isnormal_test): Likewise.
7525         (issignaling_test): Likewise.
7526         (isunordered_test): Likewise.
7527         (j0_test): Likewise.
7528         (j1_test): Likewise.
7529         (jn_test): Likewise.
7530         (ldexp_test): Likewise.
7531         (lgamma_test): Likewise.
7532         (gamma_test): Likewise.
7533         (lrint_test): Likewise.
7534         (lrint_test_tonearest): Likewise.
7535         (lrint_test_towardzero): Likewise.
7536         (lrint_test_downward): Likewise.
7537         (lrint_test_upward): Likewise.
7538         (llrint_test): Likewise.
7539         (llrint_test_tonearest): Likewise.
7540         (llrint_test_towardzero): Likewise.
7541         (llrint_test_downward): Likewise.
7542         (llrint_test_upward): Likewise.
7543         (log_test): Likewise.
7544         (log10_test): Likewise.
7545         (log1p_test): Likewise.
7546         (log2_test): Likewise.
7547         (logb_test): Likewise.
7548         (logb_test_downward): Likewise.
7549         (lround_test): Likewise.
7550         (llround_test): Likewise.
7551         (modf_test): Likewise.
7552         (nearbyint_test): Likewise.
7553         (nextafter_test): Likewise.
7554         (nexttoward_test): Likewise.
7555         (pow_test): Likewise.
7556         (pow_test_tonearest): Likewise.
7557         (pow_test_towardzero): Likewise.
7558         (pow_test_downward): Likewise.
7559         (pow_test_upward): Likewise.
7560         (remainder_test): Likewise.
7561         (drem_test): Likewise.
7562         (remainder_test_tonearest): Likewise.
7563         (drem_test_tonearest): Likewise.
7564         (remainder_test_towardzero): Likewise.
7565         (drem_test_towardzero): Likewise.
7566         (remainder_test_downward): Likewise.
7567         (drem_test_downward): Likewise.
7568         (remainder_test_upward): Likewise.
7569         (drem_test_upward): Likewise.
7570         (remquo_test): Likewise.
7571         (rint_test): Likewise.
7572         (rint_test_tonearest): Likewise.
7573         (rint_test_towardzero): Likewise.
7574         (rint_test_downward): Likewise.
7575         (rint_test_upward): Likewise.
7576         (round_test): Likewise.
7577         (scalb_test): Likewise.
7578         (scalbn_test): Likewise.
7579         (scalbln_test): Likewise.
7580         (signbit_test): Likewise.
7581         (sin_test): Likewise.
7582         (sin_test_tonearest): Likewise.
7583         (sin_test_towardzero): Likewise.
7584         (sin_test_downward): Likewise.
7585         (sin_test_upward): Likewise.
7586         (sincos_test): Likewise.
7587         (sinh_test): Likewise.
7588         (sinh_test_tonearest): Likewise.
7589         (sinh_test_towardzero): Likewise.
7590         (sinh_test_downward): Likewise.
7591         (sinh_test_upward): Likewise.
7592         (sqrt_test): Likewise.
7593         (sqrt_test_tonearest): Likewise.
7594         (sqrt_test_towardzero): Likewise.
7595         (sqrt_test_downward): Likewise.
7596         (sqrt_test_upward): Likewise.
7597         (tan_test): Likewise.
7598         (tan_test_tonearest): Likewise.
7599         (tan_test_towardzero): Likewise.
7600         (tan_test_downward): Likewise.
7601         (tan_test_upward): Likewise.
7602         (tanh_test): Likewise.
7603         (tgamma_test): Likewise.
7604         (trunc_test): Likewise.
7605         (y0_test): Likewise.
7606         (y1_test): Likewise.
7607         (yn_test): Likewise.
7608         (significand_test): Likewise.
7609
7610         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
7611         individual tests in comment.
7612         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
7613         (prev_max_error): New variable.
7614         (prev_real_max_error): Likewise.
7615         (prev_imag_max_error): Likewise.
7616         (compare_ulp_data): Don't refer to test names in comment.
7617         (find_test_ulps): Remove function.
7618         (find_function_ulps): Likewise.
7619         (find_complex_function_ulps): Likewise.
7620         (init_max_error): Take function name as argument.  Look up ulps
7621         for that function.
7622         (print_ulps): Remove function.
7623         (print_max_error): Use prev_max_error instead of calling
7624         find_function_ulps.
7625         (print_complex_max_error): Use prev_real_max_error and
7626         prev_imag_max_error instead of calling find_complex_function_ulps.
7627         (check_float_internal): Take max_ulp parameter instead of calling
7628         find_test_ulps.  Don't call print_ulps.
7629         (check_float): Update call to check_float_internal.
7630         (check_complex): Update calls to check_float_internal.
7631         (START): Pass argument to init_max_error.
7632         * math/gen-libm-test.pl (%results): Don't include "kind"
7633         information.
7634         (parse_ulps): Don't handle ulps of individual tests.
7635         (print_ulps_file): Likewise.
7636         (output_ulps): Likewise.
7637         * math/README.libm-test: Update.
7638         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
7639         individual tests.
7640         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
7641         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
7642         * sysdeps/arm/libm-test-ulps: Likewise.
7643         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
7644         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7645         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
7646         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7647         * sysdeps/microblaze/libm-test-ulps: Likewise.
7648         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7649         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7650         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7651         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7652         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7653         * sysdeps/sh/libm-test-ulps: Likewise.
7654         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7655         * sysdeps/tile/libm-test-ulps: Likewise.
7656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7657
7658 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
7659
7660         * math/libm-test.inc (print_complex_max_error): Check separately
7661         whether real and imaginary errors are within allowed range and
7662         pass 0 to print_complex_function_ulps instead of value within
7663         allowed range.
7664
7665 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7666
7667         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
7668         formatting.
7669         (get_handles_fopen): Likewise.
7670         (do_write_test): Likewise.
7671
7672         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
7673
7674         * libio/fileops.c (do_ftell): Use cached offset when
7675         available.
7676         * libio/iofwide.c (do_ftell_wide): Likewise.
7677         * libio/iofdopen.c (_IO_new_fdopen): Don't use
7678         _IO_file_attach.
7679         * libio/wfileops.c (_IO_fwide): Don't cache offset.
7680
7681         [BZ #16532]
7682         * libio/libioP.h (get_file_offset): New function.
7683         * libio/fileops.c (get_file_offset): Likewise.
7684         (do_ftell): Likewise.
7685         (_IO_new_file_seekoff): Split out ftell logic.
7686         * libio/wfileops.c (do_ftell_wide): Likewise.
7687         (_IO_wfile_seekoff): Split out ftell logic.
7688         * libio/tst-ftell-active-handler.c: New test case.
7689         * libio/Makefile (tests): Add it.
7690
7691 2014-03-03  Roland McGrath  <roland@hack.frob.com>
7692
7693         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
7694         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
7695
7696 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
7697
7698         [BZ #16639]
7699         * nscd/connections.c (nscd_init): Call do_exit.
7700         (start_threads): Call do_exit and notify_parent.
7701         (begin_drop_privileges): Call do_exit.
7702         (finish_drop_privileges): Likewise.
7703         * nscd/selinux.c (preserve_capabilities): Likewise.
7704         (install_real_capabilities): Likewise.
7705         (nscd_selinux_enabled): Likewise.
7706         (avc_create_thread): Likewise.
7707         (avc_alloc_lock): Likewise.
7708         (nscd_avc_init): Likewise.
7709         * nscd/nscd.c (parent_fd): New static variable.
7710         (main): Create a pipe between parent and child processes.
7711         Skip closing parent_fd.
7712         (monitor_child): New function.
7713         (do_exit): Likewise.
7714         (notify_parent): Likewise.
7715         * nscd/nscd.h (notify_parent): Likewise.
7716         (do_exit): Likewise.
7717
7718 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
7719
7720         * malloc/malloc.c (__libc_calloc): Revert last change.
7721
7722 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7723
7724         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7725
7726 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7727
7728         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
7729         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
7730         implementation.
7731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7732         (__libc_ifunc_impl_list): Likewise.
7733         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
7734         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
7735         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
7736         * string/strrchr.c: Define STRRCHR.
7737
7738 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
7739
7740         * benchtest/bench-strtok.c (simple_strtok): Delete.
7741         (strtok_string): Use as benchmark.
7742         * string/strtok (STRTOK): New macro.
7743
7744 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
7745
7746         * manual/threads.texi: Add header and standard comments to all
7747         functions.
7748
7749         * elf/dl-lookup.c (check_match): New function.
7750         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
7751         (do_lookup_x): Remove nested function check_match. Use non-nested
7752         function check_match.
7753
7754 2014-02-28  Roland McGrath  <roland@hack.frob.com>
7755
7756         * csu/Makefile (generated, before-compile): Use += rather than =.
7757         * catgets/Makefile (generated, generated-dirs): Likewise.
7758         * debug/Makefile (generated): Likewise.
7759         * dlfcn/Makefile (generated): Likewise.
7760         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
7761         * iconvdata/Makefile (before-compile, generated): Likewise.
7762         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
7763         * libio/Makefile (generated): Likewise.
7764         * malloc/Makefile (generated): Likewise.
7765         * manual/Makefile (generated, generated-dirs): Likewise.
7766         * misc/Makefile (generated): Likewise.
7767         * posix/Makefile (generated): Likewise.
7768         * resolv/Makefile (generated): Likewise.
7769         * sunrpc/Makefile (generated, generated-dirs): Likewise.
7770         * timezone/Makefile (generated, generated-dirs): Likewise.
7771
7772         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
7773
7774 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7775
7776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7777         power8 implementation.
7778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
7779         file: POWER8 llround ifunc implementation.
7780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
7781         (__lllround): Add POWER8 implementation.
7782         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
7783         POWER8 llround implementation.
7784
7785         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
7786         power8 implementation.
7787         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
7788         file: POWER8 llrint ifunc implementation.
7789         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
7790         Add POWER8 implementation.
7791         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
7792         POWER8 llrint implementation.
7793
7794         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
7795         power8 implementation.
7796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
7797         file: POWER8 finite ifunc implementation.
7798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
7799         Add POWER8 implementation.
7800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
7801         Likewise.
7802         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
7803         POWER8 finite implementation.
7804         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
7805
7806         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
7807         power8 implementation.
7808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
7809         file: POWER8 isinf ifunc implementation.
7810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
7811         POWER8 implementation.
7812         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
7813         Likewise.
7814         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
7815         isinf implementation.
7816         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
7817
7818         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
7819         (INIT_ARCH): Add hwcap2 initialization.
7820         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7821         power8 implementation.
7822         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
7823         file: POWER8 isnan ifunc implementation.
7824         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
7825         POWER8 implementation.
7826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
7827         Likewise.
7828         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
7829         isnan implementation.
7830         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
7831
7832 2014-02-27  Joey Ye  <joey.ye@arm.com>
7833
7834         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
7835         (_FP_NANFRAC_Q): Set to zero.
7836
7837 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
7838
7839         [BZ #16623]
7840         * math/auto-libm-test-in: New test inputs.
7841         * math/auto-libm-test-out: Regenerate.
7842         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
7843         and DA.
7844         (__cos): Likewise.
7845         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
7846
7847 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
7848
7849         * scripts/evaluate-test.sh: Take new argument indicating whether
7850         failure is expected.
7851         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
7852         indicating whether failure is expected.
7853         * conform/Makefile (test-xfail-run-conformtest): New variable.
7854         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
7855         level.
7856         * posix/Makefile (test-xfail-annexc): New variable.
7857         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
7858
7859 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
7860
7861         * argp/Makefile: Include Makeconfig immediately after defining
7862         subdir.
7863         * assert/Makefile: Likewise.
7864         * benchtests/Makefile: Likewise.
7865         * catgets/Makefile: Likewise.
7866         * conform/Makefile: Likewise.
7867         * crypt/Makefile: Likewise.
7868         * csu/Makefile: Likewise.
7869         (all): Remove target.
7870         * ctype/Makefile: Include Makeconfig immediately after defining
7871         subdir.
7872         * debug/Makefile: Likewise.
7873         * dirent/Makefile: Likewise.
7874         * dlfcn/Makefile: Likewise.
7875         * gmon/Makefile: Likewise.
7876         * gnulib/Makefile: Likewise.
7877         * grp/Makefile: Likewise.
7878         * gshadow/Makefile: Likewise.
7879         * hesiod/Makefile: Likewise.
7880         * hurd/Makefile: Likewise.
7881         (all): Remove target.
7882         * iconvdata/Makefile: Include Makeconfig immediately after
7883         defining subdir.
7884         * inet/Makefile: Likewise.
7885         * intl/Makefile: Likewise.
7886         * io/Makefile: Likewise.
7887         * libio/Makefile: Likewise.
7888         (all): Remove target.
7889         * locale/Makefile: Include Makeconfig immediately after defining
7890         subdir.
7891         * login/Makefile: Likewise.
7892         * mach/Makefile: Likewise.
7893         (all): Remove target.
7894         * malloc/Makefile: Include Makeconfig immediately after defining
7895         subdir.
7896         (all): Remove target.
7897         * manual/Makefile: Include Makeconfig immediately after defining
7898         subdir.
7899         * math/Makefile: Likewise.
7900         * misc/Makefile: Likewise.
7901         * nis/Makefile: Likewise.
7902         * nss/Makefile: Likewise.
7903         * po/Makefile: Likewise.
7904         (all): Remove target.
7905         * posix/Makefile: Include Makeconfig immediately after defining
7906         subdir.
7907         * pwd/Makefile: Likewise.
7908         * resolv/Makefile: Likewise.
7909         * resource/Makefile: Likewise.
7910         * rt/Makefile: Likewise.
7911         * setjmp/Makefile: Likewise.
7912         * shadow/Makefile: Likewise.
7913         * signal/Makefile: Likewise.
7914         * socket/Makefile: Likewise.
7915         * soft-fp/Makefile: Likewise.
7916         * stdio-common/Makefile: Likewise.
7917         * stdlib/Makefile: Likewise.
7918         * streams/Makefile: Likewise.
7919         * string/Makefile: Likewise.
7920         * sunrpc/Makefile: Likewise.
7921         (all): Remove target.
7922         * sysvipc/Makefile: Include Makeconfig immediately after defining
7923         subdir.
7924         * termios/Makefile: Likewise.
7925         * time/Makefile: Likewise.
7926         * timezone/Makefile: Likewise.
7927         (all): Remove target.
7928         * wcsmbs/Makefile: Include Makeconfig immediately after defining
7929         subdir.
7930         * wctype/Makefile: Likewise.
7931
7932 2014-02-26  Steve Ellcey  <sellcey@mips.com>
7933
7934         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
7935         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
7936         (libc_feholdexcept_setround_mips): Ditto.
7937         (libc_feholdsetround): New.
7938         (libc_feholdsetroundf): New.
7939         (libc_feholdsetroundl): New.
7940         (libc_feupdateenv_test_mips): New.
7941         (libc_feupdateenv_test): New.
7942         (libc_feupdateenv_testf): New.
7943         (libc_feupdateenv_testl): New.
7944         (libc_feresetround): New.
7945         (libc_feresetroundf): New.
7946         (libc_feresetroundl): New.
7947         (libc_fetestexcept_mips): New.
7948         (libc_fetestexcept): New.
7949         (libc_fetestexceptf): New.
7950         (libc_fetestexceptl): New.
7951         (HAVE_RM_CTX): New.
7952         (libc_feholdexcept_setround_mips_ctx): New.
7953         (libc_feholdexcept_setround_ctx): New.
7954         (libc_feholdexcept_setroundf_ctx): New.
7955         (libc_feholdexcept_setroundl_ctx): New.
7956         (libc_fesetenv_mips_ctx): New.
7957         (libc_fesetenv_ctx): New.
7958         (libc_fesetenv_ctxf): New.
7959         (libc_fesetenv_ctxl): New.
7960         (libc_feupdateenv_mips_ctx): New.
7961         (libc_feupdateenv_ctx): New.
7962         (libc_feupdateenvf_ctx): New.
7963         (libc_feupdateenvl_ctx): New.
7964         (libc_feholdsetround_mips_ctx): New.
7965         (libc_feholdsetround_ctx): New.
7966         (libc_feholdsetroundf_ctx): New.
7967         (libc_feholdsetroundl_ctx): New.
7968         (libc_feresetround_mips_ctx): New.
7969         (libc_feresetround_ctx): New.
7970         (libc_feresetroundf_ctx): New.
7971         (libc_feresetroundl_ctx): New.
7972
7973 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
7974
7975         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
7976
7977         * manual/ipc.texi: New file.
7978         * manual/Makefile (chapters): Add ipc.
7979         * manual/job.texi: Add "Inter-Process Communication" to next.
7980         * manual/process.texi: Add "Inter-Process Communication" to prev.
7981
7982 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7983
7984         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7985
7986 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
7987
7988         * malloc/malloc.c (__libc_calloc): Simplify implementation.
7989
7990         * manual/arith.texi: Fix spaces after sentences.
7991         * manual/charset.texi: Likewise.
7992         * manual/errno.texi: Likewise.
7993         * manual/install.texi: Likewise.
7994         * manual/llio.texi: Likewise.
7995         * manual/locale.texi: Likewise.
7996         * manual/maint.texi: Likewise.
7997         * manual/math.texi: Likewise.
7998         * manual/memory.texi: Likewise.
7999         * manual/message.texi: Likewise.
8000         * manual/probes.texi: Likewise.
8001         * manual/resource.texi: Likewise.
8002         * manual/signal.texi: Likewise.
8003         * manual/socket.texi: Likewise.
8004         * manual/stdio.texi: Likewise.
8005         * manual/string.texi: Likewise.
8006         * manual/time.texi: Likewise.
8007         * manual/users.texi: Likewise.
8008
8009 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
8010
8011         [BZ #16632]
8012         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
8013         _DEFAULT_SOURCE is defined.
8014
8015 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
8016             Carlos O'Donell  <carlos@redhat.com>
8017
8018         [BZ #16613]
8019         * elf/dl-tls.c (_dl_count_modids): New function.
8020         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
8021         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
8022         audit library and increment generation counter.
8023         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
8024         * elf/tst-audit9.c: New file.
8025         * elf/tst-auditmod9a.c: New file.
8026         * elf/tst-auditmod9b.c: New file.
8027         * elf/Makefile: Add rules to build and run tst-audit9.
8028
8029 2014-02-25  Florian Weimer  <fweimer@redhat.com>
8030
8031         [BZ #15347]
8032         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
8033
8034 2014-02-25  Will Newton  <will.newton@linaro.org>
8035
8036         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
8037         (__longjmp): Restore sp and lr before restoring callee
8038         saved registers.  Add longjmp and longjmp_target
8039         SystemTap probe point.
8040         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
8041         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
8042         Define to zero to match jmpbuf layout.
8043         * sysdeps/arm/setjmp.S: Include stap-probe.h.
8044         (__sigsetjmp): Save sp and lr before saving callee
8045         saved registers.  Add setjmp SystemTap probe point.
8046
8047 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
8048
8049         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8050
8051 2014-02-24  Andreas Schwab  <schwab@suse.de>
8052
8053         [BZ #15804]
8054         * elf/pldd.c (wait_for_ptrace_stop): New function.
8055         (main): Call it after attaching.
8056
8057 2014-02-22  Roland McGrath  <roland@hack.frob.com>
8058
8059         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
8060         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
8061         Versions files is now verboten.
8062         * hurd/Versions (libc: GLIBC_2.0):
8063         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
8064         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
8065         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
8066         * mach/Versions: Likewise.
8067
8068         * csu/Versions: Remove unused %include.
8069         * resolv/Versions: Likewise.
8070
8071 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
8072
8073         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
8074         ($(objpfx)check-local-headers.out): Likewise.
8075         ($(objpfx)begin-end-check.out): Likewise.
8076         * Makerules (check-abi-%.out): Likewise.
8077         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
8078         ($(objpfx)test2.cat): Likewise.
8079         ($(objpfx)de/libc.cat): Likewise.
8080         ($(objpfx)test-gencat.out): Likewise.
8081         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
8082         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
8083         ($(objpfx)noload-mem): Likewise.
8084         ($(objpfx)tst-pathopt.out): Likewise.
8085         ($(objpfx)tst-rtld-load-self.out): Likewise.
8086         ($(objpfx)tst-array1-cmp.out): Likewise.
8087         ($(objpfx)tst-array1-static-cmp.out): Likewise.
8088         ($(objpfx)tst-array2-cmp.out): Likewise.
8089         ($(objpfx)tst-array3-cmp.out): Likewise.
8090         ($(objpfx)tst-array4-cmp.out): Likewise.
8091         ($(objpfx)tst-array5-cmp.out): Likewise.
8092         ($(objpfx)tst-array5-static-cmp.out): Likewise.
8093         ($(objpfx)check-textrel.out): Likewise.
8094         ($(objpfx)check-execstack.out): Likewise.
8095         ($(objpfx)check-localplt.out): Likewise.
8096         ($(objpfx)order2-cmp.out): Likewise.
8097         ($(objpfx)tst-leaks1-mem): Likewise.
8098         ($(objpfx)tst-leaks1-static-mem): Likewise.
8099         ($(objpfx)tst-initorder-cmp.out): Likewise.
8100         ($(objpfx)tst-initorder2-cmp.out): Likewise.
8101         ($(objpfx)tst-unused-dep.out): Likewise.
8102         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
8103         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
8104         * iconv/Makefile (test-iconvconfig): Likewise.
8105         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
8106         ($(objpfx)iconv-test.out): Likewise.
8107         ($(objpfx)tst-tables.out): Likewise.
8108         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
8109         ($(objpfx)tst-gettext.out): Likewise.
8110         ($(objpfx)tst-translit.out): Likewise.
8111         ($(objpfx)tst-gettext2.out): Likewise.
8112         ($(objpfx)tst-gettext4.out): Likewise.
8113         ($(objpfx)tst-gettext6.out): Likewise.
8114         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
8115         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
8116         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
8117         ($(objpfx)tst-fopenloc-mem.out): Likewise.
8118         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
8119         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
8120         * posix/Makefile ($(objpfx)globtest.out): Likewise.
8121         ($(objpfx)wordexp-tst.out): Likewise.
8122         ($(objpfx)annexc.out): Likewise.
8123         ($(objpfx)tst-fnmatch-mem): Likewise.
8124         ($(objpfx)bug-regex2-mem): Likewise.
8125         ($(objpfx)bug-regex14-mem): Likewise.
8126         ($(objpfx)bug-regex21-mem): Likewise.
8127         ($(objpfx)bug-regex31-mem): Likewise.
8128         ($(objpfx)tst-vfork3-mem): Likewise.
8129         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
8130         ($(objpfx)tst-pcre-mem): Likewise.
8131         ($(objpfx)tst-boost-mem): Likewise.
8132         ($(objpfx)tst-getconf.out): Likewise.
8133         ($(objpfx)bug-ga2-mem): Likewise.
8134         ($(objpfx)bug-glob2-mem): Likewise.
8135         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
8136         ($(objpfx)mtrace-tst-leaks2): Likewise.
8137         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
8138         ($(objpfx)tst-printf.out): Likewise.
8139         ($(objpfx)tst-setvbuf1.out): Likewise.
8140         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
8141         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
8142         ($(objpfx)tst-fmtmsg.out): Likewise.
8143         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
8144         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
8145
8146         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
8147         * bits/sigaction.h [__USE_MISC]: Likewise.
8148         * bits/waitstatus.h: Update #endif comments.
8149         * ctype/ctype.h: Likewise.
8150         * dirent/dirent.h: Likewise.
8151         [__USE_MISC]: Remove redundant conditionals.
8152         * grp/grp.h: Update #endif comments.
8153         [__USE_GNU]: Remove redundant conditionals.
8154         [__USE_MISC]: Likewise.
8155         * inet/netinet/in.h [__USE_GNU]: Likewise.
8156         * io/sys/stat.h [__USE_MISC]: Likewise.
8157         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
8158         * libio/bits/stdio.h: Update #endif comments.
8159         [__USE_MISC]: Remove redundant conditionals.
8160         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
8161         * libio/stdio.h: Update #endif comments.
8162         [__USE_MISC]: Remove redundant conditionals.
8163         * math/bits/math-finite.h [__USE_MISC]: Likewise.
8164         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
8165         * math/math.h: Update #else and #endif comments.
8166         [__USE_MISC]: Remove redundant conditionals.
8167         * misc/sys/uio.h: Update #endif comments.
8168         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
8169         * posix/glob.h [__USE_MISC]: Likewise.
8170         * posix/sys/types.h: Update #endif comments.
8171         [__USE_MISC]: Remove redundant conditionals.
8172         * posix/sys/wait.h: Update #endif comments.
8173         [__USE_MISC]: Remove redundant conditionals.
8174         * posix/unistd.h: Update #endif comments.
8175         [__USE_MISC]: Remove redundant conditionals.
8176         * pwd/pwd.h [__USE_GNU]: Likewise.
8177         [__USE_MISC]: Likewise.
8178         * resolv/netdb.h [__USE_GNU]: Likewise.
8179         * signal/signal.h: Update #endif comments.
8180         [__USE_MISC]: Remove redundant conditionals.
8181         * stdlib/stdlib.h: Update #else and #endif comments.
8182         [__USE_MISC]: Remove redundant conditionals.
8183         [__USE_GNU]: Likewise.
8184         * string/bits/string2.h [__USE_MISC]: Likewise.
8185         * string/string.h: Update #endif comments.
8186         [__USE_MISC]: Remove redundant conditionals.
8187         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
8188         Likewise.
8189         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
8190         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
8191         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
8192         Likewise.
8193         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
8194         Likewise.
8195         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
8196         comments.
8197         [__USE_MISC]: Remove redundant conditionals.
8198         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
8199         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
8200         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
8201         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
8202         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
8203         Likewise.
8204         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
8205         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
8206         Likewise.
8207         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
8208         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
8209         Likewise.
8210         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
8211         Likewise.
8212         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
8213         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
8214         Likewise.
8215         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
8216         Likewise.
8217         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
8218         * sysdeps/x86/bits/string.h: Update #endif comments.
8219         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
8220         conditionals.
8221         * time/sys/time.h: Update #endif comments.
8222         * time/time.h: Likewise.
8223         [__USE_MISC]: Remove redundant conditionals.
8224
8225 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
8226
8227         [BZ #16600]
8228         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
8229
8230 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
8231
8232         * Versions.def (librt): Add GLIBC_2.17.
8233
8234 2014-02-21  Adam Conrad  <adconrad@0c3.net>
8235
8236         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
8237         synonym for _SYS_AUXV_H to allow direct inclusion.
8238         * sysdeps/sparc/bits/hwcap.h: Likewise.
8239         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
8240         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
8241         * sysdeps/sparc/sysdep.h: Likewise.
8242
8243 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
8244
8245         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
8246
8247 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8248
8249         * benchtests/bench-strrchr.c: Print length instead of position.
8250
8251 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
8252
8253         [BZ #16611]
8254         * sysdeps/unix/sysv/linux/kernel-features.h
8255         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
8256         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
8257         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
8258         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
8259         Likewise.
8260         [__i386__ || __powerpc__ || __sh__ || __sparc__]
8261         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8262         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
8263         (__ASSUME_SENDMMSG): Define instead of using previous
8264         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
8265         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8266         (__ASSUME_SENDMMSG_SYSCALL): Define.
8267         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8268         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
8269         Likewise.
8270         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8271         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8272         Likewise.
8273         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8274         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8275         Likewise.
8276         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
8277         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8278         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8279         [__ASSUME_SENDMMSG]: Change conditionals to
8280         [__ASSUME_SENDMMSG_SOCKETCALL].
8281         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8282         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
8283         Define.
8284         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8285         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
8286         Likewise.
8287         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
8288         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
8289         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
8290         [!__ASSUME_SENDMMSG]: Change conditional to
8291         [!__ASSUME_SENDMMSG_SOCKETCALL].
8292         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8293         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8294         Define.
8295
8296         [BZ #16610]
8297         * sysdeps/unix/sysv/linux/kernel-features.h
8298         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
8299         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
8300         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
8301         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
8302         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8303         [__i386__ || __sparc__]
8304         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8305         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
8306         (__ASSUME_RECVMMSG): Define instead of using previous
8307         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
8308         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8309         (__ASSUME_RECVMMSG_SYSCALL): Define.
8310         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8311         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8312         Likewise.
8313         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8314         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8315         Likewise.
8316         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8317         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8318         Likewise.
8319         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
8320         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8321         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8322         [__ASSUME_RECVMMSG]: Change condition to
8323         [__ASSUME_RECVMMSG_SOCKETCALL].
8324         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8325         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8326         Define.
8327         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
8328         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8329         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8330         Likewise.
8331         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
8332         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
8333         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
8334         [!__ASSUME_RECVMMSG]: Change condition to
8335         [!__ASSUME_RECVMMSG_SOCKETCALL].
8336         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8337         (__ASSUME_RECVMMSG_SYSCALL): Define.
8338
8339         [BZ #16609]
8340         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
8341         __powerpc__ || __s390__ || __sh__ || __sparc__]
8342         (__ASSUME_SOCKETCALL): Define.
8343         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
8344         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
8345         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
8346         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
8347         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8348         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
8349         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
8350         (__ASSUME_ACCEPT4): Define instead of using previous
8351         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
8352         __powerpc__ || __sparc__ || __s390__)] condition.
8353         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
8354         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8355         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
8356         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8357         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8358         [!__ASSUME_ACCEPT4]: Change condition to
8359         [!__ASSUME_ACCEPT4_SOCKETCALL].
8360         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8361         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
8362         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
8363         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8364         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
8365         __ASSUME_ACCEPT4_SYSCALL.
8366         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
8367         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
8368         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8369         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
8370         __ASSUME_ACCEPT4_SYSCALL.
8371         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
8372         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
8373         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
8374         [__ASSUME_ACCEPT4]: Change condition to
8375         [__ASSUME_ACCEPT4_SOCKETCALL].
8376         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8377         (__ASSUME_SOCKETCALL): Define.
8378         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
8379         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8380         (__ASSUME_SOCKETCALL): Define.
8381         (__ASSUME_ACCEPT4): Remove.
8382         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
8383         Define.
8384         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8385         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
8386         Likewise.
8387         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8388         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
8389
8390         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
8391         macro.
8392         (HWCAP_ARM_LPAE): Likewise.
8393         (HWCAP_ARM_EVTSTRM): Likewise.
8394         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
8395         Add vpfd32, lpae and evtstrm.
8396         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
8397         Increase to 22.
8398
8399 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
8400
8401         * math/auto-libm-test-in: Add tests of clog10.
8402         * math/auto-libm-test-out: Regenerated.
8403         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
8404         * sysdeps/i386/fpu/libm-test-ulps: Update.
8405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8406
8407 2014-02-18  Andreas Schwab  <schwab@suse.de>
8408
8409         [BZ #16574]
8410         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
8411         Store non-zero if the second buffer was newly allocated.
8412         (send_dg): Likewise.
8413         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
8414         to send_vc and send_dg.
8415         (res_nsend): Pass NULL for ansp2_malloced.
8416         * resolv/res_query.c (__libc_res_nquery): Add parameter
8417         answerp2_malloced and pass it down to __libc_res_nsend.
8418         (res_nquery): Pass additional NULL to __libc_res_nquery.
8419         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
8420         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
8421         second answer buffer if answerp2_malloced was set.
8422         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
8423         (__libc_res_nquerydomain): Add parameter
8424         answerp2_malloced and pass it down to __libc_res_nquery.
8425         (res_nquerydomain): Pass additional NULL to
8426         __libc_res_nquerydomain.
8427         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
8428         additional NULL to __libc_res_nsend and __libc_res_nquery.
8429         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
8430         additional NULL to __libc_res_nsearch.
8431         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
8432         parameter of __libc_res_nsearch to check for separately allocated
8433         second buffer.
8434         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
8435         __libc_res_nquery.
8436         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
8437         additional NULL to __libc_res_nquery.
8438         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
8439         __libc_res_nsearch.
8440         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
8441         * include/resolv.h: Update prototypes of __libc_res_nquery,
8442         __libc_res_nsearch, __libc_res_nsend.
8443
8444 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
8445
8446         * math/auto-libm-test-in: Add tests of fma.
8447         * math/auto-libm-test-out: Regenerated.
8448         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
8449         (fma_towardzero_test_data): Likewise.
8450         (fma_downward_test_data): Likewise.
8451         (fma_upward_test_data): Likewise.
8452         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
8453         mpc_mode.
8454         (rounding_modes): Add values for new field.
8455         (func_calc_method): Add value mpfr_fff_f.
8456         (func_calc_desc): Add mpfr_fff_f union field.
8457         (test_function): Add field exact_args.
8458         (FUNC): Add macro argument EXACT_ARGS.
8459         (FUNC_mpfr_f_f): Update call to FUNC.
8460         (FUNC_mpfr_f_f): Likewise.
8461         (FUNC_mpfr_ff_f): Likewise.
8462         (FUNC_mpfr_if_f): Likewise.
8463         (FUNC_mpc_c_f): Likewise.
8464         (FUNC_mpc_c_c): Likewise.
8465         (test_functions): Add fma.  Update calls to FUNC.
8466         (handle_input_arg): Add argument exact_args.
8467         (add_test): Update call to handle_input_arg.
8468         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
8469         (output_for_one_input_case): Update call to calc_generic_results.
8470         Recalculate exact zero results in each rounding mode.
8471
8472         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
8473         non-negative before setting low bit.
8474         * math/auto-libm-test-in: Mark one asin test possibly having
8475         spurious underflow.
8476         * math/auto-libm-test-out: Regenerated.
8477         * sysdeps/i386/fpu/libm-test-ulps: Update.
8478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8479
8480 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
8481
8482         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
8483         * sysdeps/unix/sysv/linux/microblaze: Move directory from
8484         ports/sysdeps/unix/sysv/linux/microblaze.
8485         * README: Add missing listing for microblaze*-*-linux-gnu.
8486
8487 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
8488
8489         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
8490         * sysdeps/unix/sysv/linux/ia64: Move directory from
8491         ports/sysdeps/unix/sysv/linux/ia64.
8492         * README: Update listing for ia64-*-linux-gnu.
8493
8494 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
8495             Joseph Myers  <joseph@codesourcery.com>
8496
8497         * Makeconfig (test-name): New variable.
8498         (evaluate-test): Likewise.
8499         * Makerules (do-test-clean): Remove .test-result files.
8500         (common-mostlyclean): Likewise.
8501         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
8502         * scripts/evaluate-test.sh: New file.
8503
8504 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
8505
8506         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
8507         separate $(objpfx)tst-fopenloc-cmp.out and
8508         $(objpfx)tst-fopenloc-mem.out targets.
8509         (tests): Update dependencies.
8510         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
8511         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
8512         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
8513         (tst-rxspencer-no-utf8-ARGS): New variable.
8514         (tst-rxspencer-no-utf8-ENV): Likewise.
8515         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
8516         instead of $(objpfx)tst-rxspencer-mem.
8517         ($(objpfx)tst-rxspencer-mem): Change target to
8518         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
8519         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
8520         * posix/tst-rxspencer-no-utf8.c: New file.
8521
8522         * elf/Makefile ($(objpfx)order.out): Remove rule.
8523         [$(run-built-tests) = yes] (tests): Depend on
8524         $(objpfx)order-cmp.out.
8525         ($(objpfx)order-cmp.out): New rule.
8526         [$(run-built-tests) = yes] (tests): Depend on
8527         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
8528         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
8529         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
8530         $(objpfx)tst-array5-static-cmp.out.
8531         ($(objpfx)tst-array1.out): Remove rule.
8532         ($(objpfx)tst-array1-cmp.out): New rule.
8533         ($(objpfx)tst-array1-static.out): Remove rule.
8534         ($(objpfx)tst-array1-static-cmp.out): New rule.
8535         ($(objpfx)tst-array2.out): Remove rule.
8536         ($(objpfx)tst-array2-cmp.out): New rule.
8537         ($(objpfx)tst-array3.out): Remove rule.
8538         ($(objpfx)tst-array3-cmp.out): New rule.
8539         ($(objpfx)tst-array4.out): Remove rule.
8540         ($(objpfx)tst-array4-cmp.out): New rule.
8541         ($(objpfx)tst-array5.out): Remove rule.
8542         ($(objpfx)tst-array5-cmp.out): New rule.
8543         ($(objpfx)tst-array5-static.out): Remove rule.
8544         ($(objpfx)tst-array5-static-cmp.out): New rule.
8545         [$(run-built-tests) = yes] (tests): Depend on
8546         $(objpfx)order2-cmp.out.
8547         ($(objpfx)order2.out): Remove rule.
8548         ($(objpfx)order2-cmp.out): New rule.
8549         ($(objpfx)tst-initorder.out): Remove rule.
8550         [$(run-built-tests) = yes] (tests): Depend on
8551         $(objpfx)tst-initorder-cmp.out.
8552         ($(objpfx)tst-initorder-cmp.out): New rule.
8553         ($(objpfx)tst-initorder2.out): Remove rule.
8554         [$(run-built-tests) = yes] (tests): Depend on
8555         $(objpfx)tst-initorder2-cmp.out.
8556         ($(objpfx)tst-initorder2-cmp.out): New rule.
8557         [$(run-built-tests) = yes] (tests): Depend on
8558         $(objpfx)tst-unused-dep-cmp.out.
8559         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
8560         ($(objpfx)tst-unused-dep-cmp.out): New rule.
8561         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
8562         on $(objpfx)tst-setvbuf1-cmp.out.
8563         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
8564         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
8565         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
8566         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
8567         ($(objpfx)tst-svc.out): Remove rule.
8568         ($(objpfx)tst-svc-cmp.out): New rule.
8569
8570 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
8571
8572         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
8573         * ctype/ctype.h [__USE_MISC]: Likewise.
8574         * dirent/dirent.h [__USE_MISC]: Likewise.
8575         * grp/grp.h [__USE_MISC]: Likewise.
8576         * io/fcntl.h [__USE_MISC]: Likewise.
8577         * io/sys/stat.h [__USE_MISC]: Likewise.
8578         * libio/stdio.h [__USE_MISC]: Likewise.
8579         * posix/unistd.h [__USE_MISC]: Likewise.
8580         * pwd/pwd.h [__USE_MISC]: Likewise.
8581         * stdlib.h [__USE_MISC]: Likewise.
8582         * string/bits/string2.h [__USE_MISC]: Likewise.
8583         * string/string.h [__USE_MISC]: Likewise.
8584         * time/time.h [__USE_MISC]: Likewise.
8585
8586 2014-02-13  Andreas Schwab  <schwab@suse.de>
8587
8588         [BZ #16574]
8589         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
8590         second answer buffer if it was separately allocated.
8591
8592 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
8593
8594         * sysdeps/mips/math-tests.h: Include <features.h>.
8595         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8596         (ROUNDING_TESTS_long_double): Do not define.
8597         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
8598         (EXCEPTION_TESTS_long_double): Likewise.
8599         * sysdeps/mips/mips64/libm-test-ulps: Update.
8600
8601         * include/features.h (__USE_BSD): Remove macro definitions.
8602         (__USE_SVID): Likewise.
8603         (_BSD_SOURCE): Likewise.
8604         (_SVID_SOURCE): Likewise.
8605         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
8606         from definition of _DEFAULT_SOURCE.
8607         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
8608         [_DEFAULT_SOURCE].
8609         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
8610         * bits/mman.h [__USE_BSD]: Likewise.
8611         * bits/termios.h [__USE_BSD]: Likewise.
8612         * bits/waitstatus.h [__USE_BSD]: Likewise.
8613         * ctype/ctype.h [__USE_SVID]: Likewise.
8614         * dirent/dirent.h [__USE_BSD]: Likewise.
8615         * grp/grp.h [__USE_SVID]: Likewise.
8616         [__USE_BSD]: Likewise.
8617         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
8618         * io/fcntl.h [__USE_BSD]: Likewise.
8619         * io/ftw.h [__USE_BSD]: Likewise.
8620         * io/sys/stat.h [__USE_BSD]: Likewise.
8621         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
8622         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
8623         * libio/stdio.h [__USE_SVID]: Likewise.
8624         [__USE_BSD]: Likewise.
8625         * math/math.h [__USE_SVID]: Likewise.
8626         [__USE_BSD]: Likewise.
8627         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
8628         * misc/bits/syslog.h [__USE_BSD]: Likewise.
8629         * misc/search.h [__USE_SVID]: Likewise.
8630         * misc/sys/mman.h [__USE_BSD]: Likewise.
8631         * misc/sys/syslog.h [__USE_BSD]: Likewise.
8632         * misc/sys/uio.h [__USE_BSD]: Likewise.
8633         * posix/bits/unistd.h [__USE_BSD]: Likewise.
8634         * posix/glob.h [__USE_BSD]: Likewise.
8635         * posix/regex.h [__USE_BSD]: Likewise.
8636         * posix/sys/types.h [__USE_BSD]: Likewise.
8637         [__USE_SVID]: Likewise.
8638         * posix/sys/utsname.h [__USE_SVID]: Likewise.
8639         * posix/sys/wait.h [__USE_BSD]: Likewise.
8640         [__USE_SVID]: Likewise.
8641         * posix/unistd.h [__USE_BSD]: Likewise.
8642         [__USE_SVID]: Likewise.
8643         * pwd/pwd.h [__USE_SVID]: Likewise.
8644         * resolv/netdb.h [__USE_BSD]: Likewise.
8645         * setjmp/setjmp.h [__USE_BSD]: Likewise.
8646         * signal/signal.h [__USE_BSD]: Likewise.
8647         [__USE_SVID]: Likewise.
8648         * socket/sys/socket.h [__USE_BSD]: Likewise.
8649         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
8650         * stdlib/stdlib.h [__USE_BSD]: Likewise.
8651         [__USE_SVID]: Likewise.
8652         * string/bits/string2.h [__USE_BSD]: Likewise.
8653         [__USE_SVID]: Likewise.
8654         * string/bits/string3.h [__USE_BSD]: Likewise.
8655         * string/endian.h [__USE_BSD]: Likewise.
8656         * string/string.h [__USE_SVID]: Likewise.
8657         [__USE_BSD]: Likewise.
8658         * string/strings.h [__USE_BSD]: Likewise.
8659         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
8660         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
8661         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
8662         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
8663         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
8664         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
8665         Likewise.
8666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
8667         Likewise.
8668         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
8669         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
8670         Likewise.
8671         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
8672         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
8673         Likewise.
8674         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
8675         Likewise.
8676         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
8677         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
8678         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
8679         Likewise.
8680         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
8681         Likewise.
8682         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
8683         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
8684         * termios/termios.h [__USE_BSD]: Likewise.
8685         * time/sys/time.h [__USE_BSD]: Likewise.
8686         * time/time.h [__USE_BSD]: Likewise.
8687         [__USE_SVID]: Likewise.
8688
8689         * Makefile (subdir_targets): Remove subdir_lint.out.
8690
8691         * stdio-common/Makefile (do-tst-unbputc): Remove target.
8692         (do-tst-printf): Likewise.
8693         (tests): Depend directly on $(objpfx)tst-unbputc.out and
8694         $(objpfx)tst-printf.out.
8695
8696         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
8697
8698         * Makerules (check-abi-%): Change target to
8699         $(objpfx)check-abi-%.out.
8700         (check-abi target): Update dependencies.
8701         (check-abi-pattern variable): Redirect output of diff to $@.
8702         (check-abi variable): Likewise.
8703         * elf/Makefile (check-abi): Update dependencies.
8704
8705         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
8706         unused.
8707         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
8708         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
8709         subnormal range.
8710         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
8711         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
8712         value has largest subnormal exponent.
8713         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
8714         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
8715         * sysdeps/aarch64/soft-fp/sfp-machine.h
8716         (_FP_TININESS_AFTER_ROUNDING): New macro.
8717         * sysdeps/alpha/soft-fp/sfp-machine.h
8718         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8719         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8720         Likewise.
8721         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
8722         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8723         * sysdeps/mips/soft-fp/sfp-machine.h
8724         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8725         * sysdeps/powerpc/soft-fp/sfp-machine.h
8726         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8727         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8728         Likewise.
8729         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
8730         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8731         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
8732         (_FP_TININESS_AFTER_ROUNDING): Likewise.
8733         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
8734         Likewise.
8735
8736 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
8737
8738         [BZ #16545]
8739         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
8740         model 1.
8741
8742 2014-02-12  Richard Henderson  <rth@redhat.com>
8743
8744         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
8745         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
8746         * sysdeps/unix/sysv/linux/alpha: Move directory from
8747         ports/sysdeps/unix/sysv/linux/alpha.
8748         * README: Update listing for alpha-*-linux-gnu.
8749
8750 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
8751
8752         * include/features.h: Update comment documenting feature test
8753         macros.
8754         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
8755         _DEFAULT_SOURCE.
8756         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
8757         (_SVID_SOURCE): Likewise.
8758         (_DEFAULT_SOURCE): Update description of default features.
8759         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
8760         with _GNU_SOURCE.
8761         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
8762         (S_ISVTX): Likewise.
8763         * manual/math.texi (Mathematical Constants): Likewise.
8764         * manual/signal.texi (Interrupted Primitives): Likewise.
8765         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
8766         * math/test-matherr.c (_SVID_SOURCE): Do not define.
8767         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
8768         Don't refer to _SVID_SOURCE in warning text.
8769
8770         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8771
8772         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
8773         already defined.
8774         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
8775         * sysdeps/mips/dl-lookup.c: Remove.
8776         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
8777
8778 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
8779
8780         [BZ #16447]
8781         * math/auto-libm-test-in: Add testcase for expl.
8782         * math/auto-libm-test-out: Regenerate.
8783         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
8784         calculation of unsafe.
8785         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
8786
8787 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8788
8789         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
8790         * sysdeps/unix/sysv/linux/aarch64: Move directory from
8791         ports/sysdeps/unix/sysv/linux/aarch64.
8792         * README: Update listing for aarch64*-*-linux-gnu.
8793
8794 2014-02-11  Will Newton  <will.newton@linaro.org>
8795
8796         * manual/probes.texi (Mathematical Function Probes): Use
8797         "triggered" instead of "hit".
8798
8799         * manual/probes.texi (Internal Probes): Add documentation
8800         of setjmp, longjmp and longjmp_target probes.
8801
8802         * include/stap-probe.h: Add comment about probe argument
8803         format.
8804
8805         * malloc/mtrace.c (attribute_hidden): Remove unused macro
8806         definition.  (tr_where, tr_freehook, tr_mallochook,
8807         tr_reallochook, tr_memalignhook): Use ANSI protoype.
8808
8809 2014-02-11  David S. Miller  <davem@davemloft.net>
8810
8811         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
8812         processing int_tests.
8813
8814 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
8815
8816         * sysdeps/mips: Move directory from ports/sysdeps/mips.
8817         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
8818         * sysdeps/unix/sysv/linux/mips: Move directory from
8819         ports/sysdeps/unix/sysv/linux/mips.
8820         * README: Update listing for mips-*-linux-gnu and
8821         mips64-*-linux-gnu.
8822
8823 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
8824
8825         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
8826         * sysdeps/unix/sysv/linux/m68k: Move directory from
8827         ports/sysdeps/unix/sysv/linux/m68k.
8828         * README: Update listing for m68k-*-linux-gnu.
8829
8830 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
8831
8832         * sysdeps/tile: Move directory from ports/sysdeps/tile.
8833         * sysdeps/unix/sysv/linux/generic: Move directory from
8834         ports/sysdeps/unix/sysv/linux/generic.
8835         * sysdeps/unix/sysv/linux/tile: Move directory from
8836         ports/sysdeps/unix/sysv/linux/tile.
8837         * README: Update listing for tile*-*-linux-gnu.
8838
8839 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
8840
8841         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
8842         __builtin_expect.
8843         * benchtests/bench-memmem.c (simple_memmem): Likewise.
8844         * catgets/open_catalog.c (__open_catalog): Likewise.
8845         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
8846         * debug/confstr_chk.c: Likewise.
8847         * debug/fread_chk.c (__fread_chk): Likewise.
8848         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
8849         * debug/getgroups_chk.c: Likewise.
8850         * debug/mbsnrtowcs_chk.c: Likewise.
8851         * debug/mbsrtowcs_chk.c: Likewise.
8852         * debug/mbstowcs_chk.c: Likewise.
8853         * debug/memcpy_chk.c: Likewise.
8854         * debug/memmove_chk.c: Likewise.
8855         * debug/mempcpy_chk.c: Likewise.
8856         * debug/memset_chk.c: Likewise.
8857         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
8858         * debug/strcat_chk.c (__strcat_chk): Likewise.
8859         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
8860         * debug/strncat_chk.c (__strncat_chk): Likewise.
8861         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
8862         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
8863         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
8864         * debug/wcpncpy_chk.c: Likewise.
8865         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
8866         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
8867         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
8868         * debug/wcsncpy_chk.c: Likewise.
8869         * debug/wcsnrtombs_chk.c: Likewise.
8870         * debug/wcsrtombs_chk.c: Likewise.
8871         * debug/wcstombs_chk.c: Likewise.
8872         * debug/wmemcpy_chk.c: Likewise.
8873         * debug/wmemmove_chk.c: Likewise.
8874         * debug/wmempcpy_chk.c: Likewise.
8875         * debug/wmemset_chk.c: Likewise.
8876         * dirent/scandirat.c (SCANDIRAT): Likewise.
8877         * dlfcn/dladdr1.c (dladdr1): Likewise.
8878         * dlfcn/dladdr.c (dladdr): Likewise.
8879         * dlfcn/dlclose.c (dlclose_doit): Likewise.
8880         * dlfcn/dlerror.c (__dlerror): Likewise.
8881         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
8882         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
8883         * dlfcn/dlopen.c (dlopen_doit): Likewise.
8884         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
8885         * dlfcn/dlsym.c (dlsym_doit): Likewise.
8886         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
8887         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
8888         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
8889         Likewise.
8890         * elf/dl-conflict.c: Likewise.
8891         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
8892         * elf/dl-dst.h: Likewise.
8893         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
8894         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
8895         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
8896         * elf/dl-init.c (call_init, _dl_init): Likewise.
8897         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
8898         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
8899         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
8900         Likewise.
8901         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
8902         Likewise.
8903         * elf/dl-minimal.c (__libc_memalign): Likewise.
8904         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
8905         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
8906         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
8907         * elf/dl-sym.c (do_sym): Likewise.
8908         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
8909         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
8910         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
8911         * elf/dl-writev.h (_dl_writev): Likewise.
8912         * elf/ldconfig.c (search_dir): Likewise.
8913         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
8914         (dl_main): Likewise.
8915         * elf/setup-vdso.h (setup_vdso): Likewise.
8916         * grp/compat-initgroups.c (compat_call): Likewise.
8917         * grp/fgetgrent.c (fgetgrent): Likewise.
8918         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
8919         * grp/putgrent.c (putgrent): Likewise.
8920         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8921         Likewise.
8922         * hurd/hurdinit.c: Likewise.
8923         * iconvdata/8bit-gap.c (struct): Likewise.
8924         * iconvdata/ansi_x3.110.c : Likewise.
8925         * iconvdata/big5.c : Likewise.
8926         * iconvdata/big5hkscs.c : Likewise.
8927         * iconvdata/cp1255.c: Likewise.
8928         * iconvdata/cp1258.c : Likewise.
8929         * iconvdata/cp932.c : Likewise.
8930         * iconvdata/euc-cn.c: Likewise.
8931         * iconvdata/euc-jisx0213.c : Likewise.
8932         * iconvdata/euc-jp.c: Likewise.
8933         * iconvdata/euc-jp-ms.c : Likewise.
8934         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
8935         * iconvdata/gb18030.c : Likewise.
8936         * iconvdata/gbbig5.c (const): Likewise.
8937         * iconvdata/gbgbk.c: Likewise.
8938         * iconvdata/gbk.c : Likewise.
8939         * iconvdata/ibm1364.c : Likewise.
8940         * iconvdata/ibm930.c : Likewise.
8941         * iconvdata/ibm932.c: Likewise.
8942         * iconvdata/ibm933.c : Likewise.
8943         * iconvdata/ibm935.c : Likewise.
8944         * iconvdata/ibm937.c : Likewise.
8945         * iconvdata/ibm939.c : Likewise.
8946         * iconvdata/ibm943.c: Likewise.
8947         * iconvdata/iso_11548-1.c: Likewise.
8948         * iconvdata/iso-2022-cn.c : Likewise.
8949         * iconvdata/iso-2022-cn-ext.c : Likewise.
8950         * iconvdata/iso-2022-jp-3.c: Likewise.
8951         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
8952         * iconvdata/iso-2022-kr.c : Likewise.
8953         * iconvdata/iso646.c (gconv_end): Likewise.
8954         * iconvdata/iso_6937-2.c : Likewise.
8955         * iconvdata/iso_6937.c : Likewise.
8956         * iconvdata/iso8859-1.c: Likewise.
8957         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
8958         * iconvdata/shift_jisx0213.c : Likewise.
8959         * iconvdata/sjis.c : Likewise.
8960         * iconvdata/t.61.c : Likewise.
8961         * iconvdata/tcvn5712-1.c : Likewise.
8962         * iconvdata/tscii.c: Likewise.
8963         * iconvdata/uhc.c : Likewise.
8964         * iconvdata/unicode.c (gconv_end): Likewise.
8965         * iconvdata/utf-16.c (gconv_end): Likewise.
8966         * iconvdata/utf-32.c (gconv_end): Likewise.
8967         * iconvdata/utf-7.c (base64): Likewise.
8968         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
8969         * iconv/gconv_close.c (__gconv_close): Likewise.
8970         * iconv/gconv_open.c (__gconv_open): Likewise.
8971         * iconv/gconv_simple.c (internal_ucs4_loop_single)
8972         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
8973         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
8974         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
8975         (ucs4le_internal_loop_single): Likewise.
8976         * iconv/iconv.c (iconv): Likewise.
8977         * iconv/iconv_close.c: Likewise.
8978         * iconv/loop.c (SINGLE): Likewise.
8979         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
8980         * include/atomic.h: Likewise.
8981         * inet/inet6_option.c (option_alloc): Likewise.
8982         * intl/bindtextdom.c (set_binding_values): Likewise.
8983         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
8984         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
8985         * intl/localealias.c (read_alias_file): Likewise.
8986         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
8987         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
8988         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
8989         * libio/fmemopen.c (fmemopen): Likewise.
8990         * libio/iofgets.c (_IO_fgets): Likewise.
8991         * libio/iofgets_u.c (fgets_unlocked): Likewise.
8992         * libio/iofgetws.c (fgetws): Likewise.
8993         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
8994         * libio/iogetdelim.c (_IO_getdelim): Likewise.
8995         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
8996         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
8997         * locale/findlocale.c (_nl_find_locale): Likewise.
8998         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
8999         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
9000         Likewise.
9001         * locale/setlocale.c (setlocale): Likewise.
9002         * login/programs/pt_chown.c (main): Likewise.
9003         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
9004         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
9005         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
9006         (mmap, mmap64, mremap, munmap): Likewise.
9007         * math/e_exp2l.c: Likewise.
9008         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
9009         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
9010         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
9011         * math/s_catan.c (__catan): Likewise.
9012         * math/s_catanf.c (__catanf): Likewise.
9013         * math/s_catanh.c (__catanh): Likewise.
9014         * math/s_catanhf.c (__catanhf): Likewise.
9015         * math/s_catanhl.c (__catanhl): Likewise.
9016         * math/s_catanl.c (__catanl): Likewise.
9017         * math/s_ccosh.c (__ccosh): Likewise.
9018         * math/s_ccoshf.c (__ccoshf): Likewise.
9019         * math/s_ccoshl.c (__ccoshl): Likewise.
9020         * math/s_cexp.c (__cexp): Likewise.
9021         * math/s_cexpf.c (__cexpf): Likewise.
9022         * math/s_cexpl.c (__cexpl): Likewise.
9023         * math/s_clog10.c (__clog10): Likewise.
9024         * math/s_clog10f.c (__clog10f): Likewise.
9025         * math/s_clog10l.c (__clog10l): Likewise.
9026         * math/s_clog.c (__clog): Likewise.
9027         * math/s_clogf.c (__clogf): Likewise.
9028         * math/s_clogl.c (__clogl): Likewise.
9029         * math/s_csin.c (__csin): Likewise.
9030         * math/s_csinf.c (__csinf): Likewise.
9031         * math/s_csinh.c (__csinh): Likewise.
9032         * math/s_csinhf.c (__csinhf): Likewise.
9033         * math/s_csinhl.c (__csinhl): Likewise.
9034         * math/s_csinl.c (__csinl): Likewise.
9035         * math/s_csqrt.c (__csqrt): Likewise.
9036         * math/s_csqrtf.c (__csqrtf): Likewise.
9037         * math/s_csqrtl.c (__csqrtl): Likewise.
9038         * math/s_ctan.c (__ctan): Likewise.
9039         * math/s_ctanf.c (__ctanf): Likewise.
9040         * math/s_ctanh.c (__ctanh): Likewise.
9041         * math/s_ctanhf.c (__ctanhf): Likewise.
9042         * math/s_ctanhl.c (__ctanhl): Likewise.
9043         * math/s_ctanl.c (__ctanl): Likewise.
9044         * math/w_pow.c: Likewise.
9045         * math/w_powf.c: Likewise.
9046         * math/w_powl.c: Likewise.
9047         * math/w_scalb.c (sysv_scalb): Likewise.
9048         * math/w_scalbf.c (sysv_scalbf): Likewise.
9049         * math/w_scalbl.c (sysv_scalbl): Likewise.
9050         * misc/error.c (error_tail): Likewise.
9051         * misc/pselect.c (__pselect): Likewise.
9052         * nis/nis_callback.c (__nis_create_callback): Likewise.
9053         * nis/nis_call.c (__nisfind_server): Likewise.
9054         * nis/nis_creategroup.c (nis_creategroup): Likewise.
9055         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
9056         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
9057         * nis/nis_getservlist.c (nis_getservlist): Likewise.
9058         * nis/nis_lookup.c (nis_lookup): Likewise.
9059         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
9060         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
9061         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
9062         * nis/nis_xdr.c (xdr_endpoint): Likewise.
9063         * nis/nss_compat/compat-grp.c (getgrent_next_file)
9064         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
9065         * nis/nss_compat/compat-initgroups.c (add_group)
9066         (internal_getgrent_r): Likewise.
9067         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
9068         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
9069         * nis/nss_compat/compat-spwd.c (getspent_next_file)
9070         (internal_getspnam_r): Likewise.
9071         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
9072         (_nss_nis_getaliasbyname_r): Likewise.
9073         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
9074         (_nss_nis_getntohost_r): Likewise.
9075         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
9076         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
9077         (_nss_nis_getgrgid_r): Likewise.
9078         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
9079         (internal_nis_gethostent_r, internal_gethostbyname2_r)
9080         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
9081         (_nss_nis_gethostbyname4_r): Likewise.
9082         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
9083         (initgroups_netid): Likewise.
9084         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
9085         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
9086         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
9087         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
9088         (_nss_nis_getprotobynumber_r): Likewise.
9089         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
9090         (_nss_nis_getsecretkey): Likewise.
9091         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
9092         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
9093         (_nss_nis_getpwuid_r): Likewise.
9094         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
9095         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
9096         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
9097         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
9098         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
9099         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
9100         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9101         Likewise.
9102         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
9103         (_nss_nisplus_getntohost_r): Likewise.
9104         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
9105         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
9106         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
9107         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
9108         Likewise.
9109         * nis/nss_nisplus/nisplus-initgroups.c
9110         (_nss_nisplus_initgroups_dyn): Likewise.
9111         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
9112         (_nss_nisplus_getnetbyaddr_r): Likewise.
9113         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
9114         (_nss_nisplus_getprotobynumber_r): Likewise.
9115         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
9116         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
9117         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
9118         Likewise.
9119         * nis/nss_nisplus/nisplus-service.c
9120         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
9121         (_nss_nisplus_getservbyport_r): Likewise.
9122         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
9123         (_nss_nisplus_getspnam_r): Likewise.
9124         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
9125         Likewise.
9126         * nscd/aicache.c (addhstaiX): Likewise.
9127         * nscd/cache.c (cache_search, prune_cache): Likewise.
9128         * nscd/connections.c (register_traced_file, send_ro_fd)
9129         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
9130         (main_loop_epoll): Likewise.
9131         * nscd/grpcache.c (addgrbyX): Likewise.
9132         * nscd/hstcache.c (addhstbyX): Likewise.
9133         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9134         * nscd/mem.c (gc, mempool_alloc): Likewise.
9135         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
9136         (addinnetgrX): Likewise.
9137         * nscd/nscd-client.h (__nscd_acquire_maplock)
9138         (__nscd_drop_map_ref): Likewise.
9139         * nscd/nscd_getai.c (__nscd_getai): Likewise.
9140         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
9141         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
9142         Likewise.
9143         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
9144         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
9145         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
9146         (__nscd_get_map_ref): Likewise.
9147         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
9148         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
9149         Likewise.
9150         * nscd/pwdcache.c (addpwbyX): Likewise.
9151         * nscd/selinux.c (preserve_capabilities): Likewise.
9152         * nscd/servicescache.c (addservbyX): Likewise.
9153         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
9154         * posix/fnmatch.c (fnmatch): Likewise.
9155         * posix/getopt.c (_getopt_internal_r): Likewise.
9156         * posix/glob.c (glob, glob_in_dir): Likewise.
9157         * posix/wordexp.c (exec_comm_child): Likewise.
9158         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
9159         (getanswer_r, gaih_getanswer_slice): Likewise.
9160         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
9161         * resolv/res_init.c: Likewise.
9162         * resolv/res_mkquery.c (res_nmkquery): Likewise.
9163         * resolv/res_query.c (__libc_res_nquery): Likewise.
9164         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
9165         Likewise.
9166         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
9167         * stdio-common/perror.c (perror): Likewise.
9168         * stdio-common/printf_fp.c (___printf_fp): Likewise.
9169         * stdio-common/tmpnam.c (tmpnam): Likewise.
9170         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
9171         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
9172         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
9173         Likewise.
9174         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
9175         * stdlib/putenv.c (putenv): Likewise.
9176         * stdlib/setenv.c (__add_to_environ): Likewise.
9177         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
9178         * stdlib/strtol_l.c (INTERNAL): Likewise.
9179         * string/memmem.c (memmem): Likewise.
9180         * string/strerror.c (strerror): Likewise.
9181         * string/strnlen.c (__strnlen): Likewise.
9182         * string/test-memmem.c (simple_memmem): Likewise.
9183         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
9184         * sunrpc/pm_getport.c (__get_socket): Likewise.
9185         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
9186         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9187         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
9188         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
9189         Likewise.
9190         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9191         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
9192         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
9193         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
9194         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
9195         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
9196         Likewise.
9197         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
9198         Likewise.
9199         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
9200         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
9201         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9202         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
9203         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9204         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
9205         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
9206         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
9207         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
9208         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9209         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9210         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
9211         Likewise.
9212         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
9213         Likewise.
9214         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
9215         Likewise.
9216         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
9217         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
9218         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
9219         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
9220         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9221         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
9222         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
9223         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
9224         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
9225         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
9226         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
9227         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9228         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9229         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
9230         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9231         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9232         Likewise.
9233         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
9234         Likewise.
9235         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
9236         Likewise.
9237         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
9238         Likewise.
9239         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9240         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9241         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
9242         Likewise.
9243         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
9244         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
9245         * sysdeps/posix/opendir.c (__opendirat): Likewise.
9246         * sysdeps/posix/sleep.c: Likewise.
9247         * sysdeps/posix/tempname.c: Likewise.
9248         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
9249         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9250         Likewise.
9251         * sysdeps/powerpc/powerpc32/dl-machine.h
9252         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
9253         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
9254         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9255         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
9256         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
9257         Likewise.
9258         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
9259         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
9260         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9261         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
9262         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
9263         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
9264         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
9265         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
9266         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
9267         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
9268         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
9269         (elf_machine_lazy_rel): Likewise.
9270         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
9271         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
9272         (elf_machine_lazy_rel): Likewise.
9273         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
9274         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
9275         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
9276         * sysdeps/unix/grantpt.c (grantpt): Likewise.
9277         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
9278         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
9279         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
9280         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
9281         Likewise.
9282         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
9283         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
9284         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
9285         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
9286         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
9287         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
9288         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
9289         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
9290         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
9291         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
9292         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
9293         Likewise.
9294         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
9295         (__posix_fallocate64_l64): Likewise.
9296         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
9297         (posix_fallocate): Likewise.
9298         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
9299         Likewise.
9300         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
9301         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
9302         (getifaddrs_internal): Likewise.
9303         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
9304         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
9305         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
9306         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
9307         * sysdeps/unix/sysv/linux/posix_fallocate64.c
9308         (__posix_fallocate64_l64): Likewise.
9309         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
9310         Likewise.
9311         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
9312         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
9313         (__get_clockfreq): Likewise.
9314         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
9315         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
9316         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
9317         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9318         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9319         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
9320         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
9321         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
9322         Likewise.
9323         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
9324         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
9325         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
9326         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
9327         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
9328         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
9329         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
9330         Likewise.
9331         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
9332         (posix_fallocate): Likewise.
9333         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
9334         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
9335         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
9336         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
9337         (elf_machine_rela, elf_machine_rela_relative)
9338         (elf_machine_lazy_rel): Likewise.
9339         * time/asctime.c (asctime_internal): Likewise.
9340         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
9341         * time/tzset.c (__tzset_parse_tz): Likewise.
9342         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
9343         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
9344         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
9345         * wcsmbs/wcsmbsload.h: Likewise.
9346
9347         [BZ #15894]
9348         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
9349
9350         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
9351         (arena_get2): Remove THREAD_STATS conditionals.
9352         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
9353         (__malloc_stats, int): Likewise.
9354
9355 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
9356
9357         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
9358         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
9359
9360         * manual/setjmp.texi: Fix typos/grammar errors.
9361
9362         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
9363         Only return early when n is <= 0.  Delete unused return statement.
9364
9365         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
9366         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
9367         * debug/tst-longjmp_chk3.c: New file.
9368
9369         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
9370         (test_main): Replace code with set_fortify_handler call.
9371         * debug/test-strcpy_chk.c: Likewise.
9372         * debug/tst-chk1.c: Likewise.
9373         * debug/tst-longjmp_chk.c: Likewise.
9374         * test-skeleton.c: Include fcntl.h & paths.h
9375         (set_fortify_handler): Define.
9376
9377         * debug/tst-longjmp_chk.c: Add header comment and include
9378         ../test-skeleton.c.
9379         (do_test): Mark static.
9380         (TEST_FUNCTION): Define.
9381
9382         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
9383         (IP_PMTUDISC_INTERFACE): Likewise.
9384         (IP_MULTICAST_IF): Likewise.
9385         (IP_MULTICAST_TTL): Likewise.
9386         (IP_MULTICAST_LOOP): Likewise.
9387         (IP_ADD_MEMBERSHIP): Likewise.
9388         (IP_DROP_MEMBERSHIP): Likewise.
9389         (IP_UNBLOCK_SOURCE): Likewise.
9390         (IP_BLOCK_SOURCE): Likewise.
9391         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
9392         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
9393         (IP_MSFILTER): Likewise.
9394         (MCAST_JOIN_GROUP): Likewise.
9395         (MCAST_BLOCK_SOURCE): Likewise.
9396         (MCAST_UNBLOCK_SOURCE): Likewise.
9397         (MCAST_LEAVE_GROUP): Likewise.
9398         (MCAST_JOIN_SOURCE_GROUP): Likewise.
9399         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
9400         (MCAST_MSFILTER): Likewise.
9401         (IP_MULTICAST_ALL): Likewise.
9402         (IP_UNICAST_IF): Likewise.
9403
9404         * timezone/Makefile: Delete $(have-ksh) check.
9405         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
9406         * timezone/tzselect.ksh: Add +x mode bits.
9407
9408         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
9409         (ANON_INODE_FS_MAGIC): Likewise.
9410         (BDEVFS_MAGIC): Likewise.
9411         (BINFMTFS_MAGIC): Likewise.
9412         (BTRFS_TEST_MAGIC): Likewise.
9413         (CRAMFS_MAGIC_WEND): Likewise.
9414         (DEBUGFS_MAGIC): Likewise.
9415         (ECRYPTFS_SUPER_MAGIC): Likewise.
9416         (EXT3_SUPER_MAGIC): Likewise.
9417         (EXT4_SUPER_MAGIC): Likewise.
9418         (FUTEXFS_SUPER_MAGIC): Likewise.
9419         (HOSTFS_SUPER_MAGIC): Likewise.
9420         (HUGETLBFS_MAGIC): Likewise.
9421         (MINIX3_SUPER_MAGIC): Likewise.
9422         (MTD_INODE_FS_MAGIC): Likewise.
9423         (NILFS_SUPER_MAGIC): Likewise.
9424         (OPENPROM_SUPER_MAGIC): Likewise.
9425         (PIPEFS_MAGIC): Likewise.
9426         (PSTOREFS_MAGIC): Likewise.
9427         (QNX6_SUPER_MAGIC): Likewise.
9428         (RAMFS_MAGIC): Likewise.
9429         (REISERFS_SUPER_MAGIC_STRING): Likewise.
9430         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
9431         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
9432         (SECURITYFS_MAGIC): Likewise.
9433         (SELINUX_MAGIC): Likewise.
9434         (SMACK_MAGIC): Likewise.
9435         (SOCKFS_MAGIC): Likewise.
9436         (SQUASHFS_MAGIC): Likewise.
9437         (STACK_END_MAGIC): Likewise.
9438         (TMPFS_MAGIC): Likewise.
9439         (USBDEVICE_SUPER_MAGIC): Likewise.
9440         (V9FS_MAGIC): Likewise.
9441         (XENFS_SUPER_MAGIC): Likewise.
9442         (CRAMFS_MAGIC): Fix typo in comment.
9443         (EXT2_SUPER_MAGIC): Update comment.
9444         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
9445
9446 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
9447
9448         * sysdeps/arm: Move directory from ports/sysdeps/arm.
9449         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
9450         * sysdeps/unix/sysv/linux/arm: Move directory from
9451         ports/sysdeps/unix/sysv/linux/arm.
9452         * README: Update listing for arm-*-linux-gnueabi.
9453
9454         * README: Remove mention of am33.
9455
9456 2014-02-07  Roland McGrath  <roland@hack.frob.com>
9457
9458         * bits/sigset.h (__sigemptyset): Use a statement expression rather
9459         than the comma operator, to avoid "rhs of comma has no effect"
9460         compiler warnings.
9461         (__sigfillset, __sigandset, __sigorset): Likewise.
9462         * include/signal.h (__sigemptyset): Likewise.
9463         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
9464
9465 2014-02-07  Allan McRae  <allan@archlinux.org>
9466
9467         * version.h (RELEASE): Set to "development".
9468         (VERSION): Set to "2.19.90"
9469         * NEWS: Add 2.20 section.
9470
9471 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
9472
9473         [BZ #16529]
9474         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
9475
9476 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
9477
9478         * manual/contrib.texi: Update entry for Carlos O'Donell,
9479         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
9480
9481 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
9482
9483         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
9484
9485         * sysdeps/unix/sysv/linux/kernel-features.h
9486         [__LINUX_KERNEL_VERSION >= 0x020621]
9487         (__ASSUME_PROC_PID_TASK_COMM): Define.
9488
9489 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9490
9491         [BZ #16398]
9492         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
9493         conversion when destination buffer does not have enough space.
9494         * libio/tst-ftell-partial-wide.c: New test case.
9495         * libio/Makefile (tests): Add tst-ftell-partial-wide.
9496
9497         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
9498         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
9499         Leonard and Allan McRae.
9500
9501 2014-02-04  David S. Miller  <davem@davemloft.net>
9502
9503         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
9504         32-bit.
9505
9506 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9507
9508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9509         New file
9510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9511         New file
9512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9513         New file.
9514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9515         New file.
9516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9517         New file.
9518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9519         New file.
9520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9521         New file.
9522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9523         New file.
9524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9525         New file.
9526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9527         New file.
9528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9529         New file.
9530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9531         New file.
9532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9533         New file.
9534
9535 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9536
9537         * nptl/shlib-versions: Change powerpc*le start to 2.17.
9538         * shlib-versions: Likewise.
9539
9540 2014-02-04  Roland McGrath  <roland@hack.frob.com>
9541             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9542
9543         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
9544         (abilist-pattern): New variable, set to %-le.abilist.
9545
9546         * Makerules (abilist-pattern): New variable.
9547         (vpath): Use $(abilist-pattern) in place of %.abilist.
9548         (check-abi-% pattern rule): Likewise.
9549         (check-abi, update-abi): Likewise.
9550
9551 2014-02-04  Eric Wong  <normalperson@yhbt.net>
9552
9553         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9554
9555 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
9556
9557         * manual/startup.texi: Add next, previous, and top entries for
9558         the `Program Arguments' and `Environment Variables' nodes.
9559
9560 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
9561
9562         * manual/macros.texi: Add comments before MTASC-safety macros.
9563
9564         * manual/users.texi: Document MTASC-safety properties.
9565
9566         * manual/threads.texi (pthread_key_create, pthread_key_delete)
9567         (pthread_getspecific, pthread_setspecific): Format with
9568         @deftypefun, and add @safety note.
9569         * manual/signal.texi: Move comments that analyze the above
9570         functions to their home place.
9571
9572 2014-02-03  Allan McRae  <allan@archlinux.org>
9573
9574         * po/sl.po: Update Slovenian translation from translation project.
9575
9576 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
9577
9578         * manual/time.texi (timegm): Add missing blank after @c.
9579         Reported by Joseph Myers <joseph@codesourcery.com>.
9580
9581 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
9582
9583         * manual/check-safety.sh: New.
9584         * manual/Makefile ($(objpfx)stamp-summary): Run it.
9585
9586         * manual/terminal.texi: Document MTASC-safety properties.
9587
9588         * manual/filesys.texi: Document MTASC-safety properties.
9589
9590         * manual/errno.texi: Document MTASC-safety properties.
9591
9592         * manual/intro.texi: Document safety identifiers and
9593         conditionals.
9594
9595         * manual/string.texi (wcstok): Fix prototype.
9596         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
9597
9598         * manual/time.texi: Document MTASC-safety properties.
9599
9600         * manual/string.texi: Document MTASC-safety properties.
9601
9602         * manual/threads.texi: Document MTASC-safety properties.
9603
9604         * manual/stdio.texi: Document MTASC-safety properties.
9605
9606         * manual/syslog.texi: Document MTASC-safety properties.
9607
9608         * manual/sysinfo.texi: Document MTASC-safety properties.
9609
9610         * manual/startup.texi: Document MTASC-safety properties.
9611
9612         * manual/socket.texi: Document MTASC-safety properties.
9613
9614         * manual/signal.texi: Document MTASC-safety properties.
9615
9616 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
9617
9618         * manual/setjmp.texi: Document MTASC-safety properties.
9619
9620         * manual/search.texi: Document MTASC-safety properties.
9621
9622         * manual/resource.texi: Document MTASC-safety properties.
9623
9624         * manual/process.texi: Document MTASC-safety properties.
9625
9626         * manual/platform.texi: Document MTASC-safety properties.
9627
9628         * manual/pipe.texi: Document MTASC-safety properties.
9629
9630         * manual/pattern.texi: Document MTASC-safety properties.
9631
9632         * manual/message.texi: Document MTASC-safety properties.
9633
9634         [BZ #12751]
9635         * manual/memory.texi: Document MTASC-safety properties.
9636
9637         * manual/math.texi: Document MTASC-safety properties.
9638
9639         * manual/locale.texi: Document MTASC-safety properties.
9640
9641         * manual/llio.texi: Document MTASC-safety properties.
9642
9643         * manual/libdl.texi: New.
9644
9645         * manual/lang.texi: Document MTASC-safety properties.
9646
9647         * manual/job.texi: Document MTASC-safety properties.
9648
9649         * manual/getopt.texi: Document MTASC-safety properties.
9650
9651         * manual/ctype.texi: Document MTASC-safety properties.
9652
9653 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
9654
9655         [BZ #16046]
9656         * csu/libc-tls.c (static_map): Remove variable.
9657         (__libc_setup_tls): Use main executable's link map for TLS data.
9658         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
9659         casing for LM_ID_BASE and GL(dl_nns).
9660         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
9661         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
9662         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
9663         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
9664         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
9665         member.
9666         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
9667         l_phnum members.
9668
9669 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
9670
9671         * manual/debug.texi: Document MTASC-safety properties.
9672
9673 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
9674
9675         [BZ #16510]
9676         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
9677         of __x86_64__ when disabling x87 inline functions.
9678
9679 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
9680
9681         * manual/charset.texi: Document MTASC-safety properties.
9682
9683         * manual/crypt.texi: Document MTASC-safety properties.
9684
9685         * manual/conf.texi: Document MTASC-safety properties.
9686
9687         * manual/arith.texi: Document MTASC-safety properties.
9688
9689         * manual/argp.texi: Document MTASC-safety properties.
9690
9691         * manual/macros.texi: Introduce macros to document multi
9692         thread, asynchronous signal and asynchronous cancellation
9693         safety properties.
9694         * manual/intro.texi: Introduce the properties themselves.
9695
9696 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9697
9698         * sysdeps/sh/sh4/Makefile: New file.
9699
9700 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
9701
9702         * math/gen-libm-test.pl ($srcdir): New variable.
9703         ($auto_input): Use it.
9704
9705 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9706
9707         [BZ #16506]
9708         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
9709         access beyond array bounds when parsing netgroups file.
9710
9711         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
9712         the old buffer before realloc.
9713
9714 2014-01-27  Allan McRae  <allan@archlinux.org>
9715
9716         * po/fr.po: Update French translation from translation project.
9717
9718 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9719
9720         * sysdeps/sh/libm-test-ulps: Regenerate.
9721
9722 2014-01-24  David S. Miller  <davem@davemloft.net>
9723
9724         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
9725
9726 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9727
9728         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
9729         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
9730
9731 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9732
9733         [BZ #16474]
9734         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
9735         string pointers after reallocation.
9736
9737 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9738
9739         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
9740         __SH4A__ instead of __SH_FPU_ANY__.
9741
9742 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9743
9744         * sysdeps/sh/fpu_control.h: New file.
9745         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
9746         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
9747         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
9748         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
9749         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
9750         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
9751         * sysdeps/sh/sys/ucontext.h: Remove.
9752         * sysdeps/sh/sys: Remove directory.
9753
9754 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9755
9756         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
9757         s390/sys/ucontext.h.
9758         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
9759         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
9760
9761 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
9762
9763         [BZ #15605]
9764         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
9765
9766 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9767
9768         [BZ#16431]
9769         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9770         Adjust the vDSO correctly for internal calls.
9771         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
9772
9773 2014-01-20  Allan McRae  <allan@archlinux.org>
9774
9775         * po/ca.po: Update Catalan translation from translation project.
9776
9777 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
9778
9779         * sysdeps/s390/sotruss-lib.c: New file.
9780
9781 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9782
9783         [BZ#16430]
9784         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
9785         (__GI___gettimeofday): Alias for a different internal symbol to avoid
9786         local calls issues by not having a PLT stub required for IFUNC calls.
9787         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
9788
9789 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
9790
9791         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
9792         * math/test-fpucw-static.c: Likewise.
9793
9794 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9795
9796         [BZ #16453]
9797         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
9798
9799 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9800
9801         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
9802         implementation for powerpc.
9803
9804 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
9805
9806         [BZ #14782]
9807         * sysdeps/posix/system.c (__libc_system): Do not enable
9808         asynchronous cancellation.
9809
9810 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9811
9812         [BZ #16427]
9813         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
9814         handling only for numbers special also in the IEEE case.
9815
9816 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9817
9818         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9819
9820 2014-01-11  Allan McRae  <allan@archlinux.org>
9821
9822         * po/bg.po: Update Bulgarian translation from translation project.
9823
9824         * po/de.po: Update German translation from translation project.
9825
9826 2014-01-10  Roland McGrath  <roland@hack.frob.com>
9827
9828         * sysdeps/generic/gcc-compat.h: New file.
9829
9830 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9831
9832         * benchtests/asin-inputs: Correct slow inputs.
9833         * benchtests/acos-inputs: Likewise.
9834
9835 2014-01-10  Allan McRae  <allan@archlinux.org>
9836
9837         * po:sv.po: Update Swedish translation from translation project.
9838
9839         * po/vi.po: Update Vietnamese translation from translation project.
9840
9841         * po/eo.po: Update Esperanto translation from translation project.
9842
9843         * po/cs.po: Update Czech translation from translation project.
9844
9845         * po/nl.po: Update Dutch translation from translation project.
9846
9847         * po/pl.po: Update Polish translation from translation project.
9848
9849         * po/ru.po: Update Russian translation from translation project.
9850
9851         * po/uk.po: Update Ukrainian translation from translation project.
9852
9853 2014-01-08  Brooks Moses  <bmoses@google.com>
9854
9855         * elf/dl-load.c: Fix comment typo.
9856
9857 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
9858
9859         * po/header.pot: Rename to...
9860         * po/pot.header: ... this.
9861         * po/Makefile: Use pot.header.
9862
9863 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
9864             Maxim Kuvyrkov  <maxim@kugelworks.com>
9865
9866         [BZ #16394]
9867         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
9868         SRC and DEST against LEN.
9869
9870 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9871
9872         [BZ #16414]
9873         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
9874         implementation.
9875         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
9876
9877 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9878
9879         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9880
9881 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
9882
9883         [BZ #16408]
9884         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
9885         for large positive arguments.
9886
9887 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
9888
9889         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9890
9891         * math/auto-libm-test-in: Mark various tests with
9892         xfail-rounding:ldbl-128ibm.
9893         * math/auto-libm-test-out: Regenerated.
9894
9895         [BZ #16407]
9896         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9897         Increase overflow threshold.
9898
9899 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
9900
9901         [BZ #14286]
9902         * stdio-common/vfprintf.c: Check for integer overflow.
9903
9904 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9905
9906         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
9907         the first argument and return value of __tls_get_addr_internal.
9908
9909 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9910
9911         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
9912         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
9913
9914 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9915
9916         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
9917         * sysdeps/s390/rtld-global-offsets.sym: New file.
9918         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
9919         GLIBC_2.19 symbol.
9920         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
9921         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
9922         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9923         ... this.
9924         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
9925         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9926         ... this.
9927         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9928         Regenerate.
9929         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9930         Regenerate.
9931         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
9932         halfs of GPRs for high_gprs contexts.
9933         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
9934         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
9935         field.
9936         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
9937         uc_flags field.
9938         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
9939         64 bit versions:
9940         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
9941         for high GPRs (uc_high_gprs) and for future extensions
9942         (__reserved).
9943         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
9944         for future extensions (__reserved).
9945         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
9946         64 bit versions:
9947         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
9948         SC_HIGHGPRS offset definition.
9949         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
9950         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
9951
9952         * Versions.def: Add GLIBC_2.19 for libpthread.
9953         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
9954         siglongjmp for libpthread with GLIBC_2.19 symver.
9955         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
9956         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
9957         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
9958         * sysdeps/s390/__longjmp.c: New file.
9959         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
9960         * sysdeps/s390/longjmp.c: New file.
9961         * sysdeps/s390/setjmp.S: New file.
9962         * sysdeps/s390/sigjmp.S: New file.
9963         * sysdeps/s390/v1-longjmp.c: New file.
9964         * sysdeps/s390/v1-setjmp.h: New file.
9965         * sysdeps/s390/v1-sigjmp.c: New file.
9966         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
9967         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
9968         GLIBC_2.19 version.
9969         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
9970         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
9971         versioned symbols for ____longjmp_chk.
9972         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9973         Likewise.
9974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
9975         Regenerate.
9976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9977         Regenerate.
9978         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
9979         Regenerate.
9980         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9981         Regenerate.
9982         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
9983         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
9984         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
9985         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
9986         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
9987         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
9988         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
9989         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
9990         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
9991         * sysdeps/s390/rtld-__longjmp.c: New file.
9992         * sysdeps/s390/rtld-setjmp.S: New file.
9993
9994 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
9995
9996         [BZ #16400]
9997         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9998         Return -__logl (x) for small positive arguments without evaluating
9999         a polynomial.
10000
10001 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
10002
10003         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
10004         Rename to ...
10005         (__ptrace_peeksiginfo_args): ... this.
10006         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
10007         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
10008         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
10009
10010 2014-01-06  Allan McRae  <allan@archlinux.org>
10011
10012         * inet/netinet/in.h: Fix typo in comment.
10013
10014 2014-01-05  Andreas Jaeger  <aj@suse.de>
10015
10016         * sysdeps/i386/fpu/libm-test-ulps: Update.
10017
10018 2014-01-05  Allan McRae  <allan@archlinux.org>
10019
10020         * po/libc.pot: Regenerated.
10021
10022         * malloc/memusagestat.c: Fix gettext call formatting.
10023
10024 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
10025
10026         * nscd/nscd.c: Improve usage() output.
10027
10028 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
10029
10030         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
10031         * sysdeps/unix/sysv/linux/configure: Regenerated.
10032         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
10033         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
10034
10035 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10036
10037         [BZ #16390]
10038         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10039         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
10040
10041 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10042
10043         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
10044         extra tokens at end of #undef directive.
10045         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
10046         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
10047         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
10048
10049 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
10050
10051         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10052
10053         * math/auto-libm-test-in: Mark various tests with
10054         xfail-rounding:ldbl-128ibm.
10055         * math/auto-libm-test-out: Regenerated.
10056
10057 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
10058
10059         [BZ #16386]
10060         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
10061         numbers with subnormal high part when calculating exponent.
10062
10063         [BZ #16385]
10064         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
10065         fabs.
10066
10067         [BZ #16384]
10068         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
10069         M_LN2l.
10070         (__ieee754_acoshl): Use __log1pl not __log1p.
10071
10072 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
10073
10074         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
10075         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
10076         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
10077         (grow_heap, heap_trim, _int_new_arena, get_free_list)
10078         (reused_arena, arena_get2): Convert to GNU style.
10079         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
10080         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
10081         (memalign_check, __malloc_set_state): Likewise.
10082         * malloc/mallocbug.c (main): Likewise.
10083         * malloc/malloc.c (__malloc_assert, malloc_init_state)
10084         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
10085         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
10086         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
10087         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
10088         (__posix_memalign, malloc_info): Likewise.
10089         * malloc/malloc.h: Likewise.
10090         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
10091         (mallochook, memalignhook, reallochook, mabort): Likewise.
10092         * malloc/mcheck.h: Likewise.
10093         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
10094         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
10095         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
10096         * malloc/morecore.c (__default_morecore): Likewise.
10097         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
10098         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
10099         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
10100         (print_and_abort): Likewise.
10101         * malloc/obstack.h: Likewise.
10102         * malloc/set-freeres.c (__libc_freeres): Likewise.
10103         * malloc/tst-mallocstate.c (main): Likewise.
10104         * malloc/tst-mtrace.c (main): Likewise.
10105         * malloc/tst-realloc.c (do_test): Likewise.
10106
10107 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
10108
10109         [BZ #16366]
10110         * nscd/netgroupcache.c (do_notfound): New function.
10111         (addgetnetgrentX): Use it.
10112
10113         [BZ # 16365]
10114         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
10115         NSS_STATUS_NOTFOUND.
10116
10117 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
10118
10119         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
10120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10121
10122 2014-01-01  Allan McRae  <allan@archlinux.org>
10123
10124         * scripts/update-copyrights: Update configure input file suffix.
10125
10126         * NEWS: Update copyright year.
10127         * catgets/gencat.c: Likewise.
10128         * csu/version.c: Likewise.
10129         * debug/catchsegv.sh: Likewise.
10130         * debug/pcprofiledump.c: Likewise.
10131         * debug/xtrace.sh: Likewise.
10132         * elf/ldconfig.c: Likewise.
10133         * elf/ldd.bash.in: Likewise.
10134         * elf/pldd.c: Likewise.
10135         * elf/sotruss.ksh: Likewise.
10136         * elf/sprof.c: Likewise.
10137         * iconv/iconv_prog.c: Likewise.
10138         * iconv/iconvconfig.c: Likewise.
10139         * locale/programs/locale.c: Likewise.
10140         * locale/programs/localedef.c: Likewise.
10141         * login/programs/pt_chown.c: Likewise.
10142         * malloc/memusage.sh: Likewise.
10143         * malloc/memusagestat.c: Likewise.
10144         * malloc/mtrace.pl: Likewise.
10145         * manual/libc.texinfo: Likewise.
10146         * nscd/nscd.c: Likewise.
10147         * nss/getent.c: Likewise.
10148         * nss/makedb.c: Likewise.
10149         * posix/getconf.c: Likewise.
10150         * scripts/test-installation.pl: Likewise.
10151
10152         * All files with FSF copyright notices: Update copyright dates
10153         using scripts/update-copyrights.
10154         * intl/plural.c: Regenerated.
10155         * locale/programs/charmap-kw.h: Likewise.
10156         * locale/programs/locfile-kw.h: Likewise.
10157
10158 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
10159
10160         * sysdeps/unix/sysv/linux/configure: Regenerated.
10161         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
10162         the linux/fanotify.h header.
10163         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
10164         HAVE_LINUX_FANOTIFY_H is defined.
10165
10166 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
10167
10168         * benchtests/cos-inputs: New inputs.
10169         * benchtests/sin-inputs: Likewise.
10170
10171         * benchtests/atan-inputs: New inputs. Fix name of multiple
10172         precision fallback inputs.
10173
10174         * benchtests/atanh-inputs: New inputs.
10175         * benchtests/tanh-inputs: Likewise.
10176
10177         * benchtests/acosh-inputs: New inputs.
10178         * benchtests/asinh-inputs: Likewise.
10179
10180         * benchtests/cosh-inputs: New inputs.
10181         * benchtests/sinh-inputs: Likewise.
10182
10183         * benchtests/acos-inputs: Add more inputs.
10184         * benchtests/asin-inputs: Likewise.
10185
10186 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
10187
10188         [BZ #16375]
10189         * manual/arith.texi: Fix spelling.
10190         * manual/charset.texi: Likewise.
10191         * manual/errno.texi: Likewise.
10192         * manual/filesys.texi: Likewise.
10193         * manual/lang.texi: Likewise.
10194         * manual/llio.texi: Likewise.
10195         * manual/locale.texi: Likewise.
10196         * manual/message.texi: Likewise.
10197         * manual/resource.texi: Likewise.
10198         * manual/search.texi: Likewise.
10199         * manual/setjmp.texi: Likewise.
10200         * manual/stdio.texi: Likewise.
10201         * manual/string.texi: Likewise.
10202         * manual/sysinfo.texi: Likewise.
10203         * manual/time.texi: Likewise.
10204
10205 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
10206
10207         * po/sl.po: New file.
10208
10209 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
10210
10211         * .gitignore: Add core/.gdbinit/.gdb_history.
10212
10213 2013-12-27  Allan McRae  <allan@archlinux.org>
10214
10215         [BZ #16369]
10216         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
10217         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
10218
10219 2013-12-24  Brooks Moses  <bmoses@google.com>
10220
10221         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
10222         all compilers that claim C++98 compliance, not just GCC.
10223         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
10224         Likewise.
10225
10226 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10227
10228         * NEWS: Restore accidentally deleted bug-fix entries.
10229
10230 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
10231             Ondřej Bílka  <neleai@seznam.cz>
10232
10233         [BZ #15073]
10234         * malloc/malloc.c (_int_free): Perform sanity check only if we
10235         have_lock.
10236
10237 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
10238
10239         [BZ #12986]
10240         * manual/stdio.texi (String Input Conversions): Clarify that character
10241         classes are not supported.
10242
10243 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10244
10245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10246
10247 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
10248
10249         [BZ #16337]
10250         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
10251         Calculate results for small negative arguments directly rather
10252         than using reflection formula with special underflow handling.
10253
10254         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
10255         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
10256         sysdeps/unix/bsd/bsd4.4/syscalls.list.
10257         (fchflags): Likewise.
10258         (revoke): Likewise.
10259         (setlogin): Likewise.
10260         (sigaltstack): Likewise.
10261         (wait4): Likewise.
10262         (sigblock): Remove.
10263         (sigsetmask): Likewise.
10264         (wait3): Likewise.
10265         (waitpid): Likewise.
10266         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
10267         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
10268         file.
10269         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
10270         * sysdeps/unix/bsd/Makefile: ... here.
10271         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
10272         * sysdeps/unix/bsd/Versions: ... here.
10273         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
10274         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
10275         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
10276         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
10277         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
10278         * sysdeps/unix/bsd/sigblock.c: ... here.
10279         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
10280         * sysdeps/unix/bsd/sigsetmask.c: ... here.
10281         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
10282         * sysdeps/unix/bsd/sigvec.c: ... here.
10283         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
10284         * sysdeps/unix/bsd/tcdrain.c: ... here.
10285         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
10286         * sysdeps/unix/bsd/tcgetattr.c: ... here.
10287         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
10288         * sysdeps/unix/bsd/tcsetattr.c: ... here.
10289         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
10290         * sysdeps/unix/bsd/wait.c: ... here.
10291         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
10292         * sysdeps/unix/bsd/wait3.c: ... here.
10293         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
10294         * sysdeps/unix/bsd/waitpid.c: ... here.
10295
10296 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
10297
10298         [BZ #16356]
10299         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
10300         round-to-nearest for [!USE_AS_EXPM1L].
10301         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10302         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
10303         more tests of exp and exp10.  Expect some exp10 tests to miss
10304         exceptions or fail in directed rounding modes.
10305         * math/auto-libm-test-out: Regenerated.
10306         * math/libm-test.inc (exp10_tonearest_test_data): New array.
10307         (exp10_test_tonearest): New function.
10308         (exp10_towardzero_test_data): New array.
10309         (exp10_test_towardzero): New function.
10310         (exp10_downward_test_data): New array.
10311         (exp10_test_downward): New function.
10312         (exp10_upward_test_data): New array.
10313         (exp10_test_upward): New function.
10314         (main): Call the new functions.
10315         * sysdeps/i386/fpu/libm-test-ulps: Update.
10316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10317
10318 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
10319
10320         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
10321         asinh, atan, atan2, atanh, cbrt, cos and cosh.
10322         * math/auto-libm-test-out: Regenerated.
10323         * math/libm-test.inc (acosh_test_data): Add more tests.
10324         (atanh_test_data): Likewise.
10325         (ceil_test_data): Likewise.
10326         (copysign_test_data): Likewise.
10327         * sysdeps/i386/fpu/libm-test-ulps: Update.
10328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10329
10330         * timezone/checktab.awk: Update from tzcode 2013i.
10331         * timezone/private.h: Likewise.
10332         * timezone/scheck.c: Likewise.
10333         * timezone/tzfile.h: Likewise.
10334         * timezone/tzselect.ksh: Likewise.
10335         * timezone/zdump.c: Likewise.
10336         * timezone/zic.c: Likewise.
10337
10338         * math/auto-libm-test-in: Add tests of cpow.
10339         * math/auto-libm-test-out: Regenerated.
10340         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
10341         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10342         mpc_cc_c.
10343         (func_calc_desc): Add mpc_cc_c union field.
10344         (test_functions): Add cpow.
10345         (special_fill_2pi): New function.
10346         (special_real_inputs): Add 2pi.
10347         (calc_generic_results): Handle mpc_cc_c.
10348         * sysdeps/i386/fpu/libm-test-ulps: Update.
10349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10350
10351         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
10352         csqrt, ctan and ctanh.
10353         * math/auto-libm-test-out: Regenerated.
10354         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10355         (TEST_COND_x86): Likewise.
10356         (ccos_test_data): Use AUTO_TESTS_c_c.
10357         (ccosh_test_data): Likewise.
10358         (cexp_test_data): Likewise.
10359         (clog_test_data): Likewise.
10360         (csqrt_test_data): Likewise.
10361         (ctan_test_data): Likewise.
10362         (ctan_tonearest_test_data): Likewise.
10363         (ctan_towardzero_test_data): Likewise.
10364         (ctan_downward_test_data): Likewise.
10365         (ctan_upward_test_data): Likewise.
10366         (ctanh_test_data): Likewise.
10367         (ctanh_tonearest_test_data): Likewise.
10368         (ctanh_towardzero_test_data): Likewise.
10369         (ctanh_downward_test_data): Likewise.
10370         (ctanh_upward_test_data): Likewise.
10371         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10372         mpc_c_c.
10373         (func_calc_desc): Add mpc_c_c union field.
10374         (FUNC_mpc_c_c): New macro.
10375         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
10376         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
10377         ctanh.
10378         (special_fill_min_subnorm_p120): New function.
10379         (special_real_inputs): Add min_subnorm_p120.
10380         (calc_generic_results): Handle mpc_c_c.
10381         * sysdeps/i386/fpu/libm-test-ulps: Update.
10382         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10383
10384 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
10385
10386         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
10387         (do_sin_slow): New functions.
10388         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
10389         (cslow2, csloww1, csloww2): Use the new functions.
10390
10391         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
10392         Use M to change sign of result instead of X.  Assume X is
10393         positive.
10394         (csloww1): Likewise.
10395         (__sin): Adjust.
10396         (__cos): Adjust.
10397
10398         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
10399         arguments A and DA.
10400         (__sin): Adjust.
10401         (__cos): Likewise.
10402
10403         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
10404         (__cos): Likewise.
10405         (sloww1): Don't adjust sign of DX.
10406         (csloww1): Likewise.
10407         (sloww2): Use X directly and don't adjust sign of DX.
10408         (csloww2): Likewise.
10409
10410 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10411
10412         * math/auto-libm-test-in: Add tests of cabs and carg.
10413         * math/auto-libm-test-out: Regenerated.
10414         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
10415         (carg_test_data): Likewise.
10416         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10417         mpc_c_f.
10418         (func_calc_desc): Add mpc_c_f union field.
10419         (test_functions): Add cabs and carg.
10420         (calc_generic_results): Handle mpc_c_f.
10421
10422         * sysdeps/powerpc/powerpc32/libgcc-compat.S
10423         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
10424         as a macro and a compat symbol.
10425         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
10426         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
10427         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
10428         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
10429         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
10430         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
10431         not use .hidden.
10432         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
10433         Likewise.
10434         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
10435         Likewise.
10436         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
10437         Likewise.
10438         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
10439         Likewise.
10440         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
10441         Likewise.
10442         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
10443         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
10444         from GLIBC_2.3.2.
10445
10446 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10447
10448         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10449
10450 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10451
10452         * manual/texinfo.tex: Update to version 2013-11-26.10 with
10453         trailing whitespace removed.
10454         * scripts/config.guess: Update to version 2013-11-29.
10455         * scripts/config.sub: Update to version 2013-10-01.
10456
10457         * math/auto-libm-test-in: Add tests of sincos.
10458         * math/auto-libm-test-out: Regenerated.
10459         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
10460         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10461         mpfr_f_11.
10462         (func_calc_desc): Add mpfr_f_11 union field.
10463         (test_functions): Add sincos.
10464         (calc_generic_results): Handle mpfr_f_11.
10465         * sysdeps/i386/fpu/libm-test-ulps: Update.
10466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10467
10468 2013-12-19  Andreas Schwab  <schwab@suse.de>
10469
10470         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
10471         CALL_MCOUNT.
10472         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
10473         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
10474         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
10475
10476 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
10477
10478         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
10479         * sysdeps/i386/fpu/libm-test-ulps: Update.
10480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10481
10482         [BZ #16293]
10483         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
10484         round-to-nearest mode when using frndint.
10485         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
10486         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
10487         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
10488         Likewise.
10489         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
10490         sinh test to fail.
10491         * math/auto-libm-test-out: Regenerated.
10492         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
10493         (TEST_COND_x86): Likewise.
10494         (expm1_tonearest_test_data): New array.
10495         (expm1_test_tonearest): New function.
10496         (expm1_towardzero_test_data): New array.
10497         (expm1_test_towardzero): New function.
10498         (expm1_downward_test_data): New array.
10499         (expm1_test_downward): New function.
10500         (expm1_upward_test_data): New array.
10501         (expm1_test_upward): New function.
10502         (main): Run the new test functions.
10503         * sysdeps/i386/fpu/libm-test-ulps: Update.
10504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10505
10506         * include/features.h: Update comment documenting feature test
10507         macros.  Mention _DEFAULT_SOURCE in comment.
10508         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
10509         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
10510         _BSD_SOURCE and _SVID_SOURCE.
10511         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
10512         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
10513         !_SVID_SOURCE]: Likewise.
10514         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10515         (__USE_POSIX_IMPLICITLY): Define.
10516         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10517         (_POSIX_SOURCE): Undefine and redefine.
10518         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
10519         (_POSIX_C_SOURCE): Likewise.
10520         * manual/creature.texi (_DEFAULT_SOURCE): Document.
10521         (Feature Test Macros): Update documentation of default features.
10522
10523 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10524
10525         * benchtests/Makefile: Add bench-strtok.
10526         * benchtests/bench-strtok.c: New file: strtok benchtest.
10527
10528 2013-12-19  Allan McRae  <allan@archlinux.org>
10529
10530         * manual/install.texi: Suppress menu for plain text output.
10531         * INSTALL: Regenerated.
10532
10533 2013-12-18  Brooks Moses  <bmoses@google.com>
10534
10535         [BZ #15846]
10536         * misc/getauxval.c: Include errno.h.
10537         (__getauxval): Set errno to ENOENT if the requested type is not
10538         found.
10539         * misc/sys/auxv.h (getauxval): Document that it may set errno;
10540         don't declare with __attribute_const__.
10541         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
10542         * manual/startup.texi: Document that getauxval sets errno.
10543
10544 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10545
10546         * math/auto-libm-test-in: Add tests of jn and yn.
10547         * math/auto-libm-test-out: Regenerated.
10548         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
10549         (yn_test_data): Likewise.
10550         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10551         mpfr_if_f.
10552         (func_calc_desc): Add mpfr_if_f union field.
10553         (FUNC_mpfr_if_f): New macro.
10554         (test_functions): Add jn and yn.
10555         (calc_generic_results): Assert type of second input for
10556         mpfr_ff_f.  Handle mpfr_if_f.
10557         (output_for_one_input_case): Disable all checking for arguments
10558         fitting floating-point types in case of an integer argument.
10559         * sysdeps/i386/fpu/libm-test-ulps: Update.
10560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10561
10562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10563         Don't expect fegetround reference in libm.so.
10564
10565 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
10566
10567         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
10568         $(config-cflags-nofma).
10569
10570 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
10571
10572         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
10573         * math/auto-libm-test-out: Regenerated.
10574
10575         [BZ #16338]
10576         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
10577         to determine exponent and adjust argument to have exponent of -1.
10578         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10579         log2.
10580         * math/auto-libm-test-out: Regenerated.
10581         * sysdeps/i386/fpu/libm-test-ulps: Update.
10582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10583
10584 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
10585
10586         * manual/probes.texi: Remove cases when per-thread arenas are
10587         disabled.
10588
10589 2013-12-18  Andreas Schwab  <schwab@suse.de>
10590
10591         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
10592         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
10593         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
10594         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
10595         * sysdeps/i386/i686/multiarch/Makefile: Update.
10596         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
10597
10598 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10599
10600         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
10601         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
10602
10603 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
10604
10605         [BZ #15968]
10606         Support TZ transition times < 00:00:00.
10607         This is needed for version-3 tz-format files; it supports time
10608         stamps past 2037 for America/Godthab (the only entry in the tz
10609         database for which this change is relevant).
10610         * manual/time.texi (TZ Variable): Document transition times
10611         from -167:59:59 through -00:00:01.
10612         * time/tzset.c (tz_rule): Time of day is now signed.
10613         (__tzset_parse_tz): Parse negative time of day.
10614
10615         Document TZ transition times >= 25:00:00.
10616         * manual/time.texi (TZ Variable): Document transition times from
10617         25:00:00 through 167:59:59.  These are already supported, and this
10618         support will help with version-3 tz-format files.
10619
10620         * manual/time.texi (TZ Variable): Modernize North America example
10621         to reflect current (i.e., 2007-and-later) daylight saving rules.
10622
10623         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
10624
10625 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10626
10627         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
10628         * sysdeps/unix/bsd/bits/stat.h: Likewise.
10629         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
10630         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
10631         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
10632         * sysdeps/unix/bsd/bsdstat.h: Likewise.
10633         * sysdeps/unix/bsd/clock.c: Likewise.
10634         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
10635         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
10636         * sysdeps/unix/bsd/init-posix.c: Likewise.
10637         * sysdeps/unix/bsd/poll.c: Likewise.
10638         * sysdeps/unix/bsd/ptsname.c: Likewise.
10639         * sysdeps/unix/bsd/seekdir.c: Likewise.
10640         * sysdeps/unix/bsd/setegid.c: Likewise.
10641         * sysdeps/unix/bsd/seteuid.c: Likewise.
10642         * sysdeps/unix/bsd/setgid.c: Likewise.
10643         * sysdeps/unix/bsd/setrgid.c: Likewise.
10644         * sysdeps/unix/bsd/setruid.c: Likewise.
10645         * sysdeps/unix/bsd/setsid.c: Likewise.
10646         * sysdeps/unix/bsd/setuid.c: Likewise.
10647         * sysdeps/unix/bsd/sigaction.c: Likewise.
10648         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
10649         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
10650         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
10651         * sysdeps/unix/bsd/telldir.c: Likewise.
10652         * sysdeps/unix/bsd/times.c: Likewise.
10653         * sysdeps/unix/bsd/usleep.c: Likewise.
10654
10655         * misc/Makefile (install-lib): Remove libbsd-compat.a.
10656         ($(objpfx)libbsd-compat.a): Remove rule.
10657
10658         * include/features.h (__FAVOR_BSD): Do not define.
10659         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
10660         features conflicting with POSIX.
10661         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
10662         (_BSD_SOURCE): Remove description of not being a subset of other
10663         feature test macros.
10664         * manual/job.texi (getpgrp): Do not document BSD version.
10665         (getpgid): Do not document by reference to BSD getpgrp.
10666         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
10667         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
10668         * signal/signal.h [__FAVOR_BSD]: Likewise.
10669         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
10670         instead of making contents conditional on [__FAVOR_BSD].
10671         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
10672
10673 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10674
10675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10676
10677 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
10678
10679         [BZ #16314]
10680         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
10681         values below 2**-450, not 2**-500.
10682         * math/auto-libm-test-in: Don't allow spurious underflow from
10683         hypot.
10684         * math/auto-libm-test-out: Regenerated.
10685
10686         [BZ #16316]
10687         [BZ #16330]
10688         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
10689         values of ha and hb and sort them after adjusting subnormal
10690         arguments.
10691         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10692         Likewise.
10693         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
10694         values of ea and eb and sort them after adjusting subnormal
10695         arguments.
10696         * math/auto-libm-test-in: Do not expect some hypot tests of
10697         subnormals to fail.  Add more hypot tests.
10698         * math/auto-libm-test-out: Regenerated.
10699
10700 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10701
10702         [BZ #13304]
10703         * sysdeps/sh/s_fma.c: New file.
10704         * sysdeps/sh/s_fmaf.c: New file.
10705         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
10706         version.
10707         * sysdeps/sh/Implies: Add sh/soft-fp.
10708
10709 2013-12-16  Roland McGrath  <roland@hack.frob.com>
10710
10711         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
10712         level of indirection to members `objname', `errstring', `malloced'.
10713         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
10714         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
10715         it as the __longjmp argument (just pass 1 instead).
10716         (_dl_catch_error): Initialize C with argument pointers and address of
10717         volatile local ERRCODE rather than copying values out of C at return.
10718
10719 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
10720
10721         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
10722         * math/auto-libm-test-out: Regenerated.
10723         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
10724         (hypot_test_data): Likewise.
10725         (pow_test_data): Likewise.
10726         (pow_tonearest_test_data): Likewise.
10727         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10728         mpfr_ff_f.
10729         (func_calc_desc): Add mpfr_ff_f union field.
10730         (FUNC_mpfr_ff_f): New macro.
10731         (test_functions): Add atan2, hypot and pow.
10732         (special_fill_min): New function.
10733         (special_fill_minus_min): Likewise.
10734         (special_fill_min_subnorm): Likewise.
10735         (special_fill_minus_min_subnorm): Likewise.
10736         (special_real_inputs): Add min, -min, min_subnorm and
10737         -min_subnorm.
10738         (calc_generic_results): Handle mpfr_ff_f.
10739         * sysdeps/i386/fpu/libm-test-ulps: Update.
10740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10741
10742 2013-12-16  Will Newton  <will.newton@linaro.org>
10743
10744         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
10745         (Aligned Memory Blocks): Add documentation for aligned_alloc
10746         and suggest it as an alternative to posix_memalign.
10747         (Hooks for Malloc): Document __memalign_hook is also called
10748         for aligned_alloc.  (Summary of Malloc): Add summary for
10749         aligned alloc.  Document __memalign_hook is also called
10750         for aligned_alloc.
10751
10752 2013-12-16  Will Newton  <will.newton@linaro.org>
10753
10754         * manual/memory.texi (Malloc Examples): Clarify default
10755         alignment documentation.  Suggest posix_memalign rather
10756         than memalign or valloc.
10757         (Aligned Memory Blocks): Remove suggestion to use memalign
10758         or valloc.  Remove obsolete comment about BSD.
10759         Document memalign errno values and mark the function obsolete.
10760         Document posix_memalign returned error codes.  Mark valloc
10761         as obsolete.  (Hooks for Malloc): __memalign_hook is also
10762         called for posix_memalign and valloc.
10763         (Summary of Malloc): Add posix_memalign to function summary.
10764         __memalign_hook is also called for posix_memalign and valloc.
10765
10766 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
10767
10768         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
10769         TAYLOR_SIN.
10770         (__sin): Adjust.
10771         (__cos): Likewise.
10772         (sloww): Use mynumber union.  Expand ternary operator into
10773         if-else statements.
10774         (cslow): use mynumber union.
10775
10776 2013-12-16  Allan McRae  <allan@archlinux.org>
10777
10778         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
10779         * configure: Regenerated.
10780
10781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
10782
10783         [BZ #14120]
10784         * configure.ac: Added --enable-maintainer-mode. Check for
10785         autoconf when enabled.
10786         * configure: Regenerated.
10787
10788         * nscd/nscd.service: New file.
10789         * nscd/nscd.tmpfiles: New file.
10790
10791 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
10792
10793         [BZ #12100]
10794         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
10795         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
10796         * sysdeps/x86_64/multiarch/strstr.c: ... here.
10797         (strstr): Add __strstr_sse2_unaligned ifunc.
10798         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
10799         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
10800         (strcasestr): Remove __strcasestr_sse42 ifunc.
10801         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
10802         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
10803         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
10804
10805 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10806
10807         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
10808         * sysdeps/sh/bits/fenv.h: ... here.
10809         * sysdeps/sh/sh4/fpu/bits: Remove directory.
10810
10811 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10812
10813         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
10814
10815         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
10816         hypotf multiarch implementations.
10817         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
10818         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
10819         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
10820         multiarch hypot for PPC64.
10821         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
10822         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
10823         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
10824         multiarch hypotf for PPC64.
10825
10826         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
10827         modff multiarch implementations.
10828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
10829         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
10830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
10831         multiarch modf for PPC64.
10832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
10833         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
10834         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
10835         multiarch modff for PPC64.
10836
10837         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
10838         and logl multiarch implementations.
10839         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
10840         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
10841         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
10842         multiarch logb for PPC64.
10843         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
10844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
10845         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
10846         multiarch logb for PPC64.
10847         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
10848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
10849         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
10850         multiarch logb for PPC64.
10851
10852         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
10853         isinff multiarch implementation.
10854         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
10855         file.
10856         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
10857         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
10858         multiarch isinf for PPC64.
10859         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
10860         file.
10861         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
10862         multiarch isinff for PPC64.
10863
10864         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
10865         finitef multiarch implementation.
10866         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
10867         file.
10868         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
10869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
10870         multiarch finite for PPC64.
10871         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
10872         file.
10873         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
10874         multiarch finitef for PPC64.
10875
10876         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
10877         lrint multiarch implementation.
10878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
10879         file.
10880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
10881         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
10882         multiarch llrint for PPC64.
10883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
10884         multiarch lrint for PPC64.
10885
10886         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
10887         copysignf multiarch implementation.
10888         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
10889         file.
10890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
10891         file.
10892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
10893         multiarch copysign for PPC64.
10894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
10895         multiarch copysignf for PPC64.
10896
10897         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
10898         multiarch implementation.
10899         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
10900         file.
10901         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
10902         file.
10903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
10904         file.
10905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
10906         file.
10907         multiarch llround for PPC64.
10908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
10909         multiarch trunc for PPC64.
10910         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
10911         multiarch truncf for PPC64.
10912
10913         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
10914         multiarch implementation.
10915         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
10916         file.
10917         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
10918         file.
10919         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
10920         file.
10921         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
10922         file.
10923         multiarch llround for PPC64.
10924         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
10925         multiarch round for PPC64.
10926         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
10927         multiarch roundf for PPC64.
10928
10929         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
10930         multiarch implementation.
10931         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
10932         file.
10933         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
10934         file.
10935         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
10936         file.
10937         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
10938         file.
10939         multiarch llround for PPC64.
10940         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
10941         multiarch floor for PPC64.
10942         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
10943         multiarch floorf for PPC64.
10944
10945         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
10946         multiarch implementation.
10947         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
10948         file.
10949         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
10950         file.
10951         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
10952         file.
10953         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
10954         file.
10955         multiarch llround for PPC64.
10956         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
10957         multiarch ceil for PPC64.
10958         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
10959         multiarch ceilf for PPC64.
10960
10961         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
10962         multiarch implementation.
10963         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
10964         file.
10965         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
10966         file.
10967         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
10968         file.
10969         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
10970         multiarch llround for PPC64.
10971         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
10972         multiarch lround for PPC64.
10973
10974         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
10975         multiarch implementation.
10976         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
10977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
10978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
10979         file.
10980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
10981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
10982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
10983         multiarch isnan for PPC64.
10984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
10985         multiarch isnanf for PPC64.
10986
10987         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
10988         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
10989         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
10990         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
10991         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
10992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
10993
10994         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
10995         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
10996         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
10997         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
10998
10999         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
11000         multiarch implementations.
11001         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11002         (__libc_ifunc_impl_list): Likewise.
11003         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
11004         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
11005         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
11006         multiarch stpcpy for PPC64.
11007
11008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
11009         multiarch implementations.
11010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11011         (__libc_ifunc_impl_list): Likewise.
11012         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
11013         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
11014         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
11015         multiarch strcpy for PPC64.
11016
11017         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
11018         redefine function name.
11019         (_wordcopy_fwd_dest_aligned): Likewise.
11020         (_wordcopy_bwd_aligned): Likewise.
11021         (_wordcopy_bwd_dest_aligned): Likewise.
11022         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
11023         multiarch implementations.
11024         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11025         (__libc_ifunc_impl_list): Likewise.
11026         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
11027         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
11028         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
11029         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
11030         multiarch wcscpy for PPC64.
11031
11032         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
11033         multiarch implementations.
11034         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11035         (__libc_ifunc_impl_list): Likewise.
11036         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
11037         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
11038         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
11039         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
11040         multiarch wcscpy for PPC64.
11041
11042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
11043         multiarch implementations.
11044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11045         (__libc_ifunc_impl_list): Likewise.
11046         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
11047         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
11048         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
11049         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
11050         multiarch wcsrchr for PPC64.
11051
11052         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
11053         multiarch implementations.
11054         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11055         (__libc_ifunc_impl_list): Likewise.
11056         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
11057         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
11058         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
11059         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
11060         multiarch wcschr for PPC64.
11061
11062         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
11063         multiarch implementations.
11064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11065         (__libc_ifunc_impl_list): Likewise.
11066         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
11067         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
11068         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
11069         multiarch strchrnul for PPC64.
11070
11071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
11072         implementations.
11073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11074         (__libc_ifunc_impl_list): Likewise.
11075         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
11076         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
11077         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
11078         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
11079         strchr for PPC64.
11080
11081         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
11082         implementations.
11083         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11084         (__libc_ifunc_impl_list): Likewise.
11085         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
11086         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
11087         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
11088         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
11089         strncmp for PPC64.
11090
11091         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
11092         multiarch implementations.
11093         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11094         (__libc_ifunc_impl_list): Likewise.
11095         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
11096         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
11097         strncasecmp for PPC64.
11098         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
11099         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
11100         multiarch strncasecmp_l for PPC64.
11101
11102         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
11103         multiarch implementations.
11104         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11105         (__libc_ifunc_impl_list): Likewise.
11106         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
11107         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
11108         multiarch strcasecmp for PPC64.
11109         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
11110         file.
11111         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
11112         multiarch strcasecmp_l for PPC64.
11113
11114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
11115         implementations.
11116         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11117         (__libc_ifunc_impl_list): Likewise.
11118         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
11119         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
11120         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
11121         strnlen for PPC64.
11122
11123         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
11124         implementations.
11125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11126         (__libc_ifunc_impl_list): Likewise.
11127         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
11128         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
11129         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
11130         strlen for PPC64.
11131
11132         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
11133         implementations.
11134         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11135         (__libc_ifunc_impl_list): Likewise.
11136         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
11137         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
11138         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
11139         rawmemrchr for PPC64.
11140
11141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
11142         implementation.
11143         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11144         (__libc_ifunc_impl_list): Likewise.
11145         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
11146         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
11147         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
11148         memrchr for PPC64.
11149
11150         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
11151         implementation.
11152         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11153         (__libc_ifunc_impl_list): Likewise.
11154         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
11155         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
11156         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
11157         memchr for PPC64.
11158
11159         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
11160         implementation.
11161         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11162         (__libc_ifunc_impl_list): Likewise.
11163         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
11164         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
11165         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
11166         mempcpy for PPC64.
11167
11168         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
11169         avoid cretion of __bzero symbol.
11170         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
11171         Likewise.
11172         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
11173         Likewise.
11174         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
11175         Likewise.
11176         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
11177         multiarch implementations.
11178         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11179         (__libc_ifunc_impl_list): Likewise.
11180         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
11181         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
11182         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
11183         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
11184         bzero for PPC32.
11185         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
11186         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
11187         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
11188         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
11189         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
11190         memset for PPC64.
11191         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
11192
11193         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
11194         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
11195         implementations.
11196         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11197         (__libc_ifunc_impl_list): Likewise.
11198         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
11199         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
11200         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
11201         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
11202         memcmp for PPC64.
11203
11204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
11205         multiarch for POWER/PPC64.
11206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
11207         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
11208         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
11209         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
11210         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
11211         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
11212         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
11213         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
11214         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
11215         memcpy for PPC64.
11216
11217         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
11218         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
11219         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
11220         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
11221         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
11222         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
11223         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
11224         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11225         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
11226         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
11227         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
11228         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
11229         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
11230         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
11231         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
11232         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
11233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
11234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
11235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
11236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
11237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
11238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
11239
11240 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11241
11242         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
11243
11244 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11245
11246         * benchtests/Makefile (bench): Add exp2 and log2.
11247         (LDLIBS-bench-exp2): Add -lm.
11248         (LDLIBS-bench-log2): Likewise.
11249         * benchtests/exp2-inputs: New inputs file.
11250         * benchtests/log2-inputs: New inputs file.
11251         * benchtests/log-inputs: Add new inputs.
11252         * benchtests/tan-inputs: Likewise.
11253
11254 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11255
11256         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
11257         definition...
11258         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
11259         (csloww2): ... from here.
11260
11261         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
11262         instead of structures.
11263         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
11264         (POLYNOMIAL): Likewise.
11265         (TAYLOR_SLOW): Likewise.
11266         (__sin): Likewise.
11267         (__cos): Likewise.
11268         (slow1): Likewise.
11269         (slow2): Likewise.
11270         (sloww): Likewise.
11271         (sloww1); Likewise.
11272         (sloww2): Likewise.
11273         (bsloww1): Likewise.
11274         (bsloww2): Likewise.
11275         (cslow2): Likewise.
11276         (csloww): Likewise.
11277         (csloww1): Likewise.
11278         (csloww2): Likewise.
11279
11280 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
11281
11282         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
11283         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
11284         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
11285         * malloc/hooks.c (realloc_check): Likewise.
11286
11287         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
11288         * malloc/arena.c: Remove PER_THREAD conditional.
11289         [!PER_THREAD]: Remove code.
11290         (ptmalloc_unlock_all2): Likewise.
11291         (ptmalloc_init): Likewise.
11292         (_int_new_arena): Likewise.
11293         (arena_get2): Likewise.
11294         * malloc/hooks.c (__malloc_get_state): Likewise.
11295         (__malloc_set_state): Likewise.
11296         * malloc/malloc.c: Likewise.
11297         (struct malloc_state): Likewise.
11298         (struct malloc_par): Likewise.
11299         (__libc_realloc): Likewise.
11300         (__libc_mallopt): Likewise.
11301
11302 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11303
11304         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
11305
11306 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
11307
11308         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
11309         macro to a function.  Check for zero perturb_byte.
11310         (_int_malloc, _int_free): Remove zero perturb_byte checks.
11311
11312         * malloc/malloc.c: (force_reg): Remove.
11313         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
11314         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
11315         force_reg by atomic_forced_read.
11316         * malloc/arena.c (ptmalloc_init): Likewise.
11317         * malloc/hooks.c (top_check): Likewise.
11318
11319 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11320
11321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11322
11323 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
11324
11325         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11326
11327 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
11328
11329         * math/auto-libm-test-in: Add tests of lgamma.
11330         * math/auto-libm-test-out: Regenerated.
11331         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
11332         (M_LOG_2_SQRT_PIl): Likewise.
11333         (lgamma_test_data): Use AUTO_TESTS_f_f1.
11334         * math/gen-auto-libm-tests.c (func_calc_method): Add value
11335         mpfr_f_f1.
11336         (func_calc_desc): Add mpfr_f_f1 union field.
11337         (ARGS1): New macro.
11338         (ARGS2): Likewise.
11339         (ARGS3): Likewise.
11340         (ARGS4): Likewise.
11341         (RET1): Likewise.
11342         (RET2): Likewise.
11343         (CALC): Likewise.
11344         (FUNC): Likewise.
11345         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
11346         (test_functions): Add lgamma.
11347         (calc_generic_results): Handle mpfr_f_f1.
11348         * sysdeps/i386/fpu/libm-test-ulps: Update.
11349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11350
11351 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11352
11353         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
11354         __mpn_add_n for PowerPC64/POWER7.
11355         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
11356         __mpn_sub_n for PowerPC64/POWER7.
11357
11358         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
11359         __mpn_addmul_1 for PowerPC64.
11360         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
11361         __mpn_submul_1 for PowerPC64.
11362         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
11363         for PowerPC64.
11364         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
11365         for PowerPC64.
11366
11367 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
11368
11369         [BZ #15089]
11370         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
11371
11372 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11373
11374         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
11375
11376         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
11377         add multiarch folders.
11378         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
11379         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
11380         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
11381         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
11382         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
11383         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
11384         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
11385         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
11386         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
11387         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
11388         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
11389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
11390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
11391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
11392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
11393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
11394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
11395
11396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11397         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
11398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
11399         New file.
11400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
11401         New file.
11402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
11403         multiarch __ieee754_hypot for PowerPC32.
11404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
11405         New file.
11406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
11407         New file.
11408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
11409         multiarch __ieee754_hypotf for PowerPC32.
11410
11411         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
11412         long_double_symbol only if __logbl is defined.
11413         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
11414         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
11415         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
11416         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
11417         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
11418         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
11419         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
11420         path for implementation.
11421         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
11422         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
11423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
11424         logb, and logbl multiarch implementations for PowerPC32.
11425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
11426         file.
11427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
11428         file.
11429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
11430         multiarch logb for PowerPC32.
11431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
11432         file.
11433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
11434         file.
11435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
11436         multiarch logbf for PowerPC32.
11437         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
11438         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
11439         file.
11440         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
11441         multiarch logbl implementation for PowerPC32.
11442
11443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
11444         and modff multiarch implementations.
11445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
11446         New file.
11447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
11448         New file.
11449         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
11450         multiarch modf for PowerPC32.
11451         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
11452         New file.
11453         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
11454         New file.
11455         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
11456         multiarch modff for PowerPC32.
11457
11458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
11459         and lrintf multiarch implementations.
11460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
11461         New file.
11462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
11463         New file.
11464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
11465         multiarch lrint for PowerPC32.
11466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
11467         file: multiarch lrintf for PowerPC32.
11468
11469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
11470         and lroundf multiarch implementations.
11471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
11472         New file.
11473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
11474         New file.
11475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
11476         New file.
11477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
11478         multiarch lround for PowerPC32.
11479         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
11480         file: multiarch lroundf for PowerPC32.
11481
11482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
11483         copysign and copysignf multiarch implementations.
11484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
11485         New file.
11486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
11487         New file.
11488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
11489         file: multiarch copysign for PowerPC32.
11490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
11491         file: multiarch copysignf for PowerPC32.
11492
11493         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
11494         and truncf multiarch implementations.
11495         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
11496         New file.
11497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
11498         file.
11499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
11500         multiarch trunc for PowerPC32.
11501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
11502         New file.
11503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
11504         New file.
11505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
11506         multiarch truncf for PowerPC32.
11507
11508         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
11509         and roundf multiarch implementations.
11510         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
11511         New file.
11512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
11513         file.
11514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
11515         multiarch round for PowerPC32.
11516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
11517         New file.
11518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
11519         New file.
11520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
11521         multiarch roundf for PowerPC32.
11522
11523         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
11524         and floorf multiarch implementations.
11525         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
11526         New file.
11527         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
11528         file.
11529         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
11530         multiarch floor for PowerPC32.
11531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
11532         New file.
11533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
11534         New file.
11535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
11536         multiarch floorf for PowerPC32.
11537
11538         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
11539         and ceilf multiarch implementations.
11540         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
11541         New file.
11542         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
11543         file.
11544         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
11545         multiarch ceil for PowerPC32.
11546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
11547         New file.
11548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
11549         file.
11550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
11551         multiarch ceilf for PowerPC32.
11552
11553         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
11554         is defined.
11555         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
11556         FINITEF is defined.
11557         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
11558         and finitef multiarch implementations.
11559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
11560         New file.
11561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
11562         file.
11563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
11564         multiarch finite for PowerPC32.
11565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
11566         New file.
11567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
11568         file: multiarch finitef for PowerPC32.
11569
11570         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
11571         and isinff multiarch implementations.
11572         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
11573         file.
11574         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
11575         file.
11576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
11577         multiarch isinf for PowerPC32.
11578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
11579         New file.
11580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
11581         multiarch isinff for PowerPC32.
11582
11583         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
11584         alias when __isnan is defined.
11585         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
11586         and isnanf multiarch implementations.
11587         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
11588         file.
11589         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
11590         file.
11591         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
11592         file.
11593         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
11594         file.
11595         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
11596         multiarch isnan for PowerPC32.
11597         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
11598         New file.
11599         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
11600         New file.
11601         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
11602         multiarch isnanf for PowerPC32.
11603
11604         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
11605         and sqrtf multiarch implementations.
11606         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
11607         file.
11608         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
11609         file.
11610         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
11611         multiarch sqrt for PowerPC32.
11612         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
11613         file.
11614         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
11615         file.
11616         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
11617         multiarch sqrtf for PowerPC32.
11618
11619         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
11620         and llroundf multiarch implementations.
11621         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
11622         New file.
11623         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
11624         New file.
11625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
11626         New file.
11627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
11628         file: multiarch llround for PowerPC32.
11629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
11630         file: multiarch llroundf for PowerPC32.
11631
11632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
11633         multiarch PowerPC32 fpu implementations.
11634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
11635         New file.
11636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
11637         New file.
11638         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
11639         multiarch llrint for PowerPC32.
11640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
11641         New file.
11642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
11643         New file.
11644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
11645         file.
11646
11647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
11648
11649         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
11650         file.
11651         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
11652         file.
11653         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
11654         file.
11655         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
11656         multiarch wordcopy for PPC32.
11657         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11658         wordcopy objects.
11659         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11660         (__libc_ifunc_impl_list): Likewise.
11661         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
11662         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
11663         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
11664         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
11665         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
11666         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
11667
11668         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
11669         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
11670         file.
11671         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
11672         file.
11673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
11674         file.
11675         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
11676         multiarch wcscpy for PPC32.
11677         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
11678         multiarch objects.
11679         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11680         (__libc_ifunc_impl_list): Likewise.
11681         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11682         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11683         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
11684         sysdeps/powerpc/power6/wcscpy.c.
11685
11686         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
11687         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
11688         file.
11689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
11690         file.
11691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
11692         file.
11693         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
11694         multiarch wcsrchr for PPC32.
11695         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11696         multiarch objects.
11697         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11698         (__libc_ifunc_impl_list): Likewise.
11699         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
11700         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
11701         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
11702         sysdeps/powerpc/power6/wcsrchr.c.
11703
11704         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
11705         file.
11706         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
11707         file.
11708         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
11709         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
11710         multiarch wcschr for PPc32.
11711         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
11712         multiarch objects.
11713         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11714         (__libc_ifunc_impl_list): Likewise.
11715         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
11716         * sysdeps/powerpc/power6/wcschr.c: ... to here.
11717         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
11718         sysdeps/powerpc/power6/wcschr.c.
11719
11720         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
11721         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
11722         file.
11723         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
11724         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
11725         file: multiarch strchr for PPC32.
11726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
11727         multiarch objects.
11728         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11729         (__libc_ifunc_impl_list): Likewise.
11730
11731         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
11732         name.
11733         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
11734         file.
11735         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
11736         file.
11737         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
11738         multiarch strchrnul for PPC32.
11739         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
11740         multiarch objects.
11741         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11742         (__libc_ifunc_impl_list): Likewise.
11743
11744         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
11745         file.
11746         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
11747         multiarch strncasecmp for PPC32.
11748         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
11749         file.
11750         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
11751         multiarch strncasecmp_l for PPC32.
11752         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
11753         strncasecmp multiarch objects.
11754         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11755         (__libc_ifunc_impl_list): Likewise.
11756
11757         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
11758         file.
11759         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
11760         multiarch strncasecmp for PPC32.
11761         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
11762         New file.
11763         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
11764         multiarch strcasecmp_l for PPC32.
11765         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
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/strncmp-power7.S: New
11771         file.
11772         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
11773         file.
11774         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
11775         multiarch strncmp for PPC32.
11776         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
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/rtld-strnlen.c: New file.
11782         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
11783         file.
11784         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
11785         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
11786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
11787         multiarch objects.
11788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11789         (__libc_ifunc_impl_list): Likewise.
11790
11791         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
11792         file.
11793         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
11794         file.
11795         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
11796         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
11797         multiarch objects.
11798         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11799         (__libc_ifunc_impl_list): Likewise.
11800
11801         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
11802         file.
11803         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
11804         file.
11805         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
11806         multiarch rawmemchr for PPC32.
11807         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
11808         multiarch objects.
11809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11810         (__libc_ifunc_impl_list): Likewise.
11811
11812         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
11813         file.
11814         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
11815         file.
11816         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
11817         file: memrchr multiarch for PPC32.
11818         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
11819         multiarch objects.
11820         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
11821         (__libc_ifunc_impl_list): Likewise.
11822
11823         * string/memchr.c (__memchr): Using macro to redefine symbol name.
11824         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
11825         file.
11826         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
11827         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
11828         multiarch memchr for PPC32.
11829         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
11830         multiarch objects.
11831         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11832         (__libc_ifunc_impl_list): Likewise.
11833
11834         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
11835         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
11836         file.
11837         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
11838         file.
11839         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
11840         file: multiarch mempcpy for PPC32.
11841         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
11842         multiarch objects.
11843         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11844         (__libc_ifunc_impl_list): Likewise.
11845
11846         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
11847         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
11848         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
11849         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
11850         multiarch bzero for PPC32.
11851         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
11852         file.
11853         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
11854         file.
11855         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
11856         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
11857         file: multiarch memset for PPC32.
11858         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
11859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
11860         memset multiarch objects.
11861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11862         (__libc_ifunc_impl_list): Likewise.
11863
11864         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
11865         file.
11866         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
11867         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
11868         memcmp for PPC32.
11869         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
11870         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
11871         multiarch objects.
11872         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11873         (__libc_ifunc_impl_list): Likewise.
11874
11875         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
11876         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
11877         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
11878         file.
11879         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
11880         file.
11881         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11882         file.
11883         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
11884         multiarch memcpy for PPC32.
11885         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
11886         multiarch objects.
11887         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
11888         (__libc_ifunc_impl_list): Likewise.
11889
11890         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
11891         support multiarch for POWER/PPC32.
11892         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
11893         Likewise.
11894         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
11895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
11896         Implies file to make multiarch folder appers before the fpu and
11897         default folder for power4 configuration.
11898
11899 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
11900
11901         * scripts/bench.pl: Append volatile keyword to type.
11902
11903 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11904
11905         * sysdeps/sh/sotruss-lib.c: New file.
11906         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
11907
11908 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11909
11910         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11911
11912 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
11913
11914         [BZ #6810]
11915         * math/w_tgamma.c: Include <errno.h>.
11916         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
11917         * math/w_tgammaf.c: Include <errno.h>.
11918         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
11919         * math/w_tgammal.c: Include <errno.h>.
11920         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
11921         * math/auto-libm-test-in: Do not allow missing errno on tgamma
11922         underflow.  Add more tgamma tests.
11923         * math/auto-libm-test-out: Regenerated.
11924         * sysdeps/i386/fpu/libm-test-ulps: Update.
11925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11926
11927         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
11928         sin, sinh, tan, tanh, tgamma, y0 and y1.
11929         * math/auto-libm-test-out: Regenerated.
11930         * math/libm-test.inc (TEST_COND_x86_64): New macro.
11931         (TEST_COND_x86): Likewise.
11932         (M_E2l): Remove macro.
11933         (M_E3l): Likewise.
11934         (M_2_SQRT_PIl): Likewise.
11935         (M_SQRT_PIl): Likewise.
11936         (M_1_DIV_El): Likewise.
11937         (log_test_data): Use AUTO_TESTS_f_f.
11938         (log10_test_data): Likewise.
11939         (log1p_test_data): Likewise.
11940         (log2_test_data): Likewise.
11941         (sin_test_data): Likewise.
11942         (sin_tonearest_test_data): Likewise.
11943         (sin_towardzero_test_data): Likewise.
11944         (sin_downward_test_data): Likewise.
11945         (sin_upward_test_data): Likewise.
11946         (sinh_test_data): Likewise.
11947         (sinh_tonearest_test_data): Likewise.
11948         (sinh_towardzero_test_data): Likewise.
11949         (sinh_downward_test_data): Likewise.
11950         (sinh_upward_test_data): Likewise.
11951         (tan_test_data): Likewise.
11952         (tan_tonearest_test_data): Likewise.
11953         (tan_towardzero_test_data): Likewise.
11954         (tan_downward_test_data): Likewise.
11955         (tan_upward_test_data): Likewise.
11956         (tanh_test_data): Likewise.
11957         (tgamma_test_data): Likewise.
11958         (y0_test_data): Likewise.
11959         (y1_test_data): Likewise.
11960         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
11961         (special_real_inputs): Add pi/4.
11962         * sysdeps/i386/fpu/libm-test-ulps: Update.
11963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11964
11965 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11966
11967         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
11968         "longjmp_target" static probes.
11969         (__longjmp): Rename to __longjmp_symbol.
11970         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
11971         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
11972         on which longjmp to generate.
11973         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11974         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
11975         probe.
11976         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11977         (__sigjmp_save): Rename to __sigjmp_save_symbol.
11978         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
11979         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
11980         and __sigjmp_save_symbol based on which sigsetjmp to generated.
11981         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
11982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
11983         __longjmp_symbol based on which __longjmp to generate.
11984         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
11985         probe.
11986         (setjmp): Rename to setjmp_symbol.
11987         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11988         (_setjmp): Rename to _setjmp_symbol.
11989         (__sigsetjmp): Rename to __sigsetjmp_symbol.
11990         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
11991         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
11992         which setjmp to generate.
11993         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
11994         "longjmp_target" static probes.
11995
11996 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11997
11998         * benchtests/README: Add note about output arguments.
11999         * benchtests/bench-sincos.c: Remove file.
12000         * benchtests/sincos-inputs: New file.
12001         * scripts/bench.pl: Identify output arguments and define
12002         static variables for them.
12003
12004         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
12005
12006         [BZ #15941]
12007         * Makefile (INSTALL): Add install-plain.texi as the primary
12008         dependency.
12009         * manual/install-plain.texi: New file.
12010         * manual/install.texi: Include node directive only for
12011         non-plaintext output.
12012
12013 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
12014
12015         * stdlib/longlong.h: Update from GCC.
12016
12017         [BZ #6807]
12018         [BZ #15901]
12019         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
12020         * math/w_j0f.c (y0f): Likewise.
12021         * math/w_j0l.c (__y0l): Likewise.
12022         * math/w_j1.c (y1): Likewise.
12023         * math/w_j1f.c (y1f): Likewise.
12024         * math/w_j1l.c (__y1l): Likewise
12025         * math/w_jn.c (yn): Likewise.
12026         * math/w_jnf.c (ynf): Likewise.
12027         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
12028         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
12029         value for Bessel function domain errors outside _SVID_ mode.
12030         Adjust sign of return value for yn (negative integer, 0).
12031         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
12032         by zero in return for negative x and set sign appropriately for
12033         negative n.
12034         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
12035         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
12036         * math/libm-test.inc (y0_test_data): Add more tests and adjust
12037         expectations in error cases.
12038         (y1_test_data): Likewise.
12039         (yn_test_data): Likewise.
12040         * sysdeps/i386/fpu/libm-test-ulps: Update.
12041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12042
12043 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12044
12045         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
12046         "64" to "64-v1".  Add "64-v2".
12047         (abi-64-options): Rename to ...
12048         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
12049         (abi-64-condition): Rename to ...
12050         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
12051         (abi-64-ld-soname): Rename to ...
12052         (abi-64-v1-ld-soname): ... this.
12053         (abi-64-v2-options): Define.
12054         (abi-64-v2-condition): Likewise.
12055         (abi-64-v2-ld-soname): Likewise.
12056         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
12057         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
12058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
12059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
12060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
12061
12062 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12063             Alan Modra  <amodra@gmail.com>
12064
12065         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
12066         New versions for use with the ELFv2 ABI.
12067         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
12068         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
12069         declaration.
12070         (struct La_ppc64v2_retval): Likewise.
12071         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
12072         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
12073         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
12074         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
12075         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
12076         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
12077         Do not save or restore CR.
12078         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
12079         (_dl_profile_resolve): Do no save or restore CR.  Support extended
12080         return values for ELFv2 ABI.  Fix location of FPR return registers.
12081         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
12082         updated values for _CALL_ELF == 2.
12083         (La_regs, La_retval, int_retval): Likewise.
12084
12085 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12086
12087         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
12088         (FRAME_MIN_SIZE_PARM): Likewise.
12089         (FRAME_BACKCHAIN): Likewise.
12090         (FRAME_CR_SAVE): Likewise.
12091         (FRAME_LR_SAVE): Likewise.
12092         (FRAME_TOC_SAVE): Likewise.
12093         (FRAME_PARM_SAVE): Likewise.
12094         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
12095         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
12096         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12097         (call_mcount_parm_offset): New macro.
12098         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
12099         (PROF): Use symbolic stack frame offsets.
12100         (TAIL_CALL_SYSCALL_ERROR): Likewise.
12101         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
12102         Redefine in terms of FRAME_MIN_SIZE.
12103         (_dl_runtime_resolve): Use symbolic stack frame offsets.
12104         (_dl_profile_resolve): Likewise.  Update comment.
12105         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
12106         symbols stack frame offsets.
12107         (__sigsetjmp): Likewise.
12108         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
12109         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
12110         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
12111         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
12112
12113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
12114         (FRAME_BACKCHAIN): Remove.
12115         (FRAME_CR_SAVE): Likewise.
12116         (FRAME_LR_SAVE): Likewise.
12117         (FRAME_COMPILER_DW): Likewise.
12118         (FRAME_LINKER_DW): Likewise.
12119         (FRAME_TOC_SAVE): Likewise.
12120         (FRAME_PARM_SAVE): Likewise.
12121         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
12122         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
12123         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
12124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
12125         (CHECK_SP): Use symbolic stack frame offsets.
12126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
12127         zone" instead of caller's parameter save area for temp storage.
12128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12129         Likewise.  Also, use symbolic stack frame offsets.
12130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
12131         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
12132         our own stack frame instead of the caller's.
12133         (__socket): Use symbolic stack frame offsets.
12134
12135 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12136             Alan Modra  <amodra@gmail.com>
12137
12138         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
12139         Define.
12140         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
12141         (PPC64_LOCAL_ENTRY_OFFSET): Define.
12142         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
12143         New function.
12144         (elf_machine_fixup_plt): Call it.
12145         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
12146         reloc arguments.
12147         (elf_machine_rela): Update call to elf_machine_plt_conflict.
12148         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12149         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
12150         r2 before calling target.
12151
12152 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12153             Alan Modra  <amodra@gmail.com>
12154
12155         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
12156         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
12157         versions of macros to support ELFv2 ABI.
12158         (LOCALENTRY): New macro.
12159         (ENTRY, EALIGN): Use it.
12160         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
12161         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
12162         fall through into ENTRY entry point.
12163         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
12164         Only define if _CALL_ELF != 2.
12165
12166         (elf_machine_matches_host): Verify ABI version matches.
12167         (RTLD_START): Use LOCALENTRY.
12168         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
12169         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
12170         (PLT_ENTRY_WORDS): New macro.
12171         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
12172         (elf_machine_runtime_setup): Support ELFv2 ABI.
12173         (elf_machine_fixup_plt): Likewise.
12174         (elf_machine_plt_conflict): Likewise.
12175         (resolve_ifunc): Likewise.
12176         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
12177         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
12178         Likewise.
12179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
12180         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
12181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12182         (makecontext): Support ELFv2 ABI.
12183         * elf/elf.h (EF_PPC64_ABI): Define.
12184
12185 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12186
12187         * sysdeps/powerpc/powerpc64/sysdep.h
12188         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
12189         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
12190         (ENTRY) [ASSEMBLER]: ... but instead here ...
12191         (EALIGN) [ASSEMBLER]: ... and here.
12192         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
12193         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
12194         (ENTRY_2) [!ASSEMBLER]: Use it.
12195         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
12196         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
12197         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
12198         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
12199         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
12200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
12201         Use PPC64_LOAD_FUNCPTR.
12202
12203         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
12204
12205 2013-12-04  Alan Modra  <amodra@gmail.com>
12206
12207         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
12208         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
12209         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
12210         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
12211
12212         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
12213         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
12214         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
12215         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
12216         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
12217         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
12218
12219 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
12220
12221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
12222         (__makecontext): Fix incorrect CFI when backtracing out of
12223         context created via makecontext.
12224         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
12225         (__setcontext): Fix incorrect CFI during switch to new context.
12226         (__novec_setcontext): Likewise.
12227
12228 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12229
12230         [BZ #4772]
12231         * time/strptime_l.c (__strptime_internal): Allow modifiers
12232         in strptime.
12233         * time/tst-strptime.c (day_tests): Add testcase.
12234
12235 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12236
12237         * scripts/bench.pl: Skip over blank lines.
12238
12239 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
12240
12241         [BZ #926]
12242         * manual/time.texi (Calendar Time): Clarify what timezone functions
12243         use.
12244
12245 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12246
12247         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12248
12249 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
12250
12251         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
12252         implementation.
12253         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
12254         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
12255         * debug/memset_chk.c (__memset_chk): Likewise.
12256         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
12257         * debug/strncpy_chk.c: Likewise.
12258
12259 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12260
12261         [BZ #15268]
12262         [BZ #15425]
12263         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
12264         (__ieee754_exp): For possibly underflowing results, check size of
12265         result and force underflow exception if required.
12266         * math/auto-libm-test-in: Add more tests of exp.
12267         * math/auto-libm-test-out: Regenerated.
12268         * sysdeps/i386/fpu/libm-test-ulps: Update.
12269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12270
12271         [BZ #16283]
12272         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
12273         * math/w_exp2f.c (__exp2f): Likewise.
12274         * math/w_exp2l.c (__exp2l): Likewise.
12275         * math/auto-libm-test-in: Do not allow missing errno on exp2
12276         underflow.
12277         * math/auto-libm-test-out: Regenerated.
12278
12279 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
12280
12281         [BZ #16274]
12282         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
12283         handle filename validation.
12284         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
12285         (do_open): Delete.
12286
12287 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
12288
12289         [BZ #6786]
12290         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
12291         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
12292         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
12293         <float.h>.
12294         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
12295         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
12296         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12297         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
12298         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12299         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
12300         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
12301         * math/auto-libm-test-in: Don't allow missing errno from erfc.
12302         Add more erfc tests.
12303         * math/auto-libm-test-out: Regenerated.
12304         * sysdeps/i386/fpu/libm-test-ulps: Update.
12305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12306
12307         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
12308         exp2, expm1, j0 and j1.
12309         * math/auto-libm-test-out: Regenerated.
12310         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
12311         (erfc_test_data): Likewise.
12312         (exp_test_data): Likewise.
12313         (exp_tonearest_test_data): Likewise.
12314         (exp_towardzero_test_data): Likewise.
12315         (exp_downward_test_data): Likewise.
12316         (exp_upward_test_data): Likewise.
12317         (exp10_test_data): Likewise.
12318         (exp2_test_data): Likewise.
12319         (expm1_test_data): Likewise.
12320         (j0_test_data): Likewise.
12321         (j1_test_data): Likewise.
12322         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
12323         (input_flag_type): Add flag_xfail_rounding.
12324         (input_flags): Add xfail-rounding.
12325         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
12326         (output_for_one_input_case): Handle flag_xfail_rounding.
12327         * sysdeps/i386/fpu/libm-test-ulps: Update.
12328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12329
12330 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
12331
12332         [BZ #16289]
12333         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
12334         division by 0.
12335
12336 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12337
12338         [BZ #16195]
12339         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
12340         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
12341         (STAP_PROBE0): New macro.
12342         (STAP_PROBE1): Likewise.
12343         (STAP_PROBE2): Likewise.
12344         (STAP_PROBE3): Likewise.
12345         (STAP_PROBE4): Likewise.
12346
12347 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
12348
12349         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
12350
12351 2013-12-02  Steve Ellcey  <sellcey@mips.com>
12352
12353         * benchtests/Makefile (bench): Add sqrt.
12354         (LDLIBS-bench-sqrt): New.
12355         * benchtests/sqrt-input: New.
12356
12357 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
12358
12359         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
12360         (GAIH_EAI): Likewise.
12361         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
12362         (gaih_inet): Likewise.
12363         (getaddrinfo): Don't use GAIH_EAI.
12364
12365         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
12366         (struct gaih): Remove definition.
12367
12368 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12369
12370         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
12371         Use HERRNOP directly.
12372
12373 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12374
12375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12376
12377 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
12378
12379         * math/gen-auto-libm-tests.c (test_functions): Add more
12380         single-argument functions.
12381         (special_fill_pi_2): New function.
12382         (special_fill_minus_pi_2): Likewise.
12383         (special_fill_pi_6): Likewise.
12384         (special_fill_minus_pi_6): Likewise.
12385         (special_fill_pi_3): Likewise.
12386         (special_fill_2pi_3): Likewise.
12387         (special_fill_e): Likewise.
12388         (special_fill_1_e): Likewise.
12389         (special_fill_e_minus_1): Likewise.
12390         (special_real_inputs): Add more special inputs.
12391         (output_for_one_input_case): Do not require ERANGE on underflow to
12392         zero if round-to-nearest result does not underflow to zero, unless
12393         exact results required.
12394         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
12395         atan, atanh, cbrt, cos and cosh.
12396         * math/auto-libm-test-out: Regenerated.
12397         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
12398         (acos_tonearest_test_data): Likewise.
12399         (acos_towardzero_test_data): Likewise.
12400         (acos_downward_test_data): Likewise.
12401         (acos_upward_test_data): Likewise.
12402         (acosh_test_data): Likewise.
12403         (asin_test_data): Likewise.
12404         (asin_tonearest_test_data): Likewise.
12405         (asin_towardzero_test_data): Likewise.
12406         (asin_upward_test_data): Likewise.
12407         (asinh_test_data): Likewise.
12408         (atan_test_data): Likewise.
12409         (atanh_test_data): Likewise.
12410         (cbrt_test_data): Likewise.
12411         (cos_test_data): Likewise.
12412         (cos_tonearest_test_data): Likewise.
12413         (cos_towardzero_test_data): Likewise.
12414         (cos_downward_test_data): Likewise.
12415         (cos_upward_test_data): Likewise.
12416         (cosh_test_data): Likewise.
12417         (cosh_tonearest_test_data): Likewise.
12418         (cosh_towardzero_test_data): Likewise.
12419         (cosh_downward_test_data): Likewise.
12420         (cosh_upward_test_data): Likewise.
12421         * sysdeps/i386/fpu/libm-test-ulps: Update.
12422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12423
12424 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
12425
12426         [BZ #6787]
12427         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
12428         * math/w_exp10f.c (__exp10f): Likewise.
12429         * math/w_exp10l.c (__exp10l): Likewise.
12430         * math/libm-test.inc (exp10_test_data): Add more tests and expect
12431         errno settings in existing tests.
12432
12433         [BZ #14032]
12434         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
12435         precision control set to double precision.
12436         * sysdeps/i386/fpu/w_sqrt.c: New file.
12437         * math/auto-libm-test-in: Add more tests.
12438         * math/auto-libm-test-out: Update.
12439
12440         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
12441         (sqrt_test_tonearest): New function.
12442         (sqrt_towardzero_test_data): New variable.
12443         (sqrt_test_towardzero): New function.
12444         (sqrt_downward_test_data): New variable.
12445         (sqrt_test_downward): New function.
12446         (sqrt_upward_test_data): New variable.
12447         (sqrt_test_upward): New function.
12448         (main): Call the new functions.
12449
12450         * math/gen-auto-libm-tests.c: New file.
12451         * math/auto-libm-test-in: Likewise.
12452         * math/auto-libm-test-out: New generated file.
12453         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
12454         variables.
12455         (%beautify): Add generated representations of zero.
12456         (top level): Set $auto_input and call parse_auto_input.
12457         (beautify): Remove trailing "f" from hex float constants.
12458         (parse_args): Handle XFAIL_TEST.
12459         (convert_condition): New function.
12460         (or_value): Likewise.
12461         (or_cond_value): Likewise.
12462         (generate_testfile): Handle AUTO_TESTS_* lines.
12463         (parse_auto_input): New function.
12464         * math/libm-test.inc (XFAIL_TEST): New macro.
12465         (ERRNO_UNCHANGED): Update value.
12466         (ERRNO_EDOM): Likewise.
12467         (ERRNO_ERANGE): Likewise.
12468         (IGNORE_RESULT): Likewise.
12469         (TEST_COND_flt_32): New macro.
12470         (TEST_COND_dbl_64): Likewise.
12471         (TEST_COND_ldbl_96_intel): Likewise.
12472         (TEST_COND_ldbl_96_m68k): Likewise.
12473         (TEST_COND_ldbl_128): Likewise.
12474         (TEST_COND_ldbl_128ibm): Likewise.
12475         (TEST_COND_long32): Likewise.
12476         (TEST_COND_long64): Likewise.
12477         (TEST_COND_before_rounding): Likewise.
12478         (TEST_COND_after_rounding): Likewise.
12479         (enable_test): Handle XFAIL_TEST flag.
12480         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
12481         with finite results.
12482         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
12483         auto-libm-test-out.
12484
12485 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12486             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12487
12488         [BZ #16214]
12489         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
12490         __tls_get_addr_internal instead of __tls_get_offset in order to
12491         avoid GOT pointer dependency.  Make rtld export
12492         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
12493         __tls_get_addr since we are a __tls_get_offset platform.
12494         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
12495         GOT pointer being set up before.
12496         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
12497
12498 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
12499
12500         * manual/math.texi (Errors in Math Functions): Document accuracy
12501         goals.
12502
12503         [BZ #15004]
12504         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
12505         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
12506         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
12507         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
12508         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
12509         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
12510         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
12511         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
12512         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
12513         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
12514         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
12515         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
12516         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
12517         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
12518         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
12519         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
12520
12521         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
12522         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
12523         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
12524         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
12525         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
12526         Likewise.
12527         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
12528         Likewise.
12529         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
12530         Likewise.
12531         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
12532         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
12533         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
12534         atomic-feupdateenv and flt-rounds.
12535         * sysdeps/powerpc/nofpu/Versions (libc): Add
12536         __atomic_feholdexcept, __atomic_feclearexcept,
12537         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
12538         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
12539         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
12540         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
12541         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
12542         here.
12543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
12544         Update.
12545
12546         * manual/arith.texi (FP Exceptions): Document that exceptions may
12547         not be raised when matherr is used.
12548         (Math Error Reporting): Document overflow in directed rounding
12549         modes.  Document that errno may not be set when finite values are
12550         returned on overflow.  Document intent to set errno on underflow
12551         only for underflow to zero.
12552
12553         [BZ #16271]
12554         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
12555         round-to-nearest then adjust result for other rounding modes.
12556         * include/fenv.h (fegetround): Use libm_hidden_proto.
12557         * math/fegetround.c (fegetround): Use libm_hidden_def.
12558         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
12559         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
12560         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12561         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
12562         Likewise.
12563         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
12564         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
12565         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
12566         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
12567
12568 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12569
12570         [BZ #16077]
12571         * nss/Versions (libnss_files): Add
12572         _nss_files_gethostbyname3_r.
12573         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
12574         New function.
12575         (HOST_DB_LOOKUP): Remove macro.
12576         (_nss_files_gethostbyname_r): Implement function without the
12577         HOST_DB_LOOKUP macro.
12578         (_nss_files_gethostbyname2_r): Likewise.
12579
12580 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
12581
12582         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
12583
12584 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
12585
12586         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
12587         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
12588         warning.
12589
12590 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12591
12592         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
12593         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
12594         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
12595         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
12596         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
12597         __fe_nomask_env_priv and attribute_hidden.
12598         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
12599         (libc_feupdateenv_test_ppc): Likewise.
12600         (libc_feresetround_ppc): Likewise.
12601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
12602         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
12603         compat_symbol macro.
12604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
12605         (__fe_nomask_env): Likewise.
12606         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
12607
12608 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12609
12610         * string/Makefile: Remove ifunc tests.
12611         * string/test-string.h: Define TEST_IFUNC.
12612         * string/test-bcopy-ifunc.c: Remove.
12613         * string/test-bzero-ifunc.c: Likewise.
12614         * string/test-memccpy-ifunc.c: Likewise.
12615         * string/test-memchr-ifunc.c: Likewise.
12616         * string/test-memcmp-ifunc.c: Likewise.
12617         * string/test-memcpy-ifunc.c: Likewise.
12618         * string/test-memmem-ifunc.c: Likewise.
12619         * string/test-memmove-ifunc.c: Likewise.
12620         * string/test-mempcpy-ifunc.c: Likewise.
12621         * string/test-memrchr-ifunc.c: Likewise.
12622         * string/test-memset-ifunc.c: Likewise.
12623         * string/test-rawmemchr-ifunc.c: Likewise.
12624         * string/test-stpcpy-ifunc.c: Likewise.
12625         * string/test-stpncpy-ifunc.c: Likewise.
12626         * string/test-strcasecmp-ifunc.c: Likewise.
12627         * string/test-strcasestr-ifunc.c: Likewise.
12628         * string/test-strcat-ifunc.c: Likewise.
12629         * string/test-strchr-ifunc.c: Likewise.
12630         * string/test-strchrnul-ifunc.c: Likewise.
12631         * string/test-strcmp-ifunc.c: Likewise.
12632         * string/test-strcpy-ifunc.c: Likewise.
12633         * string/test-strcspn-ifunc.c: Likewise.
12634         * string/test-strlen-ifunc.c: Likewise.
12635         * string/test-strncasecmp-ifunc.c: Likewise.
12636         * string/test-strncat-ifunc.c: Likewise.
12637         * string/test-strncmp-ifunc.c: Likewise.
12638         * string/test-strncpy-ifunc.c: Likewise.
12639         * string/test-strnlen-ifunc.c: Likewise.
12640         * string/test-strpbrk-ifunc.c: Likewise.
12641         * string/test-strrchr-ifunc.c: Likewise.
12642         * string/test-strspn-ifunc.c: Likewise.
12643         * string/test-strstr-ifunc.c: Likewise.
12644
12645 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12646
12647         * benchtests/Makefile: Remove ifunc tests.
12648         * benchtests/bench-string.h: Define TEST_IFUNC.
12649         * benchtests/bench-bcopy-ifunc.c: Remove.
12650         * benchtests/bench-bzero-ifunc.c: Likewise.
12651         * benchtests/bench-memccpy-ifunc.c: Likewise.
12652         * benchtests/bench-memchr-ifunc.c: Likewise.
12653         * benchtests/bench-memcmp-ifunc.c: Likewise.
12654         * benchtests/bench-memcpy-ifunc.c: Likewise.
12655         * benchtests/bench-memmem-ifunc.c: Likewise.
12656         * benchtests/bench-memmove-ifunc.c: Likewise.
12657         * benchtests/bench-mempcpy-ifunc.c: Likewise.
12658         * benchtests/bench-memrchr-ifunc.c: Likewise.
12659         * benchtests/bench-memset-ifunc.c: Likewise.
12660         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
12661         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
12662         * benchtests/bench-stpcpy-ifunc.c: Likewise.
12663         * benchtests/bench-stpncpy-ifunc.c: Likewise.
12664         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
12665         * benchtests/bench-strcasestr-ifunc.c: Likewise.
12666         * benchtests/bench-strcat-ifunc.c: Likewise.
12667         * benchtests/bench-strchr-ifunc.c: Likewise.
12668         * benchtests/bench-strchrnul-ifunc.c: Likewise.
12669         * benchtests/bench-strcmp-ifunc.c: Likewise.
12670         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
12671         * benchtests/bench-strcpy-ifunc.c: Likewise.
12672         * benchtests/bench-strcspn-ifunc.c: Likewise.
12673         * benchtests/bench-strlen-ifunc.c: Likewise.
12674         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
12675         * benchtests/bench-strncat-ifunc.c: Likewise.
12676         * benchtests/bench-strncmp-ifunc.c: Likewise.
12677         * benchtests/bench-strncpy-ifunc.c: Likewise.
12678         * benchtests/bench-strnlen-ifunc.c: Likewise.
12679         * benchtests/bench-strpbrk-ifunc.c: Likewise.
12680         * benchtests/bench-strrchr-ifunc.c: Likewise.
12681         * benchtests/bench-strsep-ifunc.c: Likewise.
12682         * benchtests/bench-strspn-ifunc.c: Likewise.
12683         * benchtests/bench-strstr-ifunc.c: Likewise.
12684
12685 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12686
12687         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
12688
12689 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
12690
12691         * resolv/netdb.h: Use __glibc_reserved instead __unused.
12692         * rt/aio.h: Likewise.
12693         * sysdeps/gnu/bits/utmp.h: Likewise.
12694         * sysdeps/gnu/bits/utmpx.h: Likewise.
12695         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12696         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
12697         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
12698         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
12699         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
12700         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
12701         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
12702         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
12703         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
12704         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
12705         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
12706         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
12707         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
12708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
12709         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12710         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
12711         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
12712         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
12713         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
12714         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
12715         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
12716         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
12717         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
12718         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
12719         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
12720         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
12721         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
12722         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
12723         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
12724         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
12725         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
12726         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
12727         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
12728         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
12729         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
12730         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
12731         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
12732         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
12733         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
12734         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
12735         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
12736         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12737
12738 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
12739
12740         [BZ #16245]
12741         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
12742         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
12743
12744 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
12745
12746         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
12747         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
12748         Likewise.
12749
12750 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12751
12752         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
12753         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
12754         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
12755         (__fesetround): Remove define.
12756         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
12757         rounding and exceptions handling.
12758         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
12759         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
12760         (__fe_nomask_env): Likewise.
12761         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
12762         __fegetround instead of fegetround.
12763         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
12764         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
12765
12766 2013-11-21  Roland McGrath  <roland@hack.frob.com>
12767
12768         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
12769         it's there.
12770
12771         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
12772
12773 2013-11-21  Meador Inge  <meadori@codesourcery.com>
12774
12775         [BZ #11157]
12776         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
12777         (encrypt_r): Likewise.
12778         * malloc/obstack.h (obstack_free): Likewise.
12779         * posix/unistd.h (encrypt): Likewise.
12780
12781 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
12782
12783         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
12784         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
12785         DL_CALL_DT_FINI() that call the functions directly.
12786         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
12787         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
12788         * elf/dl-fini.c: Likewise.
12789
12790 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
12791
12792         * malloc/hooks.c (memalign_check): Add alignment rounding.
12793         * malloc/malloc.c (_mid_memalign): New function.
12794         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
12795         Implement by calling _mid_memalign.
12796         * manual/probes.texi (Memory Allocation Probes): Remove
12797         memory_valloc_retry and memory_pvalloc_retry.
12798
12799 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12800
12801         * locale/programs/locarchive.c (open_archive): Add const
12802         qualifier to ARCHIVEFNAME and copy default fname to
12803         DEFAULT_FNAME.
12804
12805         [BZ #15601]
12806         * libio/tst-widetext.input: Rename Oriya to Odia.
12807         * locale/iso-639.def: Likewise.
12808
12809         * manual/probes.texi (Mathematical Function Probes): Add
12810         documentation for sin, cos, asin and acos probes.
12811         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
12812         (__sin32): Add slowasin probe.
12813         (__cos32): Add slowacos probe.
12814         (__mpsin): Add slowsin probe.
12815         (__mpcos): Add slowcos probe.
12816
12817 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
12818
12819         [BZ #15483]
12820         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
12821         thread-local __sim_exceptions_thread and global
12822         __sim_exceptions_global.
12823         (__sim_disabled_exceptions): Change to thread-local
12824         __sim_disabled_exceptions_thread and global
12825         __sim_disabled_exceptions_global.
12826         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12827         and global __sim_round_mode_global.
12828         (__simulate_exceptions): Use thread-local floating-point state and
12829         set global state from it as needed.
12830         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
12831         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
12832         __sim_round_mode_thread.
12833         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
12834         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
12835         and global __sim_exceptions_global.
12836         (__sim_disabled_exceptions): Change to thread-local
12837         __sim_disabled_exceptions_thread and global
12838         __sim_disabled_exceptions_global.
12839         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
12840         and global __sim_round_mode_global.
12841         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
12842         (SIM_SET_GLOBAL): Likewise.
12843         * sysdeps/powerpc/soft-fp/sfp-machine.h
12844         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
12845         __sim_round_mode_thread.
12846         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
12847         __sim_disabled_exceptions_thread.
12848         (__sim_exceptions): Change to __sim_exceptions_thread.
12849         (__sim_disabled_exceptions): Change to
12850         __sim_disabled_exceptions_thread.
12851         (__sim_round_mode): Change to __sim_round_mode_thread.
12852         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
12853         thread-local floating-point state and set global state from it as
12854         needed.
12855         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
12856         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
12857         (__sim_disabled_exceptions): Remove extern declaration.
12858         (feenableexcept): Use thread-local floating-point state and set
12859         global state from it as needed.
12860         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
12861         extern declaration.
12862         (__sim_disabled_exceptions): Likewise.
12863         (__sim_round_mode): Likewise.
12864         (__fegetenv): Use thread-local floating-point state.
12865         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
12866         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
12867         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
12868         floating-point state and set global state from it as needed.
12869         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
12870         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
12871         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
12872         Likewise.
12873         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
12874         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
12875         Likewise.
12876         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
12877         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
12878         Use __sim_round_mode_thread.
12879         * math/test-fenv-tls.c: New file.
12880         * math/Makefile (tests): Add test-fenv-tls.
12881         ($(objpfx)test-fenv-tls): Depend on
12882         $(common-objpfx)nptl/libpthread.so.
12883
12884 2013-11-19  Andreas Schwab  <schwab@suse.de>
12885
12886         * locale/programs/locale.c (show_info): Decode wordarray elements.
12887         * locale/categories.def (LC_MONETARY): Add element for
12888         _NL_MONETARY_CRNCYSTR.
12889         * locale/C-monetary.c (conversion_rate): New variable.
12890         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
12891         element.
12892
12893 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
12894
12895         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
12896         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
12897
12898 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
12899
12900         * elf/Makefile (tst-auxv): New test.
12901         * elf/tst-auxv.c: New
12902         * elf/rtld.c (dl_main): Adjust AT_EXECFN
12903
12904 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
12905
12906         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
12907         (hidden_proto): Caller changed.
12908         (hidden_tls_proto): New macro.
12909         (libc_hidden_tls_proto): Likewise.
12910         (rtld_hidden_tls_proto): Likewise.
12911         (libm_hidden_tls_proto): Likewise.
12912         (libresolv_hidden_tls_proto): Likewise.
12913         (librt_hidden_tls_proto): Likewise.
12914         (libdl_hidden_tls_proto): Likewise.
12915         (libnss_files_hidden_tls_proto): Likewise.
12916         (libnsl_hidden_tls_proto): Likewise.
12917         (libnss_nisplus_hidden_tls_proto): Likewise.
12918         (libutil_hidden_tls_proto): Likewise.
12919
12920 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
12921
12922         [BZ #10253]
12923         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
12924         (decompose_rpath): Defer expansion to fillin_rpath.
12925         (_dl_init_paths): Pass linkmap to fillin_rpath.
12926
12927 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12928
12929         * benchtests/Makefile: Add strsep.
12930         * benchtests/bench-strsep.c: New file: strsep benchtest.
12931         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
12932
12933 2013-11-18  Andreas Schwab  <schwab@suse.de>
12934
12935         * locale/programs/locale.c (show_info) [case byte]: Check for
12936         '\377' instead of '\177'.
12937         * locale/C-monetary.c (not_available): Always use "\377".
12938         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
12939         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
12940         detect unavailable sign_posn locale elements.
12941         * locale/localeconv.c (__localeconv): For grouping and
12942         mon_grouping handle "\177" and "\377" like no grouping.
12943         (INT_ELEM): New macro.  Use it to set all numeric members.
12944         * locale/programs/ld-monetary.c (monetary_read)
12945         <tok_mon_grouping>: Normalize single -1 to the empty string.
12946         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
12947         Likewise.
12948
12949 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
12950
12951         [BZ #16055]
12952         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
12953         when we match (nil).
12954         * stdio-common/tst-sscanf.c (struct test): Add testcase.
12955
12956 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
12957
12958         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
12959         (NO_TEST_INLINE): Update value.
12960         (ERRNO_UNCHANGED): Likewise.
12961         (ERRNO_EDOM): Likewise.
12962         (ERRNO_ERANGE): Likewise.
12963         (IGNORE_RESULT): Likewise.
12964         (check_float_internal): Check signs of NaN results if
12965         TEST_NAN_SIGN used.
12966         (check_complex): Pass TEST_NAN_SIGN flag through to second
12967         check_float_internal call.
12968         (copysign_test_data): Add tests with quiet NaNs as second
12969         argument.  Use TEST_NAN_SIGN.
12970         (fabs_test_data): Add test of negative quiet NaN argument.  Use
12971         TEST_NAN_SIGN.
12972         (signbit_test_data): Add tests of quiet NaN argument.
12973         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
12974
12975         * math/gen-libm-test.pl (show_exceptions): Take extra argument
12976         $ignore_result.
12977         (parse_args): Handle function results specified as IGNORE.
12978         * math/libm-test.inc (IGNORE_RESULT): New macro.
12979         (check_float_internal): Do not check numerical result if flag
12980         IGNORE_RESULT set.
12981         (check_complex): Pass through IGNORE_RESULT to second
12982         check_float_internal call.
12983         (check_int): Do not check numerical result if flag IGNORE_RESULT
12984         set.
12985         (check_long): Likewise.
12986         (check_bool): Likewise.
12987         (check_longlong): Likewise.
12988         (lrint_test_data): Add tests of infinite and NaN arguments.
12989         (lrint_tonearest_test_data): Likewise.
12990         (lrint_towardzero_test_data): Likewise.
12991         (lrint_downward_test_data): Likewise.
12992         (lrint_upward_test_data): Likewise.
12993         (llrint_test_data): Likewise.
12994         (llrint_tonearest_test_data): Likewise.
12995         (llrint_towardzero_test_data): Likewise.
12996         (llrint_downward_test_data): Likewise.
12997         (llrint_upward_test_data): Likewise.
12998         (lround_test_data): Likewise.
12999         (llround_test_data): Likewise.
13000
13001         * math/libm-test.inc (NO_TEST_INLINE): New macro.
13002         (ERRNO_UNCHANGED): Update value.
13003         (ERRNO_EDOM): Likewise.
13004         (ERRNO_ERANGE): Likewise.
13005         (NO_TEST_INLINE_FLOAT): New macro.
13006         (NO_TEST_INLINE_DOUBLE): Likewise.
13007         (enable_test): New function.
13008         (RUN_TEST_f_f): Check enable_test before running test.
13009         (RUN_TEST_2_f): Likewise.
13010         (RUN_TEST_fff_f): Likewise.
13011         (RUN_TEST_c_f): Likewise.
13012         (RUN_TEST_f_f1): Likewise.
13013         (RUN_TEST_fF_f1): Likewise.
13014         (RUN_TEST_fI_f1): Likewise.
13015         (RUN_TEST_ffI_f1): Likewise.
13016         (RUN_TEST_c_c): Likewise.
13017         (RUN_TEST_cc_c): Likewise.
13018         (RUN_TEST_f_i): Likewise.
13019         (RUN_TEST_f_i_tg): Likewise.
13020         (RUN_TEST_ff_i_tg): Likewise.
13021         (RUN_TEST_f_b): Likewise.
13022         (RUN_TEST_f_b_tg): Likewise.
13023         (RUN_TEST_f_l): Likewise.
13024         (RUN_TEST_f_L): Likewise.
13025         (RUN_TEST_fFF_11): Likewise.
13026         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
13027         conditionals.
13028         (cosh_test_data): Likewise.
13029         (exp_test_data): Likewise.
13030         (expm1_test_data): Likewise.
13031         (hypot_test_data): Likewise.
13032         (pow_test_data): Likewise.
13033         (sinh_test_data): Likewise.
13034         (tanh_test_data): Likewise.
13035         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
13036         flags argument.
13037
13038         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
13039         tests with quiet NaN input and output.
13040         (acosh_test_data): Likewise.
13041         (asin_test_data): Likewise.
13042         (asinh_test_data): Likewise.
13043         (atan_test_data): Likewise.
13044         (atanh_test_data): Likewise.
13045         (atan2_test_data): Likewise.
13046         (cbrt_test_data): Likewise.
13047         (cos_test_data): Likewise.
13048         (cosh_test_data): Likewise.
13049         (erf_test_data): Likewise.
13050         (erfc_test_data): Likewise.
13051         (exp_test_data): Likewise.
13052         (exp10_test_data): Likewise.
13053         (exp2_test_data): Likewise.
13054         (expm1_test_data): Likewise.
13055         (hypot_test_data): Likewise.
13056         (j0_test_data): Likewise.
13057         (j1_test_data): Likewise.
13058         (jn_test_data): Likewise.
13059         (lgamma_test_data): Likewise.
13060         (log_test_data): Likewise.
13061         (log10_test_data): Likewise.
13062         (log1p_test_data): Likewise.
13063         (log2_test_data): Likewise.
13064         (pow_test_data): Likewise.
13065         (scalb_test_data): Likewise.
13066         (sin_test_data): Likewise.
13067         (sincos_test_data): Likewise.
13068         (sinh_test_data): Likewise.
13069         (tan_test_data): Likewise.
13070         (tanh_test_data): Likewise.
13071         (tgamma_test_data): Likewise.
13072         (y0_test_data): Likewise.
13073         (y1_test_data): Likewise.
13074         (yn_test_data): Likewise.
13075
13076         [BZ #16167]
13077         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
13078         argument being NaN and avoid computations with second argument in
13079         that case.
13080         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
13081         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
13082         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
13083
13084 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
13085
13086         * locale/iso-639.def: Add Chitwani Tharu (the).
13087
13088 2013-11-14  Andreas Schwab  <schwab@suse.de>
13089
13090         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
13091         word instead of empty string.
13092
13093 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13094
13095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13096         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
13097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13098         (__fe_nomask_env): Likewise.
13099
13100 2013-11-13  Steve Ellcey  <sellcey@mips.com>
13101
13102         * benchtests/bench-timing.h: Include time.h.
13103
13104 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
13105
13106         [BZ #15997]
13107         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
13108         to 3.4.0 for x32.
13109         * sysdeps/unix/sysv/linux/configure: Regenerated.
13110
13111 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
13112
13113         [BZ #16151]
13114         * stdlib/strtod_l.c (round_and_return): Do not consider
13115         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
13116         exponent one less than half the least subnormal exponent.
13117         * stdlib/test-strtod-round-data: Add more tests.
13118         * stdlib/tst-strtod-round.c (tests): Regenerated.
13119
13120 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13121
13122         [BZ #14143]
13123         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
13124         (__fe_mask_env): Likewise.
13125         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
13126         libm_hidden_proto and add function prototype.
13127         (__fe_mask_env): Add function prototype.
13128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
13129         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
13130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
13131         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
13132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
13133         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
13134
13135 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13136
13137         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
13138         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
13139
13140 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13141
13142         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
13143         of htab_find_slot().
13144
13145 2013-11-11  David S. Miller  <davem@davemloft.net>
13146
13147         [BZ #16150]
13148         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
13149         symbol in the non-vis3 case in static builds.
13150         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
13151         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
13152         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
13153         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
13154
13155 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
13156
13157         [BZ #387]
13158         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
13159         it is empty.
13160
13161 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13162
13163         * benchtests/Makefile: Add bench-strtod.
13164         * benchtests/bench-strtod.c: New file: strtod benchtest
13165
13166 2013-11-11  Andreas Schwab  <schwab@suse.de>
13167
13168         [BZ #16153]
13169         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
13170         terminating NUL in key length.
13171
13172 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13173
13174         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
13175         Add artificial ODP entry for vDSO symbol for PPC64.
13176         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
13177         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
13178
13179 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
13180
13181         [BZ #15374]
13182         * nss/getent.c (services_keys): Recognize services starting with digit.
13183
13184 2013-11-06  David S. Miller  <davem@davemloft.net>
13185
13186         [BZ #15985]
13187         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
13188         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
13189
13190 2013-11-06  Will Newton  <will.newton@linaro.org>
13191
13192         * manual/memory.texi (Malloc Examples): Remove register
13193         keyword from examples.
13194
13195 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
13196
13197         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
13198
13199 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
13200
13201         [BZ #6981]
13202         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
13203         depending on [__GCC_IEC_559 > 0].
13204         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
13205         depending on [__GCC_IEC_559_COMPLEX > 0].
13206
13207 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
13208
13209         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
13210         to iso-639.def.
13211
13212 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
13213
13214         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
13215
13216 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
13217
13218         [BZ #16112]
13219         * malloc/malloc (malloc_info): Do not handle first bin as
13220         special case.
13221
13222 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
13223
13224         * locale/iso-639.def: Add Central Nahuatl (nhn).
13225
13226 2013-11-01  Bruno Haible  <bruno@clisp.org>
13227
13228         [BZ #7003]
13229         * manual/math.texi (BSD Random): Specify range upper bound as
13230         in POSIX.
13231
13232 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
13233
13234         * locale/iso-639.def: Add Meadow Mari (mhr).
13235
13236 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
13237
13238         [BZ #14752], [BZ #15763]
13239         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
13240         Validate name.
13241         * rt/tst_shm.c: Add test for escaping directory.
13242
13243 2013-10-31  Andreas Schwab  <schwab@suse.de>
13244
13245         [BZ #15917]
13246         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
13247         followed by 'x' as part of digit sequence.
13248         * stdio-common/tst-sscanf.c (double_tests2): New tests.
13249
13250 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
13251
13252         [BZ #16037]
13253         * configure.ac: allow GNU Make 4.0 and greater.
13254         * configure: Regenerated.
13255
13256 2013-10-30  Will Newton  <will.newton@linaro.org>
13257
13258         [BZ #16038]
13259         * malloc/hooks.c (memalign_check): Limit alignment to the
13260         maximum representable power of two.
13261         * malloc/malloc.c (__libc_memalign): Likewise.
13262         * malloc/tst-memalign.c (do_test): Add test for very
13263         large alignment values.
13264         * malloc/tst-posix_memalign.c (do_test): Likewise.
13265
13266 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13267
13268         [BZ #11087]
13269         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
13270         (munmap_chunk): Likewise.
13271         (mremap_chunk): Likewise.
13272
13273 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
13274
13275         [BZ #15799]
13276         * stdlib/div.c (div): Remove obsolete code.
13277         * stdlib/ldiv.c (ldiv): Likewise.
13278         * stdlib/lldiv.c (lldiv): Likewise.
13279
13280 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13281
13282         [BZ #16071]
13283         * nss/nss_files/files-XXX.c (get_contents_ret): New
13284         enumerator.
13285         (get_contents): New function.
13286         (internal_getent): Use it.  Expand size of LINEBUFLEN.
13287
13288 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
13289
13290         * configure.in: Moved to ...
13291         * configure.ac: ... here. Change reference to configure.in
13292         to configure.ac.
13293         * sysdeps/arm/preconfigure.ac: ... here.
13294         configure.in to configure.ac.
13295         * sysdeps/gnu/configure.in: Moved to ...
13296         * sysdeps/gnu/configure.ac: ... here.
13297         * sysdeps/i386/configure.in: Moved to ...
13298         * sysdeps/i386/configure.ac: ... here.
13299         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
13300         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
13301         * sysdeps/mach/configure.in: Moved to ...
13302         * sysdeps/mach/configure.ac: ... here.
13303         * sysdeps/mach/hurd/configure.in: Moved to ...
13304         * sysdeps/mach/hurd/configure.ac: ... here.
13305         * sysdeps/powerpc/configure.in: Moved to ...
13306         * sysdeps/powerpc/configure.ac: ... here.
13307         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
13308         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
13309         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
13310         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
13311         * sysdeps/s390/s390-32/configure.in: Moved to ...
13312         * sysdeps/s390/s390-32/configure.ac: ... here.
13313         * sysdeps/s390/s390-64/configure.in: Moved to ...
13314         * sysdeps/s390/s390-64/configure.ac: ... here.
13315         * sysdeps/sh/configure.in: Moved to ...
13316         * sysdeps/sh/configure.ac: ... here.
13317         * sysdeps/sparc/configure.in: Moved to ...
13318         * sysdeps/sparc/configure.ac: ... here.
13319         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
13320         * sysdeps/unix/sysv/linux/configure.ac: ... here.
13321         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
13322         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
13323         * sysdeps/x86_64/configure.in: Moved to ...
13324         * sysdeps/x86_64/configure.ac: ... here.
13325         * sysdeps/x86_64/preconfigure.in: Moved to ...
13326         * sysdeps/x86_64/preconfigure.ac: ... here.
13327         * aclocal.m4: Change reference to configure.in to configure.ac.
13328         * config.h.in: Likewise.
13329         * manual/install.texi: Likewise.
13330         * manual/maint.texi: Likewise.
13331         * Makefile: Likewise.
13332         * malloc/Makefile: Likewise.
13333         * nscd/Makefile: Likewise.
13334         * Makeconfig: Change reference to configure.in and
13335         preconfigure.in to configure.ac and preconfigure.ac
13336         respectively.
13337         * INSTALL: Regenerated.
13338         * configure: Likewise.
13339         * sysdeps/gnu/configure: Likewise.
13340         * sysdeps/i386/configure: Likewise.
13341         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
13342         * sysdeps/mach/configure: Likewise.
13343         * sysdeps/mach/hurd/configure: Likewise.
13344         * sysdeps/powerpc/configure: Likewise.
13345         * sysdeps/powerpc/powerpc32/configure: Likewise.
13346         * sysdeps/powerpc/powerpc64/configure: Likewise.
13347         * sysdeps/s390/s390-32/configure: Likewise.
13348         * sysdeps/s390/s390-64/configure: Likewise.
13349         * sysdeps/sh/configure: Likewise.
13350         * sysdeps/sparc/configure: Likewise.
13351         * sysdeps/unix/sysv/linux/configure: Likewise.
13352         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
13353         * sysdeps/x86_64/configure: Likewise.
13354         * sysdeps/x86_64/preconfigure: Likewise.
13355
13356 2013-10-29  Andreas Schwab  <schwab@suse.de>
13357
13358         * stdio-common/Makefile (tst-swscanf-ENV): Define.
13359
13360 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13361
13362         * benchtests/pow-inputs: Add new inputs.
13363
13364         * benchtests/exp-inputs: Add new inputs.
13365
13366         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
13367         conditional check for return value.
13368         (__cos32): Likewise.
13369
13370 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13371
13372         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
13373         to provide a boost for large inputs with word alignment.
13374         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
13375         implementation based on optimized PPC64 strcpy.
13376         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
13377         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
13378         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
13379         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
13380
13381 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13382
13383         [BZ #2801]
13384         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
13385
13386 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13387
13388         [BZ #14876]
13389         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
13390         * time/tst-strptime.c (day_tests): Add testcase.
13391
13392 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
13393
13394         [BZ #14029]
13395         * manual/pattern.texi: Acknowledge that fnmatch can fail.
13396
13397 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
13398
13399         [BZ #16074]
13400         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
13401         MAP_FAILED on error.
13402
13403 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
13404
13405         [BZ #16072]
13406         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
13407         heap for large requests.
13408
13409 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
13410
13411         [BZ #9954]
13412         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
13413         result if the result has no associated interface.
13414         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
13415         interface for all 127.X.Y.Z addresses.
13416
13417 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
13418
13419         * locale/iso-639.def: Add Ligurian (lij)
13420
13421 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
13422
13423         [BZ #15825]
13424         * sunrpc/rpc_main.c: Document rpcgen -5.
13425
13426 2013-10-19  Michael Stahl  <mstahl@redhat.com>
13427
13428         * elf/rtld.c (do_preload): Print the reason why preloading failed.
13429
13430 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13431
13432         [BZ #10278]
13433         * posix/glob.c: Match only directories when trailing slash is present.
13434         * posix/tst-gnuglob.c (my_opendir): Do not open files.
13435         (main): Add testcase.
13436
13437 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
13438
13439         [BZ #15670]
13440         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
13441
13442 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
13443
13444         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
13445         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
13446         AUTH_DES and cindex for FIPS 140-2.
13447         (DES Encryption): Add cindex FIPS 46-3.
13448
13449         * locale/locarchive.h (struct locarhandle): Add fname.
13450         * locale/programs/localedef.c (main): Pass ARGV[remaining]
13451         if an optional argument was specified to --list-archive,
13452         otherwise NULL.
13453         * locale/programs/locarchive.c (show_archive_content): Take new
13454         argument fname and pass it via ah.fname to open_archive.
13455         * locale/programs/localedef.h: Update decl.
13456         (open_archive): If AH->fname is non-null, open that file
13457         rather than the default file name, and don't ignore ENOENT.
13458         (create_archive): Set AH.fname to NULL.
13459         (delete_locales_from_archive): Likewise.
13460         (add_locales_to_archive): Likewise.
13461         * locale/programs/locfile.c (write_all_categories): Likewise.
13462
13463 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
13464             Aldy Hernandez  <aldyh@redhat.com>
13465
13466         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
13467         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
13468         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
13469         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
13470         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
13471         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
13472         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
13473         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
13474         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
13475         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
13476         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
13477         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
13478         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
13479         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
13480         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
13481         Likewise.
13482         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
13483         Likewise.
13484         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
13485         Likewise.
13486         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
13487         Likewise.
13488         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
13489         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
13490         Likewise.
13491         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
13492         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
13493         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
13494         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
13495         Likewise.
13496         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
13497         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
13498         * sysdeps/powerpc/preconfigure: Likewise.
13499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13500         Likewise.
13501         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
13502         Replace contents of file by #include of <fenv_libc.h>.
13503         * sysdeps/powerpc/soft-fp/sfp-machine.h
13504         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
13505         and <sys/prctl.h>.
13506         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
13507         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
13508         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
13509         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
13510         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
13511         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
13512         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
13513         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
13514         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
13515         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
13516         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
13517         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
13518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
13519         Allow copysignl PLT reference to be missing.
13520
13521 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
13522             Joseph Myers  <joseph@codesourcery.com
13523
13524         [BZ #15948]
13525         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
13526         single character.
13527         (add_to_tablewc): Assert sequence of wide characters is nonempty.
13528
13529 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13530
13531         * elf/tst-tls-dlinfo.c: Don't include tls.h.
13532         * elf/tst-tls1.c: Likewise.
13533         * elf/tst-tls10.h: Likewise.
13534         * elf/tst-tls14.c: Likewise.
13535         * elf/tst-tls2.c: Likewise.
13536         * elf/tst-tls3.c: Likewise.
13537         * elf/tst-tls4.c: Likewise.
13538         * elf/tst-tls5.c: Likewise.
13539         * elf/tst-tls6.c: Likewise.
13540         * elf/tst-tls7.c: Likewise.
13541         * elf/tst-tls8.c: Likewise.
13542         * elf/tst-tls9.c: Likewise.
13543         * elf/tst-tlsmod1.c: Likewise.
13544         * elf/tst-tlsmod13.c: Likewise.
13545         * elf/tst-tlsmod13a.c: Likewise.
13546         * elf/tst-tlsmod14a.c: Likewise.
13547         * elf/tst-tlsmod16a.c: Likewise.
13548         * elf/tst-tlsmod16b.c: Likewise.
13549         * elf/tst-tlsmod2.c: Likewise.
13550         * elf/tst-tlsmod3.c: Likewise.
13551         * elf/tst-tlsmod4.c: Likewise.
13552         * elf/tst-tlsmod5.c: Likewise.
13553         * elf/tst-tlsmod6.c: Likewise.
13554
13555 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
13556
13557         [BZ #12486]
13558         * malloc/malloc.c: remove checks for statistics.
13559
13560 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13561
13562         [BZ #15277]
13563         * inet/inet_net.c (inet_network): Detect additional invalid strings.
13564         * inet/tst-network.c: Add testcase.
13565
13566 2013-10-17  Andreas Schwab  <schwab@suse.de>
13567
13568         [BZ #15218]
13569         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
13570         to determine canonical name.
13571
13572 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
13573
13574         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
13575         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
13576         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13577         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
13578         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13579         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
13580         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
13581         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
13582         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
13583         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
13584         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
13585         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
13586         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13587         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
13588         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
13589         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
13590         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13591         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13592         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
13593         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
13594         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13595         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13596         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13597         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
13598         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
13599         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13600         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13601         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
13602         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13603         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
13604         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
13605         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13606         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
13607         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
13608         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
13609         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13610         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13611         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
13612         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
13613         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
13614         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
13615         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
13616         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
13617         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
13618         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
13619         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13620         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
13621         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
13622         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
13623         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
13624         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
13625         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
13626         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
13627         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
13628         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13629         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
13630         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13631         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
13632
13633 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
13634
13635         [BZ #16041]
13636         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
13637         make result into a quiet NaN.
13638
13639 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
13640
13641         * soft-fp/adddf3.c: Fix horizontal whitespace.
13642         * soft-fp/addsf3.c: Likewise.
13643         * soft-fp/addtf3.c: Likewise.
13644         * soft-fp/divdf3.c: Likewise.
13645         * soft-fp/divsf3.c: Likewise.
13646         * soft-fp/divtf3.c: Likewise.
13647         * soft-fp/double.h: Likewise.
13648         * soft-fp/eqdf2.c: Likewise.
13649         * soft-fp/eqsf2.c: Likewise.
13650         * soft-fp/eqtf2.c: Likewise.
13651         * soft-fp/extenddftf2.c: Likewise.
13652         * soft-fp/extended.h: Likewise.
13653         * soft-fp/extendsfdf2.c: Likewise.
13654         * soft-fp/extendsftf2.c: Likewise.
13655         * soft-fp/extendxftf2.c: Likewise.
13656         * soft-fp/fixdfdi.c: Likewise.
13657         * soft-fp/fixdfsi.c: Likewise.
13658         * soft-fp/fixdfti.c: Likewise.
13659         * soft-fp/fixsfdi.c: Likewise.
13660         * soft-fp/fixsfsi.c: Likewise.
13661         * soft-fp/fixsfti.c: Likewise.
13662         * soft-fp/fixtfdi.c: Likewise.
13663         * soft-fp/fixtfsi.c: Likewise.
13664         * soft-fp/fixtfti.c: Likewise.
13665         * soft-fp/fixunsdfdi.c: Likewise.
13666         * soft-fp/fixunsdfsi.c: Likewise.
13667         * soft-fp/fixunsdfti.c: Likewise.
13668         * soft-fp/fixunssfdi.c: Likewise.
13669         * soft-fp/fixunssfsi.c: Likewise.
13670         * soft-fp/fixunssfti.c: Likewise.
13671         * soft-fp/fixunstfdi.c: Likewise.
13672         * soft-fp/fixunstfsi.c: Likewise.
13673         * soft-fp/fixunstfti.c: Likewise.
13674         * soft-fp/floatdidf.c: Likewise.
13675         * soft-fp/floatdisf.c: Likewise.
13676         * soft-fp/floatditf.c: Likewise.
13677         * soft-fp/floatsidf.c: Likewise.
13678         * soft-fp/floatsisf.c: Likewise.
13679         * soft-fp/floatsitf.c: Likewise.
13680         * soft-fp/floattidf.c: Likewise.
13681         * soft-fp/floattisf.c: Likewise.
13682         * soft-fp/floattitf.c: Likewise.
13683         * soft-fp/floatundidf.c: Likewise.
13684         * soft-fp/floatundisf.c: Likewise.
13685         * soft-fp/floatunditf.c: Likewise.
13686         * soft-fp/floatunsidf.c: Likewise.
13687         * soft-fp/floatunsisf.c: Likewise.
13688         * soft-fp/floatunsitf.c: Likewise.
13689         * soft-fp/floatuntidf.c: Likewise.
13690         * soft-fp/floatuntisf.c: Likewise.
13691         * soft-fp/floatuntitf.c: Likewise.
13692         * soft-fp/fmadf4.c: Likewise.
13693         * soft-fp/fmasf4.c: Likewise.
13694         * soft-fp/fmatf4.c: Likewise.
13695         * soft-fp/gedf2.c: Likewise.
13696         * soft-fp/gesf2.c: Likewise.
13697         * soft-fp/getf2.c: Likewise.
13698         * soft-fp/ledf2.c: Likewise.
13699         * soft-fp/lesf2.c: Likewise.
13700         * soft-fp/letf2.c: Likewise.
13701         * soft-fp/muldf3.c: Likewise.
13702         * soft-fp/mulsf3.c: Likewise.
13703         * soft-fp/multf3.c: Likewise.
13704         * soft-fp/negdf2.c: Likewise.
13705         * soft-fp/negsf2.c: Likewise.
13706         * soft-fp/negtf2.c: Likewise.
13707         * soft-fp/op-1.h: Likewise.
13708         * soft-fp/op-2.h: Likewise.
13709         * soft-fp/op-4.h: Likewise.
13710         * soft-fp/op-8.h: Likewise.
13711         * soft-fp/op-common.h: Likewise.
13712         * soft-fp/quad.h: Likewise.
13713         * soft-fp/single.h: Likewise.
13714         * soft-fp/soft-fp.h: Likewise.
13715         * soft-fp/sqrtdf2.c: Likewise.
13716         * soft-fp/sqrtsf2.c: Likewise.
13717         * soft-fp/sqrttf2.c: Likewise.
13718         * soft-fp/subdf3.c: Likewise.
13719         * soft-fp/subsf3.c: Likewise.
13720         * soft-fp/subtf3.c: Likewise.
13721         * soft-fp/truncdfsf2.c: Likewise.
13722         * soft-fp/trunctfdf2.c: Likewise.
13723         * soft-fp/trunctfsf2.c: Likewise.
13724         * soft-fp/trunctfxf2.c: Likewise.
13725         * soft-fp/unorddf2.c: Likewise.
13726         * soft-fp/unordsf2.c: Likewise.
13727         * soft-fp/unordtf2.c: Likewise.
13728
13729 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
13730
13731         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
13732         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
13733
13734 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
13735
13736         * elf/dl-libc.c: Clear initfini list after freeing.
13737
13738 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
13739
13740         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
13741         * soft-fp/addsf3.c: Likewise.
13742         * soft-fp/addtf3.c: Likewise.
13743         * soft-fp/divdf3.c: Likewise.
13744         * soft-fp/divsf3.c: Likewise.
13745         * soft-fp/divtf3.c: Likewise.
13746         * soft-fp/double.h: Likewise.
13747         * soft-fp/eqdf2.c: Likewise.
13748         * soft-fp/eqsf2.c: Likewise.
13749         * soft-fp/eqtf2.c: Likewise.
13750         * soft-fp/extenddftf2.c: Likewise.
13751         * soft-fp/extended.h: Likewise.
13752         * soft-fp/extendsfdf2.c: Likewise.
13753         * soft-fp/extendsftf2.c: Likewise.
13754         * soft-fp/extendxftf2.c: Likewise.
13755         * soft-fp/fixdfdi.c: Likewise.
13756         * soft-fp/fixdfsi.c: Likewise.
13757         * soft-fp/fixdfti.c: Likewise.
13758         * soft-fp/fixsfdi.c: Likewise.
13759         * soft-fp/fixsfsi.c: Likewise.
13760         * soft-fp/fixsfti.c: Likewise.
13761         * soft-fp/fixtfdi.c: Likewise.
13762         * soft-fp/fixtfsi.c: Likewise.
13763         * soft-fp/fixtfti.c: Likewise.
13764         * soft-fp/fixunsdfdi.c: Likewise.
13765         * soft-fp/fixunsdfsi.c: Likewise.
13766         * soft-fp/fixunsdfti.c: Likewise.
13767         * soft-fp/fixunssfdi.c: Likewise.
13768         * soft-fp/fixunssfsi.c: Likewise.
13769         * soft-fp/fixunssfti.c: Likewise.
13770         * soft-fp/fixunstfdi.c: Likewise.
13771         * soft-fp/fixunstfsi.c: Likewise.
13772         * soft-fp/fixunstfti.c: Likewise.
13773         * soft-fp/floatdidf.c: Likewise.
13774         * soft-fp/floatdisf.c: Likewise.
13775         * soft-fp/floatditf.c: Likewise.
13776         * soft-fp/floatsidf.c: Likewise.
13777         * soft-fp/floatsisf.c: Likewise.
13778         * soft-fp/floatsitf.c: Likewise.
13779         * soft-fp/floattidf.c: Likewise.
13780         * soft-fp/floattisf.c: Likewise.
13781         * soft-fp/floattitf.c: Likewise.
13782         * soft-fp/floatundidf.c: Likewise.
13783         * soft-fp/floatundisf.c: Likewise.
13784         * soft-fp/floatunsidf.c: Likewise.
13785         * soft-fp/floatunsisf.c: Likewise.
13786         * soft-fp/floatuntidf.c: Likewise.
13787         * soft-fp/floatuntisf.c: Likewise.
13788         * soft-fp/floatuntitf.c: Likewise.
13789         * soft-fp/fmadf4.c: Likewise.
13790         * soft-fp/fmasf4.c: Likewise.
13791         * soft-fp/fmatf4.c: Likewise.
13792         * soft-fp/gedf2.c: Likewise.
13793         * soft-fp/gesf2.c: Likewise.
13794         * soft-fp/getf2.c: Likewise.
13795         * soft-fp/ledf2.c: Likewise.
13796         * soft-fp/lesf2.c: Likewise.
13797         * soft-fp/letf2.c: Likewise.
13798         * soft-fp/muldf3.c: Likewise.
13799         * soft-fp/mulsf3.c: Likewise.
13800         * soft-fp/multf3.c: Likewise.
13801         * soft-fp/negdf2.c: Likewise.
13802         * soft-fp/negsf2.c: Likewise.
13803         * soft-fp/negtf2.c: Likewise.
13804         * soft-fp/op-1.h: Likewise.
13805         * soft-fp/op-2.h: Likewise.
13806         * soft-fp/op-4.h: Likewise.
13807         * soft-fp/op-8.h: Likewise.
13808         * soft-fp/op-common.h: Likewise.
13809         * soft-fp/quad.h: Likewise.
13810         * soft-fp/single.h: Likewise.
13811         * soft-fp/soft-fp.h: Likewise.
13812         * soft-fp/sqrtdf2.c: Likewise.
13813         * soft-fp/sqrtsf2.c: Likewise.
13814         * soft-fp/sqrttf2.c: Likewise.
13815         * soft-fp/subdf3.c: Likewise.
13816         * soft-fp/subsf3.c: Likewise.
13817         * soft-fp/subtf3.c: Likewise.
13818         * soft-fp/truncdfsf2.c: Likewise.
13819         * soft-fp/trunctfdf2.c: Likewise.
13820         * soft-fp/trunctfsf2.c: Likewise.
13821         * soft-fp/trunctfxf2.c: Likewise.
13822         * soft-fp/unorddf2.c: Likewise.
13823         * soft-fp/unordsf2.c: Likewise.
13824         * soft-fp/unordtf2.c: Likewise.
13825
13826 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
13827
13828         [BZ #15672]
13829         * misc/error.c (error_tail): Fix possible buffer overflow.
13830
13831 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
13832
13833         [BZ #13028]
13834         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
13835         address.
13836
13837 2013-10-14  P. J. McDermott  <pj@pehjota.net>
13838
13839         [BZ #832]
13840         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
13841         testing pipefail option.
13842
13843 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13844
13845         * soft-fp/double.h: Indent preprocessor directives inside #if.
13846         * soft-fp/extended.h: Likewise.
13847         * soft-fp/op-2.h: Likewise.
13848         * soft-fp/op-4.h: Likewise.
13849         * soft-fp/op-common.h: Likewise.
13850         * soft-fp/quad.h: Likewise.
13851         * soft-fp/single.h: Likewise.
13852         * soft-fp/soft-fp.h: Likewise.
13853
13854 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
13855
13856         * iconv/iconv_prog.c: Fix typos.
13857         * stdio-common/psiginfo-data.h: Likewise.
13858
13859 2013-10-12   Reuben Thomas <rrt@sc3d.org>
13860
13861         [BZ #15764]
13862         * locale/setlocale.c: Fix typo.
13863
13864 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
13865
13866         [BZ #16036]
13867         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
13868         signaling NaN arguments.
13869         * soft-fp/unordsf2.c (__unordsf2): Likewise.
13870         * soft-fp/unordtf2.c (__unordtf2): Likewise.
13871
13872         [BZ #14910]
13873         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
13874         unordered operands.
13875         * soft-fp/gesf2.c (__gesf2): Likewise.
13876         * soft-fp/getf2.c (__getf2): Likewise.
13877         * soft-fp/ledf2.c (__ledf2): Likewise.
13878         * soft-fp/lesf2.c (__lesf2): Likewise.
13879         * soft-fp/letf2.c (__letf2): Likewise.
13880
13881         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
13882         * soft-fp/eqsf2.c (__eqsf2): Likewise.
13883         * soft-fp/eqtf2.c (__eqtf2): Likewise.
13884         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
13885         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
13886         * soft-fp/fixdfti.c (__fixdfti): Likewise.
13887         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
13888         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
13889         * soft-fp/fixsfti.c (__fixsfti): Likewise.
13890         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
13891         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
13892         * soft-fp/fixtfti.c (__fixtfti): Likewise.
13893         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
13894         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
13895         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
13896         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
13897         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
13898         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
13899         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
13900         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
13901         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
13902         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
13903         * soft-fp/floatdisf.c (__floatdisf): Likewise.
13904         * soft-fp/floatsisf.c (__floatsisf): Likewise.
13905         * soft-fp/floattidf.c (__floattidf): Likewise.
13906         * soft-fp/floattisf.c (__floattisf): Likewise.
13907         * soft-fp/floattitf.c (__floattitf): Likewise.
13908         * soft-fp/floatundidf.c (__floatundidf): Likewise.
13909         * soft-fp/floatundisf.c (__floatundisf): Likewise.
13910         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
13911         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
13912         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
13913         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
13914         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
13915         * soft-fp/gesf2.c (__gesf2): Likewise.
13916         * soft-fp/getf2.c (__getf2): Likewise.
13917         * soft-fp/ledf2.c (__ledf2): Likewise.
13918         * soft-fp/lesf2.c (__lesf2): Likewise.
13919         * soft-fp/letf2.c (__letf2): Likewise.
13920
13921         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
13922         Undefine and redefine.
13923         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
13924         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
13925         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
13926         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
13927         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13928         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
13929         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13930         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
13931         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13932         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
13933         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13934         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
13935         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13936         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
13937         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
13938
13939         [BZ #16032]
13940         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
13941         without decrementing exponent if mantissa >= that for the
13942         denominator, not >.
13943         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
13944         denominator, not >.  Decrement exponent in < case instead of
13945         incrementing in >= case.
13946         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
13947         without decrementing exponent if mantissa >= that for the
13948         denominator, not >.
13949
13950         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
13951         computing saturated result for unsigned overflow.
13952
13953 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13954             Jeff Law  <law@redhat.com>
13955
13956         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
13957         (atan2Mp): Add systemtap probe marker.
13958         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
13959         (__ieee754_log): Add systemtap probe marker.
13960         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
13961         (atanMp): Add systemtap probe marker.
13962         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
13963         (tanMp): Add systemtap probe marker.
13964         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
13965         (__slowexp): Add systemtap probe marker.
13966         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
13967         (__slowpow): Add systemtap probe marker.
13968         * manual/probes.texi: Document probes.
13969
13970 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
13971
13972         [BZ #15362]
13973         * libio/fileops.c (_IO_new_file_write): Return count of bytes
13974         written.
13975         (_IO_new_file_xsputn): Don't return EOF if nothing has been
13976         written.
13977         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
13978         written to buffer but not flushed.
13979         * libio/iofwrite_u.c:  Likewise.
13980         * libio/iopadn.c:  Return bytes returned even if EOF was
13981         encountered.
13982         * libio/iowpadn.c:  Likewise.
13983         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
13984         if _IO_padn does not write the whole buffer.
13985         [!COMPILE_WPRINTF] (PAD): Likewise.
13986
13987 2013-10-10  David S. Miller  <davem@davemloft.net>
13988
13989         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
13990         directory block.
13991
13992 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
13993
13994         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
13995         instead of FSF address.
13996         * soft-fp/fixdfti.c: Likewise.
13997         * soft-fp/fixsfti.c: Likewise.
13998         * soft-fp/fixtfti.c: Likewise.
13999         * soft-fp/fixunsdfti.c: Likewise.
14000         * soft-fp/fixunssfti.c: Likewise.
14001         * soft-fp/fixunstfti.c: Likewise.
14002         * soft-fp/floattidf.c: Likewise.
14003         * soft-fp/floattisf.c: Likewise.
14004         * soft-fp/floattitf.c: Likewise.
14005         * soft-fp/floatuntidf.c: Likewise.
14006         * soft-fp/floatuntisf.c: Likewise.
14007         * soft-fp/floatuntitf.c: Likewise.
14008         * soft-fp/trunctfxf2.c: Likewise.
14009
14010         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
14011         * soft-fp/fixdfti.c: Likewise.
14012         * soft-fp/fixsfti.c: Likewise.
14013         * soft-fp/fixtfti.c: Likewise.
14014         * soft-fp/fixunsdfti.c: Likewise.
14015         * soft-fp/fixunssfti.c: Likewise.
14016         * soft-fp/fixunstfti.c: Likewise.
14017         * soft-fp/floattidf.c: Likewise.
14018         * soft-fp/floattisf.c: Likewise.
14019         * soft-fp/floattitf.c: Likewise.
14020         * soft-fp/floatuntidf.c: Likewise.
14021         * soft-fp/floatuntisf.c: Likewise.
14022         * soft-fp/floatuntitf.c: Likewise.
14023         * soft-fp/trunctfxf2.c: Likewise.
14024
14025 2013-10-10  David S. Miller  <davem@davemloft.net>
14026
14027         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14028
14029 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
14030
14031         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
14032         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
14033         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
14034         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
14035         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
14036         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
14037         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
14038
14039         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
14040         for NaNs before doing comparisons on argument.
14041         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
14042         Likewise.
14043
14044 2013-10-10  Will Newton  <will.newton@linaro.org>
14045
14046         * malloc/hooks.c (memalign_check): Ensure the value of bytes
14047         passed to _int_memalign does not overflow.
14048
14049 2013-10-10  Torvald Riegel  <triegel@redhat.com>
14050
14051         * scripts/bench.pl: Add include-sources directive.
14052         * benchtests/README: Update documentation.
14053
14054 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
14055
14056         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
14057         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
14058         instead of FP_INIT_ROUNDMODE.
14059         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
14060         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
14061
14062         [BZ #16034]
14063         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
14064         copy class of input value.
14065         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
14066         not handle exceptions.
14067         * soft-fp/negsf2.c (__negsf2): Likewise.
14068         * soft-fp/negtf2.c (__negtf2): Likewise.
14069         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
14070
14071 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
14072
14073         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
14074         semicolon.  From Linux kernel.
14075
14076 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
14077
14078         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
14079
14080 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
14081
14082         [BZ #156]
14083         * manual/socket.texi: Added statement about buffer
14084         for gethostbyname2_r.
14085
14086 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
14087
14088         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
14089         Use .p2align directive instead, throughout.
14090         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
14091         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
14092         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
14093         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
14094         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
14095         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
14096         * sysdeps/x86_64/strchr.S: Likewise.
14097         * sysdeps/x86_64/strrchr.S: Likewise.
14098
14099 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
14100
14101         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
14102
14103         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
14104
14105         * sysdeps/generic/math_private.h (__mpsin1): Remove
14106         declaration.
14107         (__mpcos1): Likewise.
14108         (__mpsin): New argument __range_reduce.
14109         (__mpcos): Likewise.
14110         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14111         (slow): Use __mpsin and __mpcos.
14112         (slow1): Likewise.
14113         (slow2): Likewise.
14114         (sloww): Likewise.
14115         (sloww1): Likewise.
14116         (sloww2): Likewise.
14117         (bsloww): Likewise.
14118         (bsloww1): Likewise.
14119         (bsloww2): Likewise.
14120         (cslow2): Likewise.
14121         (csloww): Likewise.
14122         (csloww1): Likewise.
14123         (csloww2): Likewise.
14124         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
14125         range_reduce.  Merge in __mpsin1.
14126         (__mpcos): Likewise.
14127         (__mpsin1): Remove.
14128         (__mpcos1): Likewise.
14129
14130 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
14131
14132         * locale/loadlocale.c (_nl_intern_locale_data): Use
14133         LOCFILE_ALIGNED_P.
14134         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
14135         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
14136         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
14137         obstack data is appropriately aligned.
14138         (obstack_int32_grow_fast): Likewise.
14139         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
14140         * locale/programs/locfile.c (add_locale_uint32): Likewise.
14141         (add_locale_uint32_array): Likewise.
14142
14143 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
14144
14145         * benchtests/Makefile: Remove ARGLIST and RET variables.
14146         ($(objpfx)bench-%.c): Pass only function name to the script.
14147         * benchtests/README: Update documentation.
14148         * benchtests/acos-inputs: Add new directives.
14149         * benchtests/acosh-inputs: Likewise.
14150         * benchtests/asin-inputs: Likewise.
14151         * benchtests/asinh-inputs: Likewise.
14152         * benchtests/atan-inputs: Likewise.
14153         * benchtests/atanh-inputs: Likewise.
14154         * benchtests/cos-inputs: Likewise.
14155         * benchtests/cosh-inputs: Likewise.
14156         * benchtests/exp-inputs: Likewise.
14157         * benchtests/log-inputs: Likewise.
14158         * benchtests/pow-inputs: Likewise.
14159         * benchtests/rint-inputs: Likewise.
14160         * benchtests/sin-inputs: Likewise.
14161         * benchtests/sinh-inputs: Likewise.
14162         * benchtests/tan-inputs: Likewise.
14163         * benchtests/tanh-inputs: Likewise.
14164         * scripts/bench.pl: Add support for new directives.
14165
14166 2013-10-07  Alan Modra  <amodra@gmail.com>
14167
14168         * README: Fix careless merge.
14169
14170 2013-10-05  Alan Modra  <amodra@gmail.com>
14171
14172         * NEWS: Mention powerpc64le support and bugs fixed.
14173         * README: Both big-endian and little-endian powerpc64 supported.
14174
14175 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14176
14177         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
14178         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
14179         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
14180         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
14181
14182 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
14183
14184         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
14185         match prototype.
14186
14187 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
14188
14189         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
14190         Move -mhard-float appending from
14191         ports/sysdeps/powerpc/powerpc32/Makefile.
14192         [$(with-fp) = yes] (ASFLAGS): Likewise.
14193         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
14194         * sysdeps/powerpc/nofpu: Move directory from
14195         ports/sysdeps/powerpc/nofpu.
14196         * sysdeps/powerpc/soft-fp: Move directory from
14197         ports/sysdeps/powerpc/soft-fp.
14198         * sysdeps/powerpc/powerpc32/405: Move directory from
14199         ports/sysdeps/powerpc/powerpc32/405.
14200         * sysdeps/powerpc/powerpc32/440: Move directory from
14201         ports/sysdeps/powerpc/powerpc32/440.
14202         * sysdeps/powerpc/powerpc32/464: Move directory from
14203         ports/sysdeps/powerpc/powerpc32/464.
14204         * sysdeps/powerpc/powerpc32/476: Move directory from
14205         ports/sysdeps/powerpc/powerpc32/476.
14206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
14207         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
14208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
14209         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
14210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
14211         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
14212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
14213         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
14214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
14215         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
14216         * README: Update for powerpc-*-linux-gnu software floating point
14217         support in libc.
14218
14219         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
14220         case to powerpc/powerpc32*.
14221         * sysdeps/unix/sysv/linux/configure: Regenerated.
14222
14223         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
14224         (_FPU_MASK_OM): Define as 0x04.
14225         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
14226         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
14227         0x00c10080.
14228         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
14229         0x0000003c.
14230         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
14231
14232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
14233         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14234         getcontext_e500.
14235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
14236         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
14237         setcontext_e500.
14238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
14239         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
14240         and setcontext_e500.
14241
14242 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
14243
14244         * locale/iso-3166.def: Update iso-1366.def and related occurrences
14245
14246 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14247
14248         * manual/threads.texi (Default Thread Attributes): Fix typo.
14249
14250 2013-10-04  Will Newton  <will.newton@linaro.org>
14251
14252         * malloc/Makefile: Add tst-memalign.
14253         * malloc/tst-memalign.c: New file.
14254
14255         * malloc/tst-posix_memalign.c: Add comments.
14256         (do_test): Add comments and call free on all potentially
14257         allocated pointers. Add space after cast.
14258
14259         * malloc/tst-pvalloc.c: Add comments.
14260         (do_test): Add comments and call free on all potentially
14261         allocated pointers. Remove duplicate check for NULL pointer.
14262         Add space after cast.
14263
14264         * malloc/tst-valloc.c: Add comments.
14265         (do_test): Add comments and call free on all potentially
14266         allocated pointers. Remove duplicate check for NULL pointer.
14267         Add space after cast.
14268
14269 2013-10-04  Alan Modra  <amodra@gmail.com>
14270
14271         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14272         Use stdint types in rather than __attribute__((mode())).
14273         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14274
14275 2013-10-04  Alan Modra  <amodra@gmail.com>
14276
14277         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14278         Correct handling of unaligned relocs for little-endian.
14279         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14280
14281 2013-10-04  Alan Modra  <amodra@gmail.com>
14282
14283         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
14284         * configure: Regenerate.
14285         * nptl/shlib-versions: Powerpc*le starts at 2.18.
14286         * shlib-versions: Likewise.
14287
14288 2013-10-04  Alan Modra  <amodra@gmail.com>
14289
14290         * string/tester.c (test_memrchr): Increment reported test cycle.
14291
14292 2013-10-04  Alan Modra  <amodra@gmail.com>
14293
14294         * string/test-memcpy.c (do_one_test): When reporting errors, print
14295         string address and don't overrun end of string.
14296
14297 2013-10-04  Alan Modra  <amodra@gmail.com>
14298
14299         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
14300         insrdi.  Make better use of reg selection to speed exit slightly.
14301         Schedule entry path a little better.  Remove useless "are we done"
14302         checks on entry to main loop.  Handle wrapping around zero address.
14303         Correct main loop count.  Handle single left-over word from main
14304         loop inline rather than by using loop_small.  Remove extra word
14305         case in loop_small caused by wrong loop count.  Add little-endian
14306         support.
14307         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
14308         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
14309         cache hint.
14310         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
14311         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
14312         support.  Avoid rlwimi.
14313         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
14314
14315 2013-10-04  Alan Modra  <amodra@gmail.com>
14316
14317         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
14318         insrdi.  Formatting.
14319         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
14320         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14321         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
14322         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14323         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14324         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
14325
14326 2013-10-04  Alan Modra  <amodra@gmail.com>
14327
14328         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
14329         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14330         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
14331         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
14332         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
14333         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14334         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14335         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
14336         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
14337         use of regs.  Use power7 mtocrf.  Tidy function tails.
14338
14339 2013-10-04  Alan Modra  <amodra@gmail.com>
14340
14341         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
14342         Formatting.  Consistently use rXXX register defines or rN defines.
14343         Use early exit labels that avoid restoring unused non-volatile regs.
14344         Make cr field use more consistent with rWORDn compares.  Rename
14345         regs used as shift registers for unaligned loop, using rN defines
14346         for short lifetime/multiple use regs.
14347         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14348         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
14349         addi 1,1,64 to pop stack frame.  Simplify return value code.
14350         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14351
14352 2013-10-04  Alan Modra  <amodra@gmail.com>
14353
14354         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
14355         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
14356         rather than rlwimi.
14357         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
14358         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
14359         little-endian support.  Correct typos.
14360         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
14361         rather than rlwimi.
14362         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
14363         in loop and entry code to keep "and." results.
14364         (strchr): Add little-endian support.  Comment.  Move cntlzd
14365         earlier in tail.
14366         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
14367
14368 2013-10-04  Alan Modra  <amodra@gmail.com>
14369
14370         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
14371         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
14372         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
14373         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
14374
14375 2013-10-04  Alan Modra  <amodra@gmail.com>
14376
14377         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
14378         (rTMP): Define as r11.
14379         (strcmp): Add little-endian support.  Optimise tail.
14380         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
14381         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14382         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
14383         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
14384         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
14385         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
14386         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
14387
14388 2013-10-04  Alan Modra  <amodra@gmail.com>
14389
14390         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
14391         little-endian support.  Remove unnecessary "are we done" tests.
14392         Handle "s" wrapping around zero and extremely large "size".
14393         Correct main loop count.  Handle single left-over word from main
14394         loop inline rather than by using small_loop.  Correct comments.
14395         Delete "zero" tail, use "end_max" instead.
14396         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
14397
14398 2013-10-04  Alan Modra  <amodra@gmail.com>
14399
14400         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
14401         support.  Don't branch over align.
14402         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
14403         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
14404         support.  Rearrange tmp reg use to suit.  Comment.
14405         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
14406
14407 2013-10-04  Alan Modra  <amodra@gmail.com>
14408
14409         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
14410
14411 2013-10-04  Alan Modra  <amodra@gmail.com>
14412
14413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
14414         conditional form of branch and link when obtaining pc.
14415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
14416
14417 2013-10-04  Alan Modra  <amodra@gmail.com>
14418
14419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
14420         HIWORD/LOWORD.
14421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
14422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
14423
14424 2013-10-04  Alan Modra  <amodra@gmail.com>
14425
14426         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
14427         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
14428         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
14429         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
14430         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
14431         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14432         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
14433         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14434         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
14435         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
14436
14437 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14438             Alistair Popple <alistair@ozlabs.au.ibm.com>
14439             Alan Modra <amodra@gmail.com>
14440
14441         [BZ #15723]
14442         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
14443         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
14444         _dl_hwcap access for little-endian.
14445         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
14446         destroy vmx regs when saving unaligned.
14447         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
14448         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
14449         destroy vmx regs when saving unaligned.
14450
14451 2013-10-04  Alan Modra  <amodra@gmail.com>
14452
14453         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
14454         Don't use a union to pack hi/low value.
14455
14456 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14457
14458         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
14459         for little-endian.
14460         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14461         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
14462         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
14463         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14464         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14465
14466 2013-10-04  Alan Modra  <amodra@gmail.com>
14467
14468         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
14469         constants to usual value for .cst8 section, and remove redundant
14470         high address load.
14471         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
14472         constant for 0x1p52.  Load little-endian words of double from
14473         correct stack offsets.
14474
14475 2013-10-04  Alan Modra  <amodra@gmail.com>
14476
14477         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
14478         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
14479         words of double from correct stack offsets.
14480         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
14481         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
14482         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14483         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14484         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14485         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14486         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14487         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
14488         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
14489         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14490         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14491         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14492         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
14493         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
14494         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
14495         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
14496         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
14497
14498 2013-10-04  Alan Modra  <amodra@gmail.com>
14499
14500         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
14501         64-bit int/double union.
14502         (_FPU_SETCW): Likewise.
14503         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
14504         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
14505
14506 2013-10-04  Alan Modra  <amodra@gmail.com>
14507
14508         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
14509         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
14510
14511 2013-10-04  Alan Modra  <amodra@gmail.com>
14512
14513         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
14514         use vector int constants.
14515         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
14516
14517 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14518
14519         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
14520         array with long long.
14521         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
14522         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
14523         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
14524         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
14525         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
14526         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
14527         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
14528         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
14529         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
14530         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
14531         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
14532         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
14533         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
14534
14535 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
14536
14537         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
14538         (__signbit): Likewise.  Correct for little-endian.
14539         (__signbitl): Call __signbit.
14540         (lrint): Correct for little-endian.
14541         (lrintf): Call lrint.
14542
14543 2013-10-04  Alan Modra  <amodra@gmail.com>
14544
14545         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
14546         union 32-bit int array member with 64-bit int array.
14547         (t515, tm256): Double rather than long double.
14548         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
14549
14550 2013-10-04  Alan Modra  <amodra@gmail.com>
14551
14552         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
14553         Delete.
14554         (IEEE854_LONG_DOUBLE_BIAS): Delete.
14555         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
14556         version of math_ldbl.h.
14557
14558 2013-10-04  Alan Modra  <amodra@gmail.com>
14559
14560         [BZ #15734], [BZ #15735]
14561         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
14562         all uses of ieee875 long double macros and unions.  Simplify test
14563         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
14564         ldbl_extract_mantissa value for ix,iy exponents.  Properly
14565         normalize after ldbl_extract_mantissa, and don't add hidden bit
14566         already handled.  Don't treat low word of ieee854 mantissa like
14567         low word of IBM long double and mask off bit when testing for
14568         zero.
14569         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
14570         all uses of ieee875 long double macros and unions.  Simplify tests
14571         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
14572         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
14573         two1022, instead use their values.  Recognise that tests for large
14574         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
14575         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
14576         Rewrite all uses of ieee875 long double macros and unions.  Simplify
14577         test for 0.0L and nan.  Correct negation.
14578         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
14579         ieee875 long double macros and unions.  Correct output for large
14580         magnitude x.  Correct absolute value calculation.
14581         (__erfcl): Likewise.
14582         * math/libm-test.inc: Add tests for errors discovered in IBM long
14583         double versions of fmodl, remainderl, erfl and erfcl.
14584
14585 2013-10-04  Alan Modra  <amodra@gmail.com>
14586
14587         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
14588         all uses of ieee854 long double macros and unions.  Simplify tests
14589         for long doubles that are fully specified by the high double.
14590         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14591         Likewise.
14592         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
14593         Remove dead code too.
14594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
14595         (__ieee754_ynl): Likewise.
14596         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
14597         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
14598         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
14599         Remove dead code too.
14600         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
14601         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
14602         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
14603         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
14604         Simplify.
14605         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
14606         Simplify.
14607         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
14608         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
14609         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
14610         Comment on variable precision.
14611         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
14612         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
14613         Likewise.
14614         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14615         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
14616         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
14617         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
14618         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
14619
14620 2013-10-04  Alan Modra  <amodra@gmail.com>
14621
14622         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
14623         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
14624         all uses of ieee854 long double macros and unions.
14625         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
14626         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
14627         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
14628         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
14629         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
14630         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
14631         Likewise.
14632         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
14633         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
14634         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
14635         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
14636         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
14637         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
14638         Simplify sign and nan test too.
14639         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
14640         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
14641         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
14642         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
14643         Likewise.
14644         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
14645         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
14646         Likewise.
14647         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14648         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14649         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
14650         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
14651         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
14652         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
14653
14654 2013-10-04  Alan Modra  <amodra@gmail.com>
14655
14656         * stdio-common/printf_size.c (__printf_size): Don't use
14657         union ieee854_long_double in fpnum union.
14658         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
14659         signbit macro to retrieve sign from long double.
14660         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
14661         retrieve sign from long double.
14662         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
14663         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
14664         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
14665         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
14666         * math/test-misc.c (main): Don't use union ieee854_long_double.
14667
14668 2013-10-04  Alan Modra  <amodra@gmail.com>
14669
14670         [BZ #15680]
14671         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
14672         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
14673         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
14674         calculation.  Remove unnecessary test for denormal exponent.
14675         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
14676         Correct handling of denormals.  Avoid undefined shift behaviour.
14677         Correct normalisation of low mantissa when low double is denormal.
14678         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
14679         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
14680         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
14681         Correct normalisation of low mantissa.  Test for overflow of high
14682         mantissa and normalise.
14683         (ldbl_nearbyint): Use more readable constant for two52.
14684         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
14685         (__mpn_construct_long_double): Fix test for overflow of high
14686         mantissa and correct normalisation.  Avoid undefined shift.
14687
14688 2013-10-04  Alan Modra  <amodra@gmail.com>
14689
14690         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14691         (union ibm_extended_long_double): Define as an array of ieee754_double.
14692         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
14693         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
14694         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
14695         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
14696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14697         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
14698         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14699         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
14700         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
14701         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
14702         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
14703
14704 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
14705
14706         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
14707         page size instead of calling getpagesize.
14708
14709         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
14710         (LOCFILE_ALIGN_MASK): Likewise.
14711         (LOCFILE_ALIGN_UP): Likewise.
14712         (LOCFILE_ALIGNED_P): Likewise.
14713         * locale/programs/ld-collate.c (collate_output): Use the new
14714         macros instead of __alignof__ (int32_t).
14715         * locale/weight.h (findidx): Likewise.
14716
14717 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
14718
14719         [BZ #431]
14720         * manual/string.texi: Fix strncat and wcsncat.
14721
14722 2013-10-03  Brooks Moses  <bmoses@google.com>
14723
14724         [BZ #15915]
14725         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
14726         * Makerules: ...here, and adjust associated comments.
14727
14728 2013-10-02  Will Newton  <will.newton@linaro.org>
14729
14730         * malloc/Makefile: Add tst-pvalloc.
14731         * malloc/tst-pvalloc.c: New file.
14732
14733 2013-10-02  Will Newton  <will.newton@linaro.org>
14734
14735         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
14736         improve test coverage.
14737
14738 2013-10-02  Will Newton  <will.newton@linaro.org>
14739
14740         * malloc/Makefile: Add tst-posix_memalign.
14741         * malloc/tst-posix_memalign.c: New file.
14742
14743 2013-10-01  Eric Blake  <eblake@redhat.com>
14744
14745         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
14746         Use __THROWNL rather than __THROW on static functions.
14747
14748 2013-09-30  Petr Machata  <pmachata@redhat.com>
14749
14750         * elf/elf.h (R_AARCH64_ABS16): New macro.
14751         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
14752         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
14753         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
14754         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
14755         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
14756         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
14757         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
14758         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
14759         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
14760         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
14761         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
14762         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
14763         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
14764         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
14765         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
14766         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
14767         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
14768         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
14769         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
14770         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
14771         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
14772         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
14773         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
14774         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
14775         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
14776         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
14777         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
14778         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
14779         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
14780         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
14781         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
14782         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
14783         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
14784         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
14785         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
14786         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
14787         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
14788         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
14789         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
14790         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
14791         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
14792         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
14793         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
14794         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
14795         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
14796         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
14797         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
14798         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
14799         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
14800         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
14801         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
14802         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
14803         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
14804         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
14805         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
14806         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
14807         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
14808         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
14809         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
14810         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
14811         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
14812         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
14813         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
14814         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
14815         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
14816         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
14817         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
14818         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
14819         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
14820         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
14821         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
14822         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
14823         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
14824         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
14825         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
14826         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
14827         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
14828         (R_AARCH64_TLSDESC_LDR): Likewise.
14829         (R_AARCH64_TLSDESC_ADD): Likewise.
14830         (R_AARCH64_TLSDESC_CALL): Likewise.
14831
14832 2013-09-30  Andreas Schwab  <schwab@suse.de>
14833
14834         [BZ #15048]
14835         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
14836         the nss database lookup.
14837         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14839
14840 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
14841
14842         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
14843
14844 2013-09-28  P. J. McDermott  <pj@pehjota.net>
14845
14846         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
14847         ${Bash-specific parameter/pattern/string} parameter expansion.
14848         * sysdeps/unix/make-syscalls.sh: Likewise.
14849
14850 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14851
14852         * sysdeps/sh/stackguard-macros.h: New file.
14853
14854 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
14855
14856         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
14857         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
14858         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
14859         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
14860         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14861         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
14862
14863 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14864
14865         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
14866         Fix thread ID register.
14867
14868 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
14869
14870         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
14871         [POSIX || UNIX98]: Require rather than permitting all symbols from
14872         <time.h>.
14873         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
14874         element of struct sched_param.
14875         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
14876         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
14877         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
14878         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
14879         constant.
14880
14881 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
14882
14883         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
14884         argument calculation.
14885
14886 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14887
14888         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
14889         Expect macro.
14890         [POSIX] (pthread_attr_t): Do not require type.
14891         [POSIX] (pthread_cond_t): Likewise.
14892         [POSIX] (pthread_condattr_t): Likewise.
14893         [POSIX] (pthread_key_t): Likewise.
14894         [POSIX] (pthread_mutex_t): Likewise.
14895         [POSIX] (pthread_mutexattr_t): Likewise.
14896         [POSIX] (pthread_once_t): Likewise.
14897         [POSIX] (pthread_t): Likewise.
14898         [POSIX-based standards] (pthread_atfork): Expect function.
14899
14900 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
14901             Richard Sandiford  <richard@codesourcery.com>
14902
14903         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
14904         (swap_endianness_p): New extern variable.
14905         (set_big_endian): New inline function.
14906         (maybe_swap_uint32): Likewise.
14907         (maybe_swap_uint32_array): Likewise.
14908         (maybe_swap_uint32_obstack): Likewise.
14909         * locale/programs/locfile.c: Include <stdbool.h>.
14910         (swap_endianness_p): New variable.
14911         (add_locale_uint32): Call maybe_swap_uint32.
14912         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
14913         (write_locale_data): Call maybe_swap_uint32_array.
14914         * locale/programs/ld-collate.c (obstack_int32_grow): Call
14915         maybe_swap_uint32.
14916         (obstack_int32_grow_fast): Likewise.
14917         (output_weightwc): Call maybe_swap_uint32_obstack.
14918         (collate_output): Likewise.
14919         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
14920         (OPT_LITTLE_ENDIAN): Likewise.
14921         (options): Add --little-endian and --big-endian options.
14922         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
14923         * locale/programs/locarchive.c: Include "locfile.h".
14924         (GET): New macro.
14925         (SET): Likewise.
14926         (INC): Likewise.
14927         (create_archive): Use the new macros to access fields of
14928         structures directly mapped from or written to locale archives.
14929         (oldlocrecentcmp): Likewise.
14930         (enlarge_archive): Likewise.
14931         (insert_name): Likewise.
14932         (add_alias): Likewise.
14933         (add_locale): Likewise.
14934         (delete_locales_from_archive): Likewise.
14935         (show_archive_content): Likewise.
14936         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
14937         locale data.
14938
14939 2013-09-24  Roland McGrath  <roland@hack.frob.com>
14940
14941         * manual/freemanuals.texi: Updated from (newly) canonical copy at
14942         http://www.gnu.org/doc/freemanuals.texi.
14943         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
14944
14945 2013-09-24  Will Newton  <will.newton@linaro.org>
14946
14947         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
14948         macro.
14949
14950 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
14951
14952         * locale/hashval.h (compute_hashval): Interpret bytes of key as
14953         unsigned char.
14954
14955 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
14956
14957         * manual/threads.texi (POSIX Threads): Fix a typo.
14958
14959 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14960
14961         [BZ #14547]
14962         * string/tst-strcoll-overflow.c: New test case.
14963         * string/Makefile (xtests): Add tst-strcoll-overflow.
14964         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
14965         cache if string sizes may cause integer overflow.
14966
14967         [BZ #14547]
14968         * string/strcoll_l.c (coll_seq): New members rule, idx,
14969         save_idx and back_us.
14970         (get_next_seq_nocache): New function.
14971         (do_compare_nocache): New function.
14972         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
14973         when malloc fails.
14974
14975 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
14976
14977         [BZ #15754]
14978         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
14979         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
14980         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
14981
14982         [BZ #15754]
14983         * elf/Makefile (tests): Add tst-ptrguard1.
14984         (tests-static): Add tst-ptrguard1-static.
14985         (tst-ptrguard1-ARGS): Define.
14986         (tst-ptrguard1-static-ARGS): Define.
14987         * elf/tst-ptrguard1.c: New file.
14988         * elf/tst-ptrguard1-static.c: New file.
14989         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
14990         * sysdeps/i386/stackguard-macros.h: Likewise.
14991         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
14992         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
14993         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
14994         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
14995         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
14996         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
14997
14998 2013-09-23  Hector Marco  <hecmargi@upv.es>
14999             Ismael Ripoll  <iripoll@disca.upv.es>
15000             Carlos O'Donell  <carlos@redhat.com>
15001
15002         [BZ #15754]
15003         * sysdeps/generic/stackguard-macros.h: Define
15004         __pointer_chk_guard_local and POINTER_CHK_GUARD.
15005         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
15006         Define __pointer_chk_guard_local.
15007         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
15008         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
15009
15010 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
15011
15012         [BZ #15859]
15013         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
15014
15015 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
15016
15017         * include/string.h (__ffs): Declare as hidden.
15018         * string/ffs.c (__ffs): Define as hidden.
15019         * sysdeps/i386/ffs.c (__ffs): Likewise.
15020         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
15021         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
15022         * sysdeps/s390/ffs.c (__ffs): Likewise.
15023         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
15024
15025 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
15026
15027         * NEWS: Mention malloc probes.
15028
15029         * malloc/arena.c (new_heap): New memory_heap_new probe.
15030         (grow_heap): New memory_heap_more probe.
15031         (shrink_heap): New memory_heap_less probe.
15032         (heap_trim): New memory_heap_free probe.
15033         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
15034         (systrim): New memory_sbrk_less probe.
15035         * manual/probes.texi: Document them.
15036
15037         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
15038         * manual/probes.texi: Document it.
15039
15040         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
15041         (__libc_realloc): Add memory_realloc_retry probe.
15042         (__libc_memalign): Add memory_memalign_retry probe.
15043         (__libc_valloc): Add memory_valloc_retry probe.
15044         (__libc_pvalloc): Add memory_pvalloc_retry probe.
15045         (__libc_calloc): Add memory_calloc_retry probe.
15046         * manual/probes.texi: Document them.
15047
15048         * malloc/arena.c (get_free_list): Add probe
15049         memory_arena_reuse_free_list.
15050         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
15051         and memory_arena_reuse.
15052         (arena_get2) [!PER_THREAD]: Likewise.
15053         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
15054         memory_arena_reuse_realloc.
15055         * manual/probes.texi: Document them.
15056
15057         * malloc/malloc.c (__libc_free): Add
15058         memory_mallopt_free_dyn_thresholds probe.
15059         (__libc_mallopt): Add multiple memory_mallopt probes.
15060         * manual/probes.texi: Document them.
15061
15062         * malloc/malloc.c: Include stap-probe.h.
15063         (__libc_mallopt): Add memory_mallopt probe.
15064         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
15065         * manual/probes.texi: New.
15066         * manual/Makefile (chapters): Add probes.
15067         * manual/threads.texi: Set next node.
15068
15069 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
15070
15071         [BZ #15963, #13985]
15072         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
15073         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
15074         Add `Chinese' to `nan' entry name.
15075
15076 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15077
15078         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
15079         (POLYNOMIAL): Likewise.
15080         (TAYLOR_SINCOS): Likewise.
15081         (TAYLOR_SLOW): Likewise.
15082         (__sin): Use TAYLOR_SINCOS.
15083         (__cos): Likewise.
15084         (slow): Use TAYLOR_SLOW.
15085         (sloww): Likewise.
15086         (bsloww): Likewise.
15087         (csloww): Likewise.
15088
15089 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15090
15091         * stdlib/strtod_l.c: Fix buffer overrun.
15092
15093 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
15094
15095         * benchtests/Makefile (bench): Add sincos.
15096         * benchtests/bench-sincos.c: New file.
15097
15098         * math/libm-test.inc (cos_test_data): New test inputs.
15099         (sin_test_data): Likewise.
15100
15101         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
15102         macro.
15103         (__sin): Use it.
15104         (__cos): Likewise.
15105         (slow1): Likewise.
15106         (slow2): Likewise.
15107         (sloww1): Likewise.
15108         (sloww2): Likewise.
15109         (bsloww1): Likewise.
15110         (bsloww2): Likewise.
15111         (cslow2): Likewise.
15112         (csloww1): Likewise.
15113         (csloww2): Likewise.
15114
15115         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
15116         function.
15117         (__sin): Use it.
15118         (__cos): Likewise.
15119
15120         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
15121         gotos.
15122         (__cos): Likewise.
15123
15124 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
15125
15126         * config.h.in (HAVE_MIPS_NAN2008): New macro.
15127         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
15128         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
15129         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
15130         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
15131         * elf/cache.c (print_entry): Handle the new cache flags.
15132
15133 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15134             Aldy Hernandez  <aldyh@redhat.com>
15135
15136         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
15137         Change condition to [_SOFT_FLOAT].
15138         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
15139         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
15140         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
15141         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
15142         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
15143         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
15144         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
15145         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
15146         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
15147         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
15148         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
15149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
15150         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
15151         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
15152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
15153         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
15154         declaration.
15155
15156 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
15157
15158         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
15159         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15160         (__longjmp): Use LOAD_GP to load saved GPRs.
15161         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
15162         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
15163         (__sigsetjmp): Use SAVE_GP to save GPRs.
15164
15165         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
15166         Do not append -msoft-float.
15167         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
15168
15169 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
15170
15171         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
15172
15173 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
15174
15175         [BZ #15966]
15176         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
15177         (_FPU_GETCW): Use initial "__" on variable and field names but not
15178         on macro parameter name.
15179         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
15180         parentheses around reference to macro parameter.
15181
15182 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
15183
15184         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
15185         prototype.
15186         (ctype_startup): Use uint32_t in cast and sizeof for
15187         ctype->charnames.
15188
15189 2013-09-11  Jia Liu  <proljc@gmail.com>
15190
15191         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
15192         __daddr_t_defined.
15193         [__FreeBSD__]: Likewise.
15194
15195 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
15196
15197         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
15198         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
15199         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
15200         (strchr): Remove __strchr_sse42 ifunc selection.
15201         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
15202         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
15203
15204 2013-09-11  Will Newton  <will.newton@linaro.org>
15205
15206         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
15207         parameter to RES. Remove hardcoded 1000 value.
15208         * benchtests/bench-skeleton.c (main): Pass RES parameter
15209         to TIMING_INIT and multiply result by 1000.
15210
15211 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15212
15213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15214
15215 2013-09-11  Andreas Schwab  <schwab@suse.de>
15216
15217         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
15218         if not defined.
15219         (O_TMPFILE) [__USE_GNU]: Define.
15220         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
15221         Define.
15222
15223 2013-09-11  Will Newton  <will.newton@linaro.org>
15224
15225         [BZ #15857]
15226         * malloc/malloc.c (__libc_memalign): Check the value of bytes
15227         does not overflow.
15228
15229 2013-09-11  Will Newton  <will.newton@linaro.org>
15230
15231         [BZ #15856]
15232         * malloc/malloc.c (__libc_valloc): Check the value of bytes
15233         does not overflow.
15234
15235 2013-09-11  Will Newton  <will.newton@linaro.org>
15236
15237         [BZ #15855]
15238         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
15239         does not overflow.
15240
15241 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
15242
15243         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
15244         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
15245         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
15246         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
15247         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
15248
15249 2013-09-10  Allan McRae  <allan@archlinux.org>
15250
15251         [BZ #15748]
15252         * manual/arith.texi (Parsing of Floats): Clarify
15253         cross-reference.
15254
15255         [BZ #15849]
15256         * manual/install.texi (Running make install): Mention
15257         --enable-pt-chown.
15258         * INSTALL: Regenerated.
15259
15260 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
15261
15262         * csu/init-first.c (_init): Remove the !SHARED condition around
15263         FPU control word initialization.
15264         * elf/dl-support.c (_dl_fpu_control): New variable.
15265         (_dl_aux_init) <AT_FPUCW>: Initialize it.
15266         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
15267         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
15268         * math/test-fpucw-static.c: New file.
15269         * math/test-fpucw-ieee.c: New file.
15270         * math/test-fpucw-ieee-static.c: New file.
15271         * math/Makefile (tests): Add `test-fpucw-ieee' and
15272         `$(tests-static)'.
15273         (tests-static): New variable.
15274         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
15275         dependency to...
15276         [($(build-shared),yes)]
15277         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
15278         ... this.
15279         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
15280         New dependency.
15281
15282 2013-09-09  Allan McRae  <allan@archlinux.org>
15283
15284         [BZ #15939]
15285         * manual/string.texi (Collation Functions): Fix typo in
15286         strcoll example.
15287         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
15288
15289         [BZ #15893]
15290         * stdlib/isomac.c (get_null_defines): Fix memory leak.
15291
15292         [BZ #15892]
15293         * libio/memstream.c (open_memstream): Fix memory leak.
15294         * libio/wmemstream.c (open_wmemstream): Likewise.
15295
15296         [BZ #15895]
15297         * nscd/netgroupcache.c: Fix nesting of ifdefs.
15298
15299 2013-09-09  Will Newton  <will.newton@linaro.org>
15300
15301         * malloc/Makefile: Add tst-realloc to tests.
15302         * malloc/tst-realloc.c: New file.
15303
15304 2013-09-09  Allan McRae  <allan@archlinux.org>
15305
15306         [BZ #15844]
15307         * COPYING: Update from GNU website to fix FSF address.
15308         * COPYING.LIB: Likewise.
15309
15310 2013-09-06  David S. Miller  <davem@davemloft.net>
15311
15312         * po/zh_TW.po: Update Chinese (traditional) translation from
15313         translation project.
15314
15315 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
15316             Joseph Myers  <joseph@codesourcery.com>
15317
15318         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
15319         "localeinfo.h".
15320         (obstack_chunk_alloc): New macro.
15321         (obstack_chunk_free): Likewise.
15322         (record_offset): New function.
15323         (init_locale_data): Likewise.
15324         (align_locale_data): Likewise.
15325         (add_locale_empty): Likewise.
15326         (add_locale_raw_data): Likewise.
15327         (add_locale_raw_obstack): Likewise.
15328         (add_locale_string): Likewise.
15329         (add_locale_wstring): Likewise.
15330         (add_locale_uint32): Likewise.
15331         (add_locale_uint32_array): Likewise.
15332         (add_locale_char): Likewise.
15333         (start_locale_structure): Likewise.
15334         (end_locale_structure): Likewise.
15335         (start_locale_prelude): Likewise.
15336         (end_locale_prelude): Likewise.
15337         (write_locale_data): Take locale_file structure rather than an
15338         iovec.
15339         * locale/programs/locfile.h: Include "obstack.h".
15340         (struct locale_file): Change to store locale file contents instead
15341         of header.
15342         (init_locale_data): New prototype.
15343         (align_locale_data): Likewise.
15344         (add_locale_empty): Likewise.
15345         (add_locale_raw_data): Likewise.
15346         (add_locale_raw_obstack): Likewise.
15347         (add_locale_string): Likewise.
15348         (add_locale_wstring): Likewise.
15349         (add_locale_uint32): Likewise.
15350         (add_locale_uint32_array): Likewise.
15351         (add_locale_char): Likewise.
15352         (start_locale_structure): Likewise.
15353         (end_locale_structure): Likewise.
15354         (start_locale_prelude): Likewise.
15355         (end_locale_prelude): Likewise.
15356         (write_locale_data): Update prototype.
15357         * locale/programs/3level.h (struct TABLE): Remove result field.
15358         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
15359         Use new locale_file interface.
15360         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
15361         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
15362         * locale/programs/ld-address.c (address_output): Use new
15363         locale_file interface.
15364         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
15365         NO_ADD_LOCALE.
15366         (collate_finish): Don't call collseq_table_finalize.
15367         (collate_output): Use new locale_file interface.
15368         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
15369         in file.
15370         (NO_FINALIZE): Change to NO_ADD_LOCALE.
15371         (TABLE): Move defines earlier in file.
15372         (ELEMENT): Likewise.
15373         (DEFAULT): Likewise.
15374         (wctrans_table_add): Move macro and inline function earlier in
15375         file.
15376         (struct wctype_table): Move type earlier in file.
15377         (add_locale_wctype_table): New static prototype.
15378         (struct locale_ctype_t): Use logical types instead of struct iovec
15379         pointers for members.
15380         (ctype_output): Use new locale_file interface.
15381         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
15382         new locale_file interface.
15383         (allocate_arrays): Update for use of new locale_file interface.
15384         * locale/programs/ld-identification.c (identification_output): Use
15385         new locale_file interface.
15386         * locale/programs/ld-measurement.c (measurement_output): Likewise.
15387         * locale/programs/ld-messages.c (messages_output): Likewise.
15388         * locale/programs/ld-monetary.c (monetary_output): Likewise.
15389         * locale/programs/ld-name.c (name_output): Likewise.
15390         * locale/programs/ld-numeric.c (numeric_output): Likewise.
15391         * locale/programs/ld-paper.c (paper_output): Likewise.
15392         * locale/programs/ld-telephone.c (telephone_output): Likewise.
15393         * locale/programs/ld-time.c (time_output): Likewise.
15394
15395 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15396
15397         * benchtests/Makefile: Add memrchr benchmark.
15398         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
15399         benchmark as memrchr.
15400         * benchtests/bench-memrchr-ifunc.c: New file.
15401         * benchtests/bench-memrchr.c: New file.
15402
15403 2013-09-06   Will Newton  <will.newton@linaro.org>
15404
15405         * benchtests/Makefile (string-bench): Add memcpy.
15406
15407 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
15408             Cong Wang  <amwang@redhat.com>
15409
15410         [BZ #15850]
15411         * sysdeps/unix/sysv/linux/bits/in.h
15412         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
15413         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
15414         before __USE_KERNEL_IPV6_DEFS uses.
15415         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
15416         IPPROTO_BEETPH.
15417         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
15418         sockaddr_in6, or ipv6_mreq.
15419
15420 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15421
15422         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
15423         memory access for final bytes in some large inputs.
15424         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
15425
15426 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15427
15428         * string/test-memrchr.c: New file.
15429         * string/test-memrchr-ifunc.c: New file.
15430         * string/Makefile: Add new memrchr testcase.
15431
15432 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
15433
15434         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
15435         fanotify_init returns EPERM.
15436
15437 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15438
15439         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
15440         errors.
15441         (top level): Treat second token from macro or constant entries for
15442         allowed headers as allowed.
15443         * include/complex.h: Condition internal declarations on
15444         [!_ISOMAC].
15445         * include/fenv.h: Condition include of <stdbool.h> and internal
15446         declarations on [!_ISOMAC].
15447
15448 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
15449
15450         [BZ #15923]
15451         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
15452
15453 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
15454
15455         * configure.in (--enable-versioning): Remove configure option.
15456         (libc_cv_asm_symver_directive): Remove configure test.
15457         (libc_cv_ld_version_script_option): Likewise.
15458         (VERSIONING): Remove variable and AC_SUBST.
15459         (DO_VERSIONING): Remove AC_DEFINE.
15460         * configure: Regenerated.
15461         * config.h.in (DO_VERSIONING): Remove macro.
15462         * Makerules [$(versioning) = yes]: Change conditionals to
15463         [$(build-shared) = yes].
15464         * config.make.in (versioning): Remove variable.
15465         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
15466         [$(build-shared) = yes].
15467         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
15468         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
15469         * elf/Makefile [$(versioning) = yes]: Change conditionals to
15470         [$(build-shared) = yes].
15471         * extra-lib.mk [$(versioning) = yes]: Likewise.
15472         * hurd/Makefile [$(versioning) = yes]: Likewise.
15473         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
15474         [SHARED].
15475         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
15476         [SHARED].
15477         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15478         [SHARED && !NO_HIDDEN].
15479         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
15480         [SHARED].
15481         [SHARED && DO_VERSIONING]: Likewise..
15482         * libio/Makefile [$(versioning) = yes]: Change conditionals to
15483         [$(build-shared) = yes].
15484         * manual/install.texi (--disable-versioning): Remove
15485         documentation.
15486         * INSTALL: Regenerated.
15487         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
15488         to [SHARED].
15489         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
15490         [$(build-shared) = yes].
15491         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
15492         * sysdeps/i386/i686/multiarch/strstr-c.c
15493         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
15494         [SHARED && !NO_HIDDEN].
15495         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
15496         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
15497         * sysdeps/powerpc/powerpc32/dl-machine.c
15498         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
15499         * sysdeps/powerpc/powerpc32/sysdep.h
15500         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
15501         to [SHARED && PIC && !NO_HIDDEN].
15502         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
15503         conditional to [SHARED].
15504
15505 2013-09-04   Will Newton  <will.newton@linaro.org>
15506
15507         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
15508         * benchtests/bench-string.h: Include bench-timing.h instead
15509         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
15510         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
15511         call to HP_TIMING_DIFF_INIT.
15512         * benchtests/bench-memccpy.c: Use bench-timing.h macros
15513         instead of hp-timing.h macros.
15514         * benchtests/bench-memchr.c: Likewise.
15515         * benchtests/bench-memcmp.c: Likewise.
15516         * benchtests/bench-memcpy.c: Likewise.
15517         * benchtests/bench-memmem.c: Likewise.
15518         * benchtests/bench-memmove.c: Likewise.
15519         * benchtests/bench-memset.c: Likewise.
15520         * benchtests/bench-rawmemchr.c: Likewise.
15521         * benchtests/bench-strcasecmp.c: Likewise.
15522         * benchtests/bench-strcasestr.c: Likewise.
15523         * benchtests/bench-strcat.c: Likewise.
15524         * benchtests/bench-strchr.c: Likewise.
15525         * benchtests/bench-strcmp.c: Likewise.
15526         * benchtests/bench-strcpy.c: Likewise.
15527         * benchtests/bench-strcpy_chk.c: Likewise.
15528         * benchtests/bench-strlen.c: Likewise.
15529         * benchtests/bench-strncasecmp.c: Likewise.
15530         * benchtests/bench-strncat.c: Likewise.
15531         * benchtests/bench-strncmp.c: Likewise.
15532         * benchtests/bench-strncpy.c: Likewise.
15533         * benchtests/bench-strnlen.c: Likewise.
15534         * benchtests/bench-strpbrk.c: Likewise.
15535         * benchtests/bench-strrchr.c: Likewise.
15536         * benchtests/bench-strspn.c: Likewise.
15537         * benchtests/bench-strstr.c: Likewise.
15538
15539 2013-09-04  Will Newton  <will.newton@linaro.org>
15540
15541         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
15542
15543 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
15544
15545         [BZ #15427]
15546         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
15547         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
15548         * math/libm-test.inc (lgamma_test_data): Add more tests.
15549         * sysdeps/i386/fpu/libm-test-ulps: Update.
15550         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15551
15552 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
15553
15554         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
15555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15556         Add ifunc.
15557         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15558         Add strcmp-sse2-unaligned
15559         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
15560
15561 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15562
15563         * Versions.def (libc): Add GLIBC_2.19.
15564
15565 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
15566
15567         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
15568         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
15569
15570 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
15571
15572         [BZ #14155]
15573         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
15574         intermediate calculations in recurrence.
15575         (__ieee754_ynf): Likewise.
15576         * math/libm-test.inc (jn_test_data): Do not allow spurious
15577         underflow exception.  Add more tests.
15578         (yn_test_data): Add more tests.
15579         * sysdeps/i386/fpu/libm-test-ulps: Update.
15580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15581
15582 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
15583
15584         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
15585
15586 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15587
15588         * csu/init-first.c: Fix then/than typos.
15589         * locale/programs/ld-collate.c: Likewise.
15590         * locale/programs/linereader.h: Likewise.
15591         * manual/charset.texi: Likewise.
15592         * manual/filesys.texi: Likewise.
15593         * manual/stdio.texi: Likewise.
15594         * manual/string.texi: Likewise.
15595         * stdlib/fmtmsg.c: Likewise.
15596         * sysdeps/i386/stpncpy.S: Likewise.
15597         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
15598         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
15599         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
15600         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
15601
15602 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
15603
15604         * elf/dl-open.c: Fix typos.
15605         * iconvdata/gbbig5.c: Likewise.
15606         * iconvdata/iso-2022-jp.c: Likewise.
15607         * iconv/gconv_int.h: Likewise.
15608         * iconv/loop.c: Likewise.
15609         * nis/rpcsvc/nis.h: Likewise.
15610         * resolv/ns_name.c: Likewise.
15611         * stdio-common/vfscanf.c: Likewise.
15612         * streams/stropts.h: Likewise.
15613         * sunrpc/rpc_thread.c: Likewise.
15614         * sysdeps/i386/strpbrk.S: Likewise.
15615         * sysdeps/ieee754/k_standard.c: Likewise.
15616         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15617         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15618         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
15619         * sysdeps/mach/hurd/profil.c: Likewise.
15620         * sysdeps/s390/dl-procinfo.h: Likewise.
15621         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
15622         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
15623         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
15624         * sysdeps/x86_64/dl-trampoline.S: Likewise.
15625         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
15626
15627 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
15628
15629         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
15630         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
15631
15632 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
15633
15634         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
15635         aix specific files.
15636         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
15637         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
15638         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
15639         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
15640         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
15641         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
15642         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
15643         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
15644
15645 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15646             Roland McGrath  <roland@hack.frob.com>
15647
15648         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
15649         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
15650
15651 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15652
15653         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
15654         __executable_start symbol instead of _start.
15655
15656 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
15657
15658         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
15659         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
15660         Move macros to...
15661         * sysdeps/gnu/ldsodefs.h: ... this new file.
15662
15663         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
15664         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
15665         instead of ELFOSABI_LINUX.
15666
15667         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
15668         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
15669         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
15670         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
15671         Likewise.
15672         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
15673         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
15674         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
15675         Likewise.
15676         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
15677         (ibm_extended_long_double): Add ieee_nan member.
15678         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
15679         (do_test): New function.
15680
15681         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
15682         TEST_TRUNC.
15683         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
15684         functions, renamed from truncdfsf_test, trunctfsf_test,
15685         trunctfdf_test.
15686         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
15687         functions.
15688         (do_test): Run all these.
15689
15690 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
15691
15692         * argp/argp-help.c: Fix typos.
15693         * argp/argp-parse.c: Likewise.
15694         * debug/backtracesyms.c: Likewise.
15695         * elf/elf.h: Likewise.
15696         * malloc/malloc.c: Likewise.
15697         * nis/nis_print.c: Likewise.
15698         * resolv/res_comp.c: Likewise.
15699         * stdlib/stdlib.h: Likewise.
15700         * sunrpc/clnt_tcp.c: Likewise.
15701         * sunrpc/clnt_udp.c: Likewise.
15702         * sunrpc/clnt_unix.c: Likewise.
15703         * sysdeps/unix/bsd/ptsname.c: Likewise.
15704         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
15705         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
15706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
15707         Likewise.
15708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
15709         Likewise.
15710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
15711         Likewise.
15712         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
15713
15714 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
15715
15716         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
15717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15718
15719 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
15720
15721         [BZ #15897]
15722         * dlfcn/Makefile (tests): Add bug-dl-leaf.
15723         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
15724         ($(objpfx)bug-dl-leaf): New rule.
15725         ($(objpfx)bug-dl-leaf.so): Likewise.
15726         ($(objpfx)bug-dl-leaf.out): Likewise.
15727         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
15728         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
15729         * dlfcn/bug-dl-leaf.c: New test.
15730         * dlfcn/bug-dl-leaf-lib.c: Likewise.
15731         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
15732         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
15733         (dlclose): Likewise.
15734         (dlmopen): Likewise.
15735
15736 2013-08-27  Roland McGrath  <roland@hack.frob.com>
15737
15738         * include/netdb.h [!_ISOMAC]:
15739         Don't include <tls.h>.
15740         (h_errno, __libc_h_errno): Move declaration and macros out of
15741         [_LIBC_REENTRANT].
15742
15743         * include/resolv.h [_RESOLV_H_]:
15744         Don't include <tls.h>.
15745         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
15746         * resolv/res_libc.c: Don't include <tls.h>.
15747         (_res): Use __attribute__ ((nocommon)) in place of
15748         __attribute__ ((section (".bss"))).
15749
15750         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
15751         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
15752
15753         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
15754
15755         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
15756         only under [SIOCGIFCONF && SIOCGIFNETMASK].
15757
15758         * resolv/res_mkquery.c: Include <sys/time.h>.
15759
15760         * inet/ifreq.c: Moved to ...
15761         * sysdeps/unix/ifreq.c: ... here.
15762         * inet/ifreq.c: New file, true stub version.
15763
15764         * socket/sa_len.c: New file.
15765         * socket/Makefile (aux): Add it.
15766         * sysdeps/unix/sysv/linux/Makefile
15767         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
15768         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
15769         and #include <socket/sa_len.c>.
15770         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
15771         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
15772
15773         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
15774         * bits/socket.h: ... here.
15775
15776         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
15777         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
15778         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
15779
15780 2013-08-27  Andreas Schwab  <schwab@suse.de>
15781
15782         [BZ #15736]
15783         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
15784         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
15785         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
15786         * string/test-strcasecmp.c (test_main): Run tests in several
15787         locales.
15788         * string/test-strncasecmp.c (test_main): Likewise.
15789
15790         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
15791         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
15792         to __strcasecmp_nonascii and __strncasecmp_nonascii.
15793         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
15794         (__strncasecmp_ssse3) [PIC]: Likewise.
15795
15796 2013-08-26  Roland McGrath  <roland@hack.frob.com>
15797
15798         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
15799
15800         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
15801         instead of explicitly declaring xdecrypt.
15802         * nis/nss_nis/nis-publickey.c: Likewise.
15803
15804 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15805
15806         [BZ #15890]
15807         * nscd/aicache.c: Include res_hconf.h.
15808         (addhstaiX): Initialize res_hconf.
15809
15810 2013-08-26  Andreas Schwab  <schwab@suse.de>
15811
15812         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
15813         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
15814
15815 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
15816
15817         * nscd/aicache.c (addhstaiX): Fix indentation.
15818
15819 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
15820
15821         * configure.ac: Quote $build_pt_chown test.
15822         * configure: Regenerated.
15823
15824 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
15825
15826         [BZ #15532]
15827         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
15828         * math/s_cexpf.c (__cexpf): Likewise.
15829         * math/s_cexpl.c (__cexpl): Likewise.
15830         * math/libm-test.inc (cexp_test_data): Correct expected return
15831         value for NaN + i0.  Add another test.
15832
15833 2013-08-22  David S. Miller  <davem@davemloft.net>
15834
15835         * po/ca.po: Update Catalan translation from translation project.
15836         * po/uk.po: Add Ukrainian translations from translation project.
15837
15838 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
15839
15840         [BZ #15797]
15841         * math/s_fdim.c (__fdim): Check for infinite arguments if result
15842         is infinite, not alongside NaN test.
15843         * math/s_fdimf.c (__fdimf): Likewise.
15844         * math/s_fdiml.c (__fdiml): Likewise.
15845         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
15846         errno is unchanged.
15847
15848 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
15849
15850         * argp/argp-help.c: Fix typos.
15851         * crypt/speeds.c: Likewise.
15852         * csu/check_fds.c: Likewise.
15853         * elf/dl-load.c: Likewise.
15854         * elf/dl-open.c: Likewise.
15855         * elf/reldep3.c: Likewise.
15856         * elf/reldep.c: Likewise.
15857         * elf/sprof.c: Likewise.
15858         * iconv/iconv_charmap.c: Likewise.
15859         * iconv/skeleton.c: Likewise.
15860         * iconv/strtab.c: Likewise.
15861         * io/lockf64.c: Likewise.
15862         * libio/libioP.h: Likewise.
15863         * resolv/gai_notify.c: Likewise.
15864         * resolv/ns_name.c: Likewise.
15865         * resolv/ns_samedomain.c: Likewise.
15866         * resolv/res_send.c: Likewise.
15867         * stdlib/random.c: Likewise.
15868         * sunrpc/rpc/xdr.h: Likewise.
15869         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
15870         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
15871         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
15872         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
15873         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
15874         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
15875         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
15876         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
15877         * sysdeps/mach/hurd/check_fds.c: Likewise.
15878         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
15879         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
15880         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
15881         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
15882         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
15883         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
15884         * sysdeps/pthread/aio_notify.c: Likewise.
15885         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
15886         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
15887         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
15888         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
15889         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
15890
15891 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15892
15893         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
15894         version if bit_Slow_SSE4_2 is set.
15895         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
15896         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
15897
15898 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15899
15900         [BZ #15867]
15901         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
15902         trampoline stack frame information.
15903         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
15904         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15905         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
15906         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
15907         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
15908         * sysdeps/unix/sysv/linux/powerpc/init-first.c
15909         (_libc_vdso_platform_setup): Initialize the signal trampolines.
15910         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
15911         sa_flags value.
15912         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
15913         interrupting a syscall and set with option SA_SIGINFO.
15914
15915 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15916
15917         [BZ #15531]
15918         * math/s_cproj.c (__cproj): Only return an infinity if one part of
15919         argument is infinite.
15920         * math/s_cprojf.c (__cprojf): Likewise.
15921         * math/s_cprojl.c (__cprojl): Likewise.
15922         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
15923         * math/libm-test.inc (cproj_test_data): Add more tests.
15924
15925         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
15926
15927         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
15928         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
15929         size.  Use __ffs to determine corresponding shift.
15930
15931 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
15932             Roland McGrath  <roland@hack.frob.com>
15933
15934         * Makefile (INSTALL): Remove trailing blank lines from output of
15935         makeinfo.
15936
15937 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15938
15939         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
15940         Align 32 bit compat elf_greg to 8 bytes.
15941
15942 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
15943
15944         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
15945
15946 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15947
15948         * string/strcoll_l.c (coll_seq): New structure.
15949         (get_next_seq_cached): New function.
15950         (get_next_seq): New function.
15951         (do_compare): New function.
15952         (STRCOLL): Use GNU style definition.  Simplify implementation
15953         by using get_next_seq, get_next_seq_cached and do_compare.
15954
15955 2013-08-16  Florian Weimer  <fweimer@redhat.com>
15956
15957         [BZ #14699]
15958         CVE-2013-4237
15959         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
15960         member.
15961         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
15962         member.
15963         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
15964         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
15965         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
15966         conditional.
15967         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
15968         GETDENTS_64BIT_ALIGNED.
15969         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15970         * manual/filesys.texi (Reading/Closing Directory): Document
15971         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
15972         strongly.
15973         * manual/conf.texi (Limits for Files): Add portability note to
15974         NAME_MAX, PATH_MAX.
15975         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
15976
15977 2013-08-13  Andreas Schwab  <schwab@suse.de>
15978
15979         [BZ #15749]
15980         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
15981         of fabs.
15982         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
15983         LDBL_MAX_EXP >= 16384]: Add tests for it.
15984
15985 2013-08-12  David S. Miller  <davem@davemloft.net>
15986
15987         * version.h (RELEASE): Set to "development".
15988         (VERSION): Set to "2.18.90".
15989         * NEWS: Add 2.19 section.
15990
15991 2013-08-03  David S. Miller  <davem@davemloft.net>
15992
15993         * po/ko.po: Update Korean translation from translation project.
15994
15995 2013-08-01  David S. Miller  <davem@davemloft.net>
15996
15997         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
15998         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
15999         Bilka.
16000
16001 2013-07-30  David S. Miller  <davem@davemloft.net>
16002
16003         * po/fr.po: Update French translation from translation project.
16004
16005 2013-07-28  David S. Miller  <davem@davemloft.net>
16006
16007         * po/cs.po: Update Czech translation from translation project.
16008
16009         * po/sv.po: Update Swedish translation from translation project.
16010
16011 2013-07-27  David S. Miller  <davem@davemloft.net>
16012
16013         * po/eo.po: Update Esperanto translation from translation project.
16014
16015         * po/vi.po: Update Vietnamese translation from translation project.
16016
16017         * po/de.po: Update German translation from translation project.
16018
16019 2013-07-26  David S. Miller  <davem@davemloft.net>
16020
16021         * po/bg.po: Update Bulgarian translation from translation project.
16022
16023         * po/nl.po: Update Dutch translation from translation project.
16024         * po/pl.po: Update Polish translation from translation project.
16025         * po/ru.po: Update Russian translation from translation project.
16026
16027 2013-07-24  David S. Miller  <davem@davemloft.net>
16028
16029         * po/libc.pot: Update.
16030
16031 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16032
16033         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
16034         variable page size.
16035         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
16036         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
16037         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
16038
16039 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16040
16041         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
16042
16043 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16044             Andreas Schwab  <schwab@suse.de>
16045             Roland McGrath  <roland@hack.frob.com>
16046             Joseph Myers  <joseph@codesourcery.com>
16047             Carlos O'Donell  <carlos@redhat.com>
16048
16049         [BZ #15755]
16050         * config.h.in: Define HAVE_PT_CHOWN.
16051         * config.make.in (build-pt-chown): New variable.
16052         * configure.in (--enable-pt_chown): New configure option.
16053         * configure: Regenerate.
16054         * login/Makefile: Include Makeconfig.  Build pt_chown only if
16055         build-pt-chown is enabled.
16056         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
16057         pt_chown to fix pty ownership.
16058         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
16059         CLOSE_ALL_FDS.
16060         * manual/install.texi (Configuring and compiling): Mention
16061         --enable-pt_chown. Add @findex for grantpt.
16062         * INSTALL: Regenerate.
16063
16064 2013-07-20  David S. Miller  <davem@davemloft.net>
16065
16066         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
16067         difference between 32-bit and 64-bit.
16068
16069 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
16070
16071         [BZ #15711]
16072         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
16073         Avoid system header dependency with -ffreestanding.
16074         ($(objpfx)bits/syscall%d): Likewise.
16075
16076 2013-07-13  David S. Miller  <davem@davemloft.net>
16077
16078         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
16079         underflows from atanl/atan2l due to bug 15319.
16080         (casinh_test_data): Likewise.
16081
16082 2013-07-07  David S. Miller  <davem@davemloft.net>
16083
16084         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
16085
16086 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
16087
16088         * sysdeps/i386/fpu/libm-test-ulps: Update.
16089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16090
16091 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16092
16093         * configure.in (--enable-lock-elision): Fix message text.
16094         * INSTALL: Regenerate.
16095         * configure: Regenerate.
16096
16097 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16098
16099         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16100
16101 2013-07-03  Andreas Jaeger  <aj@suse.de>
16102
16103         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
16104         define.
16105         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
16106         (ptrace_peeksiginfo_args): Add.
16107         (__ptrace_peeksiginfo_flags): Add.
16108         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16109         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16110         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16111
16112 2013-07-03  Allan McRae  <allan@archlinux.org>
16113
16114         * sysdeps/i386/fpu/libm-test-ulps: Update.
16115
16116 2013-07-02  David S. Miller  <davem@davemloft.net>
16117
16118         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16119
16120 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
16121
16122         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16123
16124 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16125
16126         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16128
16129 2013-07-02  Andi Kleen <ak@linux.intel.com>
16130
16131         * config.h.in (ENABLE_LOCK_ELISION): Add.
16132         * configure.in (--enable-lock-elision): Add option.
16133         * manual/install.texi: Document --enable lock elision.
16134         * configure: Regenerate
16135         * INSTALL: Regenerate.
16136
16137 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
16138
16139         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
16140         SSE4.2 strcasecmp for libc.a.
16141         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
16142
16143 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
16144
16145         [BZ #13304]
16146         * soft-fp/op-common.h (_FP_FMA): New macro.
16147         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
16148         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
16149         (_FP_MUL_MEAT_1_imm): ... here.
16150         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
16151         (_FP_MUL_MEAT_1_wide): ... here.
16152         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
16153         (_FP_MUL_MEAT_1_hard): ... here.
16154         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
16155         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
16156         (_FP_MUL_MEAT_2_wide): ... here.
16157         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
16158         (_FP_MUL_MEAT_2_wide_3mul): ... here.
16159         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
16160         (_FP_MUL_MEAT_2_gmp): ... here.
16161         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
16162         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
16163         (_FP_MUL_MEAT_4_wide): ... here.
16164         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
16165         (_FP_MUL_MEAT_4_gmp): ... here.
16166         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
16167         (_FP_WFRACBITS_DW_S): Likewise.
16168         (_FP_WFRACXBITS_DW_S): Likewise.
16169         (_FP_HIGHBIT_DW_S): Likewise.
16170         (FP_FMA_S): Likewise.
16171         (_FP_FRAC_HIGH_DW_S): Likewise.
16172         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
16173         (_FP_WFRACBITS_DW_D): Likewise.
16174         (_FP_WFRACXBITS_DW_D): Likewise.
16175         (_FP_HIGHBIT_DW_D): Likewise.
16176         (FP_FMA_D): Likewise.
16177         (_FP_FRAC_HIGH_DW_D): Likewise.
16178         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
16179         (_FP_WFRACBITS_DW_E): Likewise.
16180         (_FP_WFRACXBITS_DW_E): Likewise.
16181         (_FP_HIGHBIT_DW_E): Likewise.
16182         (FP_FMA_E): Likewise.
16183         (_FP_FRAC_HIGH_DW_E): Likewise.
16184         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
16185         (_FP_WFRACBITS_DW_Q): Likewise.
16186         (_FP_WFRACXBITS_DW_Q): Likewise.
16187         (_FP_HIGHBIT_DW_Q): Likewise.
16188         (FP_FMA_Q): Likewise.
16189         (_FP_FRAC_HIGH_DW_Q): Likewise.
16190         * soft-fp/fmasf4.c: New file.
16191         * soft-fp/fmadf4.c: Likewise.
16192         * soft-fp/fmatf4.c: Likewise.
16193
16194 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16195
16196         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
16197         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
16198         Silvermont.
16199         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
16200         macro.
16201         (index_Slow_SSE4_2): Likewise.
16202         (index_Prefer_PMINUB_for_stringop): Likewise.
16203         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
16204         bit_Slow_SSE4_2 is set.
16205         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16206         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16207
16208 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16209
16210         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
16211         rtld_global._dl_hwcap2.
16212         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
16213         POWER8.
16214         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
16215         POWER8 feature descriptions defined in _dl_hwcap2.
16216         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
16217         string handling for POWER8 feature bits.
16218         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
16219         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
16220         _dl_powerpc_cap_flags.
16221         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
16222         * sysdeps/powerpc/rtld-global-offsets.sym
16223         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
16224         _dl_hwcap2 in the rtld_global_ro structure.
16225
16226 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16227
16228         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
16229         hardware capabilities in support of AT_HWCAP2.
16230         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
16231         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
16232         GLRO(dl_hwcap2).
16233         (_dl_show_auxv): Add support for calling _dl_procinfo to display
16234         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
16235         explicitly the unknown a_type display mechanism is used.
16236         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
16237         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
16238         struct member.
16239         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
16240         to macro prototype for AT_HWCAP2 support.
16241         * sysdeps/i386/dl-procinfo.h: Likewise.
16242         * sysdeps/s390/dl-procinfo.h: Likewise.
16243         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
16244         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
16245         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
16246         return -1 for unknown a_type display fallback.
16247         * sysdeps/sparc/dl-procinfo.h: Likewise.
16248         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
16249         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
16250
16251 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
16252
16253         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
16254         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
16255
16256 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
16257
16258         [BZ #12492]
16259         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
16260         mprotect making __stack_prot writable.
16261
16262 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
16263             Joseph Myers  <joseph@codesourcery.com>
16264
16265         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
16266         as being properly aligned.
16267
16268 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
16269
16270         * dlfcn/modstatic5.c: New file.
16271         * dlfcn/tststatic5.c: New file.
16272         * dlfcn/Makefile (tests): Add tststatic5.
16273         (tests-static): Likewise.
16274         (modules-names): Add modstatic5.
16275         (tststatic5-ENV): New variable.
16276         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
16277
16278         [BZ #15022]
16279         * elf/dl-support.c (_dl_main_map): New variable.
16280         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
16281         (_dl_nns, _dl_load_adds): Set to 1.
16282         (_dl_initial_searchlist): Refer to _dl_main_map.
16283         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
16284         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
16285         call to _dl_get_origin.
16286         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
16287         around call_map.
16288         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
16289         * dlfcn/modstatic3.c: New file.
16290         * dlfcn/tststatic3.c: New file.
16291         * dlfcn/tststatic4.c: New file.
16292         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
16293         (tests-static): Likewise.
16294         (modules-names): Add modstatic3.
16295         (tststatic3-ENV, tststatic4-ENV): New variables.
16296         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
16297         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
16298
16299 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
16300
16301         * configure.in (CC): Require GCC version 4.4 or later.
16302         * configure: Regenerated.
16303         * manual/install.texi (Tools for Compilation): Update GCC version
16304         requirement.
16305         * INSTALL: Regenerated.
16306
16307 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16308
16309         [BZ #15674]
16310         * string/test-memcmp.c (check2): New.
16311         (main): Call check2.
16312
16313         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
16314
16315 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
16316
16317         [BZ #15022]
16318         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
16319         over to...
16320         (dl_open_worker) [!SHARED]: ... here.
16321
16322 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16323
16324         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
16325
16326 2013-06-25  Richard Henderson  <rth@redhat.com>
16327
16328         * locale/programs/locarchive.c: Include <libc-internal.h>
16329
16330 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
16331
16332         * manual/texinfo.tex: Update to version 2013-06-21.17, with
16333         trailing whitespace removed.
16334
16335 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16336
16337         [BZ #10283]
16338         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
16339         * locale/programs/locarchive.c: Include libc-mmap.h.
16340         (prepare_address_space): Take two new outputs (the mmap base and len).
16341         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
16342         values.
16343         (create_archive): Declare new mmap base and len values for
16344         prepare_address_space, and store the result in ah.
16345         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
16346         (enlarge_archive): If ah->mmap_base is not NULL, use that and
16347         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16348         Declare new mmap base and len values for
16349         prepare_address_space, and store the result in new_ah.
16350         (open_archive): Declare new mmap base and len values for
16351         prepare_address_space, and store the result in ah.
16352         (close_archive): If ah->mmap_base is not NULL, use that and
16353         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
16354         * sysdeps/generic/libc-mmap.h: New file.
16355
16356 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
16357
16358         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
16359         (ALIGN_UP): Likewise.
16360         (PTR_ALIGN_DOWN): Likewise.
16361         (PTR_ALIGN_UP): Likewise.
16362
16363 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16364
16365         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
16366         entry mapped to PPC_PLATFORM_POWER8.
16367         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
16368         POWER8.
16369         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
16370         (_dl_string_platform): Add case for exporting platform position for
16371         POWER8.
16372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
16373         search path to sysdeps/powerpc/powerpc32/power8 directory.
16374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
16375         search path to sysdeps/powerpc/powerpc64/power8 directory.
16376         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
16377         power7 directories.
16378         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
16379         power7 directories.
16380
16381 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16382
16383         * INSTALL: Regenerate.
16384
16385         * nscd/connections.c (nscd_init): Fix comment.
16386
16387 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
16388
16389         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
16390
16391         [BZ #15667]
16392         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
16393         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
16394
16395 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16396
16397         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
16398         DL_DST_REQ_STATIC.
16399         (DL_DST_REQ_STATIC): Remove macro.
16400
16401 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
16402
16403         [BZ #7006]
16404         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
16405         with a shift of 0 bits.
16406
16407 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
16408
16409         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
16410         $(tststatic-ENV).
16411
16412 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16413
16414         [BZ #15655]
16415         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
16416
16417 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16418
16419         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
16420         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
16421         accepts -fno-tree-loop-distribute-patterns.
16422         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
16423         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
16424         recursive call.
16425         * string/memset.c (memset): Likewise.
16426         * string/test-memmove.c (simple_memmove): Disable loop transformation
16427         to library calls.
16428         * string/test-memset.c (simple_memset): Likewise.
16429         * benchtests/bench-memmove.c (simple_memmove): Likewise.
16430         * benchtests/bench-memset.c (simple_memset): Likewise.
16431         * configure: Regenerated.
16432
16433 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
16434
16435         * math/test-misc.c (main): Ignore fesetround failure when failures
16436         of subsequent rounding tests would be ignored.
16437
16438         [BZ #15654]
16439         * math/fedisblxcpt.c (fedisableexcept): Return 0.
16440         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
16441         * math/fegetenv.c (__fegetenv): Return 0.
16442         * math/fegetexcept.c (fegetexcept): Return 0.
16443         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
16444         FE_TONEAREST.
16445         * math/feholdexcpt.c (feholdexcept): Return 0.
16446         * math/fesetenv.c (__fesetenv): Return 0.
16447         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
16448         argument FE_TONEAREST.
16449         * math/feupdateenv.c (__feupdateenv): Return 0.
16450         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
16451
16452 2013-06-18  Roland McGrath  <roland@hack.frob.com>
16453
16454         * elf/rtld-Rules (rtld-compile-command.S): New variable.
16455         (rtld-compile-command.s, rtld-compile-command.c): New variables.
16456         ($(objpfx)rtld-%.os rules): Use them.
16457
16458 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16459
16460         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
16461         fields.
16462
16463 2013-06-17  Roland McGrath  <roland@hack.frob.com>
16464
16465         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
16466         length of target pattern, then descending length of dependency pattern.
16467         * configure.in (AWK): Require gawk 3.1.2 or newer.
16468         * manual/install.texi (Tools for Compilation): Say that we do.
16469         * configure: Regenerated.
16470
16471         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
16472         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
16473         * scripts/sysd-rules.awk: ... this new script.
16474         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
16475         than a glob-style pattern.
16476
16477 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
16478
16479         * math/test-misc.c (main): Do not treat incorrectly rounded
16480         conversions as failure unless ROUNDING_TESTS passes.
16481
16482 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
16483
16484         [BZ #15631]
16485         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
16486         restore exception state around main square root computation, then
16487         check for inexactness explicitly.
16488
16489         * math/libm-test.inc (fma_test_data): Add another test.
16490
16491 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16492
16493         * manual/threads.texi (Non-POSIX Extensions): New document
16494         node.  Document pthread_getattr_default_np and
16495         pthread_setattr_default_np.
16496
16497         * Versions.def (libpthread): Add GLIBC_2.18.
16498         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
16499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
16500         Likewise.
16501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
16502         Likewise.
16503         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16504         Likewise.
16505         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16506         Likewise.
16507         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
16508         Likewise.
16509         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
16510         Likewise.
16511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
16512         Likewise.
16513         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
16514         Likewise.
16515         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16516         Likewise.
16517
16518 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
16519
16520         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16521         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
16522
16523 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16524             H.J. Lu  <hjl.tools@gmail.com>
16525
16526         [BZ #15627]
16527         * sysdeps/x86_64/rtld-memset.c: Remove file.
16528         * sysdeps/x86_64/rtld-memset.S: New file.
16529
16530 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
16531
16532         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
16533         (test_in_one_mode): Take arguments for whether the rounding mode
16534         is supported for each floating-point type.
16535         (do_test): Pass new arguments to test_in_one_mode using
16536         ROUNDING_TESTS.
16537
16538 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16539
16540         * posix/tst-waitid.c (do_test): Distinguish different instances of
16541         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
16542         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
16543         before entering the kernel for waitpid.
16544
16545 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16546
16547         * NEWS: Fix note on clock function precision.  Text by Roland
16548         McGrath.
16549
16550 2013-06-13  Roland McGrath  <roland@hack.frob.com>
16551
16552         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
16553         it into place only when and if the sanity check passes.
16554
16555 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
16556
16557         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
16558         output for whether conversion result is exact.  Take argument
16559         indicating whether type is IBM long double.
16560         (round_for_all): Change need_exact field to ibm_ld.
16561         * stdlib/tst-strtod-round.c (struct exactness): New type.
16562         (struct test): Change bool ld_ok field to struct exactness exact.
16563         (TEST): Update all definitions for change to field.
16564         (tests): Regenerate array contents.
16565         (test_in_one_mode): Take pointer to new field instead of old ld_ok
16566         field value.  Check for IBM long double here.
16567         (do_test): Update calls to test_in_one_mode.
16568
16569 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
16570
16571         [BZ #12515]
16572         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
16573         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
16574
16575 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16576
16577         [BZ #15605]
16578         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
16579         generated by the compiler on loop optimizations.
16580         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
16581         general definitions.
16582
16583 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
16584
16585         * math/bug-nextafter.c: Include <math-tests.h>.
16586         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16587         the relevant type.
16588         * math/bug-nexttoward.c: Include <math-tests.h>.
16589         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16590         the relevant type.
16591         * math/test-misc.c: Include <math-tests.h>.
16592         (main): Only test for exceptions if EXCEPTION_TESTS is true for
16593         the relevant type.
16594
16595 2013-06-12  Andreas Jaeger  <aj@suse.de>
16596
16597         * po/ia.po: Update Interlingua translation from translation
16598         project.
16599
16600 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16601
16602         * include/fenv.h: Include stdbool.h.
16603         (struct rm_ctx): New structure.
16604         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
16605         Define macro.
16606         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
16607         (SET_RESTORE_ROUNDF): Likewise.
16608         (SET_RESTORE_ROUNDL): Likewise.
16609         (SET_RESTORE_ROUND_NOEX): Likewise.
16610         (SET_RESTORE_ROUND_NOEXF): Likewise.
16611         (SET_RESTORE_ROUND_NOEXL): Likewise.
16612         (SET_RESTORE_ROUND_53BIT): Likewise.
16613         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
16614         (libc_feresetround_noexf_ctx): Likewise.
16615         (libc_feresetround_noexl_ctx): Likewise.
16616         (libc_feholdsetround_53bit_ctx): Likewise.
16617         (libc_feresetround_53bit_ctx): Likewise.
16618         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
16619         (libc_feholdexcept_setround_sse_ctx): New function.
16620         (libc_fesetenv_sse_ctx): Likewise.
16621         (libc_feupdateenv_sse_ctx): Likewise.
16622         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
16623         (libc_feholdexcept_setround_387_ctx): Likewise.
16624         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
16625         (libc_feholdsetround_387_prec_ctx): Likewise.
16626         (libc_feholdsetround_387_ctx): Likewise.
16627         (libc_feholdsetround_387_53bit_ctx): Likewise.
16628         (libc_feholdsetround_sse_ctx): Likewise.
16629         (libc_feresetround_sse_ctx): Likewise.
16630         (libc_feresetround_387_ctx): Likewise.
16631         (libc_feupdateenv_387_ctx): Likewise.
16632         (libc_feholdexcept_setroundf_ctx): Define macro.
16633         (libc_fesetenvf_ctx): Likewise.
16634         (libc_feupdateenvf_ctx): Likewise.
16635         (libc_feholdsetroundf_ctx): Likewise.
16636         (libc_feresetroundf_ctx): Likewise.
16637         (libc_feholdexcept_setround_ctx): Likewise.
16638         (libc_fesetenv_ctx): Likewise.
16639         (libc_feupdateenv_ctx): Likewise.
16640         (libc_feholdsetround_ctx): Likewise.
16641         (libc_feresetround_ctx): Likewise.
16642         (libc_feholdexcept_setroundl_ctx): Likewise.
16643         (libc_feupdateenvl_ctx): Likewise.
16644         (libc_feholdsetroundl_ctx): Likewise.
16645         (libc_feresetroundl_ctx): Likewise.
16646         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
16647         (libc_feresetround_53bit_ctx): Likewise.
16648
16649 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16650
16651         * locale/iso-639.def: Convert to UTF-8.
16652
16653 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
16654
16655         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
16656         (EXCEPTION_TESTS_double): Likewise.
16657         (EXCEPTION_TESTS_long_double): Likewise.
16658         (EXCEPTION_TESTS): Likewise.
16659         * math/libm-test.inc (test_exceptions): Only test exceptions if
16660         EXCEPTION_TESTS (FLOAT).
16661
16662 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16663
16664         * benchtests/Makefile (string-bench): Add strcpy_chk and
16665         stpcpy_chk.
16666         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
16667         * benchtests/bench-stpcpy_chk.c: New file.
16668         * benchtests/bench-strcpy_chk-ifunc.c: New file.
16669         * benchtests/bench-strcpy_chk.c: New file.
16670         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
16671         code.
16672         (do_test): Likewise.
16673
16674 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16675
16676         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
16677         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
16678         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
16679         with tabs where appropriate.
16680         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
16681         dl-procinfo.h.
16682         [PPC_PLATFORM_PPC440]: Likewise.
16683         [PPC_PLATFORM_PPC464]: Likewise.
16684         [PPC_PLATFORM_PPC476]: Likewise.
16685         (_dl_string_platform): Add support for detecting ppc405, ppc440,
16686         ppc464, and ppc476 platform strings merging from ports/
16687         dl-procinfo.h.
16688
16689 2013-06-11  Andreas Schwab  <schwab@suse.de>
16690
16691         [BZ #14991]
16692         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
16693         (from_ucs4_idx): Regenerate.
16694         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
16695         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
16696         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
16697         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
16698         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
16699         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
16700         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
16701         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
16702         from FROM_LOOP and TO_LOOP specific macros.
16703         (BODY): Handle combining characters.
16704         * iconvdata/BIG5HKSCS.irreversible: Update.
16705         * iconvdata/BIG5HKSCS.precomposed: New file.
16706         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
16707         characters.
16708         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
16709
16710 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16711
16712         * include/sys/time.h: Fix indentation and add copyright header.
16713
16714         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
16715         (do_test): Likewise.
16716         * string/test-memchr.c (do_one_test): Likewise.
16717         (do_test): Likewise.
16718         * string/test-memcmp.c (do_one_test): Likewise.
16719         (do_test): Likewise.
16720         * string/test-memcpy.c (do_one_test): Likewise.
16721         (do_test): Likewise.
16722         * string/test-memmem.c (do_one_test): Likewise.
16723         (do_test): Likewise.
16724         (do_random_tests): Likewise.
16725         * string/test-memmove.c (do_one_test): Likewise.
16726         (do_test): Likewise.
16727         * string/test-memset.c (do_one_test): Likewise.
16728         (do_test): Likewise.
16729         * string/test-rawmemchr.c (do_one_test): Likewise.
16730         (do_test): Likewise.
16731         * string/test-strcasecmp.c (do_one_test): Likewise.
16732         (do_test): Likewise.
16733         * string/test-strcasestr.c (do_one_test): Likewise.
16734         (do_test): Likewise.
16735         * string/test-strcat.c (do_one_test): Likewise.
16736         (do_test): Likewise.
16737         * string/test-strchr.c (do_one_test): Likewise.
16738         (do_test): Likewise.
16739         * string/test-strcmp.c (do_one_test): Likewise.
16740         (do_test): Likewise.
16741         * string/test-strcpy.c (do_one_test): Likewise.
16742         (do_test): Likewise.
16743         * string/test-string.h: Likewise.
16744         (test_init): Likewise.
16745         * string/test-strlen.c (do_one_test): Likewise.
16746         (do_test): Likewise.
16747         * string/test-strncasecmp.c (do_one_test): Likewise.
16748         (do_test): Likewise.
16749         * string/test-strncat.c (do_one_test): Likewise.
16750         (do_test): Likewise.
16751         * string/test-strncmp.c (do_one_test): Likewise.
16752         (do_test_limit): Likewise.
16753         (do_test): Likewise.
16754         * string/test-strncpy.c (do_one_test): Likewise.
16755         (do_test): Likewise.
16756         * string/test-strnlen.c (do_one_test): Likewise.
16757         (do_test): Likewise.
16758         * string/test-strpbrk.c (do_one_test): Likewise.
16759         (do_test): Likewise.
16760         * string/test-strrchr.c (do_one_test): Likewise.
16761         (do_test): Likewise.
16762         * string/test-strspn.c (do_one_test): Likewise.
16763         (do_test): Likewise.
16764         * string/test-strstr.c (do_one_test): Likewise.
16765         (do_test): Likewise.
16766
16767         * benchtests/Makefile (string-bench): Add string benchmarks.
16768         * benchtests/bench-bcopy-ifunc.c: New file.
16769         * benchtests/bench-bcopy.c: New file.
16770         * benchtests/bench-bzero-ifunc.c: New file.
16771         * benchtests/bench-bzero.c: New file.
16772         * benchtests/bench-memccpy-ifunc.c: New file.
16773         * benchtests/bench-memccpy.c: New file.
16774         * benchtests/bench-memchr-ifunc.c: New file.
16775         * benchtests/bench-memchr.c: New file.
16776         * benchtests/bench-memcmp-ifunc.c: New file.
16777         * benchtests/bench-memcmp.c: New file.
16778         * benchtests/bench-memmem-ifunc.c: New file.
16779         * benchtests/bench-memmem.c: New file.
16780         * benchtests/bench-memmove-ifunc.c: New file.
16781         * benchtests/bench-memmove.c: New file.
16782         * benchtests/bench-mempcpy-ifunc.c: New file.
16783         * benchtests/bench-mempcpy.c: New file.
16784         * benchtests/bench-memset-ifunc.c: New file.
16785         * benchtests/bench-memset.c: New file.
16786         * benchtests/bench-rawmemchr-ifunc.c: New file.
16787         * benchtests/bench-rawmemchr.c: New file.
16788         * benchtests/bench-stpcpy-ifunc.c: New file.
16789         * benchtests/bench-stpcpy.c: New file.
16790         * benchtests/bench-stpncpy-ifunc.c: New file.
16791         * benchtests/bench-stpncpy.c: New file.
16792         * benchtests/bench-strcasecmp-ifunc.c: New file.
16793         * benchtests/bench-strcasecmp.c: New file.
16794         * benchtests/bench-strcasestr-ifunc.c: New file.
16795         * benchtests/bench-strcasestr.c: New file.
16796         * benchtests/bench-strcat-ifunc.c: New file.
16797         * benchtests/bench-strcat.c: New file.
16798         * benchtests/bench-strchr-ifunc.c: New file.
16799         * benchtests/bench-strchr.c: New file.
16800         * benchtests/bench-strchrnul-ifunc.c: New file.
16801         * benchtests/bench-strchrnul.c: New file.
16802         * benchtests/bench-strcmp-ifunc.c: New file.
16803         * benchtests/bench-strcmp.c: New file.
16804         * benchtests/bench-strcpy-ifunc.c: New file.
16805         * benchtests/bench-strcpy.c: New file.
16806         * benchtests/bench-strcspn-ifunc.c: New file.
16807         * benchtests/bench-strcspn.c: New file.
16808         * benchtests/bench-strlen-ifunc.c: New file.
16809         * benchtests/bench-strlen.c: New file.
16810         * benchtests/bench-strncasecmp-ifunc.c: New file.
16811         * benchtests/bench-strncasecmp.c: New file.
16812         * benchtests/bench-strncat-ifunc.c: New file.
16813         * benchtests/bench-strncat.c: New file.
16814         * benchtests/bench-strncmp-ifunc.c: New file.
16815         * benchtests/bench-strncmp.c: New file.
16816         * benchtests/bench-strncpy-ifunc.c: New file.
16817         * benchtests/bench-strncpy.c: New file.
16818         * benchtests/bench-strnlen-ifunc.c: New file.
16819         * benchtests/bench-strnlen.c: New file.
16820         * benchtests/bench-strpbrk-ifunc.c: New file.
16821         * benchtests/bench-strpbrk.c: New file.
16822         * benchtests/bench-strrchr-ifunc.c: New file.
16823         * benchtests/bench-strrchr.c: New file.
16824         * benchtests/bench-strspn-ifunc.c: New file.
16825         * benchtests/bench-strspn.c: New file.
16826         * benchtests/bench-strstr-ifunc.c: New file.
16827         * benchtests/bench-strstr.c: New file.
16828
16829         * benchtests/Makefile: Disable parallel execution of targets.
16830         (string-bench): Add memcpy.
16831         (benchset): New variable to store a list of benchmark sets.
16832         (bench-func): Renamed from bench.
16833         (bench-set): New target.
16834         (bench): Depend on bench-func and bench-set.
16835         * benchtests/README: Add section on benchmark sets.
16836         * benchtests/bench-memcpy-ifunc.c: New file.
16837         * benchtests/bench-memcpy.c: New file.
16838         * benchtests/bench-string.h: New file.
16839
16840 2013-06-11  Andreas Schwab  <schwab@suse.de>
16841
16842         [BZ #15577]
16843         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
16844         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
16845         values in the triple.
16846         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
16847         terminator in the group key.
16848
16849 2013-06-11  Andreas Jaeger  <aj@suse.de>
16850
16851         * po/zh_TW.po: Update Chinese (traditional) translation from
16852         translation project.
16853
16854 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16855
16856         * include/time.h (__clock_gettime): Add libc_hidden_proto.
16857         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
16858         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
16859         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
16860         (clock_getcpuclockid): Likewise.
16861         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
16862         Add weak_alias and libc_hidden_def.
16863         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
16864         * rt/clock_gettime.c (clock_gettime): Rename to
16865         __clock_gettime.  Add weak_alias and libc_hidden_def.
16866         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
16867         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
16868         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
16869         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
16870         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
16871         Likewise.
16872         * rt/clock_settime.c (clock_settime): Rename to
16873         __clock_settime.  Add weak_alias and libc_hidden_def.
16874         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
16875
16876 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
16877
16878         * mach/err_boot.sub: Remove trailing whitespace.
16879         * mach/err_ipc.sub: Likewise.
16880         * mach/err_mach.sub: Likewise.
16881
16882         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
16883         (ROUNDING_TESTS_double): Likewise.
16884         (ROUNDING_TESTS_long_double): Likewise.
16885         (ROUNDING_TESTS): Likewise.
16886         * math/libm-test.inc: Include <math-tests.h>.
16887         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
16888         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16889         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16890         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16891
16892 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16893
16894         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
16895         of assigning.
16896
16897 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
16898
16899         * sysdeps/gnu/errlist.awk: Do not generate space at end of
16900         otherwise empty TRANS lines.
16901         * sysdeps/gnu/errlist.c: Regenerated.
16902
16903         * catgets/gencat.c (error_print): Use (void) in function
16904         definition.
16905         * crypt/crypt_util.c (__init_des): Likewise.
16906         * crypt/speeds.c (Stop): Likewise.
16907         (main): Likewise.
16908         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
16909         * inet/ruserpass.c (token): Likewise.
16910         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
16911         * intl/localealias.c (extend_alias_table): Likewise.
16912         * intl/plural-exp.c (init_germanic_plural): Likewise.
16913         * libio/fcloseall.c (__fcloseall): Likewise.
16914         * libio/genops.c (_IO_flush_all): Likewise.
16915         (_IO_flush_all_linebuffered): Likewise.
16916         (_IO_cleanup): Likewise.
16917         (_IO_iter_begin): Likewise.
16918         (_IO_iter_end): Likewise.
16919         (_IO_list_lock): Likewise.
16920         (_IO_list_unlock): Likewise.
16921         (_IO_list_resetlock): Likewise.
16922         * libio/getchar.c (getchar): Likewise.
16923         * libio/getchar_u.c (getchar_unlocked): Likewise.
16924         * libio/getwchar.c (getwchar): Likewise.
16925         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
16926         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
16927         * login/getpt.c (__getpt): Likewise.
16928         * login/tst-utmp.c (main): Likewise.
16929         * malloc/hooks.c (__malloc_check_init): Likewise.
16930         * malloc/malloc.c (__malloc_stats): Likewise.
16931         * malloc/mtrace.c (tr_break): Likewise.
16932         (mtrace): Likewise.
16933         (muntrace): Likewise.
16934         * misc/fstab.c (endfsent): Likewise.
16935         * misc/getclktck.c (__getclktck): Likewise.
16936         * misc/getdtsz.c (__getdtablesize): Likewise.
16937         * misc/gethostid.c (gethostid): Likewise.
16938         * misc/getpagesize.c (__getpagesize): Likewise.
16939         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
16940         (__get_nprocs): Likewise.
16941         (__get_phys_pages): Likewise.
16942         (__get_avphys_pages): Likewise.
16943         * misc/getttyent.c (getttyent): Likewise.
16944         (setttyent): Likewise.
16945         (endttyent): Likewise.
16946         * misc/getusershell.c (getusershell): Likewise.
16947         (endusershell): Likewise.
16948         (setusershell): Likewise.
16949         (initshells): Likewise.
16950         * misc/hsearch.c (__hdestroy): Likewise.
16951         * misc/sync.c (sync): Likewise.
16952         * misc/syslog.c (closelog_internal): Likewise.
16953         (closelog): Likewise.
16954         * misc/ttyslot.c (ttyslot): Likewise.
16955         * misc/vhangup.c (vhangup): Likewise.
16956         * posix/fork.c (__fork): Likewise.
16957         * posix/getegid.c (__getegid): Likewise.
16958         * posix/geteuid.c (__geteuid): Likewise.
16959         * posix/getgid.c (__getgid): Likewise.
16960         * posix/getpid.c (__getpid): Likewise.
16961         * posix/getppid.c (__getppid): Likewise.
16962         * posix/getuid.c (__getuid): Likewise.
16963         * posix/pause.c (pause): Likewise.
16964         * posix/setpgrp.c (setpgrp): Likewise.
16965         * posix/setsid.c (__setsid): Likewise.
16966         * posix/test-vfork.c (noop): Likewise.
16967         * resolv/gethnamaddr.c (_endhtent): Likewise.
16968         (_gethtent): Likewise.
16969         (ht_endhostent): Likewise.
16970         (gethostent): Likewise.
16971         (dns_service): Likewise.
16972         * stdlib/drand48.c (drand48): Likewise.
16973         * stdlib/lrand48.c (lrand48): Likewise.
16974         * stdlib/mrand48.c (mrand48): Likewise.
16975         * stdlib/rand.c (rand): Likewise.
16976         * stdlib/random.c (__random): Likewise.
16977         * stdlib/setenv.c (clearenv): Likewise.
16978         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
16979         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
16980         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
16981         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
16982         (__get_nprocs): Likewise.
16983         (__get_phys_pages): Likewise.
16984         (__get_avphys_pages): Likewise.
16985         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
16986         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
16987         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
16988         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
16989         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
16990         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
16991         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
16992         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
16993         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
16994         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
16995         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
16996         * sysdeps/mach/hurd/sync.c (sync): Likewise.
16997         * sysdeps/posix/clock.c (clock): Likewise.
16998         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
16999         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
17000         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
17001         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
17002         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
17003         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
17004         (__get_nprocs_conf): Likewise.
17005         (__get_phys_pages): Likewise.
17006         (__get_avphys_pages): Likewise.
17007         * time/clock.c (clock): Likewise.
17008         * time/tzset.c (__tzname_max): Likewise.
17009
17010 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
17011
17012         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
17013         (__bswap_32): Do not use "register".
17014         * crypt/crypt.c (_ufc_doit_r): Likewise.
17015         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17016         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17017         * gmon/gmon.c (__monstartup): Likewise.
17018         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
17019         * hurd/hurdmalloc.c (more_memory): Likewise.
17020         (malloc): Likewise.
17021         (free): Likewise.
17022         (realloc): Likewise.
17023         (malloc_fork_prepare): Likewise.
17024         (malloc_fork_parent): Likewise.
17025         (malloc_fork_child): Likewise.
17026         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
17027         (_svcauth_des): Likewise.
17028         * inet/inet_lnaof.c (inet_lnaof): Likewise.
17029         * inet/inet_net.c (inet_network): Likewise.
17030         * inet/inet_netof.c (inet_netof): Likewise.
17031         * inet/rcmd.c (__validuser2_sa): Likewise.
17032         * io/fts.c (fts_open): Likewise.
17033         (fts_load): Likewise.
17034         (fts_close): Likewise.
17035         (fts_read): Likewise.
17036         (fts_children): Likewise.
17037         (fts_build): Likewise.
17038         (fts_stat): Likewise.
17039         (fts_sort): Likewise.
17040         (fts_alloc): Likewise.
17041         (fts_lfree): Likewise.
17042         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
17043         (_IO_file_xsgetn): Likewise.
17044         (_IO_file_xsgetn_mmap): Likewise.
17045         * libio/iofopncook.c (_IO_cookie_read): Likewise.
17046         (_IO_cookie_write): Likewise.
17047         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
17048         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
17049         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
17050         * malloc/obstack.c (_obstack_begin): Likewise.
17051         (_obstack_begin_1): Likewise.
17052         (_obstack_newchunk): Likewise.
17053         (_obstack_allocated_p): Likewise.
17054         (obstack_free): Likewise.
17055         (_obstack_memory_used): Likewise.
17056         * misc/getttyent.c (getttynam): Likewise.
17057         (getttyent): Likewise.
17058         (skip): Likewise.
17059         (value): Likewise.
17060         * misc/getusershell.c (initshells): Likewise.
17061         * misc/syslog.c (__vsyslog_chk): Likewise.
17062         * misc/ttyslot.c (ttyslot): Likewise.
17063         * nis/nis_hash.c (__nis_hash): Likewise.
17064         * posix/fnmatch_loop.c (FCT): Likewise.
17065         * posix/getconf.c (print_all): Likewise.
17066         (main): Likewise.
17067         * posix/getopt.c (exchange): Likewise.
17068         * posix/glob.c (globfree): Likewise.
17069         (prefix_array): Likewise.
17070         (__glob_pattern_type): Likewise.
17071         * resolv/arpa/nameser.h (NS_GET16): Likewise.
17072         (NS_GET32): Likewise.
17073         (NS_PUT16): Likewise.
17074         (NS_PUT32): Likewise.
17075         * resolv/gethnamaddr.c (getanswer): Likewise.
17076         (gethostbyname2): Likewise.
17077         (gethostbyaddr): Likewise.
17078         (_gethtent): Likewise.
17079         (_gethtbyname2): Likewise.
17080         (_gethtbyaddr): Likewise.
17081         * resolv/ns_print.c (dst_s_get_int16): Likewise.
17082         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
17083         * resolv/res_init.c (__res_vinit): Likewise.
17084         (net_mask): Likewise.
17085         * resolv/res_mkquery.c (outchar): Likewise.
17086         (PRINT): Likewise.
17087         * stdio-common/printf_fp.c (outchar): Likewise.
17088         (PRINT): Likewise.
17089         * stdio-common/printf_fphex.c (outchar): Likewise.
17090         (PRINT): Likewise.
17091         * stdio-common/printf_size.c (outchar): Likewise.
17092         (PRINT): Likewise.
17093         * stdio-common/test_rdwr.c (main): Likewise.
17094         * stdio-common/tfformat.c (matches): Likewise.
17095         * stdio-common/vfprintf.c (outchar): Likewise.
17096         (printf_unknown): Likewise.
17097         (buffered_vfprintf): Likewise.
17098         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17099         * stdio-common/xbug.c (AppendToBuffer): Likewise.
17100         (ReadFile): Likewise.
17101         * stdlib/qsort.c (SWAP): Likewise.
17102         (_quicksort): Likewise.
17103         * stdlib/setenv.c (__add_to_environ): Likewise.
17104         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17105         * stdlib/strtol_l.c (__strtol_l): Likewise.
17106         * stdlib/tst-strtod.c (main): Likewise.
17107         * stdlib/tst-strtol.c (main): Likewise.
17108         * stdlib/tst-strtoll.c (main): Likewise.
17109         * string/bits/string2.h (__strcmp_cc): Likewise.
17110         (__strcmp_cg): Likewise.
17111         (__strcspn_c1): Likewise.
17112         (__strcspn_c2): Likewise.
17113         (__strcspn_c3): Likewise.
17114         (__strspn_c1): Likewise.
17115         (__strspn_c2): Likewise.
17116         (__strspn_c3): Likewise.
17117         (__strsep_1c): Likewise.
17118         (__strsep_2c): Likewise.
17119         (__strsep_3c): Likewise.
17120         * string/memccpy.c (__memccpy): Likewise.
17121         * string/stpcpy.c (__stpcpy): Likewise.
17122         * string/strcmp.c (strcmp): Likewise.
17123         * string/strrchr.c (strrchr): Likewise.
17124         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
17125         Likewise.
17126         * sysdeps/mach/hurd/getcwd.c
17127         (_hurd_canonicalize_directory_name_internal): Likewise.
17128         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
17129         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
17130         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
17131         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
17132         Likewise, in both definitions.
17133         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
17134         definitions.
17135         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
17136         64] (__bswap_64): Likewise.
17137         * time/test_time.c (main): Likewise.
17138         * time/tzfile.c (__tzfile_read): Likewise.
17139         (__tzfile_compute): Likewise.
17140         * time/tzset.c (__tzset_parse_tz): Likewise.
17141         (tzset_internal): Likewise.
17142         (compute_change): Likewise.
17143         * wcsmbs/wcscat.c (__wcscat): Likewise.
17144         * wcsmbs/wcschr.c (wcschr): Likewise.
17145         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
17146         * wcsmbs/wcscspn.c (wcscspn): Likewise.
17147         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
17148         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
17149         * wcsmbs/wcsspn.c (wcsspn): Likewise.
17150         * wcsmbs/wcsstr.c (wcsstr): Likewise.
17151         * wcsmbs/wmemchr.c (wmemchr): Likewise.
17152         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
17153         * wcsmbs/wmemset.c (wmemset): Likewise.
17154
17155 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
17156
17157         * scripts/config.guess: Update to version 2013-05-16.
17158         * scripts/config.sub: Update to version 2013-04-24.
17159         * scripts/install-sh: Update to version 2011-11-20.07.
17160         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
17161         * scripts/move-if-change: Update to version 2012-01-06 07:23.
17162
17163 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
17164
17165         * debug/fgetws_u_chk.c: Fix leading whitespaces.
17166         * elf/sln.c: Likewise.
17167         * hurd/hurd/ioctl.h: Likewise.
17168         * hurd/hurdmalloc.c: Likewise.
17169         * hurd/xattr.c: Likewise.
17170         * include/shlib-compat.h: Likewise.
17171         * inet/ruserpass.c: Likewise.
17172         * libio/iofgets_u.c: Likewise.
17173         * libio/iofgetws_u.c: Likewise.
17174         * locale/programs/ld-identification.c: Likewise.
17175         * locale/programs/ld-time.c: Likewise.
17176         * mach/msg-destroy.c: Likewise.
17177         * nss/nss_files/files-netgrp.c: Likewise.
17178         * resolv/res_data.c: Likewise.
17179         * soft-fp/op-1.h: Likewise.
17180         * soft-fp/op-2.h: Likewise.
17181         * soft-fp/op-4.h: Likewise.
17182         * soft-fp/op-common.h: Likewise.
17183         * stdio-common/printf_fphex.c: Likewise.
17184         * stdlib/strtod_l.c: Likewise.
17185         * sunrpc/rpc/clnt.h: Likewise.
17186         * sysdeps/generic/framestate.c: Likewise.
17187         * sysdeps/i386/bsd-_setjmp.S: Likewise.
17188         * sysdeps/i386/bsd-setjmp.S: Likewise.
17189         * sysdeps/i386/__longjmp.S: Likewise.
17190         * sysdeps/i386/setjmp.S: Likewise.
17191         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
17192         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
17193         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17194         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
17195         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
17196         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
17197         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
17198         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
17199         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
17200         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
17201         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
17202         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
17203         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
17204         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
17205         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
17206         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
17207         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17208         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
17209         * sysdeps/ieee754/support.c: Likewise.
17210         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
17211         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
17212         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
17213         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
17214         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
17215         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
17216         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
17217         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
17218         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
17219         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
17220         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
17221         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
17222         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
17223         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
17224         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
17225         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
17226         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
17227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
17228
17229 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
17230
17231         * posix/transbug.c: Remove executable mode.
17232
17233 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
17234
17235         * crypt/speeds.c: Remove trailing whitespace.
17236         * dlfcn/default.c: Likewise.
17237         * elf/ifuncdep2.c: Likewise.
17238         * elf/ifuncmain1.c: Likewise.
17239         * elf/ifuncmain1vis.c: Likewise.
17240         * elf/testobj.h: Likewise.
17241         * elf/tst-stackguard1.c: Likewise.
17242         * gmon/sys/gmon.h: Likewise.
17243         * hurd/hurdmsg.c: Likewise.
17244         * hurd/new-fd.c: Likewise.
17245         * hurd/ports-get.c: Likewise.
17246         * iconvdata/ibm1008_420.c: Likewise.
17247         * inet/tst-getni1.c: Likewise.
17248         * inet/tst-getni2.c: Likewise.
17249         * libio/ioungetc.c: Likewise.
17250         * libio/wfiledoalloc.c: Likewise.
17251         * manual/libm-err-tab.pl: Likewise.
17252         * math/w_dremf.c: Likewise.
17253         * misc/ftruncate.c: Likewise.
17254         * posix/bug-glob2.c: Likewise.
17255         * posix/tst-pcre.c: Likewise.
17256         * posix/wait4.c: Likewise.
17257         * resolv/README: Likewise.
17258         * resolv/res_debug.h: Likewise.
17259         * resolv/tst-inet_ntop.c: Likewise.
17260         * setjmp/bug269-setjmp.c: Likewise.
17261         * soft-fp/extended.h: Likewise.
17262         * soft-fp/op-1.h: Likewise.
17263         * soft-fp/op-2.h: Likewise.
17264         * soft-fp/op-4.h: Likewise.
17265         * soft-fp/op-8.h: Likewise.
17266         * soft-fp/testit.c: Likewise.
17267         * stdio-common/bug16.c: Likewise.
17268         * stdlib/random.c: Likewise.
17269         * sunrpc/rpcsvc/rquota.x: Likewise.
17270         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
17271         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
17272         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
17273         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
17274         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
17275         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
17276         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
17277         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
17278         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
17279         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
17280         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
17281         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
17282         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
17283         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
17284         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
17285         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
17286         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
17287         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
17288         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17289         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17290         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17291         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17292         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17293         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
17294         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
17295         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
17296         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17297         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
17298         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
17299         * sysdeps/ieee754/s_lib_version.c: Likewise.
17300         * sysdeps/mach/hurd/check_fds.c: Likewise.
17301         * sysdeps/mach/hurd/getsockname.c: Likewise.
17302         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
17303         * sysdeps/mach/hurd/recvfrom.c: Likewise.
17304         * sysdeps/powerpc/bits/link.h: Likewise.
17305         * sysdeps/powerpc/dl-procinfo.c: Likewise.
17306         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
17307         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
17308         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
17309         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
17310         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
17311         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
17312         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
17313         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
17314         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
17315         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
17316         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
17317         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
17318         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
17319         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
17320         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
17321         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
17322         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
17323         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
17324         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
17325         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
17326         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
17327         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
17328         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
17329         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
17330         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
17331         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
17332         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
17333         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
17334         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
17335         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
17336         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
17337         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
17338         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
17339         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
17340         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
17341         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
17342         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
17343         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
17344         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
17345         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
17346         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
17347         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
17348         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
17349         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
17350         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
17351         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
17352         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
17353         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
17354         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
17355         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17356         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17357         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
17358         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
17359         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
17360         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
17361         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
17362         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
17363         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
17364         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
17365         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
17366         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
17367         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
17368         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
17369         * sysdeps/powerpc/sysdep.h: Likewise.
17370         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
17371         * sysdeps/s390/s390-64/sub_n.S: Likewise.
17372         * sysdeps/sh/dl-trampoline.S: Likewise.
17373         * sysdeps/sh/memset.S: Likewise.
17374         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
17375         * sysdeps/sh/strlen.S: Likewise.
17376         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
17377         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
17378         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
17379         * sysdeps/sparc/sparc32/rem.S: Likewise.
17380         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
17381         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
17382         * sysdeps/sparc/sparc32/strchr.S: Likewise.
17383         * sysdeps/sparc/sparc32/udiv.S: Likewise.
17384         * sysdeps/sparc/sparc32/urem.S: Likewise.
17385         * sysdeps/sparc/sparc64/add_n.S: Likewise.
17386         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
17387         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
17388         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
17389         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
17390         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
17391         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
17392         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
17393         * sysdeps/unix/bsd/times.c: Likewise.
17394         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
17395         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
17396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
17397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
17398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
17399         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
17400         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17401         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
17402         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
17403         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
17404         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
17405         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
17406         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
17407         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
17408         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
17409         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
17410         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
17411         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
17412         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
17413         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
17414         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
17415         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
17416         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
17417         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
17418         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
17419         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
17420         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
17421         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
17422         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
17423         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
17424         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
17425         * sysdeps/x86_64/strcspn.S: Likewise.
17426
17427 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17428
17429         * locale/C-translit.h: Revert #include <stdint.h> because this is a
17430         generated file.  Regenerate properly from gen-translit.pl.
17431         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
17432         locale/C-translit.h.
17433
17434 2013-06-05  Andreas Schwab  <schwab@suse.de>
17435
17436         [BZ #15100]
17437         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
17438         week as 6 instead of -1.
17439         * time/tst-strptime.c (day_tests): Add test case.
17440
17441 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17442
17443         * sysdeps/generic/math_private.h
17444         (libc_feholdexcept_setround_53bit): Replace with
17445         libc_feholdsetround_53bit.
17446         (libc_feupdateenv_53bit): Replace with
17447         libc_feresetround_53bit.
17448         (SET_RESTORE_ROUND_53BIT): Adjust.
17449
17450 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17451
17452         * string/test-strchrnul.c: Add copyright header.
17453
17454         * posix/tst-getaddrinfo4.c: Increase test timeout.
17455
17456 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
17457
17458         [BZ #15536]
17459         * math/libm-test.inc (MAX_EXP): Remove
17460         (MIN_EXP): Define.
17461         (ulp): Use MIN_EXP - MANT_DIG.
17462         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
17463
17464 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
17465
17466         * po/be.po: Revert last change.
17467         * po/zh_CN.po: Likewise.
17468         * po/header.pot: Likewise.
17469
17470 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
17471
17472         * Makefile ($(common-objpfx)linkobj/libc.so): Define
17473         link-libc-deps to empty as target-specific variable.
17474         * Makerules (link-libc-args): New variable.
17475         (libc-for-link): Likewise.
17476         (link-libc-deps): Likewise.
17477         (lib%.so): Depend on $(link-libc-deps).  Link with
17478         $(link-libc-args).
17479         (build-module): Link with $(link-libc-args).
17480         (build-module-asneeded): Likewise.
17481         (build-module-helper-objlist): Filter out $(link-libc-deps) from
17482         list of objects.
17483         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
17484         target-specific variable.
17485         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
17486         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
17487         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
17488         libc.
17489         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
17490         libc and ld.so.
17491         ($(objpfx)libpcprofile.so): Likewise.
17492         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
17493         libc_nonshared.a.
17494         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
17495         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
17496         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
17497         $(link-libc-deps).
17498         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
17499         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
17500         * login/Makefile ($(objpfx)libutil.so): Likewise.
17501         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
17502         * math/Makefile ($(objpfx)libm.so): Likewise.
17503         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
17504         $(objpfx)libnsl.so): Define libc-for-link as target-specific
17505         variable instead of depending directly on libc.
17506         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
17507         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
17508         $(link-libc-deps).
17509         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
17510         libc.
17511         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
17512         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
17513         ($(objpfx)libanl.so): Likewise.
17514         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
17515         ld.so.
17516         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
17517         $(link-libc-deps).
17518         * sysdeps/i386/fpu/Makefile: Remove file.
17519         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
17520         ($(objpfx)libm.so): Remove dependency on ld.so.
17521
17522 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
17523
17524         [BZ # 15553]
17525         * nis/yp_xdr.c (XDRMAXNAME): Define.
17526         (XDRMAXRECORD): Define.
17527         (xdr_domainname): Use XDRMAXNAME.
17528         (xdr_mapname): Likewise.
17529         (xdr_peername): Likewise.
17530         (xdr_keydat): Use XDRMAXRECORD.
17531         (xdr_valdat): Likewise.
17532
17533 2013-05-30  Jeff Law  <law@redhat.com>
17534
17535         [BZ #14256]
17536         * manual/errno.texi (ESTALE): Update to account for more than
17537         just NFS file systems.
17538         * sysdeps/gnu/errlist.c: Regenerated.
17539
17540 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17541
17542         [BZ #15465]
17543         * elf/Makefile (tests): Add tst-null-argv.
17544         (modules-names):  Add tst-null-argv-lib.
17545         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
17546         (tst-null-argv-ENV): Set environment for tst-null-argv.
17547         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
17548         (RTLD_PROGNAME): New macro.
17549         * elf/tst-null-argv.c: New test case.
17550         * elf/tst-null-argv-lib.c: Library for test case.
17551         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
17552         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
17553         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
17554         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
17555         * elf/dl-init.c (call_init): Likewise.
17556         (_dl_init): Likewise.
17557         * elf/dl-load.c (print_search_path): Likewise.
17558         (_dl_map_object): Likewise.
17559         * elf/dl-lookup.c (do_lookup_x): Likewise.
17560         (add_dependency): Likewise.
17561         (_dl_lookup_symbol_x): Likewise.
17562         (_dl_debug_bindings): Likewise.
17563         * elf/dl-open.c (_dl_show_scope): Likewise.
17564         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17565         * elf/dl-version.c (match_symbol): Likewise.
17566         (_dl_check_map_versions): Likewise.
17567         * elf/rtld.c (dl_main): Likewise.
17568         (print_unresolved): Use RTLD_PROGNAME.
17569         (print_missing_version): Likewise.
17570         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
17571         (elf_machine_rela): Likewise.
17572         * sysdeps/powerpc/powerpc32/dl-machine.c
17573         (__process_machine_rela): Likewise.
17574         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
17575         Likewise.
17576         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
17577         Likewise.
17578         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
17579         Likewise.
17580         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17581         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
17582         Likewise.
17583         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
17584         Likewise.
17585         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
17586
17587 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
17588
17589         * po/be.po: Add descriptive title.
17590         * po/zh_CN.po: Likewise.
17591         * po/header.pot: Likewise.
17592
17593 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
17594
17595         * locale/programs/locarchive.c (create_archive): Inlucde fname in
17596         error message.
17597         (enlarge_archive): Likewise.
17598
17599 2013-05-28  Ben North  <ben@redfrontdoor.org>
17600
17601         * manual/arith.texi (frexp): It is the magnitude of the return
17602         value which lies in [0.5, 1), not the return value itself.
17603
17604 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17605
17606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17607
17608 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
17609
17610         * stdio-common/bug26.c (main): Correct fscanf template.
17611
17612         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
17613         declare _dl_skip_args.
17614
17615         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
17616         Don't declare.
17617
17618         * manual/platform.texi: Add missing @end deftypefun.
17619
17620 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17621
17622         [BZ #15529]
17623         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
17624         bit of mantissa of 2^16382.
17625         * math/libm-test.inc (hypot_test_data): Add more tests.
17626
17627         * math/libm-test.inc: Add drem and pow10 to list of tested
17628         functions.
17629         (pow10_test): New function.
17630         (drem_test): Likewise.
17631         (drem_test_tonearest): Likewise.
17632         (drem_test_towardzero): Likewise.
17633         (drem_test_downward): Likewise.
17634         (drem_test_upward): Likewise.
17635         (main): Call the new functions.
17636
17637         * math/libm-test.inc (finite_test_data): Remove.
17638         (finite_test): Run tests from isfinite_test_data.
17639         (gamma_test_data): Remove.
17640         (gamma_test): Run tests from lgamma_test_data.
17641         * sysdeps/i386/fpu/libm-test-ulps: Update.
17642         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17643
17644 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17645
17646         * manual/platform.texi: Add PowerPC PPR function set documentation.
17647         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
17648         implementation.
17649
17650 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
17651
17652         * math/libm-test.inc (MAX_EXP): Define.
17653         (ULPDIFF): Define.
17654         (ulp): New function.
17655         (check_float_internal): Use ULPDIFF.
17656         (cpow_test): Disable failing test.
17657         (check_ulp): Test ulp() implemetnation.
17658         (main): Call check_ulp before starting tests.
17659
17660 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
17661
17662         * math/gen-libm-test.pl (generate_testfile): Do not handle
17663         START_DATA and END_DATA.
17664         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
17665         END_DATA.
17666         (acos_tonearest_test_data): Likewise.
17667         (acos_towardzero_test_data): Likewise.
17668         (acos_downward_test_data): Likewise.
17669         (acos_upward_test_data): Likewise.
17670         (acosh_test_data): Likewise.
17671         (asin_test_data): Likewise.
17672         (asin_tonearest_test_data): Likewise.
17673         (asin_towardzero_test_data): Likewise.
17674         (asin_downward_test_data): Likewise.
17675         (asin_upward_test_data): Likewise.
17676         (asinh_test_data): Likewise.
17677         (atan_test_data): Likewise.
17678         (atanh_test_data): Likewise.
17679         (atan2_test_data): Likewise.
17680         (cabs_test_data): Likewise.
17681         (cacos_test_data): Likewise.
17682         (cacosh_test_data): Likewise.
17683         (carg_test_data): Likewise.
17684         (casin_test_data): Likewise.
17685         (casinh_test_data): Likewise.
17686         (catan_test_data): Likewise.
17687         (catanh_test_data): Likewise.
17688         (cbrt_test_data): Likewise.
17689         (ccos_test_data): Likewise.
17690         (ccosh_test_data): Likewise.
17691         (ceil_test_data): Likewise.
17692         (cexp_test_data): Likewise.
17693         (cimag_test_data): Likewise.
17694         (clog_test_data): Likewise.
17695         (clog10_test_data): Likewise.
17696         (conj_test_data): Likewise.
17697         (copysign_test_data): Likewise.
17698         (cos_test_data): Likewise.
17699         (cos_tonearest_test_data): Likewise.
17700         (cos_towardzero_test_data): Likewise.
17701         (cos_downward_test_data): Likewise.
17702         (cos_upward_test_data): Likewise.
17703         (cosh_test_data): Likewise.
17704         (cosh_tonearest_test_data): Likewise.
17705         (cosh_towardzero_test_data): Likewise.
17706         (cosh_downward_test_data): Likewise.
17707         (cosh_upward_test_data): Likewise.
17708         (cpow_test_data): Likewise.
17709         (cproj_test_data): Likewise.
17710         (creal_test_data): Likewise.
17711         (csin_test_data): Likewise.
17712         (csinh_test_data): Likewise.
17713         (csqrt_test_data): Likewise.
17714         (ctan_test_data): Likewise.
17715         (ctan_tonearest_test_data): Likewise.
17716         (ctan_towardzero_test_data): Likewise.
17717         (ctan_downward_test_data): Likewise.
17718         (ctan_upward_test_data): Likewise.
17719         (ctanh_test_data): Likewise.
17720         (ctanh_tonearest_test_data): Likewise.
17721         (ctanh_towardzero_test_data): Likewise.
17722         (ctanh_downward_test_data): Likewise.
17723         (ctanh_upward_test_data): Likewise.
17724         (erf_test_data): Likewise.
17725         (erfc_test_data): Likewise.
17726         (exp_test_data): Likewise.
17727         (exp_tonearest_test_data): Likewise.
17728         (exp_towardzero_test_data): Likewise.
17729         (exp_downward_test_data): Likewise.
17730         (exp_upward_test_data): Likewise.
17731         (exp10_test_data): Likewise.
17732         (exp2_test_data): Likewise.
17733         (expm1_test_data): Likewise.
17734         (fabs_test_data): Likewise.
17735         (fdim_test_data): Likewise.
17736         (finite_test_data): Likewise.
17737         (floor_test_data): Likewise.
17738         (fma_test_data): Likewise.
17739         (fma_towardzero_test_data): Likewise.
17740         (fma_downward_test_data): Likewise.
17741         (fma_upward_test_data): Likewise.
17742         (fmax_test_data): Likewise.
17743         (fmin_test_data): Likewise.
17744         (fmod_test_data): Likewise.
17745         (fpclassify_test_data): Likewise.
17746         (frexp_test_data): Likewise.
17747         (gamma_test_data): Likewise.
17748         (hypot_test_data): Likewise.
17749         (ilogb_test_data): Likewise.
17750         (isfinite_test_data): Likewise.
17751         (isgreater_test_data): Likewise.
17752         (isgreaterequal_test_data): Likewise.
17753         (isinf_test_data): Likewise.
17754         (isless_test_data): Likewise.
17755         (islessequal_test_data): Likewise.
17756         (islessgreater_test_data): Likewise.
17757         (isnan_test_data): Likewise.
17758         (isnormal_test_data): Likewise.
17759         (issignaling_test_data): Likewise.
17760         (isunordered_test_data): Likewise.
17761         (j0_test_data): Likewise.
17762         (j1_test_data): Likewise.
17763         (jn_test_data): Likewise.
17764         (ldexp_test_data): Likewise.
17765         (lgamma_test_data): Likewise.
17766         (lrint_test_data): Likewise.
17767         (lrint_tonearest_test_data): Likewise.
17768         (lrint_towardzero_test_data): Likewise.
17769         (lrint_downward_test_data): Likewise.
17770         (lrint_upward_test_data): Likewise.
17771         (llrint_test_data): Likewise.
17772         (llrint_tonearest_test_data): Likewise.
17773         (llrint_towardzero_test_data): Likewise.
17774         (llrint_downward_test_data): Likewise.
17775         (llrint_upward_test_data): Likewise.
17776         (log_test_data): Likewise.
17777         (log10_test_data): Likewise.
17778         (log1p_test_data): Likewise.
17779         (log2_test_data): Likewise.
17780         (logb_test_data): Likewise.
17781         (logb_downward_test_data): Likewise.
17782         (lround_test_data): Likewise.
17783         (llround_test_data): Likewise.
17784         (modf_test_data): Likewise.
17785         (nearbyint_test_data): Likewise.
17786         (nextafter_test_data): Likewise.
17787         (nexttoward_test_data): Likewise.
17788         (pow_test_data): Likewise.
17789         (pow_tonearest_test_data): Likewise.
17790         (pow_towardzero_test_data): Likewise.
17791         (pow_downward_test_data): Likewise.
17792         (pow_upward_test_data): Likewise.
17793         (remainder_test_data): Likewise.
17794         (remainder_tonearest_test_data): Likewise.
17795         (remainder_towardzero_test_data): Likewise.
17796         (remainder_downward_test_data): Likewise.
17797         (remainder_upward_test_data): Likewise.
17798         (remquo_test_data): Likewise.
17799         (rint_test_data): Likewise.
17800         (rint_tonearest_test_data): Likewise.
17801         (rint_towardzero_test_data): Likewise.
17802         (rint_downward_test_data): Likewise.
17803         (rint_upward_test_data): Likewise.
17804         (round_test_data): Likewise.
17805         (scalb_test_data): Likewise.
17806         (scalbn_test_data): Likewise.
17807         (scalbln_test_data): Likewise.
17808         (signbit_test_data): Likewise.
17809         (sin_test_data): Likewise.
17810         (sin_tonearest_test_data): Likewise.
17811         (sin_towardzero_test_data): Likewise.
17812         (sin_downward_test_data): Likewise.
17813         (sin_upward_test_data): Likewise.
17814         (sincos_test_data): Likewise.
17815         (sinh_test_data): Likewise.
17816         (sinh_tonearest_test_data): Likewise.
17817         (sinh_towardzero_test_data): Likewise.
17818         (sinh_downward_test_data): Likewise.
17819         (sinh_upward_test_data): Likewise.
17820         (sqrt_test_data): Likewise.
17821         (tan_test_data): Likewise.
17822         (tan_tonearest_test_data): Likewise.
17823         (tan_towardzero_test_data): Likewise.
17824         (tan_downward_test_data): Likewise.
17825         (tan_upward_test_data): Likewise.
17826         (tanh_test_data): Likewise.
17827         (tgamma_test_data): Likewise.
17828         (trunc_test_data): Likewise.
17829         (y0_test_data): Likewise.
17830         (y1_test_data): Likewise.
17831         (yn_test_data): Likewise.
17832         (significand_test_data): Likewise.
17833
17834         * math/gen-libm-test.pl (@functions): Remove variable.
17835         (generate_testfile): Don't handle START and END lines.
17836         * math/libm-test.inc (START): New macro.
17837         (END): Likewise.
17838         (END_COMPLEX): Likewise.
17839         (acos_test): Use END macro without arguments.
17840         (acos_test_tonearest): Likewise.
17841         (acos_test_towardzero): Likewise.
17842         (acos_test_downward): Likewise.
17843         (acos_test_upward): Likewise.
17844         (acosh_test): Likewise.
17845         (asin_test): Likewise.
17846         (asin_test_tonearest): Likewise.
17847         (asin_test_towardzero): Likewise.
17848         (asin_test_downward): Likewise.
17849         (asin_test_upward): Likewise.
17850         (asinh_test): Likewise.
17851         (atan_test): Likewise.
17852         (atanh_test): Likewise.
17853         (atan2_test): Likewise.
17854         (cabs_test): Likewise.
17855         (cacos_test): Use END_COMPLEX macro without arguments.
17856         (cacosh_test): Likewise.
17857         (carg_test): Use END macro without arguments.
17858         (casin_test): Use END_COMPLEX macro without arguments.
17859         (casinh_test): Likewise.
17860         (catan_test): Likewise.
17861         (catanh_test): Likewise.
17862         (cbrt_test): Use END macro without arguments.
17863         (ccos_test): Use END_COMPLEX macro without arguments.
17864         (ccosh_test): Likewise.
17865         (ceil_test): Use END macro without arguments.
17866         (cexp_test): Use END_COMPLEX macro without arguments.
17867         (cimag_test): Use END macro without arguments.
17868         (clog_test): Use END_COMPLEX macro without arguments.
17869         (clog10_test): Likewise.
17870         (conj_test): Likewise.
17871         (copysign_test): Use END macro without arguments.
17872         (cos_test): Likewise.
17873         (cos_test_tonearest): Likewise.
17874         (cos_test_towardzero): Likewise.
17875         (cos_test_downward): Likewise.
17876         (cos_test_upward): Likewise.
17877         (cosh_test): Likewise.
17878         (cosh_test_tonearest): Likewise.
17879         (cosh_test_towardzero): Likewise.
17880         (cosh_test_downward): Likewise.
17881         (cosh_test_upward): Likewise.
17882         (cpow_test): Use END_COMPLEX macro without arguments.
17883         (cproj_test): Likewise.
17884         (creal_test): Use END macro without arguments.
17885         (csin_test): Use END_COMPLEX macro without arguments.
17886         (csinh_test): Likewise.
17887         (csqrt_test): Likewise.
17888         (ctan_test): Likewise.
17889         (ctan_test_tonearest): Likewise.
17890         (ctan_test_towardzero): Likewise.
17891         (ctan_test_downward): Likewise.
17892         (ctan_test_upward): Likewise.
17893         (ctanh_test): Likewise.
17894         (ctanh_test_tonearest): Likewise.
17895         (ctanh_test_towardzero): Likewise.
17896         (ctanh_test_downward): Likewise.
17897         (ctanh_test_upward): Likewise.
17898         (erf_test): Use END macro without arguments.
17899         (erfc_test): Likewise.
17900         (exp_test): Likewise.
17901         (exp_test_tonearest): Likewise.
17902         (exp_test_towardzero): Likewise.
17903         (exp_test_downward): Likewise.
17904         (exp_test_upward): Likewise.
17905         (exp10_test): Likewise.
17906         (exp2_test): Likewise.
17907         (expm1_test): Likewise.
17908         (fabs_test): Likewise.
17909         (fdim_test): Likewise.
17910         (finite_test): Likewise.
17911         (floor_test): Likewise.
17912         (fma_test): Likewise.
17913         (fma_test_towardzero): Likewise.
17914         (fma_test_downward): Likewise.
17915         (fma_test_upward): Likewise.
17916         (fmax_test): Likewise.
17917         (fmin_test): Likewise.
17918         (fmod_test): Likewise.
17919         (fpclassify_test): Likewise.
17920         (frexp_test): Likewise.
17921         (gamma_test): Likewise.
17922         (hypot_test): Likewise.
17923         (ilogb_test): Likewise.
17924         (isfinite_test): Likewise.
17925         (isgreater_test): Likewise.
17926         (isgreaterequal_test): Likewise.
17927         (isinf_test): Likewise.
17928         (isless_test): Likewise.
17929         (islessequal_test): Likewise.
17930         (islessgreater_test): Likewise.
17931         (isnan_test): Likewise.
17932         (isnormal_test): Likewise.
17933         (issignaling_test): Likewise.
17934         (isunordered_test): Likewise.
17935         (j0_test): Likewise.
17936         (j1_test): Likewise.
17937         (jn_test): Likewise.
17938         (ldexp_test): Likewise.
17939         (lgamma_test): Likewise.
17940         (lrint_test): Likewise.
17941         (lrint_test_tonearest): Likewise.
17942         (lrint_test_towardzero): Likewise.
17943         (lrint_test_downward): Likewise.
17944         (lrint_test_upward): Likewise.
17945         (llrint_test): Likewise.
17946         (llrint_test_tonearest): Likewise.
17947         (llrint_test_towardzero): Likewise.
17948         (llrint_test_downward): Likewise.
17949         (llrint_test_upward): Likewise.
17950         (log_test): Likewise.
17951         (log10_test): Likewise.
17952         (log1p_test): Likewise.
17953         (log2_test): Likewise.
17954         (logb_test): Likewise.
17955         (logb_test_downward): Likewise.
17956         (lround_test): Likewise.
17957         (llround_test): Likewise.
17958         (modf_test): Likewise.
17959         (nearbyint_test): Likewise.
17960         (nextafter_test): Likewise.
17961         (nexttoward_test): Likewise.
17962         (pow_test): Likewise.
17963         (pow_test_tonearest): Likewise.
17964         (pow_test_towardzero): Likewise.
17965         (pow_test_downward): Likewise.
17966         (pow_test_upward): Likewise.
17967         (remainder_test): Likewise.
17968         (remainder_test_tonearest): Likewise.
17969         (remainder_test_towardzero): Likewise.
17970         (remainder_test_downward): Likewise.
17971         (remainder_test_upward): Likewise.
17972         (remquo_test): Likewise.
17973         (rint_test): Likewise.
17974         (rint_test_tonearest): Likewise.
17975         (rint_test_towardzero): Likewise.
17976         (rint_test_downward): Likewise.
17977         (rint_test_upward): Likewise.
17978         (round_test): Likewise.
17979         (scalb_test): Likewise.
17980         (scalbn_test): Likewise.
17981         (scalbln_test): Likewise.
17982         (signbit_test): Likewise.
17983         (sin_test): Likewise.
17984         (sin_test_tonearest): Likewise.
17985         (sin_test_towardzero): Likewise.
17986         (sin_test_downward): Likewise.
17987         (sin_test_upward): Likewise.
17988         (sincos_test): Likewise.
17989         (sinh_test): Likewise.
17990         (sinh_test_tonearest): Likewise.
17991         (sinh_test_towardzero): Likewise.
17992         (sinh_test_downward): Likewise.
17993         (sinh_test_upward): Likewise.
17994         (sqrt_test): Likewise.
17995         (tan_test): Likewise.
17996         (tan_test_tonearest): Likewise.
17997         (tan_test_towardzero): Likewise.
17998         (tan_test_downward): Likewise.
17999         (tan_test_upward): Likewise.
18000         (tanh_test): Likewise.
18001         (tgamma_test): Likewise.
18002         (trunc_test): Likewise.
18003         (y0_test): Likewise.
18004         (y1_test): Likewise.
18005         (yn_test): Likewise.
18006         (significand_test): Likewise.
18007
18008 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
18009
18010         [BZ #15381]
18011         * libio/genops.c (_IO_no_init): Initialize wide struct info.
18012
18013 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18014
18015         [BZ #14894]
18016         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
18017         __ppc_mdoio and __ppc_mdoom.
18018         * manual/platform.texi: Document new functions __ppc_yield,
18019         __ppc_mdoio and __ppc_mdoom.
18020
18021 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
18022
18023         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
18024         (main): Mention "tls" pseudo-hwcap is legacy.
18025         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
18026
18027 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18028
18029         * math/gen-libm-test.pl (parse_args): Output only string of
18030         arguments as text for test name, not full call or descriptions of
18031         tests for extra outputs.
18032         (generate_testfile): Do not pass function name to parse_args.
18033         Generate this_func variable from START.
18034         * math/libm-test.inc (struct test_f_f_data): Rename test_name
18035         field to arg_str.
18036         (struct test_ff_f_data): Likewise.
18037         (test_ff_f_data_nexttoward): Likewise.
18038         (struct test_fi_f_data): Likewise.
18039         (struct test_fl_f_data): Likewise.
18040         (struct test_if_f_data): Likewise.
18041         (struct test_fff_f_data): Likewise.
18042         (struct test_c_f_data): Likewise.
18043         (struct test_f_f1_data): Likewise.  Remove field extra_name.
18044         (struct test_fF_f1_data): Likewise.
18045         (struct test_ffI_f1_data): Likewise.
18046         (struct test_c_c_data): Rename test_name field to arg_str.
18047         (struct test_cc_c_data): Likewise.
18048         (struct test_f_i_data): Likewise.
18049         (struct test_ff_i_data): Likewise.
18050         (struct test_f_l_data): Likewise.
18051         (struct test_f_L_data): Likewise.
18052         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
18053         and extra2_name.
18054         (COMMON_TEST_SETUP): New macro.
18055         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
18056         (COMMON_TEST_CLEANUP): Likewise.
18057         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
18058         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
18059         macros.
18060         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
18061         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
18062         macros.
18063         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
18064         (RUN_TEST_fff_f): Take argument string.  Call new setup and
18065         cleanup macros.
18066         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
18067         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
18068         macros.
18069         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
18070         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
18071         macros.
18072         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18073         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
18074         cleanup macros.
18075         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18076         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
18077         cleanup macros.
18078         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18079         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
18080         cleanup macros.
18081         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18082         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
18083         macros.
18084         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
18085         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
18086         macros.
18087         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
18088         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
18089         macros.
18090         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
18091         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
18092         cleanup macros.
18093         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
18094         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
18095         cleanup macros.
18096         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
18097         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
18098         macros.
18099         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
18100         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
18101         cleanup macros.
18102         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
18103         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
18104         macros.
18105         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
18106         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
18107         macros.
18108         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
18109         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
18110         cleanup macros.
18111         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
18112
18113 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
18114
18115         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
18116         to _sifields.sigfault.
18117         (si_addr_lsb): Define new macro.
18118         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18119         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
18120         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
18121
18122 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
18123
18124         [BZ #15441]
18125         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
18126         returns -1.
18127         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
18128         null return -1.
18129         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
18130         loading the domain.
18131
18132 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
18133
18134         * math/gen-libm-test.pl (parse_args): Do not include expected
18135         result in test name.
18136         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
18137         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18138         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18139         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18140         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18142
18143 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18144
18145         * benchtests/Makefile: Sort function entries.
18146
18147         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
18148         tanh, asinh, acosh, atanh.
18149         * benchtests/acos-inputs: New file.
18150         * benchtests/acosh-inputs: New file.
18151         * benchtests/asin-inputs: New file.
18152         * benchtests/asinh-inputs: New file.
18153         * benchtests/atanh-inputs: New file.
18154         * benchtests/cosh-inputs: New file.
18155         * benchtests/log-inputs: New file.
18156         * benchtests/sinh-inputs: New file.
18157         * benchtests/tanh-inputs: New file.
18158
18159 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
18160
18161         [BZ #15339]
18162         * posix/tst-getaddrinfo4.c: New test.
18163         * posix/Makefile (tests): Add it.
18164
18165 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18166
18167         [BZ #15339]
18168         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
18169         when no services were used.
18170         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
18171         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
18172
18173 2013-05-21  Andreas Schwab  <schwab@suse.de>
18174
18175         [BZ #15014]
18176         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
18177         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
18178         successful.
18179         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
18180         redundant variable declarations and reallocation of buffer when
18181         parsing as IPv6 address.  Always set NSS status when called from
18182         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
18183         buffer too small.  Correct computation of needed size.
18184         * nss/Makefile (tests): Add test-digits-dots.
18185         * nss/test-digits-dots.c: New test.
18186
18187 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18188
18189         * benchtests/Makefile: Remove instructions for adding
18190         benchmark tests.
18191         * benchtests/README: New file to explain how to execute and
18192         enhance the benchmark tests.
18193
18194 2013-05-21  Andreas Schwab  <schwab@suse.de>
18195
18196         [BZ #15493]
18197         * setjmp/Makefile (tests): Add tst-sigsetjmp.
18198         * setjmp/tst-sigsetjmp.c: New test.
18199
18200 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18201
18202         * sysdeps/x86_64/memset.S (memset): New implementation.
18203         (__bzero): Likewise.
18204         (__memset_tail): New function.
18205
18206 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
18207
18208         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
18209         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
18210         __memcpy_sse2_unaligned ifunc selection.
18211         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
18212         Add memcpy-sse2-unaligned.S.
18213         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18214         Add: __memcpy_sse2_unaligned.
18215
18216 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
18217
18218         [BZ #15490]
18219         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18220         math_force_eval before restoring floating-point envrionment.
18221         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
18222         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
18223         Likewise.
18224         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
18225         <math_private.h>.
18226         (__nearbyintl): Use math_force_eval before restoring
18227         floating-point environment.
18228         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
18229
18230         * math/gen-libm-test.pl (special_functions): Remove.
18231         (parse_args): Don't handle TEST_extra.  Handle functions with no
18232         return value.
18233         * math/libm-test.inc (struct test_sincos_data): Replace with
18234         struct test_fFF_11_data.
18235         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
18236         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
18237         (sincos_test_data): Change element type to struct
18238         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
18239         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
18240         RUN_TEST_LOOP_sincos.
18241         * math/README.libm-test: Don't mention special handling of
18242         individual functions.
18243         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
18244         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18245         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18246         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
18247         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18249
18250         * math/gen-libm-test.pl (get_variable): Remove function.
18251         (parse_args): Don't show pointer parameters to call in test
18252         names.  Use "extra output N" in test names for extra outputs
18253         rather than naming variables.
18254
18255 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
18256
18257         [BZ #15488]
18258         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
18259         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
18260         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
18261         double tests.
18262         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
18263         disable.
18264         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
18265         check_long_double.
18266
18267         * math/gen-libm-test.pl (@tests): Remove variable.
18268         ($count): Likewise.
18269         (new_test): Remove function.
18270         (show_exceptions): New function.
18271         (special_functions): Use show_exceptions instead of new_test.
18272         (parse_args): Likewise.
18273         (generate_testfile): Pass only function name in generated call to
18274         print_max_error or print_complex_max_error.
18275         (get_ulps): Do not handle complex tests specially.
18276         (output_test): Rename to ...
18277         (get_all_ulps_for_test): ... this.  Return a string rather than
18278         printing to a file.  Require ulps to be present.
18279         (output_ulps): Generate arrays rather than #defines.
18280         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
18281         (struct ulp_data): New type.
18282         (BUILD_COMPLEX_ULP): Remove macro.
18283         (compare_ulp_data): New function.
18284         (find_ulps): Likewise.
18285         (find_test_ulps): Likewise.
18286         (find_function_ulps): Likewise.
18287         (find_complex_function_ulps): Likewise.
18288         (print_max_error): Determine allowed ulps using
18289         find_function_ulps.
18290         (print_complex_max_error): Determine allowed ulps using
18291         find_complex_function_ulps.
18292         (check_float_internal): Determine max ulps using find_test_ulps.
18293         (check_float): Do not take max_ulp parameter.  Update call to
18294         check_float_internal.
18295         (check_complex): Likewise.
18296         (check_int): Do not take max_ulp parameter.
18297         (check_long): Likewise.
18298         (check_bool): Likewise.
18299         (check_longlong): Likewise.
18300         (struct test_f_f_data): Remove max_ulp field.
18301         (struct test_ff_f_data): Likewise.
18302         (struct test_ff_f_data_nexttoward): Likewise.
18303         (struct test_fi_f_data): Likewise.
18304         (struct test_fl_f_data): Likewise.
18305         (struct test_if_f_data): Likewise.
18306         (struct test_fff_f_data): Likewise.
18307         (struct test_c_f_data): Likewise.
18308         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
18309         (struct test_fF_f1_data): Likewise.
18310         (struct test_ffI_f1_data): Likewise.
18311         (struct test_c_c_data): Remove max_ulp field.
18312         (struct test_cc_c_data): Likewise.
18313         (struct test_f_i_data): Likewise.
18314         (struct test_ff_i_data): Likewise.
18315         (struct test_f_l_data): Likewise.
18316         (struct test_f_L_data): Likewise.
18317         (struct test_sincos_data): Likewise.
18318         (RUN_TEST_f_f): Do not handle ulps.
18319         (RUN_TEST_LOOP_f_f): Likewise.
18320         (RUN_TEST_2_f): Likewise.
18321         (RUN_TEST_LOOP_2_f): Likewise.
18322         (RUN_TEST_fff_f): Likewise.
18323         (RUN_TEST_LOOP_fff_f): Likewise.
18324         (RUN_TEST_c_f): Likewise.
18325         (RUN_TEST_LOOP_c_f): Likewise.
18326         (RUN_TEST_f_f1): Likewise.
18327         (RUN_TEST_LOOP_f_f1): Likewise.
18328         (RUN_TEST_fF_f1): Likewise.
18329         (RUN_TEST_LOOP_fF_f1): Likewise.
18330         (RUN_TEST_fI_f1): Likewise.
18331         (RUN_TEST_LOOP_fI_f1): Likewise.
18332         (RUN_TEST_ffI_f1): Likewise.
18333         (RUN_TEST_LOOP_ffI_f1): Likewise.
18334         (RUN_TEST_c_c): Likewise.
18335         (RUN_TEST_LOOP_c_c): Likewise.
18336         (RUN_TEST_cc_c): Likewise.
18337         (RUN_TEST_LOOP_cc_c): Likewise.
18338         (RUN_TEST_f_i): Likewise.
18339         (RUN_TEST_LOOP_f_i): Likewise.
18340         (RUN_TEST_f_i_tg): Likewise.
18341         (RUN_TEST_LOOP_f_i_tg): Likewise.
18342         (RUN_TEST_ff_i_tg): Likewise.
18343         (RUN_TEST_LOOP_ff_i_tg): Likewise.
18344         (RUN_TEST_f_b): Likewise.
18345         (RUN_TEST_LOOP_f_b): Likewise.
18346         (RUN_TEST_f_b_tg): Likewise.
18347         (RUN_TEST_LOOP_f_b_tg): Likewise.
18348         (RUN_TEST_f_l): Likewise.
18349         (RUN_TEST_LOOP_f_l): Likewise.
18350         (RUN_TEST_f_L): Likewise.
18351         (RUN_TEST_LOOP_f_L): Likewise.
18352         (RUN_TEST_sincos): Likewise.
18353         (RUN_TEST_LOOP_sincos): Likewise.
18354
18355 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
18356
18357         [BZ #15480]
18358         [BZ #15485]
18359         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
18360         main case of finite arguments, set rounding mode to FE_TONEAREST
18361         and discard exceptions.
18362         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
18363         exceptions.
18364         (remainder_tonearest_test_data): New variable.
18365         (remainder_test_tonearest): New function.
18366         (remainder_towardzero_test_data): New variable.
18367         (remainder_test_towardzero): New function.
18368         (remainder_downward_test_data): New variable.
18369         (remainder_test_downward): New function.
18370         (remainder_upward_test_data): New variable.
18371         (remainder_test_upward): New function.
18372         (main): Call the new test functions.
18373
18374         * math/libm-test.inc (struct test_f_f1_data): Remove field
18375         extra_init.
18376         (struct test_fF_f1_data): Likewise.
18377         (struct test_ffI_f1_data): Likewise.
18378         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
18379         based on value of EXTRA_EXPECTED.
18380         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
18381         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
18382         EXTRA_VAR based on value of EXTRA_EXPECTED.
18383         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
18384         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
18385         EXTRA_VAR based on value of EXTRA_EXPECTED.
18386         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
18387         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
18388         EXTRA_VAR based on value of EXTRA_EXPECTED.
18389         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
18390         * math/gen-libm-test.pl (parse_args): Don't output initializers
18391         for extra output values.
18392
18393         * math/libm-test.inc (check_int): Expect result to be exactly
18394         equal to expected value and do not handle ulps.
18395         (check_long): Likewise.
18396         (check_longlong): Likewise.
18397
18398         * math/libm-test.inc (ceil_test_data): Test for "inexact"
18399         exceptions.
18400         (cimag_test_data): Likewise.
18401         (conj_test_data): Likewise.
18402         (copysign_test_data): Likewise.
18403         (cproj_test_data): Likewise.
18404         (creal_test_data): Likewise.
18405         (fabs_test_data): Likewise.
18406         (fdim_test_data): Likewise.
18407         (finite_test_data): Likewise.
18408         (floor_test_data): Likewise.
18409         (fmax_test_data): Likewise.
18410         (fmin_test_data): Likewise.
18411         (fmod_test_data): Likewise.
18412         (fpclassify_test_data): Likewise.
18413         (frexp_test_data): Likewise.
18414         (ilogb_test_data): Likewise.
18415         (isfinite_test_data): Likewise.
18416         (isgreater_test_data): Likewise.
18417         (isgreaterequal_test_data): Likewise.
18418         (isinf_test_data): Likewise.
18419         (isless_test_data): Likewise.
18420         (islessequal_test_data): Likewise.
18421         (islessgreater_test_data): Likewise.
18422         (isnan_test_data): Likewise.
18423         (isnormal_test_data): Likewise.
18424         (issignaling_test_data): Likewise.
18425         (isunordered_test_data): Likewise.
18426         (ldexp_test_data): Likewise.
18427         (lrint_test_data): Likewise.
18428         (lrint_test_data) [TEST_FLOAT]: Disable one test.
18429         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
18430         (lrint_tonearest_test_data): Test for "inexact" exceptions.
18431         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18432         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
18433         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18434         test input.
18435         (lrint_towardzero_test_data): Test for "inexact" exceptions.
18436         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18437         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
18438         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
18439         that test input.
18440         (lrint_downward_test_data): Test for "inexact" exceptions.
18441         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18442         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
18443         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
18444         test input.
18445         (lrint_upward_test_data): Test for "inexact" exceptions.
18446         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
18447         test input.
18448         (llrint_test_data): Test for "inexact" exceptions.
18449         (llrint_test_data) [TEST_FLOAT]: Disable one test.
18450         (llrint_tonearest_test_data): Test for "inexact" exceptions.
18451         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
18452         (llrint_towardzero_test_data): Test for "inexact" exceptions.
18453         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
18454         (llrint_downward_test_data): Test for "inexact" exceptions.
18455         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
18456         (llrint_upward_test_data): Test for "inexact" exceptions.
18457         (logb_test_data): Likewise.
18458         (logb_downward_test_data): Likewise.
18459         (nextafter_test_data): Likewise.
18460         (nexttoward_test_data): Likewise.
18461         (remainder_test_data): Likewise.
18462         (remquo_test_data): Likewise.
18463         (scalbn_test_data): Likewise.
18464         (scalbln_test_data): Likewise.
18465         (signbit_test_data): Likewise.
18466         (sqrt_test_data): Likewise.
18467         (significand_test_data): Likewise.
18468
18469 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18470
18471         [BZ #15424]
18472         * benchtests/bench-modf.c (struct args): Mark arg0 as
18473         volatile.
18474         * scripts/bench.pl: Mark members of struct args as volatile.
18475
18476 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18477
18478         [BZ # 15497]
18479         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
18480         negative infinity on POWER6 or lower.
18481         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
18482
18483 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
18484
18485         [BZ #15442]
18486         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
18487         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
18488         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
18489         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
18490         (_FP_SETQNAN): New macro.
18491         (_FP_SETQNAN_SEMIRAW): Likewise.
18492         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
18493         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
18494         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
18495         (FP_EXTEND): Use _FP_FRAC_SNANP.
18496         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
18497         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
18498         into account.
18499         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18500         New macro.
18501         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
18502         Likewise.
18503
18504 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18505
18506         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
18507         with DIVIDE_BY_ZERO_EXCEPTION.
18508         (gamma_test_data): Likewise.
18509         (lgamma_test_data): Likewise.
18510         (log_test_data): Likewise.
18511         (log10_test_data): Likewise.
18512         (log2_test_data): Likewise.
18513         (tgamma_test_data): Likewise.
18514
18515         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
18516         (acos_test_tonearest): Likewise.
18517         (acos_test_towardzero): Likewise.
18518         (acos_test_downward): Likewise.
18519         (acos_test_upward): Likewise.
18520         (acosh_test): Likewise.
18521         (asin_test): Likewise.
18522         (asin_test_tonearest): Likewise.
18523         (asin_test_towardzero): Likewise.
18524         (asin_test_downward): Likewise.
18525         (asin_test_upward): Likewise.
18526         (asinh_test): Likewise.
18527         (atan_test): Likewise.
18528         (atanh_test): Likewise.
18529         (atan2_test): Likewise.
18530         (cabs_test): Likewise.
18531         (cacos_test): Likewise.
18532         (cacosh_test): Likewise.
18533         (casin_test): Likewise.
18534         (casinh_test): Likewise.
18535         (catan_test): Likewise.
18536         (catanh_test): Likewise.
18537         (cbrt_test): Likewise.
18538         (ccos_test): Likewise.
18539         (ccosh_test): Likewise.
18540         (cexp_test): Likewise.
18541         (clog_test): Likewise.
18542         (clog10_test): Likewise.
18543         (cos_test): Likewise.
18544         (cos_test_tonearest): Likewise.
18545         (cos_test_towardzero): Likewise.
18546         (cos_test_downward): Likewise.
18547         (cos_test_upward): Likewise.
18548         (cosh_test): Likewise.
18549         (cosh_test_tonearest): Likewise.
18550         (cosh_test_towardzero): Likewise.
18551         (cosh_test_downward): Likewise.
18552         (cosh_test_upward): Likewise.
18553         (cpow_test): Likewise.
18554         (csin_test): Likewise.
18555         (csinh_test): Likewise.
18556         (csqrt_test): Likewise.
18557         (ctan_test): Likewise.
18558         (ctan_test_tonearest): Likewise.
18559         (ctan_test_towardzero): Likewise.
18560         (ctan_test_downward): Likewise.
18561         (ctan_test_upward): Likewise.
18562         (ctanh_test): Likewise.
18563         (ctanh_test_tonearest): Likewise.
18564         (ctanh_test_towardzero): Likewise.
18565         (ctanh_test_downward): Likewise.
18566         (ctanh_test_upward): Likewise.
18567         (erf_test): Likewise.
18568         (erfc_test): Likewise.
18569         (exp_test): Likewise.
18570         (exp_test_tonearest): Likewise.
18571         (exp_test_towardzero): Likewise.
18572         (exp_test_downward): Likewise.
18573         (exp_test_upward): Likewise.
18574         (exp10_test): Likewise.
18575         (exp2_test): Likewise.
18576         (expm1_test): Likewise.
18577         (fmod_test): Likewise.
18578         (gamma_test): Likewise.
18579         (hypot_test): Likewise.
18580         (j0_test): Likewise.
18581         (j1_test): Likewise.
18582         (jn_test): Likewise.
18583         (lgamma_test): Likewise.
18584         (log_test): Likewise.
18585         (log10_test): Likewise.
18586         (log1p_test): Likewise.
18587         (log2_test): Likewise.
18588         (logb_test_downward): Likewise.
18589         (pow_test): Likewise.
18590         (pow_test_tonearest): Likewise.
18591         (pow_test_towardzero): Likewise.
18592         (pow_test_downward): Likewise.
18593         (pow_test_upward): Likewise.
18594         (remainder_test): Likewise.
18595         (remquo_test): Likewise.
18596         (sin_test): Likewise.
18597         (sin_test_tonearest): Likewise.
18598         (sin_test_towardzero): Likewise.
18599         (sin_test_downward): Likewise.
18600         (sin_test_upward): Likewise.
18601         (sincos_test): Likewise.
18602         (sinh_test): Likewise.
18603         (sinh_test_tonearest): Likewise.
18604         (sinh_test_towardzero): Likewise.
18605         (sinh_test_downward): Likewise.
18606         (sinh_test_upward): Likewise.
18607         (sqrt_test): Likewise.
18608         (tan_test): Likewise.
18609         (tan_test_tonearest): Likewise.
18610         (tan_test_towardzero): Likewise.
18611         (tan_test_downward): Likewise.
18612         (tan_test_upward): Likewise.
18613         (tanh_test): Likewise.
18614         (tgamma_test): Likewise.
18615         (y0_test): Likewise.
18616         (y1_test): Likewise.
18617         (yn_test): Likewise.
18618
18619         * math/gen-libm-test.pl (adjust_arg): Remove function.
18620         (special_function): Remove argument $in_func.  Only handle
18621         generating output for tables of tests, not inside functions.
18622         (parse_args): Likewise.
18623         (generate_testfile): Remove variable $in_func.  Update call to
18624         parse_args.
18625         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
18626         (MINUS_ZERO_INIT): Rename macro to minus_zero.
18627         (PLUS_INFTY_INIT): Rename macro to plus_infty.
18628         (MINUS_INFTY_INIT): Rename macro to minus_infty.
18629         (QNAN_VALUE_INIT): Rename macro to qnan_value.
18630         (MAX_VALUE_INIT): Rename macro to max_value.
18631         (MIN_VALUE_INIT): Rename macro to min_value.
18632         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
18633         (plus_zero): Remove variable.
18634         (minus_zero): Likewise.
18635         (plus_infty): Likewise.
18636         (minus_infty): Likewise.
18637         (qnan_value): Likewise.
18638         (max_value): Likewise.
18639         (min_value): Likewise.
18640         (min_subnorm_value): Likewise.
18641
18642 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
18643
18644         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
18645         uint64_t or uint32_t usage.
18646         * crypt/sha256-block.c: Likewise.
18647         * crypt/sha256-crypt.c: Likewise.
18648         * crypt/sha256.c: Likewise.
18649         * crypt/sha512-block.c: Likewise.
18650         * crypt/sha512-crypt.c: Likewise.
18651         * crypt/sha512.c: Likewise.
18652         * debug/backtrace-tst.c: Likewise.
18653         * debug/pcprofiledump.c: Likewise.
18654         * elf/cache.c: Likewise.
18655         * elf/dl-cache.c: Likewise.
18656         * elf/dl-misc.c: Likewise.
18657         * elf/dl-profile.c: Likewise.
18658         * elf/dl-support.c: Likewise.
18659         * elf/ldconfig.c: Likewise.
18660         * elf/sprof.c: Likewise.
18661         * iconv/dummy-repertoire.c: Likewise.
18662         * iconv/iconv_charmap.c: Likewise.
18663         * iconv/skeleton.c: Likewise.
18664         * iconvdata/8bit-generic.c: Likewise.
18665         * iconvdata/cp737.h: Likewise.
18666         * iconvdata/cp775.h: Likewise.
18667         * iconvdata/ibm1008.h: Likewise.
18668         * iconvdata/ibm1025.h: Likewise.
18669         * iconvdata/ibm1046.h: Likewise.
18670         * iconvdata/ibm1097.h: Likewise.
18671         * iconvdata/ibm1112.h: Likewise.
18672         * iconvdata/ibm1122.h: Likewise.
18673         * iconvdata/ibm1123.h: Likewise.
18674         * iconvdata/ibm1124.h: Likewise.
18675         * iconvdata/ibm1129.h: Likewise.
18676         * iconvdata/ibm1130.h: Likewise.
18677         * iconvdata/ibm1132.h: Likewise.
18678         * iconvdata/ibm1133.h: Likewise.
18679         * iconvdata/ibm1137.h: Likewise.
18680         * iconvdata/ibm1140.h: Likewise.
18681         * iconvdata/ibm1141.h: Likewise.
18682         * iconvdata/ibm1142.h: Likewise.
18683         * iconvdata/ibm1143.h: Likewise.
18684         * iconvdata/ibm1144.h: Likewise.
18685         * iconvdata/ibm1145.h: Likewise.
18686         * iconvdata/ibm1146.h: Likewise.
18687         * iconvdata/ibm1147.h: Likewise.
18688         * iconvdata/ibm1148.h: Likewise.
18689         * iconvdata/ibm1149.h: Likewise.
18690         * iconvdata/ibm1153.h: Likewise.
18691         * iconvdata/ibm1154.h: Likewise.
18692         * iconvdata/ibm1155.h: Likewise.
18693         * iconvdata/ibm1156.h: Likewise.
18694         * iconvdata/ibm1157.h: Likewise.
18695         * iconvdata/ibm1158.h: Likewise.
18696         * iconvdata/ibm1160.h: Likewise.
18697         * iconvdata/ibm1161.h: Likewise.
18698         * iconvdata/ibm1162.h: Likewise.
18699         * iconvdata/ibm1163.h: Likewise.
18700         * iconvdata/ibm1164.h: Likewise.
18701         * iconvdata/ibm1166.h: Likewise.
18702         * iconvdata/ibm1167.h: Likewise.
18703         * iconvdata/ibm12712.h: Likewise.
18704         * iconvdata/ibm1390.h: Likewise.
18705         * iconvdata/ibm1399.h: Likewise.
18706         * iconvdata/ibm16804.h: Likewise.
18707         * iconvdata/ibm4517.h: Likewise.
18708         * iconvdata/ibm4899.h: Likewise.
18709         * iconvdata/ibm4909.h: Likewise.
18710         * iconvdata/ibm4971.h: Likewise.
18711         * iconvdata/ibm5347.h: Likewise.
18712         * iconvdata/ibm803.h: Likewise.
18713         * iconvdata/ibm856.h: Likewise.
18714         * iconvdata/ibm901.h: Likewise.
18715         * iconvdata/ibm902.h: Likewise.
18716         * iconvdata/ibm9030.h: Likewise.
18717         * iconvdata/ibm9066.h: Likewise.
18718         * iconvdata/ibm921.h: Likewise.
18719         * iconvdata/ibm922.h: Likewise.
18720         * iconvdata/ibm9448.h: Likewise.
18721         * iconvdata/isiri-3342.h: Likewise.
18722         * iconvdata/jis0201.h: Likewise.
18723         * include/link.h: Likewise.
18724         * include/netdb.h: Likewise.
18725         * inet/check_native.c: Likewise.
18726         * inet/check_pf.c: Likewise.
18727         * inet/getipv4sourcefilter.c: Likewise.
18728         * inet/getnameinfo.c: Likewise.
18729         * inet/getsourcefilter.c: Likewise.
18730         * inet/htonl.c: Likewise.
18731         * inet/setipv4sourcefilter.c: Likewise.
18732         * inet/setsourcefilter.c: Likewise.
18733         * inet/test-inet6_opt.c: Likewise.
18734         * inet/tst-network.c: Likewise.
18735         * locale/C-collate.c: Likewise.
18736         * locale/C-ctype.c: Likewise.
18737         * locale/C-time.c: Likewise.
18738         * locale/C-translit.h: Likewise.
18739         * locale/loadarchive.c: Likewise.
18740         * locale/programs/3level.h: Likewise.
18741         * locale/programs/charmap.c: Likewise.
18742         * locale/programs/charmap.h: Likewise.
18743         * locale/programs/ld-address.c: Likewise.
18744         * locale/programs/ld-collate.c: Likewise.
18745         * locale/programs/ld-ctype.c: Likewise.
18746         * locale/programs/ld-identification.c: Likewise.
18747         * locale/programs/ld-measurement.c: Likewise.
18748         * locale/programs/ld-messages.c: Likewise.
18749         * locale/programs/ld-monetary.c: Likewise.
18750         * locale/programs/ld-name.c: Likewise.
18751         * locale/programs/ld-numeric.c: Likewise.
18752         * locale/programs/ld-paper.c: Likewise.
18753         * locale/programs/ld-telephone.c: Likewise.
18754         * locale/programs/ld-time.c: Likewise.
18755         * locale/programs/linereader.c: Likewise.
18756         * locale/programs/locale.c: Likewise.
18757         * locale/programs/locarchive.c: Likewise.
18758         * locale/programs/locfile.h: Likewise.
18759         * locale/programs/repertoire.c: Likewise.
18760         * locale/programs/simple-hash.c: Likewise.
18761         * locale/programs/simple-hash.h: Likewise.
18762         * malloc/memusage.c: Likewise.
18763         * malloc/memusagestat.c: Likewise.
18764         * nis/nis_defaults.c: Likewise.
18765         * nis/nis_hash.c: Likewise.
18766         * nis/nis_print.c: Likewise.
18767         * nis/nis_xdr.c: Likewise.
18768         * nscd/connections.c: Likewise.
18769         * nscd/hstcache.c: Likewise.
18770         * nscd/nscd_gethst_r.c: Likewise.
18771         * nscd/nscd_getserv_r.c: Likewise.
18772         * nscd/nscd_helper.c: Likewise.
18773         * nscd/servicescache.c: Likewise.
18774         * nss/makedb.c: Likewise.
18775         * nss/nss_db/db-XXX.c: Likewise.
18776         * nss/nss_db/db-initgroups.c: Likewise.
18777         * nss/nss_db/db-netgrp.c: Likewise.
18778         * nss/nss_files/files-network.c: Likewise.
18779         * nss/nss_files/files-parse.c: Likewise.
18780         * posix/bug-regex5.c: Likewise.
18781         * posix/fnmatch_loop.c: Likewise.
18782         * posix/regcomp.c: Likewise.
18783         * posix/regexec.c: Likewise.
18784         * posix/tst-rfc3484-2.c: Likewise.
18785         * posix/tst-rfc3484-3.c: Likewise.
18786         * posix/tst-rfc3484.c: Likewise.
18787         * resolv/nss_dns/dns-canon.c: Likewise.
18788         * resolv/nss_dns/dns-network.c: Likewise.
18789         * resolv/res_init.c: Likewise.
18790         * resolv/res_mkquery.c: Likewise.
18791         * resolv/tst-aton.c: Likewise.
18792         * stdlib/cxa_atexit.c: Likewise.
18793         * stdlib/cxa_finalize.c: Likewise.
18794         * stdlib/gen-fpioconst.c: Likewise.
18795         * stdlib/strtol_l.c: Likewise.
18796         * string/tst-endian.c: Likewise.
18797         * sunrpc/auth_des.c: Likewise.
18798         * sunrpc/clnt_udp.c: Likewise.
18799         * sunrpc/rtime.c: Likewise.
18800         * sunrpc/svcauth_des.c: Likewise.
18801         * sunrpc/xdr.c: Likewise.
18802         * sunrpc/xdr_intXX_t.c: Likewise.
18803         * sunrpc/xdr_rec.c: Likewise.
18804         * sysdeps/generic/ldconfig.h: Likewise.
18805         * sysdeps/generic/ldsodefs.h: Likewise.
18806         * sysdeps/generic/memusage.h: Likewise.
18807         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
18808         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
18809         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
18810         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
18811         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
18812         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
18813         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
18814         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
18815         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
18816         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
18817         * sysdeps/posix/getaddrinfo.c: Likewise.
18818         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
18819         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18820         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
18821         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
18822         * sysdeps/powerpc/test-gettimebase.c: Likewise.
18823         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
18824         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
18825         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
18826         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
18827         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
18828         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
18829         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
18830         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
18831         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
18832         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
18833         * sysdeps/x86_64/dl-tls.h: Likewise.
18834         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
18835         * time/alt_digit.c: Likewise.
18836         * time/era.c: Likewise.
18837         * wcsmbs/tst-c16c32-1.c: Likewise.
18838
18839 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18840
18841         * math/libm-test.inc (struct test_sincos_data): New type.
18842         (RUN_TEST_LOOP_sincos): New macro.
18843         (sincos_test_data): New variable.
18844         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
18845
18846 2013-05-16  Richard Henderson  <rth@redhat.com>
18847
18848         * math/atest-exp2.c (LIMB64): New macro.
18849         (CONSTSZ): New macro.
18850         (mp_exp1, mp_exp_m1, mp_log2): New variables.
18851         (hexdig): Move ...
18852         (print_mpn_fp): ... to function scope.
18853         (read_mpn_hex): Remove.
18854         (get_log2): Remove.
18855         (exp2_mpn): Use mp_log2.
18856         (main): Use mp_exp1.
18857
18858 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
18859
18860         * math/libm-test.inc: Remove comment about not testing "inexact"
18861         exceptions.
18862         (INEXACT_EXCEPTION): New macro.
18863         (NO_INEXACT_EXCEPTION): Likewise.
18864         (INVALID_EXCEPTION_OK): Update value.
18865         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
18866         (OVERFLOW_EXCEPTION_OK): Likewise.
18867         (UNDERFLOW_EXCEPTION_OK): Likewise.
18868         (IGNORE_ZERO_INF_SIGN): Likewise.
18869         (ERRNO_UNCHANGED): Likewise.
18870         (ERRNO_EDOM): Likewise.
18871         (ERRNO_ERANGE): Likewise.
18872         (test_exceptions): Handle testing "inexact" exceptions.
18873         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
18874         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
18875         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
18876         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
18877         INEXACT_EXCEPTION.
18878         (rint_towardzero_test_data): Likewise.
18879         (rint_downward_test_data): Likewise.
18880         (rint_upward_test_data): Likewise.
18881
18882         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
18883         with OVERFLOW_EXCEPTION.
18884         (exp10_test_data): Likewise.
18885         (exp2_test_data): Likewise.
18886         (expm1_test_data): Likewise.
18887         (lgamma_test_data): Likewise.
18888         (pow_test_data): Likewise.
18889         (tgamma_test_data): Likewise.
18890         (yn_test_data): Remove duplicate test of overflow.
18891
18892         * math/libm-test.inc (struct test_cc_c_data): New type.
18893         (RUN_TEST_LOOP_cc_c): New macro.
18894         (cpow_test_data): New variable.
18895         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
18896
18897         * math/libm-test.inc (struct test_f_L_data): New type.
18898         (RUN_TEST_LOOP_f_L): New macro.
18899         (llrint_test_data): New variable.
18900         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
18901         (llrint_tonearest_test_data): New variable.
18902         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
18903         (llrint_towardzero_test_data): New variable.
18904         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
18905         (llrint_downward_test_data): New variable.
18906         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
18907         (llrint_upward_test_data): New variable.
18908         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
18909         (llround_test_data): New variable.
18910         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
18911
18912 2013-05-13  Peter Collingbourne  <pcc@google.com>
18913
18914         * math/atest-exp2.c (get_log2): Remove const attribute.
18915
18916 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18917
18918         * math/libm-test.inc (struct test_f_l_data): New type.
18919         (RUN_TEST_LOOP_f_l): New macro.
18920         (lrint_test_data): New variable.
18921         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
18922         (lrint_tonearest_test_data): New variable.
18923         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
18924         (lrint_towardzero_test_data): New variable.
18925         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
18926         (lrint_downward_test_data): New variable.
18927         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
18928         (lrint_upward_test_data): New variable.
18929         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
18930         (lround_test_data): New variable.
18931         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
18932
18933 2013-05-15  Peter Collingbourne  <pcc@google.com>
18934
18935         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
18936         (EXTRACT_WORDS64) Use where appropriate.
18937         (INSERT_WORDS64) Likewise.
18938
18939         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
18940         constraints with x constraints.
18941         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
18942
18943         * malloc/obstack.c (_obstack_compat): Add initializer.
18944
18945 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
18946
18947         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
18948         si_trapno and add si_addr_lsb to _sifields.sigfault.
18949         (si_trapno): Remove macro.
18950         (si_addr_lsb): Define new macro.
18951         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
18952
18953 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
18954
18955         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
18956         instead of TEST_f_l.
18957         (llrint_test_tonearest): Likewise.
18958         (llrint_test_towardzero): Likewise.
18959         (llrint_test_downward): Likewise.
18960         (llrint_test_upward): Likewise.
18961         (llround_test): Likewise.
18962
18963         * math/libm-test.inc (struct test_f_i_data): Add comment.
18964         (RUN_TEST_LOOP_f_b): New macro.
18965         (RUN_TEST_LOOP_f_b_tg): Likewise.
18966         (finite_test_data): New variable.
18967         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
18968         (isfinite_test_data): New variable.
18969         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18970         (isinf_test_data): New variable.
18971         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18972         (isnan_test_data): New variable.
18973         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18974         (isnormal_test_data): New variable.
18975         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18976         (issignaling_test_data): New variable.
18977         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18978         (signbit_test_data): New variable.
18979         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
18980
18981         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
18982         with INVALID_EXCEPTION.
18983         (acosh_test_data): Likewise.
18984         (asin_test_data): Likewise.
18985         (atanh_test_data): Likewise.
18986         (fmod_test_data): Likewise.
18987         (log_test_data): Likewise.
18988         (log10_test_data): Likewise.
18989         (log2_test_data): Likewise.
18990         (pow_test_data): Likewise.
18991         (sqrt_test_data): Likewise.
18992         (y0_test_data): Likewise.
18993         (y1_test_data): Likewise.
18994         (yn_test_data): Likewise.
18995
18996         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
18997         function contents.
18998
18999         * math/libm-test.inc (struct test_ff_i_data): New type.
19000         (RUN_TEST_LOOP_ff_i_tg): New macro.
19001         (isgreater_test_data): New variable.
19002         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19003         (isgreaterequal_test_data): New variable.
19004         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19005         (isless_test_data): New variable.
19006         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19007         (islessequal_test_data): New variable.
19008         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19009         (islessgreater_test_data): New variable.
19010         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19011         (isunordered_test_data): New variable.
19012         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
19013
19014 2013-05-14  David S. Miller  <davem@davemloft.net>
19015
19016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19017
19018 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
19019
19020         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
19021
19022         * math/libm-test.inc (struct test_fF_f1_data): Change type of
19023         extra_test to int.
19024         (struct test_f_i_data): Change type of max_ulp to int.
19025
19026         * math/libm-test.inc (test_ffI_f1_data): New type.
19027         (RUN_TEST_LOOP_ffI_f1): New macro.
19028         (remquo_test_data): New variable.
19029         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
19030
19031         * setjmp/tst-setjmp-fp.c: New file.
19032         * setjmp/Makefile (tests): Add tst-setjmp-fp.
19033         (link-libm): New variable.
19034         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
19035
19036         * math/libm-test.inc (struct test_f_i_data): New type.
19037         (RUN_TEST_LOOP_f_i): New macro.
19038         (RUN_TEST_LOOP_f_i_tg): Likewise.
19039         (fpclassify_test_data): New variable.
19040         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
19041         (ilogb_test_data): New variable.
19042         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
19043
19044         * math/libm-test.inc (scalbln_test): Correct function name in END
19045         call.
19046
19047         * math/libm-test.inc (struct test_f_f1_data): Add comment.
19048         (RUN_TEST_LOOP_fI_f1): New macro.
19049         (frexp_test_data): New variable.
19050         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
19051
19052         * math/libm-test.inc (struct test_fF_f1_data): New type.
19053         (RUN_TEST_LOOP_fF_f1): New macro.
19054         (modf_test_data): New variable.
19055         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
19056
19057         * math/libm-test.inc (struct test_f_f1_data): New type.
19058         (RUN_TEST_LOOP_f_f1): New macro.
19059         (gamma_test_data): New variable.
19060         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19061         (lgamma_test_data): New variable.
19062         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
19063
19064 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
19065
19066         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
19067         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
19068         (main): Comment "tls" pseudo-hwcap.
19069
19070 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
19071
19072         * math/libm-test.inc (struct test_fl_f_data): New type.
19073         (RUN_TEST_LOOP_fl_f): New variable.
19074         (scalbln_test_data): New variable.
19075         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
19076
19077         * math/libm-test.inc (struct test_fi_f_data): New type.
19078         (RUN_TEST_LOOP_fi_f): New macro.
19079         (ldexp_test_data): New variable.
19080         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
19081         (scalbn_test_data): New variable.
19082         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
19083
19084         * math/libm-test.inc (struct test_c_f_data): New type.
19085         (RUN_TEST_LOOP_c_f): New macro.
19086         (cabs_test_data): New variable.
19087         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
19088         (carg_test_data): New variable.
19089         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
19090         (cimag_test_data): New variable.
19091         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
19092         (creal_test_data): New variable.
19093         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
19094
19095         * math/libm-test.inc (struct test_if_f_data): New type.
19096         (RUN_TEST_LOOP_if_f): New macro.
19097         (jn_test_data): New variable.
19098         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
19099         (yn_test_data): New variable.
19100         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
19101
19102         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
19103
19104 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19105
19106         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
19107         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
19108
19109 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19110
19111         * benchtests/Makefile (CPPFLAGS-nonlib): Add
19112         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
19113         (bench-deps): Add bench-timing.h.
19114         * benchtests-bench-skeleton.c: Include bench-timing.h.
19115         (main): Use TIMING_* macros instead of clock_gettime.
19116         * benchtests/bench-timing.h: New file.
19117
19118         [BZ #14582]
19119         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
19120         Renamed from _LIB_VERSION.
19121         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
19122
19123 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
19124
19125         * math/libm-test.inc (struct test_fff_f_data): New type.
19126         (RUN_TEST_LOOP_fff_f): New macro.
19127         (fma_test_data): New variable.
19128         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
19129         (fma_towardzero_test_data): New variable.
19130         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
19131         (fma_downward_test_data): New variable.
19132         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
19133         (fma_upward_test_data): New variable.
19134         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
19135
19136         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
19137         (struct test_c_c_data): New type.
19138         (RUN_TEST_LOOP_c_c): New macro.
19139         (cacos_test_data): New variable.
19140         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
19141         (cacosh_test_data): New variable.
19142         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
19143         (casin_test_data): New variable.
19144         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
19145         (casinh_test_data): New variable.
19146         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
19147         (catan_test_data): New variable.
19148         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
19149         (catanh_test_data): New variable.
19150         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
19151         (ccos_test_data): New variable.
19152         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
19153         (ccosh_test_data): New variable.
19154         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
19155         (cexp_test_data): New variable.
19156         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
19157         (clog_test_data): New variable.
19158         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
19159         (clog10_test_data): New variable.
19160         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
19161         (conj_test_data): New variable.
19162         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
19163         (cproj_test_data): New variable.
19164         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
19165         (csin_test_data): New variable.
19166         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
19167         (csinh_test_data): New variable.
19168         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
19169         (csqrt_test_data): New variable.
19170         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
19171         (ctan_test_data): New variable.
19172         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
19173         (ctan_tonearest_test_data): New variable.
19174         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19175         (ctan_towardzero_test_data): New variable.
19176         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19177         (ctan_downward_test_data): New variable.
19178         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19179         (ctan_upward_test_data): New variable.
19180         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19181         (ctanh_test_data): New variable.
19182         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
19183         (ctanh_tonearest_test_data): New variable.
19184         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
19185         (ctanh_towardzero_test_data): New variable.
19186         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
19187         (ctanh_downward_test_data): New variable.
19188         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
19189         (ctanh_upward_test_data): New variable.
19190         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
19191         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
19192         of BUILD_COMPLEX.
19193
19194         * math/libm-test.inc (struct test_ff_f_data): New type.
19195         (struct test_ff_f_data_nexttoward): Likewise.
19196         (RUN_TEST_LOOP_2_f): New macro.
19197         (RUN_TEST_LOOP_ff_f): Likewise.
19198         (atan2_test_data): New variable.
19199         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
19200         (copysign_test_data): New variable.
19201         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
19202         (fdim_test_data): New variable.
19203         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
19204         (fmax_test_data): New variable.
19205         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
19206         (fmin_test_data): New variable.
19207         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
19208         (fmod_test_data): New variable.
19209         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
19210         (hypot_test_data): New variable.
19211         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
19212         (nextafter_test_data): New variable.
19213         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
19214         (nexttoward_test_data): New variable.
19215         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
19216         (pow_test_data): New variable.
19217         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
19218         (pow_tonearest_test_data): New variable.
19219         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
19220         (pow_towardzero_test_data): New variable.
19221         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
19222         (pow_downward_test_data): New variable.
19223         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
19224         (pow_upward_test_data): New variable.
19225         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
19226         (remainder_test_data): New variable.
19227         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
19228         (scalb_test_data): New variable.
19229         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
19230         * sysdeps/i386/fpu/libm-test-ulps: Update.
19231
19232 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
19233
19234         * math/libm-test.inc (fma_test): Use max_value instead of local
19235         variable fltmax.
19236         (nextafter_test): Likewise.
19237
19238         * math/libm-test.inc (acos_towardzero_test_data): New variable.
19239         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19240         (acos_downward_test_data): New variable.
19241         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19242         (acos_upward_test_data): New variable.
19243         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19244         (acosh_test_data): New variable.
19245         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
19246         (asin_test_data): New variable.
19247         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
19248         (asin_tonearest_test_data): New variable.
19249         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19250         (asin_towardzero_test_data): New variable.
19251         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19252         (asin_downward_test_data): New variable.
19253         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19254         (asin_upward_test_data): New variable.
19255         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19256         (asinh_test_data): New variable.
19257         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
19258         (atan_test_data): New variable.
19259         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
19260         (atanh_test_data): New variable.
19261         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
19262         (cbrt_test_data): New variable.
19263         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
19264         (ceil_test_data): New variable.
19265         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
19266         (cos_test_data): New variable.
19267         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
19268         (cos_tonearest_test_data): New variable.
19269         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19270         (cos_towardzero_test_data): New variable.
19271         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19272         (cos_downward_test_data): New variable.
19273         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19274         (cos_upward_test_data): New variable.
19275         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19276         (cosh_test_data): New variable.
19277         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
19278         (cosh_tonearest_test_data): New variable.
19279         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19280         (cosh_towardzero_test_data): New variable.
19281         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19282         (cosh_downward_test_data): New variable.
19283         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19284         (cosh_upward_test_data): New variable.
19285         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19286         (erf_test_data): New variable.
19287         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
19288         (erfc_test_data): New variable.
19289         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
19290         (exp_test_data): New variable.
19291         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
19292         (exp_tonearest_test_data): New variable.
19293         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19294         (exp_towardzero_test_data): New variable.
19295         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19296         (exp_downward_test_data): New variable.
19297         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19298         (exp_upward_test_data): New variable.
19299         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19300         (exp10_test_data): New variable.
19301         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
19302         (exp2_test_data): New variable.
19303         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
19304         (expm1_test_data): New variable.
19305         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
19306         (fabs_test_data): New variable.
19307         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
19308         (floor_test_data): New variable.
19309         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
19310         (j0_test_data): New variable.
19311         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
19312         (j1_test_data): New variable.
19313         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
19314         (log_test_data): New variable.
19315         (log_test): Run tests with RUN_TEST_LOOP_f_f.
19316         (log10_test_data): New variable.
19317         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
19318         (log1p_test_data): New variable.
19319         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
19320         (log2_test_data): New variable.
19321         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
19322         (logb_test_data): New variable.
19323         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
19324         (logb_downward_test_data): New variable.
19325         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19326         (nearbyint_test_data): New variable.
19327         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
19328         (rint_test_data): New variable.
19329         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
19330         (rint_tonearest_test_data): New variable.
19331         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19332         (rint_towardzero_test_data): New variable.
19333         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19334         (rint_downward_test_data): New variable.
19335         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19336         (rint_upward_test_data): New variable.
19337         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19338         (round_test_data): New variable.
19339         (round_test): Run tests with RUN_TEST_LOOP_f_f.
19340         (sin_test_data): New variable.
19341         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
19342         (sin_tonearest_test_data): New variable.
19343         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19344         (sin_towardzero_test_data): New variable.
19345         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19346         (sin_downward_test_data): New variable.
19347         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19348         (sin_upward_test_data): New variable.
19349         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19350         (sinh_test_data): New variable.
19351         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
19352         (sinh_tonearest_test_data): New variable.
19353         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19354         (sinh_towardzero_test_data): New variable.
19355         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19356         (sinh_downward_test_data): New variable.
19357         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19358         (sinh_upward_test_data): New variable.
19359         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19360         (sqrt_test_data): New variable.
19361         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
19362         (tan_test_data): New variable.
19363         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
19364         (tan_tonearest_test_data): New variable.
19365         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19366         (tan_towardzero_test_data): New variable.
19367         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
19368         (tan_downward_test_data): New variable.
19369         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
19370         (tan_upward_test_data): New variable.
19371         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
19372         (tanh_test_data): New variable.
19373         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
19374         (tgamma_test_data): New variable.
19375         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
19376         (trunc_test_data): New variable.
19377         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
19378         (y0_test_data): New variable.
19379         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
19380         (y1_test_data): New variable.
19381         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
19382         (significand_test_data): New variable.
19383         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
19384
19385 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
19386
19387         [BZ #12387]
19388         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
19389
19390 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
19391
19392         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
19393
19394 2013-05-10  Andreas Jaeger  <aj@suse.de>
19395
19396         [BZ #15448]
19397         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
19398         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
19399
19400 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19401
19402         * math/gen-libm-test.pl (adjust_arg): New function.
19403         (special_functions): Handle generating output in both functions
19404         and arrays.
19405         (parse_args): Likewise.
19406         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
19407         $in_func argument to parse_args.
19408         * math/libm-test.inc (struct test_f_f_data): New type.
19409         (IF_ROUND_INIT_): New macro.
19410         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
19411         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
19412         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
19413         (IF_ROUND_INIT_FE_UPWARD): Likewise.
19414         (ROUND_RESTORE_): Likewise.
19415         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
19416         (ROUND_RESTORE_FE_TONEAREST): Likewise.
19417         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
19418         (ROUND_RESTORE_FE_UPWARD): Likewise.
19419         (RUN_TEST_LOOP_f_f): New macro.
19420         (acos_test_data): New variable.
19421         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
19422         (acos_tonearest_test_data): New variable.
19423         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
19424
19425 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19426
19427         * benchtests/bench-skeleton.c (startup): Fix coding style.
19428
19429 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
19430
19431         [BZ #6809]
19432         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
19433         negative infinity argument.
19434         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
19435         negative infinity argument.
19436         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
19437         negative infinity argument.
19438         * math/libm-test.inc (tgamma_test): Expect errno to be set for
19439         domain errors.
19440
19441 2013-05-10  Florian Weimer  <fweimer@redhat.com>
19442
19443         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
19444         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
19445         * iconv/iconv_prog.c (main): Likewise.
19446         * locale/programs/charmap-dir.c (charmap_readdir)
19447         (fopen_uncompressed): Likewise.
19448         * locale/programs/locfile.c (siblings_uncached)
19449         (write_locale_data): Use lstat64 instead of lstat.
19450         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
19451         stat.
19452
19453 2013-05-10  Andreas Jaeger  <aj@suse.de>
19454
19455         [BZ #15395]
19456         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
19457         localization.
19458         Include <locale.h>.
19459
19460 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
19461
19462         * elf/dl-close.c (_dl_close_worker): Add comments.
19463
19464 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
19465
19466         [BZ #15359]
19467         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
19468         high part of pi/2.
19469         (__ieee754_rem_pio2l): Update comments.
19470
19471         [BZ #15429]
19472         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
19473         high part of pi/2.
19474         (__ieee754_rem_pio2l): Update comments.
19475
19476         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
19477         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
19478
19479         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
19480         M_PI_4l.
19481
19482         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
19483         (M_PI_34_LOG10El): Likewise.
19484         (M_PI2_LOG10El): Likewise.
19485         (M_PI4_LOG10El): Likewise.
19486         (M_PI_LOG10El): Likewise.
19487
19488 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19489
19490         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19491
19492 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
19493
19494         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
19495         (MINUS_ZERO_INIT): Likewise.
19496         (PLUS_INFTY_INIT): Likewise.
19497         (MINUS_INFTY_INIT): Likewise.
19498         (QNAN_VALUE_INIT): Likewise.
19499         (MAX_VALUE_INIT): Likewise.
19500         (MIN_VALUE_INIT): Likewise.
19501         (MIN_SUBNORM_VALUE_INIT): Likewise.
19502         (plus_zero): Initialize with PLUS_ZERO_INIT.
19503         (minus_zero): Initialize with MINUS_ZERO_INIT.
19504         (plus_infty): Initialize with PLUS_INFTY_INIT.
19505         (minus_infty): Initialize with MINUS_INFTY_INIT.
19506         (qnan_value): Initialize with QNAN_VALUE_INIT.
19507         (max_value): Initialize with MAX_VALUE_INIT.
19508         (min_value): Initialize with MIN_VALUE_INIT.
19509         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
19510
19511         * math/libm-test.inc (RUN_TEST_if_f): New macro.
19512         (jn_test): Use TEST_if_f instead of TEST_ff_f.
19513         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
19514         (yn_test): Use TEST_if_f instead of TEST_ff_f.
19515
19516         * math/libm-test.inc (RUN_TEST_f_f): New macro.
19517         (RUN_TEST_2_f): Likewise.
19518         (RUN_TEST_ff_f): Likewise.
19519         (RUN_TEST_fi_f): Likewise.
19520         (RUN_TEST_fl_f): Likewise.
19521         (RUN_TEST_fff_f): Likewise.
19522         (RUN_TEST_c_f): Likewise.
19523         (RUN_TEST_f_f1): Likewise.
19524         (RUN_TEST_fF_f1): Likewise.
19525         (RUN_TEST_fI_f1): Likewise.
19526         (RUN_TEST_ffI_f1): Likewise.
19527         (RUN_TEST_c_c): Likewise.
19528         (RUN_TEST_cc_c): Likewise.
19529         (RUN_TEST_f_i): Likewise.
19530         (RUN_TEST_f_i_tg): Likewise.
19531         (RUN_TEST_ff_i_tg): Likewise.
19532         (RUN_TEST_f_b): Likewise.
19533         (RUN_TEST_f_b_tg): Likewise.
19534         (RUN_TEST_f_l): Likewise.
19535         (RUN_TEST_f_L): Likewise.
19536         (RUN_TEST_sincos): Likewise.
19537         * math/gen-libm-test.pl (new_test): Take new argument to indicate
19538         whether to show exceptions.  Do not include ");\n" in return
19539         value.
19540         (special_functions): Output call to RUN_TEST_sincos instead of
19541         check_float calls.  Update calls to new_test.
19542         (parse_args): Output call to single RUN_TEST_* macro instead of
19543         check_* calls and other assignments.  Update calls to new_test.
19544
19545         [BZ #2546]
19546         [BZ #2560]
19547         [BZ #5159]
19548         [BZ #15426]
19549         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
19550         input to result for tgamma overflow.
19551         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
19552         (gamma_coeff): New variable.
19553         (NCOEFF): New macro.
19554         (gamma_positive): New function.
19555         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
19556         underflow here.  Use gamma_positive instead of exp (lgamma) for
19557         other arguments.
19558         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
19559         (gamma_coeff): New variable.
19560         (NCOEFF): New macro.
19561         (gammaf_positive): New function.
19562         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
19563         underflow here.  Use gamma_positive instead of exp (lgamma) for
19564         other arguments.
19565         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
19566         (gamma_coeff): New variable.
19567         (NCOEFF): New macro.
19568         (gammal_positive): New function.
19569         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
19570         underflow here.  Use gamma_positive instead of exp (lgamma) for
19571         other arguments.
19572         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
19573         (gamma_coeff): New variable.
19574         (NCOEFF): New macro.
19575         (gammal_positive): New function.
19576         (__ieee754_gammal_r): Handle positive infinity, overflow and
19577         underflow here.  Handle NaN the same as positive infinity.  Remove
19578         check x < 0xffffffff for negative integers.  Use gamma_positive
19579         instead of exp (lgamma) for other arguments.
19580         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
19581         (gamma_coeff): New variable.
19582         (NCOEFF): New macro.
19583         (gammal_positive): New function.
19584         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
19585         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
19586         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
19587         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
19588         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
19589         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
19590         * sysdeps/generic/math_private.h (__gamma_productf): New
19591         prototype.
19592         (__gamma_product): Likewise.
19593         (__gamma_productl): Likewise.
19594         * math/Makefile (libm-calls): Add gamma_product.
19595         * math/libm-test.inc (tgamma_test): Add more tests.
19596         * sysdeps/i386/fpu/libm-test-ulps: Update.
19597         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19598
19599 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
19600
19601         * benchtests/bench-skeleton.c (main): Preheat CPU.
19602
19603 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
19604
19605         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
19606
19607 2013-05-07  Roland McGrath  <roland@hack.frob.com>
19608
19609         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
19610         and _dl_skip_args_internal.
19611
19612 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
19613
19614         * manual/message.texi (Message Translation): Talk about users.
19615         Message to key mapping impacts design.
19616
19617 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19618
19619         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
19620
19621         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
19622
19623         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
19624         * sysdeps/wordsize-64/glob64.c: ... here.
19625
19626         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
19627         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
19628         New macros.
19629
19630         * debug/getlogin_r_chk.c: Moved to ...
19631         * login/getlogin_r_chk.c: ... here.
19632         * debug/Makefile (routines): Move getlogin_r_chk to ...
19633         * login/Makefile (routines): ... here.
19634         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
19635         * login/Versions (libc: GLIBC_2.4): ... here.
19636
19637         * io/poll.c (__poll): Renamed from poll.
19638         Add libc_hidden_def.
19639         (poll): Define as weak alias.
19640
19641         * debug/ptsname_r_chk.c: Moved to ...
19642         * login/ptsname_r_chk.c: ... here.
19643         * debug/Makefile (routines): Move ptsname_r_chk to ...
19644         * login/Makefile (routines): ... here.
19645         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
19646         * login/Versions (libc: GLIBC_2.4): ... here.
19647
19648         * posix/getlogin.c: Moved to ...
19649         * login/getlogin.c: ... here.
19650         * posix/getlogin_r.c: Moved to ...
19651         * login/getlogin_r.c: ... here.
19652         * posix/getlogin_r.c: Moved to ...
19653         * login/getlogin_r.c: ... here.
19654         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
19655         * login/Makefile (routines): ... here.
19656         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
19657         * login/Versions (libc: GLIBC_2.0): ... here.
19658
19659         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
19660         (setrlimit): Define as weak alias.
19661
19662         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
19663         Call __ names for open, ftruncate, and close.
19664         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
19665         (truncate): Define as weak alias.
19666
19667 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
19668
19669         * math/gen-libm-test.pl (parse_args): Initialize x before each
19670         test of frexp, modf and remquo.
19671
19672         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
19673         test signgam value.
19674
19675 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19676
19677         [BZ #15418]
19678         [BZ #15419]
19679         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
19680         internal tests.
19681         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
19682
19683 2013-05-06  Roland McGrath  <roland@hack.frob.com>
19684
19685         * elf/dl-writev.h: New file.
19686         * elf/dl-misc.c: Include it.
19687         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
19688         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
19689
19690 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
19691
19692         * math/libm-test.inc (noXFails): Remove variable.
19693         (noXPasses): Likewise.
19694         (BUILD_COMPLEX_INT): Remove macro.
19695         (print_screen): Remove xfail argument.
19696         (print_screen_max_error): Likewise.
19697         (update_stats): Likewise.
19698         (print_max_error): Likewise.  Update calls to other affected
19699         functions.
19700         (print_complex_max_error): Likewise.
19701         (test_single_exception): Update calls to print_screen.
19702         (test_single_errno): Likewise.
19703         (check_float_internal): Remove xfail argument.  Update calls to
19704         other affected functions.
19705         (check_float): Likewise.
19706         (check_complex): Likewise.
19707         (check_int): Likewise.
19708         (check_long): Likewise.
19709         (check_bool): Likewise.
19710         (check_longlong): Likewise.
19711         (main): Don't print noXFails and noXPasses.
19712         * math/gen-libm-test.pl (top level): Don't mention expected
19713         failure handling in comment.
19714         (new_test): Don't handle expected failures.
19715         (parse_args): Don't mention expected failure handling in comment.
19716         (generate_testfile): Don't handle expected failures.
19717         (parse_ulps): Likewise.
19718         (print_ulps_file): Likewise.
19719         (get_failure): Remove function.
19720         (output_test): Don't handle expected failures.
19721         * make/README.libm-test: Don't mention expected failure handling.
19722
19723         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
19724         (minus_zero): Likewise.
19725         (plus_infty): Likewise.
19726         (minus_infty): Likewise.
19727         (qnan_value): Likewise.
19728         (max_value): Likewise.
19729         (min_value): Likewise.
19730         (min_subnorm_value): Likewise.
19731         (initialize): Do not initialize those variables dynamically.
19732
19733 2013-05-03  Roland McGrath  <roland@hack.frob.com>
19734
19735         * io/open.c (__open_2): Moved to ...
19736         * io/open_2.c: ... this new file.
19737         * io/open64.c (__open64_2): Moved to ...
19738         * io/open64_2.c: ... this new file.
19739         * io/openat.c (__openat_2): Moved to ...
19740         * io/openat_2.c: ... this new file.
19741         * io/openat64.c (__openat64_2): Moved to ...
19742         * io/openat64_2.c: ... this new file.
19743         * io/Makefile (routines): Add them.
19744         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
19745         * sysdeps/unix/sysv/linux/open_2.c: File removed.
19746         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
19747         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
19748         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
19749         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
19750         (__openat64): Add hidden_ver.
19751         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
19752         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
19753
19754         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
19755         Separately conditionalize setting of GLRO(dl_sysinfo) so
19756         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
19757         as well, but the actual setting is only under [NEED_DL_SYSINFO].
19758
19759 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19760
19761         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
19762         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
19763         definition.
19764         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
19765         * sysdeps/unix/sysv/linux/powerpc/init-first.c
19766         (_libc_vdso_platform_setup): Add __vdso_time initialization.
19767         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
19768         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
19769
19770 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
19771
19772         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
19773         test signgam value.
19774
19775         * math/libm-test.inc (hypot_test): Do not use
19776         IGNORE_ZERO_INF_SIGN.
19777
19778 2013-05-03  Andreas Jaeger  <aj@suse.de>
19779
19780         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
19781         Linux 3.9.
19782         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
19783         (PF_MAX): Adjust for VSOCK change.
19784
19785 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19786
19787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19788
19789 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
19790
19791         [BZ #15264]
19792         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
19793         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
19794         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
19795
19796 2013-05-02  David S. Miller  <davem@davemloft.net>
19797
19798         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19799
19800 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
19801
19802         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
19803
19804 2013-05-01  Roland McGrath  <roland@hack.frob.com>
19805
19806         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
19807
19808 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
19809
19810         [BZ #14952]
19811         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
19812         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19813         Use __attribute__ ((__gnu_inline__)).
19814         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
19815         Don't use __attribute__ ((__gnu_inline__)).
19816
19817 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
19818
19819         [BZ #15423]
19820         * math/s_catan.c (__catan): Handle small real or imaginary part of
19821         input specially to avoid spurious underflow.
19822         * math/s_catanf.c (__catanf): Likewise.
19823         * math/s_catanh.c (__catanh): Likewise.
19824         * math/s_catanhf.c (__catanhf): Likewise.
19825         * math/s_catanhl.c (__catanhl): Likewise.
19826         * math/s_catanl.c (__catanl): Likewise.
19827         * math/libm-test.inc (catan_test): Add more tests.
19828         (catanh_test): Likewise.
19829         * sysdeps/i386/fpu/libm-test-ulps: Update.
19830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19831
19832 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19833
19834         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19835
19836 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
19837
19838         [BZ #15416]
19839         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
19840         accurately for denominator in atan2.
19841         * math/s_catanf.c (__catanf): Likewise.
19842         * math/s_catanh.c (__catanh): Likewise.
19843         * math/s_catanhf.c (__catanhf): Likewise.
19844         * math/s_catanhl.c (__catanhl): Likewise.
19845         * math/s_catanl.c (__catanl): Likewise.
19846         * math/libm-test.inc (catan_test): Add more tests.
19847         (catanh_test): Likewise.
19848         * sysdeps/i386/fpu/libm-test-ulps: Update.
19849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19850
19851 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19852
19853         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
19854
19855         * benchtests/Makefile (bench): Remove slow benchmarks.
19856         * benchtests/atan-inputs: Add slow benchmark inputs.
19857         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
19858         (BENCH_FUNC): Accept variant offset.
19859         (VARIANT): Define.
19860         * benchtests/bench-skeleton.c (main): Run benchmark for each
19861         variant.
19862         * benchtests/cos-inputs: Add slow benchmark inputs.
19863         * benchtests/exp-inputs: Likewise.
19864         * benchtests/pow-inputs: Likewise.
19865         * benchtests/sin-inputs: Likewise.
19866         * benchtests/slowatan-inputs: Remove.
19867         * benchtests/slowatan.c: Remove.
19868         * benchtests/slowcos-inputs: Remove.
19869         * benchtests/slowcos.c: Remove.
19870         * benchtests/slowexp-inputs: Remove.
19871         * benchtests/slowexp.c: Remove.
19872         * benchtests/slowpow-inputs: Remove.
19873         * benchtests/slowpow.c: Remove.
19874         * benchtests/slowsin-inputs: Remove.
19875         * benchtests/slowsin.c: Remove.
19876         * benchtests/slowtan-inputs: Remove.
19877         * benchtests/slowtan.c: Remove.
19878         * benchtests/tan-inputs: Add slow benchmark inputs.
19879         * scripts/bench.pl: Parse comments and directives.
19880
19881         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
19882         in CPPFLAGS.
19883         ($(objpfx)bench-%.c): Remove *-ITER.
19884         * benchtests/bench-modf.c: Remove definition of ITER.
19885         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
19886         (main): Loop for DURATION seconds instead of fixed number of
19887         iterations.
19888         * scripts/bench.pl: Don't expect iterations in parameters.
19889
19890 2013-04-29  Roland McGrath  <roland@hack.frob.com>
19891
19892         * io/fchdir.c (__fchdir): Renamed from fchdir.
19893         (fchdir): Define as weak alias.
19894
19895 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19896
19897         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
19898         (ERRNO_EDOM): Likewise.
19899         (ERRNO_ERANGE): Likewise.
19900         (noErrnoTests): New variable.
19901         (init_max_error): Set errno to 0.
19902         (test_single_errno): New function.
19903         (test_errno): Likewise.
19904         (check_float_internal): Call test_errno.  Set errno to 0.
19905         (check_complex): Refer to errno tests in comment.
19906         (check_int): Call test_errno.  Set errno to 0.
19907         (check_long): Likewise.
19908         (check_bool): Likewise.
19909         (check_longlong): Likewise.
19910         (cos_test): Use ERRNO_* flags for errno tests instead of
19911         check_int.
19912         (expm1_test): Likewise.
19913         (fmod_test): Likewise.
19914         (ilogb_test): Likewise.
19915         (lgamma_test): Likewise.
19916         (pow_test): Likewise.
19917         (remainder_test): Likewise.
19918         (sin_test): Likewise.
19919         (tan_test): Likewise.
19920         (yn_test): Likewise.
19921         (initialize): Set errno to 0.
19922         (main): Print number of errno tests.
19923         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
19924
19925 2013-04-29  Andreas Jaeger  <aj@suse.de>
19926
19927         [BZ #15084]
19928         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
19929         and RES_USEVC.
19930
19931         [BZ #15085]
19932         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
19933         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
19934         unimplemented.
19935
19936         [BZ #15380]
19937         * stdlib/random.c (__initstate): Return NULL if
19938         __initstate fails.
19939
19940         [BZ #15086]
19941         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
19942         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
19943         RES_SNGLKUPREOP.
19944
19945 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19946
19947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19948
19949 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
19950
19951         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
19952         of individual tests.
19953         (casin_test): Likewise.
19954         (casinh_test): Likewise.
19955
19956 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
19957
19958         [BZ #15409]
19959         * math/s_catan.c (__catan): Handle arguments with large real or
19960         imaginary part separately without squaring.
19961         * math/s_catanf.c (__catanf): Likewise.
19962         * math/s_catanh.c (__catanh): Likewise.
19963         * math/s_catanhf.c (__catanhf): Likewise.
19964         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19965         and redefine.
19966         (__catanhl): Handle arguments with large real or imaginary part
19967         separately without squaring.
19968         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
19969         and redefine.
19970         (__catanl): Handle arguments with large real or imaginary part
19971         separately without squaring.
19972         * math/libm-test.inc (catan_test): Add more tests.
19973         (catanh_test): Likewise.
19974         * sysdeps/i386/fpu/libm-test-ulps: Update.
19975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19976
19977 2013-04-27  Andreas Jaeger  <aj@suse.de>
19978
19979         [BZ #15007]
19980         * stdlib/stdlib.h: Update guards for qecvt.
19981         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
19982         <stdlib.h>.
19983
19984 2013-04-27  Allan McRae  <allan@archlinux.org>
19985
19986         * sysdeps/i386/fpu/libm-test-ulps: Update.
19987
19988 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
19989
19990         [BZ #15406]
19991         * math/s_catan.c: Include <float.h>.
19992         (__catan): Ensure underflow exception occurs for underflowed
19993         result.
19994         * math/s_catanf.c: Include <float.h>.
19995         (__catanf): Ensure underflow exception occurs for underflowed
19996         result.
19997         * math/s_catanh.c: Include <float.h>.
19998         (__catanh): Ensure underflow exception occurs for underflowed
19999         result.
20000         * math/s_catanhf.c: Include <float.h>.
20001         (__catanhf): Ensure underflow exception occurs for underflowed
20002         result.
20003         * math/s_catanhl.c: Include <float.h>.
20004         (__catanhl): Ensure underflow exception occurs for underflowed
20005         result.
20006         * math/s_catanl.c: Include <float.h>.
20007         (__catanl): Ensure underflow exception occurs for underflowed
20008         result.
20009         * math/libm-test.inc (catan_test): Add more tests.
20010         (catanh_test): Likewise.
20011
20012         [BZ #15405]
20013         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
20014         underflowed result.
20015         * math/s_ccoshf.c (__ccoshf): Likewise.
20016         * math/s_ccoshl.c (__ccoshl): Likewise.
20017         * math/s_csin.c (__csin): Likewise.
20018         * math/s_csinf.c (__csinf): Likewise.
20019         * math/s_csinh.c (__csinh): Likewise.
20020         * math/s_csinhf.c (__csinhf): Likewise.
20021         * math/s_csinhl.c (__csinhl): Likewise.
20022         * math/s_csinl.c (__csinl): Likewise.
20023         * math/libm-test.inc (ccos_test): Add more tests.
20024         (ccosh_test): Likewise.
20025         (csin_test): Likewise.
20026         (csinh_test): Likewise.
20027
20028 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20029
20030         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
20031         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
20032         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
20033         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
20034         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
20035         powerpc/power5+/fpu folders.
20036         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
20037
20038
20039 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
20040
20041         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20042
20043 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
20044
20045         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
20046         additions to variable.
20047         [$(config-machine) = x86_64] (modules-names): Likewise.
20048         ($(objpfx)tst-audit3): Remove dependency.
20049         ($(objpfx)tst-audit3.out): Likewise.
20050         ($(objpfx)tst-audit4): Likewise.
20051         ($(objpfx)tst-audit4.out): Likewise.
20052         ($(objpfx)tst-audit5): Likewise.
20053         ($(objpfx)tst-audit5.out): Likewise.
20054         ($(objpfx)tst-audit6): Likewise.
20055         ($(objpfx)tst-audit6.out): Likewise.
20056         ($(objpfx)tst-audit7): Likewise.
20057         ($(objpfx)tst-audit7.out): Likewise.
20058         (tst-audit3-ENV): Remove variable.
20059         (tst-audit4-ENV): Likewise.
20060         (tst-audit5-ENV): Likewise.
20061         (tst-audit6-ENV): Likewise.
20062         (tst-audit7-ENV): Likewise.
20063         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
20064         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
20065         addition to variable.
20066         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
20067         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
20068         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
20069         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
20070         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
20071         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
20072         tst-audit3, tst-audit4 and tst-audit5.
20073         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
20074         tst-audit6 and tst-audit7.
20075         [$(subdir) = elf] (modules-names): Add audit modules for those
20076         tests.
20077         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
20078         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
20079         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
20080         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
20081         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
20082         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
20083         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
20084         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
20085         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
20086         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
20087         [$(subdir) = elf] (tst-audit3-ENV): New variable.
20088         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
20089         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
20090         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
20091         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
20092         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
20093         Likewise.
20094         [$(subdir) = elf && $(config-cflags-avx) = yes]
20095         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
20096         [$(subdir) = elf && $(config-cflags-avx) = yes]
20097         (CFLAGS-tst-auditmod4a.c): Likewise.
20098         [$(subdir) = elf && $(config-cflags-avx) = yes]
20099         (CFLAGS-tst-auditmod4b.c): Likewise.
20100         [$(subdir) = elf && $(config-cflags-avx) = yes]
20101         (CFLAGS-tst-auditmod6b.c): Likewise.
20102         [$(subdir) = elf && $(config-cflags-avx) = yes]
20103         (CFLAGS-tst-auditmod6c.c): Likewise.
20104         [$(subdir) = elf && $(config-cflags-avx) = yes]
20105         (CFLAGS-tst-auditmod7b.c): Likewise.
20106         * elf/tst-audit3.c: Move to ...
20107         * sysdeps/x86_64/tst-audit3.c: ... here.
20108         * elf/tst-audit4.c: Move to ...
20109         * sysdeps/x86_64/tst-audit4.c: ... here.
20110         * elf/tst-audit5.c: Move to ...
20111         * sysdeps/x86_64/tst-audit5.c: ... here.
20112         * elf/tst-audit6.c: Move to ...
20113         * sysdeps/x86_64/tst-audit6.c: ... here.
20114         * elf/tst-audit7.c: Move to ...
20115         * sysdeps/x86_64/tst-audit7.c: ... here.
20116         * elf/tst-auditmod3a.c: Move to ...
20117         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
20118         * elf/tst-auditmod3b.c: Move to ...
20119         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
20120         * elf/tst-auditmod4a.c: Move to ...
20121         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
20122         * elf/tst-auditmod4b.c: Move to ...
20123         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
20124         * elf/tst-auditmod5a.c: Move to ...
20125         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
20126         * elf/tst-auditmod5b.c: Move to ...
20127         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
20128         * elf/tst-auditmod6a.c: Move to ...
20129         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
20130         * elf/tst-auditmod6b.c: Move to ...
20131         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
20132         * elf/tst-auditmod6c.c: Move to ...
20133         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
20134         * elf/tst-auditmod7a.c: Move to ...
20135         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
20136         * elf/tst-auditmod7b.c: Move to ...
20137         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
20138
20139 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
20140
20141         [BZ #15366]
20142         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
20143         define unconditionally.
20144         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
20145         define unconditionally.
20146         (INT8_C, INT16_C, etc.): Likewise.
20147
20148 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
20149
20150         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
20151         __ehdr_start with hidden visibility.
20152
20153         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
20154
20155 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
20156
20157         * math/libm-test.inc (cos_test): Use accurate hex constants.
20158         (sincost_test): Likewise.
20159
20160 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
20161
20162         * math/libm-test.inc (catan_test): Add more tests.
20163         (catanh_test): Likewise.
20164
20165         * math/s_catanf.c (__catanf): Use suffixed floating-point
20166         constants.
20167         * math/s_catanhf.c (__catanhf): Likewise.
20168         * math/s_catanhl.c (__catanhl): Likewise.
20169         * math/s_catanl.c (__catanl): Likewise.
20170
20171         [BZ #15394]
20172         * math/s_catan.c (__catan): Calculate imaginary part of result
20173         with log1p not log unless computing log of number close to 0.
20174         * math/s_catanf.c (__catanf): Likewise.
20175         * math/s_catanl.c (__catanl): Likewise.
20176         * math/s_catanh.c (__catanh): Calculate real part of result with
20177         log1p not log unless computing log of number close to 0.
20178         * math/s_catanhf.c (__catanhf): Likewise.
20179         * math/s_catanhl.c (__catanhl): Likewise.
20180         * math/libm-test.inc (catan_test): Add more tests.
20181         (catanh_test): Likewise.
20182         * sysdeps/i386/fpu/libm-test-ulps: Update.
20183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20184
20185 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
20186
20187         * benchtests/Makefile: Mention files in which fast and slow
20188         paths of math functions are implemented.
20189
20190 2013-04-23  Roland McGrath  <roland@hack.frob.com>
20191
20192         * sysdeps/posix/timespec_get.c: New file.
20193
20194 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20195
20196         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
20197         POWER.
20198         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
20199         for POWER.
20200         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
20201         powerpc/power5/fpu folders.
20202         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
20203         * benchtests/Makefile: Add modf testcase.
20204         * benchtests/bench-modf.c: New file: Benchmark test for mo
20205
20206 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20207
20208         [BZ #14888]
20209         * time/Makefile (tests): Add tst-strptime-whitespace.
20210         * time/strptime_l.c (get_number): Use ISSPACE.
20211         (__strptime_internal): Likewise.
20212         * time/tst-strptime-whitespace.c: New test case.
20213
20214 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
20215
20216         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
20217         member.
20218         (_nss_files_init): Set it here.
20219
20220 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
20221
20222         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
20223         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
20224         unsigned.
20225
20226 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
20227
20228         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
20229
20230 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
20231
20232         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
20233         size just once.
20234
20235 2013-04-21  David S. Miller  <davem@davemloft.net>
20236
20237         * po/ru.po: Update Russion translation from translation project.
20238
20239 2013-04-17  Adam Conrad  <adconrad@0c3.net>
20240
20241         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
20242         and setfsgid.
20243
20244 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
20245
20246         * configure.in: Remove i386 configure warning. Remove i386 case.
20247         * configure: Regenerate.
20248         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
20249         Add example to error message.
20250         * sysdeps/i386/configure: Regenerate.
20251
20252 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20253
20254         * benchtests/Makefile (bench): Add cos, tan, slowcos and
20255         slowtan.
20256         * benchtests/cos-inputs: New file.
20257         * benchtests/slowcos-inputs: New file.
20258         * benchtests/slowcos.c: New file.
20259         * benchtests/slowtan-inputs: New file.
20260         * benchtests/slowtan.c: New file.
20261         * benchtests/tan-inputs: New file.
20262
20263 2013-04-16  Roland McGrath  <roland@hack.frob.com>
20264
20265         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
20266         considered kosher.
20267
20268 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20269
20270         * benchtests/Makefile: Include cppflags-iterator.mk to add
20271         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
20272
20273         * Makefile.in (bench-clean): New target.
20274         * benchtests/Makefile (bench-clean): Likewise.
20275
20276 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
20277
20278         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
20279
20280 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
20281
20282         * stdio-common/tstdiomisc.c: Fix coding-style violation.
20283
20284 2013-04-15  Andreas Schwab  <schwab@suse.de>
20285
20286         * nscd/grpcache.c (cache_addgr): Properly check for short write.
20287         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20288         * nscd/pwdcache.c (cache_addpw): Likewise.
20289         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
20290         more than recsize.
20291
20292 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20293
20294         * benchtests/Makefile (bench): Write all output to
20295         bench-out.tmp together.
20296
20297 2013-04-15  Andreas Schwab  <schwab@suse.de>
20298
20299         * nscd/nscd.c (main): Don't fork again after closing files.
20300
20301 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
20302
20303         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
20304
20305         * benchtests/Rules (bench-deps): Collect dependencies into a
20306         single variable.  Add Makefile to dependencies.
20307         ($(objpfx)bench-%.c): Depend on bench-deps.
20308
20309 2013-04-12  Roland McGrath  <roland@hack.frob.com>
20310             Xavier Roche  <roche+kml2@exalead.com>
20311
20312         [BZ #15361]
20313         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
20314         just that it's a file descriptor.
20315         * manual/llio.texi (Synchronizing AIO Operations): Update description
20316         for EBADF error from aio_fsync.
20317
20318 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20319
20320         * Rules (bench): Move target definition...
20321         * benchtests/Makefile: ... here.
20322
20323 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
20324
20325         * math/libm-test.inc (cos_test): Fix PI/2 test.
20326         (sincos_test): Likewise.
20327         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
20328         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
20329
20330 2013-04-11  Andreas Schwab  <schwab@suse.de>
20331
20332         [BZ #13988]
20333         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
20334         accept exponent character only when digits were seen.
20335         * stdio-common/Makefile (tests): Add bug26.
20336         * stdio-common/bug26.c: New file.
20337
20338         [BZ #14293]
20339         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
20340         non-freeable.
20341
20342 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20343
20344         * Makeconfig (rtld-prefix): Define built linker prefix.
20345         * Rules (run-bench): Use it.
20346         * math/Makefile (run-regen-ulps): Likewise.
20347
20348         * Rules (bench): Remove eval.
20349
20350 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20351             Roland McGrath  <roland@hack.frob.com>
20352             Ondrej Bilka  <neleai@seznam.cz>
20353
20354         [BZ #15346]
20355         * time/getdate.c: Include ctype.h and alloca.h.
20356         (__getdate_r): Trim leading and trailing spaces of input.
20357         * time/tst-getdate.c (tests): Add tests with leading and
20358         trailing spaces.
20359
20360 2013-04-08  Roland McGrath  <roland@hack.frob.com>
20361
20362         [BZ #14280]
20363         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
20364         when computing value.
20365
20366 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20367
20368         * math/README.libm-test (How can I generate "libm-test-ulps"?):
20369         Use testrun.sh to run libm tests.
20370
20371         [BZ #15309]
20372         * elf/dl-open.c (dl_open_worker): memset all of seen array.
20373
20374 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
20375
20376         [BZ #15264]
20377         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
20378
20379 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20380
20381         * Makefile.in (regen-ulps): New target.
20382         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
20383         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
20384         [ifneq (no,$(PERL)] (regen-ulps): New target.
20385         [ifeq (no,$(PERL)] (regen-ulps): New target.
20386         * math/libm-test.inc (ulps_file_name): Define.
20387         (output_dir): New variable.
20388         (options): Add "output-dir" option.
20389         (parse_opt): Handle 'o' case.
20390         (main): If output_dir is non-NULL use it as a prefix
20391         otherwise use "".
20392         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
20393
20394 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20395
20396         [BZ #10060, #10062]
20397         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
20398         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
20399         fail configure if __sync_val_compare_and_swap is not inlined.
20400         * sysdeps/i386/configure: Regenerate.
20401         * configure.in: Build for i686 when configured for i386.
20402         * configure: Regenerate.
20403         * README: Remove i386 reference.
20404
20405 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
20406
20407         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
20408         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20409
20410 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
20411
20412         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
20413         (lmsnanval): New variables.
20414         (F): Add conversion tests.
20415         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
20416         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
20417
20418         * stdio-common/tstdiomisc.c (F): Properly collect individual
20419         tests' results.
20420
20421         [BZ #14686, #15336]
20422         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
20423         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
20424         Instead, use input NaN values or generate a qNaN by arithmetic
20425         operation.  Also fix bugs to comply with the standard.
20426         * math/libm-test.inc (remainder_test): Add more tests.
20427
20428         [BZ #15335, #15342]
20429         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
20430         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
20431         input NaN values or generate a qNaN by arithmetic operation.
20432
20433         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
20434         unreachable code.
20435
20436         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
20437         definitions.
20438
20439 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
20440
20441         [BZ #14478]
20442         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
20443         underflowed result.
20444         * math/s_cexpf.c (__cexpf): Likewise.
20445         * math/s_cexpl.c (__cexpl): Likewise.
20446         * math/libm-test.inc (cexp_test): Add more tests.
20447
20448 2013-04-03  Andreas Schwab  <schwab@suse.de>
20449
20450         [BZ #15330]
20451         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
20452         order arrays from heap if bigger than alloca cutoff.
20453
20454 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
20455
20456         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
20457         (SNAN_TESTS_double): Refer to GCC PR56831.
20458         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
20459         GCC PR56828.
20460
20461 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20462
20463         * Rules (bench): Move bench.out after the run is complete.
20464
20465         * Rules (bench): Echo currently running benchmark.
20466
20467         * benchtests/Makefile (bench): Add atan and slowatan.
20468         * benchtests/atan-inputs: New file.
20469         * benchtests/slowatan-inputs: New file.
20470         * benchtests/slowatan.c: New file.
20471
20472         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
20473         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
20474         its value.
20475
20476         [BZ #15305]
20477         * sysdeps/unix/sysv/linux/kernel-features.h
20478         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
20479         __ASSUME_XFS_RESTRICTED_CHOWN.
20480         * sysdeps/unix/sysv/linux/pathconf.c
20481         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
20482         Save and restore errno.
20483
20484 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
20485
20486         [BZ #15327]
20487         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
20488         arguments using __kernel_casinh.
20489         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
20490         arguments using __kernel_casinhf.
20491         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
20492         arguments using __kernel_casinhl.
20493         * math/libm-test.inc (cacosh_test): Add more tests.
20494         * sysdeps/i386/fpu/libm-test-ulps: Update.
20495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20496
20497 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20498
20499         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
20500         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
20501
20502         * bench/Makefile (bench): Add sin and slowsin.
20503         * benchtests/sin-inputs: New file.
20504         * benchtests/slowsin-inputs: New file.
20505         * benchtests/slowsin.c: New file.
20506
20507         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
20508         (bench): Add slowexp and slowpow.
20509         (exp-ITER): Increase iterations.
20510         (pow-ITER): Likewise.
20511         * benchtests/exp-inputs: Change input.
20512         * benchtests/pow-inputs: Likewise.
20513         * benchtests/slowexp-inputs: New file.
20514         * benchtests/slowexp.c: New file.
20515         * benchtests/slowpow-inputs: New file.
20516         * benchtests/slowpow.c: New file.
20517
20518 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20519
20520         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
20521         instructions.
20522         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
20523         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
20524         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
20525         * benchtests/Makefile: Add rint benchtest.
20526         * benchtests/rint-inputs: Input for rint benchtest.
20527
20528 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
20529
20530         * Versions.def (libm): Add GLIBC_2.18.
20531         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
20532         hidden libm prototypes.
20533         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
20534         * math/Makefile (libm-calls): Add s_issignaling.
20535         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
20536         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
20537         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
20538         declaration.
20539         * math/math.h [__USE_GNU] (issignaling): New macro.
20540         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
20541         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
20542         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
20543         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
20544         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
20545         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
20546         * manual/arith.texi (issignaling): New section.
20547         * manual/libm-err-tab.pl (@all_functions): Update comment.
20548         * math/gen-libm-test.pl (parse_args): Apply special handling for
20549         issignaling.
20550         * math/libm-test.inc (print_float, issignaling_test): New
20551         functions.
20552         (check_float_internal): Add issignaling checks.
20553         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
20554         default definition.
20555         * sysdeps/powerpc/math-tests.h: New file.
20556         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
20557         tests.
20558         * math/test-snan.c (TEST_FUNC): Likewise.
20559
20560 2013-03-30  David S. Miller  <davem@davemloft.net>
20561
20562         * po/de.po: Update from translation team.
20563
20564 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
20565
20566         [BZ #10357]
20567         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20568         imaginary part less than 1.0 and real part less than 0.5
20569         specially.
20570         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20571         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20572         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
20573         (cacos_test): Add more tests.
20574         (casin_test): Likewise.
20575         (casinh_test): Likewise.
20576         * sysdeps/i386/fpu/libm-test-ulps: Update.
20577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20578
20579 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20580
20581         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
20582         ONE with its value.
20583
20584         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
20585         (__pow_mp): Replace ONE and MONE with their values.
20586         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20587         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
20588         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20589         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
20590         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20591         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20592
20593         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
20594
20595         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
20596         (__pow_mp): Replace ZERO and MZERO with their values.
20597         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20598         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20599         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
20600         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
20601         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20602         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
20603         (__sqr): Likewise.
20604
20605         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
20606
20607         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
20608
20609 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20610
20611         * include/stdlib.h [!SHARED] (__call_tls_dtors):
20612         Declare with __attribute__ ((weak)).
20613         * stdlib/exit.c (__libc_atexit) [!SHARED]:
20614         Call __call_tls_dtors only if it's not NULL.
20615
20616 2013-03-28  Roland McGrath  <roland@hack.frob.com>
20617
20618         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
20619         didn't do it already, then set _dl_phdr and _dl_phnum based on the
20620         magic __ehdr_start linker symbol if it's defined.
20621         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
20622         them up here if it was already done.
20623
20624         * elf/dl-support.c (_dl_phdr): Make pointer to const.
20625         (_dl_aux_init): Use const in cast when setting it.
20626         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
20627         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
20628         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
20629
20630         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
20631         Declare them here.
20632         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
20633         * csu/libc-tls.c: Nor here.
20634         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
20635
20636         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
20637         (__libc_message): Never call vsyslog.
20638
20639 2013-03-28  Alan Modra  <amodra@gmail.com>
20640
20641         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
20642         Define as empty.
20643         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
20644         Likewise.
20645
20646 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20647
20648         [BZ #15214]
20649         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
20650         underflow.
20651         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20652
20653 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20654
20655         [BZ #15304]
20656         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
20657         Don't add gid passed as argument.
20658
20659         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
20660
20661 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
20662
20663         [BZ #15307]
20664         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20665         imaginary part between 1.0 and 1.5 and real part less than 0.5
20666         specially.
20667         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20668         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20669         * math/libm-test.inc (cacos_test): Add more tests.
20670         (casin_test): Likewise.
20671         (casinh_test): Likewise.
20672         * sysdeps/i386/fpu/libm-test-ulps: Update.
20673         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20674
20675 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20676
20677         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
20678         constants.
20679         (norm): Likewise.
20680         (denorm): Likewise.
20681         (__dbl_mp): Likewise.
20682         (add_magnitudes): Likewise.
20683         (sub_magnitudes): Likewise.
20684         (__add): Likewise.
20685         (__sub): Likewise.
20686         (__mul): Likewise.
20687         (__sqr): Likewise.
20688         (__inv): Likewise.
20689         (__dvd): Likewise.
20690
20691         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
20692         commented code.
20693         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
20694         (__dubcos): Likewise.
20695         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
20696         (__ieee754_acos): Likewise.
20697         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
20698         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
20699         (__exp1): Likewise.
20700         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
20701         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
20702         (log1): Likewise.
20703         (my_log2): Likewise.
20704         (checkint): Likewise.
20705         * sysdeps/ieee754/dbl-64/e_remainder.c
20706         (__ieee754_remainder): Likewise.
20707         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
20708         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20709         (bsloww): Likewise.
20710         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
20711
20712         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
20713         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
20714         MANTISSA_STORE_T to store computations on mantissa.  Use
20715         macros for rounding and division.
20716         (denorm): Likewise.
20717         (__dbl_mp): Likewise.
20718         (add_magnitudes): Likewise.
20719         (sub_magnitudes): Likewise.
20720         (__mul): Likewise.
20721         (__sqr): Likewise.
20722         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
20723         powers of two in terms of TWOPOW macro.
20724         (mp_no): Make type of mantissa as MANTISSA_T.
20725         [!RADIXI]: Define RADIXI.
20726         [!TWO52]: Define TWO52.
20727         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
20728
20729 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20730
20731         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
20732         llroundl symbol when building for PPC32.
20733
20734 2013-03-24  Mark H Weaver  <mhw@netris.org>
20735
20736         * manual/arith.texi (Normalization Functions): Fix prototypes for
20737         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
20738
20739 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20740
20741         [BZ #13889]
20742         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
20743         high value to check if expl overflow.
20744         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
20745         to check for underflow and overflow.
20746         * math/libm-test.inc: Add exp test.
20747
20748 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
20749
20750         [BZ #11120]
20751         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
20752         with NOT_IN_libc.
20753
20754 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20755
20756         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
20757         symbol.
20758
20759 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
20760
20761         * math/gen-libm-test.pl (parse_args, special_functions): Properly
20762         wrap blocks consisting of several statements.
20763
20764         * sysdeps/generic/math-tests.h: New file.
20765         * sysdeps/i386/fpu/math-tests.h: Likewise.
20766         * math/test-snan.c: Include it.
20767         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
20768
20769 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20770
20771         [BZ #15285]
20772         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
20773         (__ieee754_j0l): Do not improve calculations using cos of twice
20774         input for inputs above LDBL_MAX / 2.0L.
20775         (__ieee754_y0l): Likewise.
20776         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
20777         (__ieee754_j1l): Do not improve calculations using cos of twice
20778         input for inputs above LDBL_MAX / 2.0L.
20779         (__ieee754_y1l): Likewise.
20780         * math/libm-test.inc (j0_test): Add another test.
20781         (j1_test): Likewise.
20782         (y0_test): Likewise.
20783         (y1_test): Likewise.
20784         * sysdeps/i386/fpu/libm-test-ulps: Update.
20785
20786 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20787
20788         * Rules ($(objpfx)bench-%.c): Include code from a C source
20789         file.
20790
20791 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
20792
20793         [BZ #15287]
20794         * math/k_casinh.c (__kernel_casinh): Handle arguments with
20795         imaginary part 1.0 and real part less than 0.5 specially.
20796         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20797         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20798         * math/libm-test.inc (cacos_test): Add more tests.
20799         (casin_test): Likewise.
20800         (casinh_test): Likewise.
20801         * sysdeps/i386/fpu/libm-test-ulps: Update.
20802         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20803
20804 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
20805
20806         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
20807         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
20808
20809 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
20810
20811         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
20812         * config.make.in (config-cflags-sse4): Remove variable.
20813         (config-cflags-avx): Likewise.
20814         (config-cflags-sse2avx): Likewise.
20815         (config-cflags-novzeroupper): Likewise.
20816         (config-asflags-i686): Likewise.
20817         (have-mfma4): Likewise.
20818         (have-as-vis3): Likewise.
20819         (MIG): Likewise.
20820         * configure.in (MIG): Do not AC_SUBST.
20821         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
20822         (libc_cv_cc_sse4): Do not AC_SUBST.
20823         (libc_cv_cc_avx): Likewise.
20824         (libc_cv_cc_sse2avx): Likewise.
20825         (libc_cv_cc_novzeroupper): Likewise.
20826         (libc_cv_cc_fma4): Likewise.
20827         (libc_cv_as_i686): Likewise.
20828         (libc_cv_sparc_as_vis3): Likewise.
20829         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
20830         LIBC_CONFIG_VAR.
20831         (config-asflags-i686): Likewise.
20832         (config-cflags-avx): Likewise.
20833         (config-cflags-sse2avx): Likewise.
20834         (have-mfma4): Likewise.
20835         (config-cflags-novzeroupper): Likewise.
20836         * sysdeps/mach/configure.in (MIG): Likewise.
20837         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
20838         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
20839         LIBC_CONFIG_VAR.
20840         (config-cflags-avx): Likewise.
20841         (config-cflags-sse2avx): Likewise.
20842         (have-mfma4): Likewise.
20843         (config-cflags-novzeroupper): Likewise.
20844         * configure: Regenerated.
20845         * sysdeps/i386/configure: Likewise.
20846         * sysdeps/mach/configure: Likewise.
20847         * sysdeps/sparc/configure: Likewise.
20848         * sysdeps/x86_64/configure: Likewise.
20849
20850 2013-03-20  Roland McGrath  <roland@hack.frob.com>
20851
20852         [BZ #14812]
20853         * locale/programs/localedef.c (options): Put N_ translation marker
20854         on argument names, not just descriptions.
20855
20856 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
20857
20858         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
20859
20860 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
20861
20862         [BZ #14176]
20863         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
20864
20865 2013-03-19  Roland McGrath  <roland@hack.frob.com>
20866
20867         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
20868         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
20869         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
20870         [!BEFORE_ABORT] (before_abort): New function.
20871         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
20872         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
20873         (writev_for_fatal): New function.
20874         (WRITEV_FOR_FATAL): New macro; call that.
20875         (backtrace_and_maps): New function.
20876         (BEFORE_ABORT): New macro; call that.
20877         (struct str_list): Type removed.
20878         (__libc_message, __libc_fatal): Functions removed.
20879         Include <sysdeps/posix/libc_fatal.c> instead.
20880
20881 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
20882
20883         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
20884         constants.
20885         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
20886         double constants.
20887
20888 2013-03-19  Andreas Schwab  <schwab@suse.de>
20889
20890         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
20891         * sysdeps/gnu/configure: Regenerate.
20892
20893         * configure.in: Substitute libc_cv_rtlddir.
20894         * configure: Regenerate.
20895         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
20896         * Makeconfig (rtlddir, inst_rtlddir): New variables.
20897         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
20898         * elf/Makefile (install-others, CFLAGS-interp.c)
20899         (ldso_install, common-ldd-rewrite): Likewise.
20900         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
20901         $(inst_slibdir)/$(rtld-installed-name).
20902         * scripts/rellns-sh: Add -p option.
20903         * Makerules (make-shlib-link): Use rellns-sh to get relative name
20904         for source.
20905
20906 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20907
20908         * manual/nptl.texi: Renamed to ...
20909         * manual/threads.texi: ... this.
20910         * manual/Makefile (chapters): Update.
20911
20912 2013-03-18  Roland McGrath  <roland@hack.frob.com>
20913
20914         [BZ #14812]
20915         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
20916         on argument names, not just descriptions.
20917         * malloc/memusagestat.c (options): Likewise.
20918         * nss/getent.c (options): Likewise.
20919
20920 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
20921
20922         [BZ #14812]
20923         * iconv/iconv_prog.c (options): Put N_ translation marker
20924         on argument names, not just descriptions.
20925         * iconv/iconvconfig.c (options): Likewise.
20926
20927 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
20928
20929         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
20930         implementation which is faster on all x86_64 architectures.
20931         Tested on AMD, Intel Nehalem, SNB, IVB.
20932         * sysdeps/x86_64/strnlen.S: Likewise.
20933
20934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20935         Remove all multiarch strlen and strnlen versions.
20936         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
20937         Remove strlen and strnlen related parts.
20938
20939         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
20940         Inline strlen part.
20941         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
20942
20943         * sysdeps/x86_64/multiarch/strlen.S: Remove.
20944         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
20945         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
20946         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
20947         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
20948         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
20949
20950 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
20951
20952         * manual/memory.texi (Malloc Tunable Parameters):
20953         Sort parameters alphabetically. Add comments for missing entries.
20954
20955 2013-03-17  David S. Miller  <davem@davemloft.net>
20956
20957         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20958
20959 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
20960
20961         [BZ #15283]
20962         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
20963         for arguments at most half maximum finite value.
20964         * math/libm-test.inc (j0_test): Add more tests.
20965         (j1_test): Likewise.
20966         (y0_test): Likewise.
20967         (y1_test): Likewise.
20968         * sysdeps/i386/fpu/libm-test-ulps: Update.
20969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20970
20971         [BZ #14155]
20972         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
20973         1 / x and functions P and Q for arguments above 0x1p256L.
20974         (__ieee754_y0l): Likewise.
20975         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20976         (__ieee754_y1l): Likewise.
20977         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
20978         (j1_test): Likewise.
20979         (y0_test): Likewise.
20980         (y1_test): Likewise.
20981
20982 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
20983
20984         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
20985         variable.
20986
20987 2013-03-15  Roland McGrath  <roland@hack.frob.com>
20988
20989         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
20990         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
20991         zero since it's initialized to EXEC_PAGESIZE.
20992
20993         * sysdeps/unix/sysv/linux/ldsodefs.h
20994         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
20995         * sysdeps/generic/ldsodefs.h: ... here.
20996
20997 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
20998
20999         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
21000
21001         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
21002         math/test-snan.c.
21003         * math/test-snan.c: Renamed from
21004         sysdeps/powerpc/fpu/test-powerpc-snan.c.
21005         * math/Makefile (tests): Add test-snan.
21006         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
21007         test-powerpc-snan.
21008
21009         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
21010         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
21011         functions.
21012         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
21013         __builtin_nan family of functions.
21014         * math/libm-test.inc (initialize): Initialize qnan_value with
21015         __builtin_nan family of functions.
21016         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
21017         Remove variables.
21018         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
21019         Remove functions.
21020         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
21021         storage class.  Initialize qNaN_var and sNaN_var with
21022         __builtin_nan and __builtin_nans families of functions,
21023         respectively.
21024
21025         * math/libm-test.inc (acosh_test): Also test with qNaN input.
21026         (sqrt_test): Remove duplicate test with qNaN input.
21027         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
21028         (round_test, signbit_test, significand_test): Note missing +/-Inf
21029         as well as qNaN tests.
21030
21031         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
21032         qNaN_var.  Fix a few strings, too.
21033         * math/libm-test.inc (nan_value): Rename to qnan_value.
21034         * math/gen-libm-test.pl (%beautify): Adjust to that.
21035         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
21036         * math/test-misc.c (main): Likewise.
21037         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
21038         to __qnan_bytes, and __qnan_union, respectively.
21039         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
21040         Likewise.
21041         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
21042         and lqnanval, respectively.
21043         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
21044         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
21045         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
21046         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
21047
21048         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
21049         * math/test-misc.c (main) [__x86_64__]: Enable test for long
21050         doubles.
21051
21052         * math/test-misc.c (main): Fix copy'n'pastos.
21053         * misc/tst-efgcvt.c (special): Likewise.
21054
21055         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
21056         Remove declarations.
21057
21058 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21059
21060         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
21061         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
21062         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
21063         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
21064
21065 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21066
21067         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
21068         macro to return vdso values correctly in IFUNC implementations.
21069         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
21070         Optimization by using IFUNC.
21071
21072 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21073             Richard Henderson  <rth@redhat.com>
21074             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21075
21076         * Makefile.in (bench): New target.
21077         * NEWS: Mention the benchmark framework.
21078         * Rules (bench): Likewise.
21079         (binaries-bench): Generate binaries for functions to
21080         benchmark.
21081         * benchtests/Makefile: New makefile for benchmark tests.
21082         * benchtests/bench-skeleton.c: New skeleton file for benchmark
21083         programs.
21084         * benchtests/exp-inputs: New input file for EXP function.
21085         * benchtests/pow-inputs: New input file for POW function.
21086         * scripts/bench.pl: New script to generate source files for
21087         benchmark programs.
21088
21089 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21090
21091         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
21092         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
21093         computations on mantissa.  Use macros for rounding and
21094         division.
21095         (denorm): Likewise.
21096         (__dbl_mp): Likewise.
21097         (add_magnitudes): Likewise.
21098         (sub_magnitudes): Likewise.
21099         (__mul): Likewise.
21100         (__sqr): Likewise.
21101         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
21102         powers of two in terms of TWOPOW macro.
21103         (mp_no): Make type of mantissa as MANTISSA_T.
21104         [!RADIXI]: Define RADIXI.
21105         [!TWO52]: Define TWO52.
21106         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
21107
21108         * manual/nptl.texi (cindex): Modify threads to pthreads.
21109
21110 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
21111
21112         * sysdeps/x86_64/preconfigure: Regenerated.
21113
21114 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
21115
21116         [BZ #14155]
21117         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
21118         0x1p28 and above.
21119         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
21120         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
21121         0x1p28 and above.
21122         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
21123         * math/libm-test.inc (j0_test): Do not allow one spurious
21124         underflow exception.
21125         (y1_test): Likewise.
21126
21127 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21128
21129         * manual/Makefile (chapters): Add nptl.
21130         * manual/debug.texi (Debugging Support): Add link to Threads
21131         chapter.
21132         * manual/nptl.texi: New file.
21133
21134         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
21135
21136 2013-03-14  Petr Baudis  <pasky@ucw.cz>
21137
21138         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
21139         for non-NULL pointer before the memory validity test. Pointed
21140         out by Holger Brunck <holger.brunck@keymile.com>.
21141
21142 2013-03-13  Andreas Schwab  <schwab@suse.de>
21143
21144         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
21145         instead of .os.
21146
21147 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
21148
21149         * timezone/zic.c: Update from tzcode 2013b.
21150
21151 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
21152
21153         * manual/install.texi (Configuring and compiling):
21154         Mention i686 and i586.
21155         * INSTALL: Regenerate.
21156
21157 2013-03-12  Roland McGrath  <roland@hack.frob.com>
21158
21159         * sysdeps/init_array/elf-init.c: New file.
21160         * csu/elf-init.c
21161         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
21162         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
21163
21164         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
21165         __gmon_start__ as global, but as static with a .preinit_array pointer.
21166         * sysdeps/init_array/gmon-start.c: New file.  Use that.
21167         * sysdeps/init_array/crti.S: New file, empty except for comments.
21168         * sysdeps/init_array/crtn.S: Likewise.
21169
21170 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
21171
21172         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
21173         definining bcopy.
21174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21175         Remove Prefer_SSE_for_memop.
21176         * sysdeps/x86_64/multiarch/init-arch.h: Remove
21177         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
21178         HAS_PREFER_SSE_FOR_MEMOP.
21179         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
21180         memset-x86-64.
21181         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
21182         Remove bzero, memset ifunc support.
21183         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
21184         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
21185         * sysdeps/x86_64/multiarch/memset.S: Likewise.
21186         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
21187
21188 2013-03-11  Andreas Schwab  <schwab@suse.de>
21189
21190         [BZ #15234]
21191         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
21192         by SHLIB_COMPAT.
21193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
21194         (GLIBC_2.16): Remove pthread_atfork.
21195
21196 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
21197
21198         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
21199         (ptestcases.h): Likewise.
21200
21201 2013-03-08  Roland McGrath  <roland@hack.frob.com>
21202
21203         * Makeconfig ($(common-objpfx)config.status): Depend on
21204         sysdeps/*/preconfigure{,.in} too.
21205
21206 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
21207
21208         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
21209         (__free_hook): Use void * instead of __malloc_ptr_t.
21210         (__malloc_hook): Likewise.
21211         (__realloc_hook): Likewise.
21212         (__memalign_hook): Likewise.
21213         (__after_morecore_hook): Likewise.
21214         * malloc/arena.c (save_malloc_hook): Likewise.
21215         (save_free_hook): Likewise.
21216         * malloc/hooks.c (malloc_hook_ini): Likewise.
21217         (realloc_hook_ini): Likewise.
21218         (memalign_hook_ini): Likewise.
21219         * malloc/malloc.c (malloc_hook_ini): Likewise.
21220         (realloc_hook_ini): Likewise.
21221         (memalign_hook_ini): Likewise.
21222         (__free_hook): Likewise.
21223         (__malloc_hook): Likewise.
21224         (__realloc_hook): Likewise.
21225         (__memalign_hook): Likewise.
21226         (__libc_malloc): Likewise.
21227         (__libc_free): Likewise.
21228         (__libc_realloc): Likewise.
21229         (__libc_memalign): Likewise.
21230         (__libc_valloc): Likewise.
21231         (__libc_pvalloc): Likewise.
21232         (__libc_calloc): Likewise.
21233         (__posix_memalign): Likewise.
21234         * malloc/morecore.c (__sbrk): Likewise.
21235         (__default_morecore): Likewise.
21236
21237         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
21238
21239         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
21240         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
21241         __malloc_ptrdiff_t.
21242
21243         * malloc/malloc.h (__malloc_size_t): Remove macro.
21244         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
21245         __malloc_size_t.
21246         (old_memalign_hook): Likewise.
21247         (old_realloc_hook): Likewise.
21248         (struct hdr): Likewise.
21249         (flood): Likewise.
21250         (mallochook): Likewise.
21251         (memalignhook): Likewise.
21252         (reallochook): Likewise.
21253         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
21254         (tr_old_realloc_hook): Likewise.
21255         (tr_old_memalign_hook): Likewise.
21256         (tr_mallochook): Likewise.
21257         (tr_reallochook): Likewise.
21258         (tr_memalignhook): Likewise.
21259
21260 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21261
21262         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
21263         default_ldbl_pack and using as default implementation.
21264         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
21265         implementation.
21266         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
21267         redundant definition.
21268         (ldbl_insert_mantissa): Likewise.
21269         (ldbl_canonicalize): Likewise.
21270         (ldbl_nearbyint): Likewise.
21271         (ldbl_pack): Rename to ldbl_pack_ppc.
21272         (ldbl_unpack): Rename to ldbl_unpack_ppc.
21273         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
21274         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
21275
21276 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21277
21278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
21279         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
21280         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
21281         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
21282         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
21283         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
21284         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
21285         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
21286
21287 2013-03-07  Andreas Jaeger  <aj@suse.de>
21288
21289         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
21290         bits/mman-linux.h.
21291
21292 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
21293
21294         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
21295         Include mpa.h and declare __MPEXP.
21296         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
21297         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21298         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21299         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
21300         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21301         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
21302         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
21303
21304         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
21305         (__slowpow): Use long double EXPL and LOGL functions to
21306         compute POW.
21307         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
21308         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21309         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
21310         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
21311         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
21312         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
21313
21314         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
21315         intermediate variable to calculate exponent.
21316         (__sqr): Likewise.
21317         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21318         Likewise.
21319         (__sqr): Likewise.
21320
21321         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
21322         [!NO__SQR]: Define __sqr.
21323         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
21324         and NO__SQR.  Remove all code except __mul and __sqr.  Include
21325         sysdeps/ieee754/dbl-64/mpa.c.
21326         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21327
21328         [BZ #12723]
21329         * posix/Makefile (tests): Add tst-pathconf.
21330         * posix/tst-pathconf.c: New test case.
21331         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
21332         _PC_PIPE_BUF.
21333         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
21334
21335 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
21336
21337         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
21338
21339 2013-03-06  Andreas Jaeger  <aj@suse.de>
21340
21341         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
21342         definition via __MAP_ANONYMOUS.
21343
21344         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
21345         it's not part of Linux headers.
21346
21347         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
21348         (MAP_HUGE_MASK): Define.
21349
21350         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21351         Define.
21352         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21353         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21354         Define.
21355         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21356         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
21357         Define.
21358         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21359         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
21360         Define.
21361         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
21362
21363         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
21364         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
21365         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
21366         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
21367         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
21368         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
21369
21370         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
21371         Handle f2fs.
21372
21373         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
21374         Handle f2fs and efivarfs.
21375
21376         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
21377         f2fs.
21378
21379         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
21380         (EFIVARFS_MAGIC): Add.
21381         (F2FS_LINK_MAX): Add.
21382
21383 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
21384
21385         * stdio-common/vfprintf.c: Replace __builtin_expect with
21386         __glibc_unlikely.
21387
21388 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
21389
21390         [BZ #13550]
21391         * sysdeps/generic/bp-sym.h: Remove file.
21392         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
21393         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
21394         <bp-sym.h> and <bp-asm.h>.
21395         (__longjmp): Don't use BP_SYM.
21396         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
21397         and <bp-asm.h>.
21398         (memcpy): Don't use BP_SYM.
21399         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
21400         <bp-sym.h> and <bp-asm.h>.
21401         (memcpy): Don't use BP_SYM.
21402         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
21403         <bp-asm.h>.
21404         (memcpy): Don't use BP_SYM.
21405         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
21406         <bp-asm.h>.
21407         (memset): Don't use BP_SYM.
21408         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21409         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21410         (__bzero): Don't use BP_SYM.
21411         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21412         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21413         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
21414         <bp-sym.h> and <bp-asm.h>.
21415         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21416         pointers.
21417         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
21418         <bp-sym.h> and <bp-asm.h>.
21419         (memcpy): Don't use BP_SYM.
21420         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
21421         <bp-sym.h> and <bp-asm.h>.
21422         (memset): Don't use BP_SYM.
21423         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21424         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21425         (__bzero): Don't use BP_SYM.
21426         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21427         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21428         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
21429         <bp-sym.h> and <bp-asm.h>.
21430         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21431         pointers.
21432         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
21433         <bp-sym.h> and <bp-asm.h>.
21434         (memcpy): Don't use BP_SYM.
21435         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
21436         <bp-sym.h> and <bp-asm.h>.
21437         (memset): Don't use BP_SYM.
21438         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21439         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21440         (__bzero): Don't use BP_SYM.
21441         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21442         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21443         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
21444         <bp-sym.h> and <bp-asm.h>.
21445         (__memchr): Don't use BP_SYM.
21446         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
21447         <bp-sym.h> and <bp-asm.h>.
21448         (memcmp): Don't use BP_SYM.  Remove comment about bounded
21449         pointers.
21450         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
21451         <bp-sym.h> and <bp-asm.h>.
21452         (memcpy): Don't use BP_SYM.
21453         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
21454         <bp-sym.h> and <bp-asm.h>.
21455         (__mempcpy): Don't use BP_SYM.
21456         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
21457         <bp-sym.h> and <bp-asm.h>.
21458         (__memrchr): Don't use BP_SYM.
21459         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
21460         <bp-sym.h> and <bp-asm.h>.
21461         (memset): Don't use BP_SYM.
21462         (__bzero): Likewise.
21463         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
21464         <bp-sym.h> and <bp-asm.h>.
21465         (__rawmemchr): Don't use BP_SYM.
21466         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
21467         <bp-sym.h> and <bp-asm.h>.
21468         (__STRCMP): Don't use BP_SYM.
21469         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
21470         <bp-sym.h> and <bp-asm.h>.
21471         (strchr): Don't use BP_SYM.
21472         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
21473         <bp-sym.h> and <bp-asm.h>.
21474         (__strchrnul): Don't use BP_SYM.
21475         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
21476         <bp-sym.h> and <bp-asm.h>.
21477         (strlen): Don't use BP_SYM.
21478         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
21479         <bp-sym.h> and <bp-asm.h>.
21480         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21481         pointers.
21482         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
21483         <bp-sym.h> and <bp-asm.h>.
21484         (__strnlen): Don't use BP_SYM.
21485         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
21486         <bp-sym.h> and <bp-asm.h>.
21487         (__GI__setjmp): Don't use BP_SYM.
21488         (_setjmp): Likewise.
21489         (__sigsetjmp): Likewise.
21490         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
21491         (L(start_addresses)): Don't use BP_SYM.
21492         (_start): Likewise.
21493         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
21494         <bp-asm.h>.
21495         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
21496         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
21497         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21498         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21499         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
21500         <bp-asm.h>.
21501         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
21502         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
21503         about bounded pointers.
21504         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21505         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21506         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
21507         <bp-asm.h>.
21508         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21509         about bounded pointers.  Remove GKM FIXME comments.
21510         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21511         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
21512         <bp-asm.h>.
21513         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
21514         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
21515         Remove GKM FIXME comments.
21516         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21517         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21518         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
21519         <bp-asm.h>.
21520         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
21521         about bounded pointers.  Remove GKM FIXME comment.
21522         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
21523         and <bp-asm.h>.
21524         (strncmp): Don't use BP_SYM.  Remove comment about bounded
21525         pointers.
21526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
21527         <bp-sym.h> and <bp-asm.h>.
21528         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
21530         <bp-sym.h> and <bp-asm.h>.
21531         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21532         comment.
21533
21534 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
21535
21536         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
21537         call free(NULL).
21538
21539 2013-03-05  David S. Miller  <davem@davemloft.net>
21540
21541         * po/es.po: Update from translation team.
21542
21543 2013-03-05  Andreas Jaeger  <aj@suse.de>
21544
21545         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
21546         <bits/mman-linux.h>.
21547         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21548         is fine.
21549         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
21550         <bits/mman-linux.h> to end of file.
21551         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21552         is fine.
21553         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
21554         <bits/mman-linux.h> to end of file.
21555         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
21556         is fine.
21557         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
21558         <bits/mman-linux.h> to end of file.
21559
21560         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
21561         (MCL_CURRENT, MCL_FUTURE): Define here.
21562
21563 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21564
21565         [BZ #15232]
21566         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
21567         attribute_hidden.
21568         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
21569
21570 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21571
21572         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
21573         fourth parameter needed for rt_sigprocmask syscall.
21574         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
21575         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
21576         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
21577         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
21578         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
21579         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
21580
21581 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
21582
21583         [BZ #13550]
21584         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
21585         comment about bounded pointers.
21586         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
21587         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
21588
21589 2013-03-04  Andreas Jaeger  <aj@suse.de>
21590
21591         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
21592         common definitions.
21593
21594         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
21595         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
21596         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
21597         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21598         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
21599         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21600
21601 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21602
21603         [BZ #15055]
21604         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
21605         __ieee754_sqrl instead of __sqrl.
21606
21607 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
21608
21609         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
21610         * sysdeps/powerpc/fpu_control.h: ... here.
21611         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
21612         * sysdeps/powerpc/bits/fenvinline.h: ... here.
21613         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
21614         * sysdeps/powerpc/bits/mathinline.h: ... here.
21615
21616 2013-03-01  Roland McGrath  <roland@hack.frob.com>
21617
21618         * elf/dl-hwcaps.c (_dl_important_hwcaps):
21619         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
21620         to just [NEED_DL_SYSINFO_DSO].
21621         * elf/dl-support.c: Likewise.
21622         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
21623         * elf/rtld.c (dl_main): Likewise.
21624         * elf/setup-vdso.h (setup_vdso): Likewise.
21625         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
21626         * sysdeps/unix/sysv/linux/dl-sysdep.c
21627         (_dl_discover_osversion): Likewise.
21628
21629 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
21630
21631         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
21632         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21633
21634 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
21635
21636         * NEWS: Mention libm performance improvements and non-x86 PI
21637         futex support.
21638
21639         * csu/libc-start.c (__pthread_initialize_minimal): Change
21640         function arguments.
21641         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
21642
21643 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
21644
21645         [BZ #13550]
21646         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
21647         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
21648         <bp-sym.h> and <bp-asm.h>.
21649         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21650         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
21651         and <bp-asm.h>.
21652         (memcpy): Don't use BP_SYM.
21653         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
21654         <bp-asm.h>.
21655         (__mpn_add_n): Don't use BP_SYM.
21656         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
21657         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
21658         and <bp-asm.h>.
21659         (__mpn_addmul_1): Don't use BP_SYM.
21660         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21661         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
21662         <bp-sym.h>.
21663         (_setjmp): Don't use BP_SYM.
21664         (__novmx_setjmp): Likewise.
21665         (__GI__setjmp): Likewise.
21666         (__vmx_setjmp): Likewise.
21667         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
21668         <bp-sym.h>.
21669         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
21670         (__bzero): Don't use BP_SYM.
21671         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
21672         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
21673         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
21674         <bp-sym.h> and <bp-asm.h>.
21675         (memcpy): Don't use BP_SYM.
21676         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
21677         <bp-sym.h> and <bp-asm.h>.
21678         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21679         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
21680         <bp-sym.h> and <bp-asm.h>.
21681         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
21682         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
21683         <bp-asm.h>.
21684         (__mpn_lshift): Don't use BP_SYM.
21685         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21686         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
21687         <bp-asm.h>.
21688         (memset): Don't use BP_SYM.
21689         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
21690         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
21691         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
21692         <bp-asm.h>.
21693         (__mpn_mul_1): Don't use BP_SYM.
21694         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21695         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
21696         <bp-sym.h> and <bp-asm.h>.
21697         (memcmp): Don't use BP_SYM.
21698         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
21699         <bp-sym.h> and <bp-asm.h>.
21700         (memcpy): Don't use BP_SYM.
21701         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
21702         <bp-sym.h> and <bp-asm.h>.
21703         (memset): Don't use BP_SYM.
21704         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
21705         <bp-sym.h> and <bp-asm.h>.
21706         (strncmp): Don't use BP_SYM.
21707         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
21708         <bp-sym.h> and <bp-asm.h>.
21709         (memcpy): Don't use BP_SYM.
21710         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
21711         <bp-sym.h> and <bp-asm.h>.
21712         (memset): Don't use BP_SYM.
21713         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
21714         <bp-sym.h> and <bp-asm.h>.
21715         (__memchr): Don't use BP_SYM.
21716         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
21717         <bp-sym.h> and <bp-asm.h>.
21718         (memcmp): Don't use BP_SYM.
21719         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
21720         <bp-sym.h> and <bp-asm.h>.
21721         (memcpy): Don't use BP_SYM.
21722         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
21723         <bp-sym.h> and <bp-asm.h>.
21724         (__mempcpy): Don't use BP_SYM.
21725         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
21726         <bp-sym.h> and <bp-asm.h>.
21727         (__memrchr): Don't use BP_SYM.
21728         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
21729         <bp-sym.h> and <bp-asm.h>.
21730         (memset): Don't use BP_SYM.
21731         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
21732         <bp-sym.h> and <bp-asm.h>.
21733         (__rawmemchr): Don't use BP_SYM.
21734         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
21735         <bp-sym.h> and <bp-asm.h>.
21736         (__STRCMP): Don't use BP_SYM.
21737         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
21738         <bp-sym.h> and <bp-asm.h>.
21739         (strchr): Don't use BP_SYM.
21740         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
21741         <bp-sym.h> and <bp-asm.h>.
21742         (__strchrnul): Don't use BP_SYM.
21743         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
21744         <bp-sym.h> and <bp-asm.h>.
21745         (strlen): Don't use BP_SYM.
21746         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
21747         <bp-sym.h> and <bp-asm.h>.
21748         (strncmp): Don't use BP_SYM.
21749         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
21750         <bp-sym.h> and <bp-asm.h>.
21751         (__strnlen): Don't use BP_SYM.
21752         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
21753         <bp-asm.h>.
21754         (__mpn_rshift): Don't use BP_SYM.
21755         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21756         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
21757         <bp-sym.h> and <bp-asm.h>.
21758         (__sigsetjmp): Don't use BP_SYM.
21759         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
21760         (L(start_addresses)): Don't use BP_SYM.
21761         (_start): Likewise.
21762         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
21763         <bp-asm.h>.
21764         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
21765         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21766         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21767         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
21768         <bp-asm.h>.
21769         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
21770         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21771         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21772         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
21773         <bp-asm.h>.
21774         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21775         comments.
21776         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21777         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
21778         <bp-asm.h>.
21779         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
21780         FIXME comments.
21781         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21782         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
21783         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
21784         <bp-asm.h>.
21785         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
21786         comment.
21787         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
21788         and <bp-asm.h>.
21789         (strncmp): Don't use BP_SYM,
21790         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
21791         <bp-asm.h>.
21792         (__mpn_sub_n): Don't use BP_SYM.
21793         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21794         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
21795         and <bp-asm.h>.
21796         (__mpn_submul_1): Don't use BP_SYM.
21797         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
21799         <bp-sym.h> and <bp-asm.h>.
21800         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
21801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
21802         <bp-sym.h> and <bp-asm.h>.
21803         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
21804         comment.
21805
21806 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21807
21808         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
21809         Use ZK to minimize writes to Z.
21810         (sub_magnitudes): Simplify code a bit.
21811         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
21812         Use ZK to minimize writes to Z.
21813         (sub_magnitudes): Simplify code a bit.
21814
21815 2013-02-27  Roland McGrath  <roland@hack.frob.com>
21816
21817         * csu/gmon-start.c: Add special exception to license text.
21818
21819 2013-02-27  Richard Henderson  <rth@redhat.com>
21820
21821         * scripts/config.guess: Update from config.git.
21822         * scripts/config.sub: Likewise.
21823
21824 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21825
21826         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
21827
21828         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
21829
21830         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
21831
21832         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
21833
21834         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
21835
21836 2013-02-26  Roland McGrath  <roland@hack.frob.com>
21837
21838         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
21839         [$(build-shared = yes].
21840
21841 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21842
21843         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
21844         (__mul): Reduce iterations for calculating mantissa.
21845
21846         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
21847         MPTWO.
21848         (__mpranred): Likewise.
21849
21850         [BZ #15160]
21851         * malloc/memusagestat.c (main): Draw graphs for heap and stack
21852         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
21853
21854 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
21855
21856         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
21857         Define __attribute__.
21858
21859 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21860
21861         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
21862         unused.
21863         * posix/regex_internal.h (__attribute): Remove.
21864         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
21865         (re_string_context_at): Likewise.
21866         (bitset_not): Use __attribute__ and mark function as possibly
21867         unused.
21868         (bitset_merge): Likewise.
21869         (bitset_mask): Likewise.
21870         (re_string_char_size_at): Likewise.
21871         (re_string_wchar_at): Likewise.
21872         (re_string_elem_size_at): Likewise.
21873
21874 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21875
21876         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
21877         code.
21878         (cc32): Likewise.
21879
21880         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
21881         (__acr): Likewise.
21882         (__cpy): Likewise.
21883         (norm): Likewise.
21884         (denorm): Likewise.
21885         (__dbl_mp): Likewise.
21886         (add_magnitudes): Likewise.
21887         (sub_magnitudes): Likewise.
21888         (__mul): Likewise.
21889         (__inv): Likewise.
21890
21891         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
21892         style.
21893
21894         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
21895         style.
21896
21897         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
21898         code.
21899
21900         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
21901         up changes with default code.
21902         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
21903         Likewise.
21904
21905 2013-02-24  Allan McRae  <allan@archlinux.org>
21906
21907         * manual/socket.texi (The Internet Namespace): Order menu items
21908         to match that in the file.
21909
21910         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
21911         node listing of the info page menu.
21912
21913 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
21914
21915         [BZ #13550]
21916         * sysdeps/i386/bp-asm.h: Remove file.
21917         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
21918         (PARMS): Do not use macros from bp-asm.h.
21919         (S1): Likewise.
21920         (S2): Likewise.
21921         (SIZE): Likewise.
21922         (__mpn_add_n): Do not use BP_SYM
21923         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
21924         "bp-asm.h".
21925         (PARMS): Do not use macros from bp-asm.h.
21926         (S1): Likewise.
21927         (SIZE): Likewise.
21928         (__mpn_addmul_1): Do not use BP_SYM
21929         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
21930         "bp-asm.h".
21931         (PARMS): Do not use macros from bp-asm.h.
21932         (SIGMSK): Likewise.
21933         (_setjmp): Likewise.  Do not use BP_SYM.
21934         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
21935         "bp-asm.h".
21936         (PARMS): Do not use macros from bp-asm.h.
21937         (SIGMSK): Likewise.
21938         (setjmp): Likewise.  Do not use BP_SYM.
21939         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
21940         "bp-asm.h".
21941         (PARMS): Do not use macros from bp-asm.h.
21942         (__frexp): Do not use BP_SYM.
21943         (frexp): Likewise.
21944         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
21945         "bp-asm.h".
21946         (PARMS): Do not use macros from bp-asm.h.
21947         (__frexpf): Do not use BP_SYM.
21948         (frexpf): Likewise.
21949         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
21950         "bp-asm.h".
21951         (PARMS): Do not use macros from bp-asm.h.
21952         (__frexpl): Do not use BP_SYM.
21953         (frexpl): Likewise.
21954         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
21955         "bp-asm.h".
21956         (PARMS): Do not use macros from bp-asm.h.
21957         (__remquo): Do not use BP_SYM.
21958         (remquo): Likewise.
21959         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
21960         "bp-asm.h".
21961         (PARMS): Do not use macros from bp-asm.h.
21962         (__remquof): Do not use BP_SYM.
21963         (remquof): Likewise.
21964         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
21965         "bp-asm.h".
21966         (PARMS): Do not use macros from bp-asm.h.
21967         (__remquol): Do not use BP_SYM.
21968         (remquol): Likewise.
21969         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
21970         "bp-asm.h".
21971         (PARMS): Do not use macros from bp-asm.h.
21972         (DEST): Likewise.
21973         (SRC): Likewise.
21974         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
21975         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
21976         "bp-asm.h".
21977         (PARMS): Do not use macros from bp-asm.h.
21978         (strlen): Do not use BP_SYM.
21979         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
21980         "bp-asm.h".
21981         (PARMS): Do not use macros from bp-asm.h.
21982         (S1): Likewise.
21983         (S2): Likewise.
21984         (SIZE): Likewise.
21985         (__mpn_add_n): Do not use BP_SYM.
21986         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
21987         "bp-asm.h".
21988         (PARMS): Do not use macros from bp-asm.h.
21989         (S1): Likewise.
21990         (SIZE): Likewise.
21991         (__mpn_addmul_1): Do not use BP_SYM.
21992         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
21993         weak_alias.
21994         (bzero): Likewise.
21995         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
21996         "bp-asm.h".
21997         (PARMS): Do not use macros from bp-asm.h.
21998         (S): Likewise.
21999         (SIZE): Likewise.
22000         (__mpn_lshift): Do not use BP_SYM.
22001         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
22002         "bp-asm.h".
22003         (PARMS): Do not use macros from bp-asm.h.
22004         (DEST): Likewise.
22005         (SRC): Likewise.
22006         (LEN): Likewise.
22007         (memcpy): Likewise.  Do not use BP_SYM.
22008         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
22009         libc_hidden_def and weak_alias.
22010         (mempcpy): Do not use BP_SYM in weak_alias.
22011         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
22012         "bp-asm.h".
22013         (PARMS): Do not use macros from bp-asm.h.
22014         (DEST): Likewise.
22015         (LEN): Likewise.
22016         [!BZERO_P] (CHR): Likewise.
22017         (memset): Likewise.  Do not use BP_SYM.
22018         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
22019         "bp-asm.h".
22020         (PARMS): Do not use macros from bp-asm.h.
22021         (S1): Likewise.
22022         (SIZE): Likewise.
22023         (__mpn_mul_1): Do not use BP_SYM.
22024         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
22025         "bp-asm.h".
22026         (PARMS): Do not use macros from bp-asm.h.
22027         (S): Likewise.
22028         (SIZE): Likewise.
22029         (__mpn_rshift): Do not use BP_SYM.
22030         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
22031         "bp-asm.h".
22032         (PARMS): Do not use macros from bp-asm.h.
22033         (STR): Likewise.
22034         (CHR): Likewise.
22035         (strchr): Likewise.  Do not use BP_SYM.
22036         (index): Do not use BP_SYM in weak_alias.
22037         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
22038         "bp-asm.h".
22039         (PARMS): Do not use macros from bp-asm.h.
22040         (DEST): Likewise.
22041         (SRC): Likewise.
22042         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
22043         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
22044         "bp-asm.h".
22045         (PARMS): Do not use macros from bp-asm.h.
22046         (strlen): Do not use BP_SYM.
22047         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
22048         "bp-asm.h".
22049         (PARMS): Do not use macros from bp-asm.h.
22050         (S1): Likewise.
22051         (S2): Likewise.
22052         (SIZE): Likewise.
22053         (__mpn_sub_n): Do not use BP_SYM.
22054         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
22055         "bp-asm.h".
22056         (PARMS): Do not use macros from bp-asm.h.
22057         (S1): Likewise.
22058         (SIZE): Likewise.
22059         (__mpn_submul_1): Do not use BP_SYM.
22060         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
22061         "bp-asm.h".
22062         (PARMS): Do not use macros from bp-asm.h.
22063         (S1): Likewise.
22064         (S2): Likewise.
22065         (SIZE): Likewise.
22066         (__mpn_add_n): Do not use BP_SYM.
22067         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
22068         weak_alias.
22069         (bzero): Likewise.
22070         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
22071         "bp-asm.h".
22072         (PARMS): Do not use macros from bp-asm.h.
22073         (BLK2): Likewise.
22074         (LEN): Likewise.
22075         (memcmp): Do not use BP_SYM.
22076         (bcmp): Do not use BP_SYM in weak_alias.
22077         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
22078         "bp-asm.h".
22079         (PARMS): Do not use macros from bp-asm.h.
22080         (DEST): Likewise.
22081         (SRC): Likewise.
22082         (LEN): Likewise.
22083         (memcpy): Likewise.  Do not use BP_SYM.
22084         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
22085         "bp-asm.h".
22086         (PARMS): Do not use macros from bp-asm.h.
22087         (DEST): Likewise.
22088         (SRC): Likewise.
22089         (LEN): Likewise.
22090         (memmove): Likewise.  Do not use BP_SYM.
22091         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
22092         "bp-asm.h".
22093         (PARMS): Do not use macros from bp-asm.h.
22094         (DEST): Likewise.
22095         (SRC): Likewise.
22096         (LEN): Likewise.
22097         (__mempcpy): Likewise.  Do not use BP_SYM.
22098         (mempcpy): Do not use BP_SYM in weak_alias.
22099         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
22100         "bp-asm.h".
22101         (PARMS): Do not use macros from bp-asm.h.
22102         (DEST): Likewise.
22103         (LEN): Likewise.
22104         [!BZERO_P] (CHR): Likewise.
22105         (memset): Likewise.  Do not use BP_SYM.
22106         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
22107         "bp-asm.h".
22108         (PARMS): Do not use macros from bp-asm.h.
22109         (STR2): Likewise.
22110         (strcmp): Do not use BP_SYM.
22111         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
22112         "bp-asm.h".
22113         (PARMS): Do not use macros from bp-asm.h.
22114         (STR): Likewise.
22115         (DELIM): Likewise.
22116         [USE_AS_STRTOK_R] (SAVE): Likewise.
22117         (FUNCTION): Likewise.  Do not use BP_SYM.
22118         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
22119         aliases.
22120         (strtok_r): Likewise.
22121         (__GI___strtok_r): Likewise.
22122         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22123         (PARMS): Do not use macros from bp-asm.h.
22124         (S): Likewise.
22125         (SIZE): Likewise.
22126         (__mpn_lshift): Do not use BP_SYM.
22127         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22128         (PARMS): Do not use macros from bp-asm.h.
22129         (STR): Likewise.
22130         (CHR): Likewise.
22131         (__memchr): Do not use BP_SYM.
22132         (memchr): Do not use BP_SYM in weak_alias.
22133         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22134         (PARMS): Do not use macros from bp-asm.h.
22135         (BLK2): Likewise.
22136         (LEN): Likewise.
22137         (memcmp): Do not use BP_SYM.
22138         (bcmp): Do not use BP_SYM in weak_alias.
22139         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
22140         (PARMS): Do not use macros from bp-asm.h.
22141         (S1): Likewise.
22142         (SIZE): Likewise.
22143         (__mpn_mul_1): Do not use BP_SYM.
22144         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
22145         "bp-asm.h".
22146         (PARMS): Do not use macros from bp-asm.h.
22147         (STR): Likewise.
22148         (CHR): Likewise.
22149         (__rawmemchr): Do not use BP_SYM.
22150         (rawmemchr): Do not use BP_SYM in weak_alias.
22151         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
22152         (PARMS): Do not use macros from bp-asm.h.
22153         (S): Likewise.
22154         (SIZE): Likewise.
22155         (__mpn_rshift): Do not use BP_SYM.
22156         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
22157         (PARMS): Do not use macros from bp-asm.h.
22158         (SIGMSK): Likewise.
22159         (__sigsetjmp): Likewise.  Do not use BP_SYM.
22160         * sysdeps/i386/start.S: Do not include "bp-sym.h".
22161         (_start): Do not use BP_SYM.
22162         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
22163         (PARMS): Do not use macros from bp-asm.h.
22164         (DEST): Likewise.
22165         (SRC): Likewise.
22166         (__stpcpy): Likewise.  Do not use BP_SYM.
22167         (stpcpy): Do not use BP_SYM in weak_alias.
22168         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
22169         "bp-asm.h".
22170         (PARMS): Do not use macros from bp-asm.h.
22171         (DEST): Likewise.
22172         (SRC): Likewise.
22173         (LEN): Likewise.
22174         (__stpncpy): Likewise.  Do not use BP_SYM.
22175         (stpncpy): Do not use BP_SYM in weak_alias.
22176         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
22177         (PARMS): Do not use macros from bp-asm.h.
22178         (STR): Likewise.
22179         (CHR): Likewise.
22180         (strchr): Likewise.  Do not use BP_SYM.
22181         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
22182         "bp-asm.h".
22183         (PARMS): Do not use macros from bp-asm.h.
22184         (STR): Likewise.
22185         (CHR): Likewise.
22186         (__strchrnul): Likewise.  Do not use BP_SYM.
22187         (strchrnul): Do not use BP_SYM in weak_alias.
22188         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
22189         "bp-asm.h".
22190         (PARMS): Do not use macros from bp-asm.h.
22191         (STOP): Likewise.
22192         (strcspn): Do not use BP_SYM.
22193         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
22194         "bp-asm.h".
22195         (PARMS): Do not use macros from bp-asm.h.
22196         (STR): Likewise.
22197         (STOP): Likewise.
22198         (strpbrk): Likewise.  Do not use BP_SYM.
22199         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
22200         "bp-asm.h".
22201         (PARMS): Do not use macros from bp-asm.h.
22202         (STR): Likewise.
22203         (CHR): Likewise.
22204         (strrchr): Likewise.  Do not use BP_SYM.
22205         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
22206         (PARMS): Do not use macros from bp-asm.h.
22207         (SKIP): Likewise.
22208         (strspn): Do not use BP_SYM.
22209         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
22210         (PARMS): Do not use macros from bp-asm.h.
22211         (STR): Likewise.
22212         (DELIM): Likewise.
22213         (SAVE): Likewise.
22214         (FUNCTION): Likewise.  Do not use BP_SYM.
22215         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
22216         aliases.
22217         (strtok_r): Likewise.
22218         (__GI___strtok_r): Likewise.
22219         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
22220         (PARMS): Do not use macros from bp-asm.h.
22221         (S1): Likewise.
22222         (S2): Likewise.
22223         (SIZE): Likewise.
22224         (__mpn_sub_n): Do not use BP_SYM.
22225         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
22226         "bp-asm.h".
22227         (PARMS): Do not use macros from bp-asm.h.
22228         (S1): Likewise.
22229         (SIZE): Likewise.
22230         (__mpn_submul_1): Do not use BP_SYM.
22231         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
22232         <bp-sym.h>.
22233         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
22234         and <bp-asm.h>.
22235         (PARMS): Do not use macros from bp-asm.h.
22236         (FLAGS): Likewise.
22237         (PTID): Likewise.
22238         (TLS): Likewise.
22239         (CTID): Likewise.
22240         (__clone): Do not use BP_SYM.
22241         (clone): Do not use BP_SYM in weak_alias.
22242         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
22243         and <bp-asm.h>.
22244         (PARMS): Do not use macros from bp-asm.h.
22245         (LEN): Likewise.
22246         (__mmap64): Do not use BP_SYM.
22247         (mmap64): Do not use BP_SYM in weak_alias.
22248         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
22249         <bp-sym.h> and <bp-asm.h>.
22250         (PARMS): Do not use macros from bp-asm.h.
22251         (__posix_fadvise64_l64): Do not use BP_SYM.
22252         * sysdeps/unix/sysv/linux/i386/semtimedop.S
22253         (PARMS): Do not use macros from bp-asm.h.
22254         (NSOPS): Likewise.
22255         (semtimedop): Do not use BP_SYM.
22256         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
22257         and <bp-asm.h>.
22258
22259 2013-02-21  Allan McRae  <allan@archlinux.org>
22260
22261         * manual/message.texi (Charset conversion in gettext):
22262         Move @end statement to beginning of line.
22263
22264 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22265
22266         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
22267         static.
22268         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22269         Likewise.
22270
22271         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
22272         (denorm): Likewise.
22273         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
22274         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
22275
22276 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22277
22278         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
22279         tail-call to the resolved function if pltexit isn't needed.
22280
22281 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22282
22283         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
22284         or Y being zero as being unlikely.
22285         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
22286         Likewise.
22287
22288 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
22289
22290         * manual/nss.texi (System Databases and Name Service Switch):
22291         Remove frobnicate @pxref.
22292
22293 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22294
22295         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22296         __attribute__ ((unused)) to __attribute__ ((__unused__)).
22297
22298 2013-02-20  Petr Machata  <pmachata@redhat.com>
22299
22300         * elf/elf.h (R_ARM_TARGET1): New macro.
22301         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
22302         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
22303         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
22304         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
22305         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
22306         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
22307         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
22308         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
22309         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
22310         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
22311         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
22312         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
22313         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
22314         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
22315         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
22316         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
22317         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
22318         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
22319         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
22320         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
22321         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
22322         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
22323         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
22324         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
22325         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
22326         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
22327         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
22328         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
22329         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
22330         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
22331         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
22332         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
22333         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
22334         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
22335         (R_ARM_THM_GOT_BREL12): Likewise.
22336         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
22337         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
22338         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
22339         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
22340         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
22341         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
22342         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
22343         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
22344         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
22345
22346 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
22347
22348         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
22349         __attribute_used__ to __attribute__ ((unused)).
22350
22351 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22352
22353         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
22354         powerpc mpa.c.
22355         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
22356         comment formatting.
22357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
22358
22359 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
22360
22361         [BZ #13550]
22362         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
22363         Remove macro.
22364         (ENTER): Remove both macro definitions.
22365         (LEAVE): Likewise.
22366         (CHECK_BOUNDS_LOW): Likewise.
22367         (CHECK_BOUNDS_HIGH): Likewise.
22368         (CHECK_BOUNDS_BOTH): Likewise.
22369         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
22370         (RETURN_BOUNDED_POINTER): Likewise.
22371         (RETURN_NULL_BOUNDED_POINTER): Likewise.
22372         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
22373         (POP_ERRNO_LOCATION_RETURN): Likewise.
22374         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
22375         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22376         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
22377         macros.
22378         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22379         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
22380         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
22381         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
22382         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
22383         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
22384         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
22385         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
22386         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
22387         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
22388         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
22389         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
22390         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22391         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
22392         removed macros.
22393         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22394         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
22395         macros.
22396         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22397         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
22398         * sysdeps/i386/i586/memset.S (memset): Likewise.
22399         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
22400         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22401         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
22402         macros.
22403         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22404         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
22405         Change uses of L(2) to L(out).
22406         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
22407         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
22408         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
22409         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22410         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
22411         removed macros.
22412         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22413         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
22414         macros.
22415         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22416         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
22417         (RETURN): Do not use macro LEAVE.
22418         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
22419         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
22420         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
22421         * sysdeps/i386/i686/memset.S (memset): Likewise.
22422         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
22423         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
22424         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
22425         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
22426         Likewise.
22427         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22428         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
22429         L(1_2) and L(1_3) into L(1).
22430         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22431         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
22432         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22433         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
22434         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
22435         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
22436         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
22437         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22438         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
22439         macros.
22440         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
22441         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
22442         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
22443         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
22444         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
22445         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
22446         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
22447         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
22448         * sysdeps/i386/strcspn.S (strcspn): Likewise.
22449         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
22450         * sysdeps/i386/strrchr.S (strrchr): Likewise.
22451         * sysdeps/i386/strspn.S (strspn): Likewise.
22452         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
22453         conditional code.
22454         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
22455         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
22456         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
22457         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
22458         L(1_3) into L(1_1).
22459         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
22460         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
22461         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
22462         macros.
22463         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
22464
22465 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
22466
22467         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
22468         macro.
22469
22470 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22471
22472         * math/atest-exp.c (exp_mpn): Remove ROUND.
22473         * math/atest-exp2.c (exp_mpn): Likewise.
22474         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
22475
22476         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
22477         * stdlib/tst-tls-atexit-lib.c: Likewise.
22478         * stdlib/tst-tls-atexit.c: Likewise.
22479
22480 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22481
22482         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
22483         and __attribute_alloc_size__.
22484
22485 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22486
22487         * include/programs/xmalloc.h: Change __attribute_alloc_size to
22488         __attribute_alloc_size__.
22489         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
22490         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
22491
22492 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
22493
22494         * include/programs/xmalloc.h: New file.
22495         * catgets/gencat.c: Include it.
22496         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
22497         * elf/pldd.c: Likewise.
22498         * iconv/iconv_charmap.c: Likewise.
22499         * iconv/iconvconfig.c: Likewise.
22500         * iconv/strtab.c: Likewise.
22501         * locale/programs/locale.c: Likewise.
22502         * locale/programs/localedef.h: Likewise.
22503         * locale/programs/simple-hash.c: Likewise.
22504         * nscd/nscd.h: Likewise.
22505         * nss/makedb.c: Likewise.
22506         * sysdeps/generic/ldconfig.h: Likewise.
22507
22508 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22509
22510         * Versions.def: Add GLIBC_2.18.
22511         * include/link.h (struct link_map): New member l_tls_dtor_count.
22512         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
22513         (__call_tls_dtors): Likewise.
22514         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
22515         __cxa_thread_atexit_impl.
22516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22517         Likewise.
22518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22519         Likewise.
22520         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
22521         Likewise.
22522         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
22523         Likewise.
22524         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22525         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
22526         Likewise.
22527         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
22528         Likewise.
22529         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22530         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
22531         Likewise.
22532         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
22533         (tests): Add test case tst-tls-atexit.
22534         (modules-names): Add shared library for tst-tls-atexit.
22535         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
22536         (GLIBC_PRIVATE): Add __call_tls_dtors.
22537         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
22538         for libstdc++.
22539         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
22540         * stdlib/tst-tls-atexit.c: New test case.
22541         * stdlib/tst-tls-atexit-lib.c: New test case.
22542
22543         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
22544
22545         * elf/Versions (ld): Add _dl_find_dso_for_object.
22546         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
22547         * elf/dl-open.c (_dl_find_dso_for_object): New function.
22548         (dl_open_worker): Use _dl_find_dso_for_object.
22549         * elf/dl-sym.c (do_sym): Likewise.
22550         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
22551
22552 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22553
22554         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
22555         Syntactic changes only.
22556         (_dl_runtime_profile): Do a tail-call to the resolved function.
22557
22558 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
22559
22560         [BZ #13550]
22561         * sysdeps/x86_64/bp-asm.h: Remove file.
22562         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
22563         <bp-sym.h> and <bp-asm.h>.
22564         (__clone): Do not use BP_SYM.
22565         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
22566         <bp-sym.h> and <bp-asm.h>.
22567         * sysdeps/unix/x86_64/sysdep.S: Likewise.
22568         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
22569         "bp-asm.h".
22570         (_setjmp): Do not use BP_SYM.
22571         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
22572         "bp-asm.h".
22573         (setjmp): Do not use BP_SYM.
22574         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
22575         libc_hidden_def.
22576         (mempcpy): Do not use BP_SYM in weak_alias.
22577         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
22578         "bp-asm.h".
22579         (strchr): Do not use BP_SYM.
22580         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
22581         "bp-asm.h".
22582         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
22583         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
22584         (_start): Do not use BP_SYM.
22585         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
22586         "bp-asm.h".
22587         (strcat): Do not use BP_SYM.
22588         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
22589         "bp-asm.h".
22590         (STRCMP): Do not use BP_SYM.
22591         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
22592         "bp-asm.h".
22593         (STRCPY): Do not use BP_SYM.
22594         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
22595         "bp-asm.h".
22596         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
22597         "bp-asm.h".
22598         (FUNCTION): Do not use BP_SYM.
22599         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
22600         weak_alias.
22601         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
22602
22603 2013-02-17  Andreas Jaeger  <aj@suse.de>
22604
22605         * time/Versions: Sort entries.
22606         * string/Versions: Likewise.
22607         * resolv/Versions: Likewise.
22608         * posix/Versions: Likewise.
22609         * iconv/Versions: Likewise.
22610         * elf/Versions: Likewise.
22611         * wcsmbs/Versions: Likewise.
22612
22613 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
22614
22615         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
22616         loop termination condition.
22617
22618         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
22619         variable to calculate EZ.
22620         (__sqr): Likewise.
22621
22622         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
22623         the lower precision input.
22624
22625 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
22626
22627         [BZ #13550]
22628         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
22629         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
22630         (run-via-rtld-prefix): Do not handle %-bp tests.
22631         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
22632         (all-object-suffixes): Remove .ob.
22633         (bppfx): Remove variable.
22634         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
22635         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
22636         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
22637         [$(build-bounded) = yes] (libtype.ob): Likewise.
22638         * Makerules (elide-routines.ob): Remove variable.
22639         (do-tests-clean): Do not handle *-bp.out.
22640         (common-mostlyclean): Do not handle *-bp and *-bp.out.
22641         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
22642         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
22643         (tests): Do not include $(tests-bp.out).
22644         (xtests): Do not include $(xtests-bp.out).
22645         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
22646         [$(build-bounded) = yes] ($(addprefix
22647         $(objpfx),$(binaries-bounded))): Remove rule.
22648         ($(objpfx)%-bp.out): Remove rule.
22649         * config.make.in (build-bounded): Remove variable.
22650         * crypt/Makefile [$(build-bounded) = yes]
22651         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
22652         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
22653         append to variable.
22654         [$(build-bounded) = yes] (install-lib): Likewise.
22655         [$(build-bounded) = yes] (generated): Likewise.
22656         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
22657         Remove rule.
22658         * intl/Makefile [$(build-bounded) = yes]
22659         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
22660         * math/Makefile [$(build-bounded) = yes]
22661         ($(tests:%=$(objpfx)%-bp): Likewise.
22662         * misc/Makefile [$(build-bounded) = yes]
22663         ($(objpfx)tst-tsearch-bp): Likewise.
22664         * nptl/Makeconfig (bounded-thread-library): Remove variable.
22665         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
22666         Remove dependency.
22667         * string/Makefile (o-objects.ob): Remove variable.
22668         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
22669         (CFLAGS-.ob): Remove variable.
22670         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
22671         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
22672         both definitions of variable.
22673         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
22674         (ASFLAGS-.ob): Remove variable.
22675
22676 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
22677
22678         [BZ #13550]
22679         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
22680         Remove __BOUNDED_POINTERS__ from condition.
22681         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
22682         * string/bits/string2.h [!__NO_STRING_INLINES &&
22683         !__BOUNDED_POINTERS__]: Likewise.
22684         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
22685         Likewise.
22686         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
22687         Remove conditional code.
22688         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
22689         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
22690         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
22691         condition.
22692
22693         [BZ #13550]
22694         * csu/libc-start.c: Do not include <bp-sym.h>.
22695         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
22696         * elf/dl-open.c: Do not include <bp-sym.h>.
22697         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
22698         * math/fegetenv.c: Do not include <bp-sym.h>.
22699         (fegetenv): Do not use BP_SYM in versioned symbols.
22700         * nptl/sysdeps/pthread/bits/libc-lockP.h
22701         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
22702         <bp-sym.h>.
22703         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22704         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
22705         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22706         (__pthread_mutex_destroy): Likewise.
22707         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22708         (__pthread_mutex_lock): Likewise.
22709         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22710         (__pthread_mutex_trylock): Likewise.
22711         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22712         (__pthread_mutex_unlock): Likewise.
22713         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22714         (__pthread_mutexattr_init): Likewise.
22715         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22716         (__pthread_mutexattr_destroy): Likewise.
22717         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22718         (__pthread_mutexattr_settype): Likewise.
22719         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22720         (__pthread_rwlock_init): Likewise.
22721         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22722         (__pthread_rwlock_destroy): Likewise.
22723         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22724         (__pthread_rwlock_rdlock): Likewise.
22725         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22726         (__pthread_rwlock_tryrdlock): Likewise.
22727         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22728         (__pthread_rwlock_wrlock): Likewise.
22729         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22730         (__pthread_rwlock_trywrlock): Likewise.
22731         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22732         (__pthread_rwlock_unlock): Likewise.
22733         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22734         (__pthread_key_create): Likewise.
22735         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22736         (__pthread_setspecific): Likewise.
22737         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22738         (__pthread_getspecific): Likewise.
22739         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
22740         Likewise.
22741         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22742         (_pthread_cleanup_push_defer): Likewise.
22743         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22744         (_pthread_cleanup_pop_restore): Likewise.
22745         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
22746         (pthread_setcancelstate): Likewise.
22747         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
22748         <bp-sym.h>.
22749         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
22750         (memchr): Do not use BP_SYM in weak_alias.
22751         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
22752         (fegetenv): Do not use BP_SYM in versioned symbols.
22753         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
22754         (fesetenv): Do not use BP_SYM in versioned symbols.
22755         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22756         (feupdateenv): Do not use BP_SYM in versioned symbols.
22757         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22758         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22759         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
22760         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
22761         (open64): Do not use BP_SYM in weak_alias.
22762         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
22763         (fegetenv): Do not use BP_SYM in versioned symbols.
22764         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
22765         (fesetenv): Do not use BP_SYM in versioned symbols.
22766         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
22767         (feupdateenv): Do not use BP_SYM in versioned symbols.
22768         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
22769         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
22770         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
22771         (feraiseexcept): Do not use BP_SYM in versioned symbols.
22772         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
22773         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
22774         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
22775         <bp-sym.h>.
22776         (__libc_start_main): Do not use BP_SYM.
22777
22778 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22779
22780         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
22781         redundant return line.
22782         (norm): Likewise.
22783         (denorm): Likewise.
22784         (dbl_mp): Likewise.
22785         (sub_magnitudes): Likewise.
22786         (__add): Likewise.
22787         (__sub): Likewise.
22788         (__mul): Likewise.
22789         (__inv): Likewise.
22790         (__dvd): Likewise.
22791         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
22792         (norm): Likewise.
22793         (denorm): Likewise.
22794         (dbl_mp): Likewise.
22795         (sub_magnitudes): Likewise.
22796         (__add): Likewise.
22797         (__sub): Likewise.
22798         (__mul): Likewise.
22799         (__inv): Likewise.
22800         (__dvd): Likewise.
22801
22802         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
22803         instead of __mul.
22804         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
22805         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
22806         (cc32): Likewise.
22807
22808         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
22809         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
22810         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
22811         of __mul for squares.
22812         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
22813         function
22814         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
22815         Likewise.
22816         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
22817         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
22818
22819 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
22820
22821         [BZ #13550]
22822         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
22823         code.
22824         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
22825         prototype or function definition.  Rename ubp_* variables and
22826         parameters.  Remove argv definitions conditional on
22827         [__BOUNDED_POINTERS__].
22828         * debug/backtrace.c (__backtrace): Do not use __unbounded.
22829         * elf/dl-runtime.c (_dl_fixup): Likewise.
22830         * include/set-hooks.h (RUN_HOOK): Likewise.
22831         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
22832         definition.
22833         * string/strcpy.c (strcpy): Do not use __unbounded.
22834         * sysdeps/generic/frame.h (struct layout): Likewise.
22835         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
22836         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
22837         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
22838         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
22839         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
22840         (__backtrace): Likewise.
22841         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
22842         use __ptrvalue.
22843         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
22844         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
22845         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
22846         Likewise.
22847         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
22848         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
22849         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
22850         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22851         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
22852         Do not use __unbounded.
22853         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
22854         Rename __unboundedrlimits parameter to rlimits in prototype.
22855         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
22856         Do not use __unbounded.
22857         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
22858         not use __ptrvalue.
22859         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22860         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
22861         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22862         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
22863         __ptrvalue or __unbounded.
22864         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
22865         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
22866         use __unbounded.
22867         (__new_msgctl): Do not use __ptrvalue.
22868         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
22869         __unbounded.
22870         (__libc_msgrcv): Do not use __ptrvalue.
22871         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
22872         startup_info): Do not use __unbounded.
22873         (__libc_start_main): Likewise.  Rename ubp_* variables and
22874         parameters.  Remove argv definitions conditional on
22875         [__BOUNDED_POINTERS__].
22876         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
22877         __ptrvalue.
22878         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
22879         use __unbounded.
22880         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
22881         or __ptrvalue.
22882         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
22883         use __unbounded.
22884         (__new_shmctl): Do not use __ptrvalue.
22885         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
22886         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
22887         Likewise.
22888         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
22889         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
22890         (__libc_sigaction): Likewise.
22891         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
22892         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
22893         Likewise.
22894         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22895
22896 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
22897
22898         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
22899
22900         * string/mempcpy.c: Implement by calling memcpy.
22901
22902 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
22903
22904         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
22905
22906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
22907         evaluation.
22908
22909         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
22910         values in the mantissa.
22911
22912         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
22913         minimize writes to Z.
22914         (sub_magnitudes): Simplify code a bit.
22915
22916 2013-02-12  Roland McGrath  <roland@hack.frob.com>
22917
22918         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
22919         from the message.  The linker prefixes all warnings with that already.
22920
22921 2013-02-12  Andreas Schwab  <schwab@suse.de>
22922
22923         [BZ #15078]
22924         * posix/regexec.c (extend_buffers): Add parameter min_len.
22925         (check_matching): Pass minimum needed length.
22926         (clean_state_log_if_needed): Likewise.
22927         (get_subexp): Likewise.
22928         * posix/Makefile (tests): Add bug-regex34.
22929         (bug-regex34-ENV): Define.
22930         * posix/bug-regex34.c: New file.
22931
22932         [BZ #11561]
22933         * posix/regcomp.c (parse_bracket_exp): When looking up collating
22934         elements compare against the byte sequence of it, not its name.
22935         * posix/Makefile (tests): Add bug-regex35.
22936         (bug-regex35-ENV): Define.
22937         * posix/bug-regex35.c: New file.
22938
22939 2013-02-11  Tom de Vries  <tom@codesourcery.com>
22940
22941         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
22942         comment.
22943         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
22944         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
22945         (CHECK_EOL): Add undef.
22946
22947 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
22948
22949         * bits/stdlib-bsearch.h: New file.
22950         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
22951         * stdlib/stdlib.h: Likewise.
22952
22953 2013-02-11  Roland McGrath  <roland@hack.frob.com>
22954
22955         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
22956         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
22957         declaration.
22958         * manual/search.texi (Array Search Function): Add missing const in
22959         lfind prototype.
22960         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
22961         declaration to use rlim_t.
22962         (Basic Scheduling Functions): Remove erroneous const from
22963         sched_getparam prototype.  Remove erroneous * from
22964         sched_get_priority_max and sched_get_priority_min prototypes.
22965         (Resource Usage): Fix summary @comment on vtimes to refer to
22966         sys/vtimes.h rather than vtimes.h.
22967         Add missing *s in vtimes prototype.
22968         (Limits on Resources): Fix ulimit prototype to return long int.
22969         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
22970         prototypes to use long int rather than double.
22971         (BSD Random): Fix initstate and setstate to use char *, not void *.
22972         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
22973         prototype to make second argument 'struct aiocb64 *const[]'.
22974         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
22975         (Status of AIO Operations): Remove erroneous const in aio_return and
22976         aio_return64 prototypes.
22977         (Synchronizing I/O): Fix sync prototype to return void.
22978         * manual/startup.texi (Suboptions): Remove an erroneous const in
22979         getsubopt prototype.
22980         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
22981         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
22982         use size_t rather than int.
22983         (Scanning All Users): Likewise for getpwent_r.
22984         (Setting Groups): Add missing const to setgroups prototype.
22985         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
22986         * manual/socket.texi (Host Names): Fix gethostbyaddr and
22987         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
22988         'const void *' rather than 'const char *'.
22989         (Host Address Functions): Likewise for inet_ntop.
22990         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
22991         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
22992         ssize_t for return value.
22993         (Sending Data): Likewise for send, sendto, sendmsg.
22994         (Socket Option Functions): Add a missing const in setsockopt prototype.
22995         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
22996         use wchar_t for the argument.
22997         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
22998         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
22999         take no arguments.
23000         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
23001         double/float/long double for second argument.
23002         Fix return types of significand, significandf, significandl.
23003         * manual/filesys.texi (Setting Permissions): Use mode_t for second
23004         argument in fchmod prototype.
23005         (File Owner): Use uid_t and gid_t in fchown prototype.
23006         (File Times): Add const to utimes, futimes, and lutimes prototypes.
23007         (Making Special Files): Use mode_t and dev_t in mknod prototype.
23008         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
23009         use 'const struct dirent **' as argument types to CMP function pointer
23010         argument.
23011         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
23012         (File Times): Fix summary magic @comment for struct utimbuf and utime
23013         to refer to utime.h, not time.h.
23014         * manual/string.texi (Argz Functions): Add missing const in
23015         argz_extract and argz_next prototypes.
23016         (Finding Tokens in a String): Likewise for basename.
23017         (String/Array Comparison): Fix typo in wcscasecmp prototype.
23018         (Copying and Concatenation): Fix typo in wmemmove prototype.
23019         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
23020         (Signal Stack): Remove erroneous const in sigstack prototype.
23021         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
23022         prototype.
23023         (Simple Calendar Time): Likewise for stime.
23024         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
23025         prototype.
23026         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
23027         say sys/sysctl.h instead.
23028         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
23029         and vsyslog prototypes.
23030
23031 2013-02-11  Tom de Vries  <tom@codesourcery.com>
23032
23033         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
23034         Remove.
23035
23036 2013-02-11  Roland McGrath  <roland@hack.frob.com>
23037
23038         * misc/sys/mman.h: Fix typo in mremap comment.
23039
23040 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23041
23042         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
23043         the '\0' terminator.
23044
23045 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23046
23047         [BZ #13550]
23048         * debug/segfault.c: Don't include <bp-checks.h>.
23049         * sysdeps/generic/bp-checks.h: Remove file.
23050         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
23051         (__GETDENTS): Don't use CHECK_N.
23052         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
23053         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
23054         (__getgroups): Don't use CHECK_N.
23055         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
23056         (setgroups): Don't use CHECK_N.
23057         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
23058         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
23059         (__libc_msgrcv): Don't use CHECK_N.
23060         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
23061         (__libc_msgsnd): Don't use CHECK_N.
23062         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
23063         <bp-checks.h>.
23064         (__libc_pread): Don't use CHECK_N.
23065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
23066         include <bp-checks.h>.
23067         (__libc_pread64): Don't use CHECK_N.
23068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
23069         include <bp-checks.h>.
23070         (__libc_pwrite): Don't use CHECK_N.
23071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
23072         include <bp-checks.h>.
23073         (__libc_pwrite64): Don't use CHECK_N.
23074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
23075         <bp-checks.h>.
23076         (__libc_pread): Don't use CHECK_N.
23077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
23078         include <bp-checks.h>.
23079         (__libc_pread64): Don't use CHECK_N.
23080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
23081         include <bp-checks.h>.
23082         (__libc_pwrite): Don't use CHECK_N.
23083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
23084         include <bp-checks.h>.
23085         (__libc_pwrite64): Don't use CHECK_N.
23086         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
23087         (do_pread): Don't use CHECK_N.
23088         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
23089         (do_pread64): Don't use CHECK_N.
23090         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
23091         (do_pwrite): Don't use CHECK_N.
23092         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
23093         (do_pwrite64): Don't use CHECK_N.
23094         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
23095         (__libc_readv): Don't use CHECK_N.
23096         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
23097         (semop): Don't use CHECK_N.
23098         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
23099         <bp-checks.h>.
23100         (semtimedop): Don't use CHECK_N.
23101         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
23102         (__libc_pread): Don't use CHECK_N.
23103         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
23104         <bp-checks.h>.
23105         (__libc_pread64): Don't use CHECK_N.
23106         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
23107         <bp-checks.h>.
23108         (__libc_pwrite): Don't use CHECK_N.
23109         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
23110         <bp-checks.h>.
23111         (__libc_pwrite64): Don't use CHECK_N.
23112         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
23113         <bp-checks.h>.
23114         (__libc_msgrcv): Don't use CHECK_N.
23115         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
23116         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
23117         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
23118         (__libc_writev): Don't use CHECK_N.
23119
23120 2013-02-08  Roland McGrath  <roland@hack.frob.com>
23121
23122         * string/strcpy.c: Removed unused variable.
23123
23124         * Makeconfig (+sysdep-includes): Define with := rather than =.
23125         Use an existing include/ subdir of each sysdeps dir before it.
23126
23127 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23128
23129         * nscd/connection.c (register_traced_file): Comment function.
23130         [HAVE_INOTIFY] (union __inev): Define.
23131         [HAVE_INOTIFY] (inotify_check_files): New function.
23132         [HAVE_INOTIFY] (clear_db_cache): Likewise.
23133         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
23134         clear_db_cache.
23135         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
23136
23137 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23138
23139         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
23140         loaded if not already and that a failure is permanent.
23141
23142 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
23143
23144         [BZ #15006]
23145         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
23146         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
23147
23148 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
23149
23150         [BZ #13550]
23151         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
23152         (CHECK_1_NULL_OK): Likewise.
23153         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
23154         (__fxstat): Do not use CHECK_1.
23155         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
23156         <bp-checks.h>.
23157         (___fxstat64): Do not use CHECK_1.
23158         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
23159         <bp-checks.h>.
23160         (__fxstatat): Do not use CHECK_1.
23161         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
23162         <bp-checks.h>.
23163         (__fxstatat64): Do not use CHECK_1.
23164         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
23165         <bp-checks.h>.
23166         (__fxstat): Do not use CHECK_1.
23167         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
23168         <bp-checks.h>.
23169         (__fxstatat): Do not use CHECK_1.
23170         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
23171         <bp-checks.h>.
23172         (__getresgid): Do not use CHECK_1.
23173         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
23174         <bp-checks.h>.
23175         (__getresuid): Do not use CHECK_1.
23176         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
23177         <bp-checks.h>.
23178         (__lxstat): Do not use CHECK_1.
23179         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
23180         <bp-checks.h>.
23181         (__old_msgctl): Do not use CHECK_1.
23182         (__new_msgctl): Likewise.
23183         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
23184         <bp-checks.h>.
23185         (__new_setrlimit): Do not use CHECK_1.
23186         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
23187         <bp-checks.h>.
23188         (__old_shmctl): Do not use CHECK_1.
23189         (__new_shmctl): Likewise.
23190         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
23191         <bp-checks.h>.
23192         (__xstat): Do not use CHECK_1.
23193         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
23194         (__lxstat): Do not use CHECK_1.
23195         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
23196         <bp-checks.h>.
23197         (___lxstat64): Do not use CHECK_1.
23198         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
23199         (__old_msgctl): Do not use CHECK_1.
23200         (__new_msgctl): Likewise.
23201         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
23202         <bp-checks.h>.
23203         (__gettimeofday): Do not use CHECK_1.
23204         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
23205         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
23206         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
23207         <bp-checks.h>.
23208         (__gettimeofday): Do not use CHECK_1.
23209         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
23210         (__old_shmctl): Do not use CHECK_1_NULL_OK.
23211         (__new_shmctl): Do not use CHECK_1.
23212         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
23213         <bp-checks.h>.
23214         (do_sigtimedwait): Do not use CHECK_1.
23215         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
23216         <bp-checks.h>.
23217         (do_sigwaitinfo): Do not use CHECK_1.
23218         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
23219         <bp-checks.h>.
23220         (msgctl): Do not use CHECK_1.
23221         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
23222         <bp-checks.h>.
23223         (shmctl): Do not use CHECK_1.
23224         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
23225         (ustat): Do not use CHECK_1.
23226         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
23227         <bp-checks.h>.
23228         (__fxstat): Do not use CHECK_1.
23229         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
23230         <bp-checks.h>.
23231         (__fxstatat): Do not use CHECK_1.
23232         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
23233         <bp-checks.h>.
23234         (__lxstat): Do not use CHECK_1.
23235         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
23236         <bp-checks.h>.
23237         (__xstat): Do not use CHECK_1.
23238         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
23239         (__xstat): Do not use CHECK_1.
23240         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
23241         (___xstat64): Do not use CHECK_1.
23242
23243         [BZ #13550]
23244         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
23245         definitions.
23246         (CHECK_BOUNDS_HIGH): Likewise.
23247         * string/strcpy.c: Do not include <bp-checks.h>.
23248         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
23249
23250 2013-02-07  Roland McGrath  <roland@hack.frob.com>
23251
23252         * nscd/nscd-client.h (__nscd_drop_map_ref):
23253         Add __attribute__ ((unused)).
23254         * nis/nss-nisplus.h (niserr2nss): Likewise.
23255
23256         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
23257         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
23258
23259         * csu/libc-tls.c (init_static_tls, init_slotinfo):
23260         Remove inline keyword.
23261         * include/rounding-mode.h (round_away): Likewise.
23262         * libio/wfileops.c (adjust_wide_data): Likewise.
23263         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
23264         (__m128i_strloadu_tolower): Likewise.
23265         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
23266         (__m128i_strloadu_tolower): Likewise.
23267         * time/mktime.c (ydhms_diff): Likewise.
23268         * locale/elem-hash.h (elem_hash): Likewise.
23269         * locale/setlocale.c (setdata): Likewise.
23270         * posix/regex_internal.h (re_string_char_size_at): Likewise.
23271         (re_string_wchar_at): Likewise.
23272         (bitset_not, bitset_merge, bitset_mask): Likewise.
23273         [!(__GNUC__ > 3)] (inline): Remove macro.
23274         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
23275         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
23276         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
23277         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
23278         * string/memcmp.c (memcmp_bytes): Likewise.
23279         * locale/programs/locarchive.c (compute_hashval): Likewise.
23280         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
23281         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
23282         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
23283         * nss/getent.c (print_rpc, print_protocols): Likewise.
23284         (print_passwd, print_group, print_aliases): Likewise.
23285         * nis/nss-nisplus.h (niserr2nss): Likewise.
23286         * nscd/connections.c (restart_p): Likewise.
23287         Change return type to bool.
23288
23289 2013-02-05  Roland McGrath  <roland@hack.frob.com>
23290
23291         * Makeconfig (all-Depend-files): Add existing
23292         $(sorted-subdirs:=/Depend) files.
23293         (all-subdirs): Remove nss.
23294         * sysdeps/unix/inet/Subdirs: Add it here instead.
23295         * hesiod/Depend: New file.
23296
23297         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
23298         instead of calling alloca.
23299
23300         * io/lseek.c (__lseek): Rename to __libc_lseek.
23301         Define __lseek as an alias.
23302
23303         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
23304
23305 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
23306
23307         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
23308         else clause and remove check for non-standard endianness.
23309
23310 2013-02-04  David S. Miller  <davem@davemloft.net>
23311
23312         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23313
23314 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
23315
23316         [BZ #13550]
23317         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
23318         (__ubp_memchr): Remove prototype.
23319         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
23320         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23321         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
23322         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
23323         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
23324         Remove alias.
23325         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
23326         (__ubp_memchr): Likewise.
23327         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
23328         (__ubp_memchr): Likewise.
23329         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
23330         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
23331         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
23332         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
23333         CHECK_STRING.
23334         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
23335         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
23336         (__getcwd): Do not use CHECK_STRING.
23337         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
23338         <bp-checks.h>.
23339         (__real_chown): Do not use CHECK_STRING.
23340         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
23341         <bp-checks.h>.
23342         (fchownat): Do not use CHECK_STRING.
23343         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
23344         CHECK_STRING.
23345         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
23346         <bp-checks.h>.
23347         (__lchown): Do not use CHECK_STRING.
23348         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
23349         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
23350         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
23351         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
23352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
23353         include <bp-checks.h>.
23354         (truncate64): Do not use CHECK_STRING.
23355         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
23356         <bp-checks.h>.
23357         (__real_chown): Do not use CHECK_STRING.
23358         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
23359         <bp-checks.h>.
23360         (__lchown): Do not use CHECK_STRING.
23361         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
23362         <bp-checks.h>.
23363         (__chown): Do not use CHECK_STRING.
23364         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
23365         <bp-checks.h>.
23366         (truncate64): Do not use CHECK_STRING.
23367         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
23368         Likewise.
23369         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
23370         (__xmknod): Do not use CHECK_STRING.
23371         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
23372         <bp-checks.h>.
23373         (__xmknodat): Do not use CHECK_STRING.
23374         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
23375         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
23376
23377 2013-02-04  Andreas Schwab  <schwab@suse.de>
23378
23379         [BZ #14142]
23380         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
23381         * include/netdb.h: Likewise for h_errno.
23382         * elf/tst-stackguard1.c: Include <tls.h>.
23383
23384 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
23385
23386         * elf/link.h (struct link_map): Extend the l_addr comment.
23387         * include/link.h (struct link_map): Likewise.
23388
23389 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
23390
23391         [BZ #13550]
23392         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
23393         (BOUNDED_1): Remove macro.
23394         * debug/backtrace.c: Don't include <bp-checks.h>.
23395         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
23396         (__backtrace): Likewise.
23397         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
23398         <bp-checks.h>.
23399         (__backtrace): Don't use BOUNDED_1.
23400         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
23401         <bp-checks.h>.
23402         (__backtrace): Don't use BOUNDED_1.
23403         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
23404         (__backtrace): Don't use BOUNDED_1.
23405         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
23406         (shmat): Don't use BOUNDED_N.
23407
23408 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
23409
23410         [BZ #13550]
23411         * sysdeps/generic/bp-start.h: Remove file.
23412         * csu/libc-start.c: Don't include <bp-start.h>.
23413         (LIBC_START_MAIN): Set up __environ directly instead of using
23414         INIT_ARGV_and_ENVIRON.
23415         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
23416         <bp-start.h>.
23417
23418         [BZ #13550]
23419         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
23420         definitions.
23421         (CHECK_FCNTL): Likewise.
23422         (CHECK_N_PAGES): Likewise.
23423
23424         [BZ #13550]
23425         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
23426         definitions.
23427         (CHECK_SIGSET_NULL_OK): Likewise.
23428         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
23429         <bp-checks.h>.
23430         (sigpending): Don't use CHECK_SIGSET.
23431         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
23432         <bp-checks.h>.
23433         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23434         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
23435         <bp-checks.h>.
23436         (do_sigsuspend): Don't use CHECK_SIGSET.
23437         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
23438         use CHECK_SIGSET.
23439         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
23440         (do_sigwait): Don't use CHECK_SIGSET.
23441         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
23442         use CHECK_SIGSET.
23443         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
23444         include <bp-checks.h>.
23445         (sigpending): Don't use CHECK_SIGSET.
23446         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
23447         include <bp-checks.h>.
23448         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23449         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
23450         <bp-checks.h>.
23451         (sigpending): Don't use CHECK_SIGSET.
23452         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
23453         <bp-checks.h>.
23454         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
23455
23456         [BZ #13550]
23457         * sysdeps/generic/bp-semctl.h: Remove file.
23458         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
23459         <bp-checks.h> and <bp-semctl.h>.
23460         (__old_semctl): Don't use CHECK_SEMCTL.
23461         (__new_semctl): Likewise.
23462         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
23463         and <bp-semctl.h>.
23464         (__old_semctl): Don't use CHECK_SEMCTL.
23465         (__new_semctl): Likewise.
23466         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
23467         <bp-checks.h> and <bp-semctl.h>.
23468         (__old_semctl): Don't use CHECK_SEMCTL.
23469         (__new_semctl): Likewise.
23470         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
23471         <bp-checks.h> and <bp-semctl.h>.
23472         (semctl): Don't use CHECK_SEMCTL.
23473
23474         [BZ #13550]
23475         * Makerules (elide-bp-thunks): Remove variable.
23476         (elide-routines.oS): Don't use $(elide-bp-thunks).
23477         (elide-routines.os): Likewise.
23478         (elide-routines.o): Likewise.
23479         (elide-routines.op): Likewise.
23480         (elide-routines.og): Likewise.
23481         (objects): Don't use $(bp-thunks).
23482         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
23483         include.
23484         (common-generated): Do not add s-proto-bp.d.
23485         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
23486         (int): Likewise.
23487         (typ): Likewise.
23488         Do not generate makefile rules for bounded-pointer thunks.
23489         * sysdeps/generic/bp-thunks.h: Remove file.
23490         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
23491         * sysdeps/unix/s-proto-bp.S: Likewise.
23492
23493         [BZ #15062]
23494         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
23495         parts of result separately when argument is not close to line from
23496         -i to i and one part of argument is small.
23497         * math/k_casinhf.c (__kernel_casinhf): Likewise.
23498         * math/k_casinhl.c (__kernel_casinhl): Likewise.
23499         * math/libm-test.inc (cacos_test): Add more tests.
23500         (casin_test): Likewise.
23501         (casinh_test): Likewise.
23502         * sysdeps/i386/fpu/libm-test-ulps: Update.
23503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23504
23505 2013-01-31  David S. Miller  <davem@davemloft.net>
23506
23507         * po/de.po: Update from translation team.
23508
23509 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
23510
23511         * time/tzfile.c: Include stdint.h for SIZE_MAX.
23512
23513 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
23514
23515         * configure.in (_AC_PROG_CC_C89): New definition.
23516         * configure: Regenerate.
23517
23518         * configure.in (AC_PROG_CPP): New definition.
23519         * configure: Regenerate.
23520
23521 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23522
23523         * debug/tst-backtrace.h: New file.
23524         * debug/tst-backtrace2.c: Include tst-backtrace.h.
23525         (ret): Remove variable.
23526         (x): Likewise.
23527         (FAIL): Remove macro.
23528         (NO_INLINE): Likewise.
23529         (fn1): Use match function instead of strstr.
23530         * debug/tst-backtrace3.c: Include tst-backtrace.h.
23531         (ret): Remove variable.
23532         (x): Likewise.
23533         (FAIL): Remove macro.
23534         (NO_INLINE): Likewise.
23535         (fn): Use match function instead of strstr.
23536         * debug/tst-backtrace4.c: Include tst-backtrace.h.
23537         (ret): Remove variable.
23538         (x): Likewise.
23539         (FAIL): Remove macro.
23540         (NO_INLINE): Likewise.
23541         (handle_signal): Use match function instead of strstr.
23542         * debug/tst-backtrace5.c: Include tst-backtrace.h.
23543         (ret): Remove variable.
23544         (x): Likewise.
23545         (FAIL): Remove macro.
23546         (NO_INLINE): Likewise.
23547         (handle_signal): Use match function instead of strstr.
23548
23549 2013-01-23  Roland McGrath  <roland@hack.frob.com>
23550
23551         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
23552
23553 2013-01-23  David S. Miller  <davem@davemloft.net>
23554
23555         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
23556         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
23557         argument of CAS if possible.
23558         * sysdeps/sparc/sparc64/bits/atomic.h
23559         (__arch_compare_and_exchange_val_32_acq): Likewise.
23560         (__arch_compare_and_exchange_val_64_acq): Likewise.
23561
23562 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
23563
23564         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
23565         * sysdeps/posix/ulimit.c: ... this.
23566         Include <limits.h>.
23567         * sysdeps/unix/bsd/ulimit.c: Remove file.
23568
23569 2013-01-23  Adam Conrad  <adconrad@0c3.net>
23570
23571         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
23572         (LDFLAGS-tst-array5): Likewise.
23573
23574 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
23575
23576         [BZ #15036]
23577         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
23578         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
23579         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
23580         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
23581
23582 2013-01-21  David S. Miller  <davem@davemloft.net>
23583
23584         * sysdeps/sparc/backtrace.c: New file.
23585         * sysdeps/sparc/sparc32/backtrace.h: New file.
23586         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
23587         * sysdeps/sparc/sparc64/backtrace.h: New file.
23588         * sysdeps/sparc/sparc64/backtrace.c: Delete.
23589         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
23590         -funwind-tables.
23591
23592 2013-01-21  Andreas Schwab  <schwab@suse.de>
23593
23594         [BZ #15020]
23595         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
23596         closed its stdout.
23597
23598 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
23599
23600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
23601         "mpa2.h".
23602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23603
23604 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
23605             Mark Mitchell  <mark@codesourcery.com>
23606             Tom de Vries  <tom@codesourcery.com>
23607             Paul Pluzhnikov  <ppluzhnikov@google.com>
23608
23609         * debug/tst-backtrace2.c: New file.
23610         * debug/tst-backtrace3.c: Likewise.
23611         * debug/tst-backtrace4.c: Likewise.
23612         * debug/tst-backtrace5.c: Likewise.
23613         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
23614         (CFLAGS-tst-backtrace3.c): Likewise.
23615         (CFLAGS-tst-backtrace4.c): Likewise.
23616         (CFLAGS-tst-backtrace5.c): Likewise.
23617         (LDFLAGS-tst-backtrace2): Likewise.
23618         (LDFLAGS-tst-backtrace3): Likewise.
23619         (LDFLAGS-tst-backtrace4): Likewise.
23620         (LDFLAGS-tst-backtrace5): Likewise.
23621         (tests): Add new tests tst-backtrace2, tst-backtrace3,
23622         tst-backtrace4 and tst-backtrace5.
23623
23624 2013-01-18  Anton Blanchard  <anton@samba.org>
23625             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23626
23627         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
23628         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
23629         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
23630         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
23631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23632         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
23633         "+r" and remove output regs list as redundant.  Add explicit inline
23634         asm to specify register of return val to work around compiler codegen
23635         bug.  Remove (int) cast on return value.  Add return type parameter to
23636         use in macro so that this macro does not truncate return value for
23637         64-bit values.
23638         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
23639         pass to INTERNAL_VSYSCALL_NCS.
23640         (INLINE_VSYSCALL): Add 'long int' as return type to
23641         INTERNAL_VSYSCALL_NCS macro invocation.
23642         (INTERNAL_VSYSCALL): Add 'long int' as return type to
23643         INTERNAL_VSYSCALL_NCS macro invocation.
23644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23645
23646 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23647
23648         [BZ #14496]
23649         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
23650         Fix application of SIMD FP exception mask.
23651
23652         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
23653         mp_no from a power of two.
23654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
23655         __mpexp_twomm1.  Use __pow_mp.
23656
23657         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
23658         multiplication.
23659
23660 2013-01-17  David S. Miller  <davem@davemloft.net>
23661
23662         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23663
23664 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23665
23666         [BZ #15023]
23667         * include/complex.h: Condition contents on [!_COMPLEX_H].
23668         (__kernel_casinhf): New prototype.
23669         (__kernel_casinh): Likewise.
23670         (__kernel_casinhl): Likewise.
23671         * math/Makefile (libm_calls): Add k_casinh.
23672         * math/k_casinh.c: New file.
23673         * math/k_casinhf.c: Likewise.
23674         * math/k_casinhl.c: Likewise.
23675         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
23676         finite nonzero arguments.
23677         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
23678         finite nonzero arguments.
23679         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
23680         finite nonzero arguments.
23681         * math/s_casinh.c: Do not include <float.h>.
23682         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
23683         * math/s_casinhf.c: Do not include <float.h>.
23684         (__casinhf): Move code for finite nonzero arguments to
23685         k_casinhf.c.
23686         * math/s_casinhl.c: Do not include <float.h>.
23687         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
23688         redefine.
23689         (__casinhl): Move code for finite nonzero arguments to
23690         k_casinhl.c.
23691         * math/libm-test.inc (cacos_test): Add more tests.
23692         * sysdeps/i386/fpu/libm-test-ulps: Update.
23693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23694
23695 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
23696
23697         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
23698         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
23699         [!HAVE_MREMAP]: Remove [defined linux] case.
23700         * malloc/arena.c: Do not include <malloc-sysdep.h>.
23701
23702 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23703
23704         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
23705
23706 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
23707
23708         * elf/elf.h (R_386_SIZE32): New relocation.
23709         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
23710         R_386_SIZE32.
23711         (elf_machine_rela): Likewise.
23712         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23713         R_X86_64_SIZE64 and R_X86_64_SIZE32.
23714
23715 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
23716
23717         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
23718         (FP_FAST_FMA): Do not define.
23719         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
23720         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
23721         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
23722         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
23723         !_SOFT_FLOAT]: Likewise.
23724         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
23725         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
23726         value.
23727         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
23728         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
23729         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
23730         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
23731         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
23732         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
23733         file.
23734
23735 2013-01-16  Andreas Schwab  <schwab@suse.de>
23736
23737         [BZ #14327]
23738         * include/stdlib.h (__mktemp): Add declaration.
23739         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
23740         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
23741
23742 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
23743
23744         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
23745         definitions.
23746         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23747         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
23748         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
23749         definitions here.
23750         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
23751         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
23752         definitions.
23753         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
23754         and ONE.
23755         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
23756         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
23757         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
23758         definitions.
23759         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
23760         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
23761         definitions.
23762         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23763
23764         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
23765
23766 2013-01-15  David S. Miller  <davem@davemloft.net>
23767
23768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23769         trunc{,f} to libm-sysdep_routes.
23770         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
23772         file.
23773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
23774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
23775         file.
23776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
23777         file.
23778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
23779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
23780         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
23781         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
23782         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
23783         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
23784         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
23785         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
23786
23787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23788         nearbyint{,f} to libm-sysdep_routes.
23789         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
23791         New file.
23792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
23793         file.
23794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
23795         New file.
23796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
23797         file.
23798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
23799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
23800         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
23801         file.
23802         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
23803         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
23804         file.
23805         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
23806         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
23807         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
23808
23809         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23810         libc_feholdexcept and libc_fesetenv.
23811
23812 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
23813
23814         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
23815
23816 2013-01-14  David S. Miller  <davem@davemloft.net>
23817
23818         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
23819         (SPARC_ASM_VIS2_IFUNC): Likewise.
23820         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
23821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
23822         use of 'siam' instruction.
23823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
23824         Likewise.
23825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
23826         Likewise.
23827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
23828         Likewise.
23829         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
23830         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
23831         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
23832         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
23833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
23834         file.
23835         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
23836         file.
23837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
23838         file.
23839         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
23840         file.
23841         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
23842         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
23843         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
23844         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
23845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
23846         new VIS2 routines.
23847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
23848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
23849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
23850         Likewise.
23851         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
23852         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
23853         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
23854         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
23855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
23856         routines to libm-sysdep_routines.
23857         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
23858
23859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
23860         fdim/fdimf to libm-sysdep_routines.
23861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
23862         file.
23863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
23864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
23865         file.
23866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
23867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
23868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
23869         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
23870         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
23871         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
23872         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
23873
23874 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23875
23876         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
23877         to optimize copies.
23878
23879         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
23880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23881         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23882
23883         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
23884         local variable MPTWO.
23885         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
23886         Likewise.
23887
23888 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23889
23890         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
23891         GLOB_NOESCAPE.
23892
23893 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23894
23895         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
23896
23897 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
23898
23899         * manual/pattern.texi (glob_t): Document gl_flags.
23900         (glob64_t): Likewise.
23901
23902 2013-01-11  David S. Miller  <davem@davemloft.net>
23903
23904         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
23905         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
23906         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
23907         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
23908         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
23909         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
23910         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
23911         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
23912         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
23913         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
23914         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
23915         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
23916         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
23917
23918         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
23919         sparc V9 rather than using V8 code.
23920         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
23921         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
23922
23923         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
23924         Move to...
23925         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
23926         Here.
23927
23928 2013-01-11  Roland McGrath  <roland@hack.frob.com>
23929
23930         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
23931         not in the main loop.
23932         * configure: Regenerated.
23933
23934 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
23935
23936         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
23937         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
23938         to just #else.
23939         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
23940         [!__GLIBC_HAVE_LONG_LONG] case.
23941         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
23942         condition to just #else.
23943         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
23944         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
23945         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
23946         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
23947         unconditional.
23948         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
23949         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23950         #elif condition to just #else.
23951         * sysdeps/unix/sysv/linux/sys/sysmacros.h
23952         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
23953         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
23954         #elif condition to just #else.
23955
23956 2013-01-11  Steve Ellcey  <sellcey@mips.com>
23957
23958         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
23959         (EF_MIPS_ARCH_64): Fix value.
23960         (EF_MIPS_ARCH_32R2): New.
23961         (EF_MIPS_ARCH_64R2): New.
23962
23963 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
23964
23965         * Makeconfig (+link-pie-before-libc): New.
23966         (+link-pie-after-libc): Likewise.
23967         (+link-pie-tests): Likewise.
23968         (+link-pie): Rewritten.
23969         (link-before-libc): Remove $(config-LDFLAGS).
23970         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
23971         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
23972         (config-LDFLAGS): Renamed to ...
23973         (rtld-LDFLAGS): This.
23974         (rtld-tests-LDFLAGS): New macro.
23975         (link-libc-rpath-link): Likewise.
23976         (link-libc-tests-rpath-link): Likewise.
23977         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
23978         (link-libc): Prepand $(link-libc-rpath-link).
23979         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
23980         (test-program-prefix): New macro.
23981         (test-via-rtld-prefix): Likewise.
23982         (test-program-cmd): Likewise.
23983         (host-test-program-cmd): Likewise.
23984         * Makefile ($(common-objpfx)testrun.sh): Replace
23985         $(run-program-prefix) with $(test-program-prefix).
23986         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
23987         $(rtld-LDFLAGS).
23988         ($(common-objpfx)shlib.lds): Likewise.
23989         (build-module-helper): Likewise.
23990         ($(common-objpfx)format.lds): Likewise.
23991         * Rules (binaries-pie-tests): New.
23992         (binaries-pie-notests): Likewise.
23993         (binaries-pie): Rewritten.
23994         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
23995         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
23996         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
23997         (make-test-out): Replace $(host-built-program-cmd) with
23998         $(host-test-program-cmd).
23999         * config.make.in (build-hardcoded-path-in-tests): New variable.
24000         * configure.in (--enable-hardcoded-path-in-tests): New configure
24001         option.
24002         (hardcoded_path_in_tests): New AC_SUBST.
24003         * configure: Regenerated.
24004         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
24005         $(built-program-cmd) with $(test-program-cmd).
24006         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
24007         (test_program_cmd): This.
24008         * elf/Makefile ($(objpfx)order.out): Run test with
24009         $(test-program-prefix).
24010         ($(objpfx)order2.out): Likewise.
24011         ($(objpfx)tst-initorder.out): Likewise.
24012         ($(objpfx)tst-initorder2.out): Likewise.
24013         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
24014         $(test-program-cmd).
24015         ($(objpfx)tst-array1-static.out): Likewise.
24016         ($(objpfx)tst-array2.out): Likewise.
24017         ($(objpfx)tst-array3.out): Likewise.
24018         ($(objpfx)tst-array4.out): Likewise.
24019         ($(objpfx)tst-array5.out): Likewise.
24020         ($(objpfx)tst-array5-static.out): Likewise.
24021         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
24022         $(test-program-cmd).
24023         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
24024         $(run-program-prefix) with $(test-program-prefix).
24025         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
24026         (test_program_prefix): This.
24027         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
24028         $(run-program-prefix) with $(test-program-prefix).
24029         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
24030         (test_program_prefix): This.
24031         * iconvdata/tst-tables.sh: Likewise.
24032         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
24033         $(run-program-prefix) with $(test-program-prefix).
24034         ($(objpfx)tst-translit.out): Likewise.
24035         ($(objpfx)tst-gettext2.out): Likewise.
24036         ($(objpfx)tst-gettext4.out): Likewise.
24037         ($(objpfx)tst-gettext6.out): Likewise.
24038         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
24039         (test_program_prefix): This.
24040         * intl/tst-gettext2.sh: Likewise.
24041         * intl/tst-gettext4.sh  Likewise.
24042         * intl/tst-gettext6.sh: Likewise.
24043         * intl/tst-translit.sh: Likewise.
24044         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
24045         with $(test-program-cmd).
24046         * libio/Makefile ($(objpfx)test-freopen.out): Replace
24047         $(run-program-prefix) with $(test-program-prefix).
24048         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
24049         (test_program_prefix): This.
24050         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
24051         $(run-program-prefix) with $(test-program-prefix).
24052         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
24053         (test_program_prefix): This.
24054         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
24055         * posix/Makefile ($(objpfx)globtest.out): Replace
24056         $(run-via-rtld-prefix) and $(test-wrapper) with
24057         $(test-program-prefix) and $(test-via-rtld-prefix).
24058         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
24059         $(test-program-prefix).
24060         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
24061         $(host-test-program-cmd).
24062         (tst-spawn-ARGS): Likewise.
24063         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
24064         $(test-program-prefix).
24065         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
24066         (test_via_rtld_prefix): This.
24067         (test_wrapper): Renamed to ...
24068         (test_program_prefix): This.
24069         (run_program_prefix): Replaced by test_program_prefix.
24070         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
24071         (test_program_prefix): This.
24072         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
24073         with $(host-test-program-cmd).
24074         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
24075         $(run-program-prefix) with $(test-program-prefix).
24076         ($(objpfx)tst-printf.out): Likewise.
24077         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
24078         $(test-program-cmd).
24079         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
24080         (test_program_prefix): This.
24081         * stdio-common/tst-unbputc.sh: Likewise.
24082         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
24083         $(run-program-prefix) with $(test-program-prefix).
24084         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
24085         (test_program_prefix): This.
24086         * string/Makefile ($(objpfx)tst-svc.out):  Replace
24087         $(built-program-cmd) with $(test-program-cmd).
24088
24089 2013-01-11  Andreas Jaeger  <aj@suse.de>
24090
24091         [BZ #15003]
24092         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
24093         value. Sync with Linux 3.7.
24094
24095 2013-01-10  David S. Miller  <davem@davemloft.net>
24096
24097         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
24098         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24099         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24100
24101 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24102
24103         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
24104         never set.
24105         * configure: Regenerated.
24106
24107 2013-01-10  David S. Miller  <davem@davemloft.net>
24108
24109         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
24110         sparc V9 rather than using V8 code.
24111         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
24112         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
24113
24114 2013-01-10  Roland McGrath  <roland@hack.frob.com>
24115
24116         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
24117         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
24118         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
24119         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
24120         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
24121         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
24122         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
24123         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
24124         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
24125         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
24126         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
24127         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
24128         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
24129         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
24130         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
24131         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
24132         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
24133         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
24134         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
24135         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
24136         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
24137         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
24138         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
24139         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
24140         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
24141         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
24142         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
24143
24144 2013-01-10  David S. Miller  <davem@davemloft.net>
24145
24146         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24147
24148 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24149
24150         * posix/Makefile (tests-static): New variable.
24151         (tests): Add $(tests-static).
24152         (tst-exec-static-ARGS): New variable.
24153         (tst-spawn-static-ARGS): Likewise.
24154         * posix/tst-exec-static.c: New file.
24155         * posix/tst-spawn-static.c: Likewise.
24156         * posix/tst-exec.c: Support run directly.
24157         * posix/tst-spawn.c: Likewise.
24158
24159 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
24160
24161         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
24162         long.
24163         * math/bits/mathcalls.h (llrint): Likewise.
24164         (llround): Likewise.
24165         * stdlib/stdlib.h (struct drand48_data): Likewise.
24166         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
24167         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
24168         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
24169         Likewise.
24170         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
24171         Likewise.
24172         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
24173         (elf_greg_t): Likewise.
24174         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
24175         (__jmp_buf): Likewise.
24176         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
24177         definitions.
24178         (llrint): Likewise, for all definitions.
24179         (llrintl): Likewise.
24180
24181         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
24182         Remove [__GNUC__] condition.
24183         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
24184         condition to just [__USE_ISOC99].
24185         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
24186
24187 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
24188
24189         [BZ #14200]
24190         * sysdeps/unix/sysv/linux/x86/bits/environments.h
24191         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
24192         defined.
24193         (_POSIX_V6_ILP32_OFF32): Likewise.
24194         (_XBS5_ILP32_OFF32): Likewise.
24195         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
24196         (__ILP32_OFFBIG_LDFLAGS): Likewise.
24197
24198 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24199
24200         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
24201
24202         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
24203         doubles __mpexp_twomm1.  Adjust usage.
24204         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
24205         Remove.
24206
24207 2013-01-10  Andreas Schwab  <schwab@suse.de>
24208
24209         [BZ #14964]
24210         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
24211         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
24212
24213 2013-01-09  David S. Miller  <davem@davemloft.net>
24214
24215         [BZ #15003]
24216         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
24217         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
24218         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
24219         (TCP_FASTOPEN): Define.
24220         (tcp_repair_opt): New structure.
24221         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
24222         enum values.
24223         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
24224         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
24225         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
24226         (tcp_cookie_transactions): New structure.
24227
24228 2013-01-09  Anton Blanchard  <anton@samba.org>
24229
24230         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
24231         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
24232         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
24233         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
24234
24235 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
24236
24237         * include/features.h (__USE_ANSI): Remove.
24238
24239 2013-01-09  Roland McGrath  <roland@hack.frob.com>
24240
24241         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
24242
24243         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
24244
24245 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
24246
24247         * sysdeps/s390/fpu/libm-test-ulps: Update.
24248
24249         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24250
24251         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
24252         (__acr): Likewise.
24253         (__cpy): Likewise.
24254         (norm): Likewise.
24255         (denorm): Likewise.
24256         (__mp_dbl): Likewise.
24257         (__dbl_mp): Likewise.
24258         (add_magnitudes): Likewise.
24259         (sub_magnitudes): Likewise.
24260         (__add): Likewise.
24261         (__sub): Likewise.
24262         (__mul): Likewise.
24263         (__inv): Likewise.
24264         (__dvd): Likewise.
24265         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
24266         (__acr): Likewise.
24267         (__cpy): Likewise.
24268         (norm): Likewise.
24269         (denorm): Likewise.
24270         (__mp_dbl): Likewise.
24271         (__dbl_mp): Likewise.
24272         (add_magnitudes): Likewise.
24273         (sub_magnitudes): Likewise.
24274         (__add): Likewise.
24275         (__sub): Likewise.
24276         (__mul): Likewise.
24277         (__inv): Likewise.
24278         (__dvd): Likewise.
24279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
24280         (__acr): Likewise.
24281         (__cpy): Likewise.
24282         (norm): Likewise.
24283         (denorm): Likewise.
24284         (__mp_dbl): Likewise.
24285         (__dbl_mp): Likewise.
24286         (add_magnitudes): Likewise.
24287         (sub_magnitudes): Likewise.
24288         (__add): Likewise.
24289         (__sub): Likewise.
24290         (__mul): Likewise.
24291         (__inv): Likewise.
24292         (__dvd): Likewise.
24293
24294 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
24295
24296         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
24297         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
24298         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
24299         2 && __USE_EXTERN_INLINES]: Likewise.
24300
24301 2013-01-08  Andreas Jaeger  <aj@suse.de>
24302
24303         [BZ# 14985]
24304         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
24305         Remove.
24306         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24307         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
24308
24309 2013-01-07  Anton Blanchard  <anton@samba.org>
24310
24311         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
24312         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24313         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
24314         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24315         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24316         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24317         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
24318         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24319         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24320         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24321         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24322         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24323         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
24324         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24325         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24326         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24327         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24328         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24329         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24330         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24331         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24332         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
24333         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24334         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24335         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
24336         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24337         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
24338         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24339         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
24340         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
24341         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24342         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24343         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24344         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24345         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24346         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24347         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24348         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24349         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
24350         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
24351         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
24352         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24353         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24354
24355 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
24356
24357         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
24358         (__MALLOC_PMT): Likewise.
24359         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
24360         [__GNUC__], only on [_LIBC].
24361         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24362         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
24363         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
24364         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
24365         forward declaration.
24366         (realloc_hook_ini): Likewise.
24367         (memalign_hook_ini): Likewise.
24368         (__libc_memalign): Do not use __MALLOC_PMT in variable
24369         declaration.
24370         (__libc_valloc): Likewise.
24371         (__libc_pvalloc): Likewise.
24372         (__libc_calloc): Likewise.
24373         (__posix_memalign): Likewise.
24374
24375         [BZ #14996]
24376         * math/s_casinh.c: Include <float.h>.
24377         (__casinh): Do not do computation with squaring and square root
24378         for large arguments.
24379         * math/s_casinhf.c: Include <float.h>.
24380         (__casinhf): Do not do computation with squaring and square root
24381         for large arguments.
24382         * math/s_casinhl.c: Include <float.h>.
24383         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
24384         (__casinhl): Do not do computation with squaring and square root
24385         for large arguments.
24386         * math/libm-test.inc (casin_test): Add more tests.
24387         (casinh_test): Likewise.
24388         * sysdeps/i386/fpu/libm-test-ulps: Update.
24389         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24390
24391 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
24392
24393         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
24394         (__x86_64_raw_data_cache_size): Likewise.
24395         (__x86_64_data_cache_size_half): Likewise.
24396         (__x86_64_raw_data_cache_size_half): Likewise.
24397         (__x86_64_shared_cache_size): Likewise.
24398         (__x86_64_raw_shared_cache_size): Likewise.
24399         (__x86_64_shared_cache_size_half): Likewise.
24400         (__x86_64_raw_shared_cache_size_half): Likewise.
24401         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
24402         to ...
24403         (__x86_data_cache_size): This.
24404         (__x86_64_raw_data_cache_size): Renamed to ...
24405         (__x86_raw_data_cache_size): This.
24406         (__x86_64_data_cache_size_half): Renamed to ...
24407         (__x86_data_cache_size_half): This.
24408         (__x86_64_raw_data_cache_size_half): Renamed to ...
24409         (__x86_raw_data_cache_size_half): This.
24410         (__x86_64_shared_cache_size): Renamed to ...
24411         (__x86_shared_cache_size): This.
24412         (__x86_64_raw_shared_cache_size): Renamed to ...
24413         (__x86_raw_shared_cache_size): This.
24414         (__x86_64_shared_cache_size_half): Renamed to ...
24415         (__x86_shared_cache_size_half): This.
24416         (__x86_64_raw_shared_cache_size_half): Renamed to ...
24417         (__x86_raw_shared_cache_size_half): This.
24418         * sysdeps/x86_64/memcpy.S: Updated.
24419         * sysdeps/x86_64/memset.S: Likewise.
24420         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24421         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24422         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24423
24424 2013-01-04  David S. Miller  <davem@davemloft.net>
24425
24426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24427
24428 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
24429
24430         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
24431         1 to avoid redefinition warning.
24432         (__USE_GNU): Don't define.
24433         (init_signaling_nan): Protoize.
24434
24435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24436
24437 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24438
24439         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
24440         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
24441         (__cpymn): Likewise.
24442         (norm): Remove commented code.
24443         (denorm): Likewise.
24444         (__mp_dbl): Likewise.
24445         (__inv): Likewise.
24446         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
24447         (__cpymn): Likewise.
24448         (norm): Remove commented code.
24449         (denorm): Likewise.
24450         (__mp_dbl): Likewise.
24451         (__inv): Likewise.
24452
24453         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
24454         mp_no value for 1.0 and 2.0.
24455         (norm): Use RADIXI instead of radixi.d.
24456         (denorm): Likewise.
24457         (__mul): Use 0.0 instead of zero.d.
24458         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
24459         mp_no value for 1.0 and 2.0.
24460         (norm): Use RADIXI instead of radixi.d.
24461         (denorm): Likewise.
24462         (__mul): Use 0.0 instead of zero.d.
24463
24464 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
24465
24466         [BZ #14994]
24467         * math/s_casinh.c (__casinh): Reduce finite argument to first
24468         quadrant then set signs of results at the end.
24469         * math/s_casinhf.c (__casinhf): Likewise.
24470         * math/s_casinhl.c (__casinhl): Likewise.
24471         * math/libm-test.inc (casin_test): Add more tests.
24472         (casinh_test): Likewise.
24473         * sysdeps/i386/fpu/libm-test-ulps: Update.
24474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24475
24476 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24477
24478         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
24479
24480         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
24481
24482         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
24483         declarations.
24484         (denorm): Likewise.
24485         (__mp_dbl): Likewise.
24486         (__inv): Likewise.
24487
24488         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
24489         and adjust the header comment.
24490
24491         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
24492         variable name from declaration.
24493
24494 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
24495
24496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24497         Initialize COMMON_CPUID_INDEX_7 element.
24498         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
24499         (CPUID_RTM): Likewise.
24500         (HAS_RTM): Likewise.
24501         (COMMON_CPUID_INDEX_7): New enum.
24502
24503 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
24504
24505         [BZ #14981]
24506         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
24507         size is zero, record memory as freed.
24508
24509 2013-01-03  Andreas Jaeger  <aj@suse.de>
24510
24511         * po/ia.po: Add new Interlingua translation.
24512
24513 2012-01-03  Allan McRae  <allan@archlinux.org>
24514
24515         * locale/programs/localedef.c: Fix description of '--posix' flag.
24516
24517 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
24518
24519         * NEWS: Update dates in second copyright notice.
24520         * README: Update copyright dates in example.
24521         * manual/libc.texinfo: Update copyright dates.
24522         * scripts/test-installation.pl: Update copyright date in --version
24523         output.
24524
24525         * hurd/ctty-input.c: Fix copyright notice formatting.
24526         * hurd/ctty-output.c: Likewise.
24527         * hurd/dtable.c: Likewise.
24528         * hurd/hurd-raise.c: Likewise.
24529         * hurd/hurdprio.c: Likewise.
24530         * hurd/msgportdemux.c: Likewise.
24531         * misc/sys/file.h: Likewise.
24532         * misc/sys/ioctl.h: Likewise.
24533         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
24534         * sysdeps/mach/hurd/chdir.c: Likewise.
24535         * sysdeps/mach/hurd/fchdir.c: Likewise.
24536         * sysdeps/mach/hurd/rename.c: Likewise.
24537         * sysdeps/mach/hurd/rmdir.c: Likewise.
24538         * sysdeps/mach/hurd/seekdir.c: Likewise.
24539         * sysdeps/mach/hurd/setsid.c: Likewise.
24540         * sysdeps/posix/wait3.c: Likewise.
24541
24542         * All files with FSF copyright notices: Update copyright dates
24543         using scripts/update-copyrights.
24544         * intl/plural.c: Regenerated.
24545         * locale/programs/charmap-kw.h: Likewise.
24546         * locale/programs/locfile-kw.h: Likewise.
24547
24548 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24549
24550         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
24551         four values.
24552
24553         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
24554         calculation loop and add branch prediction.
24555
24556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
24557         check access beyond bounds of m1np.
24558
24559         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24560         MPTWO.
24561         (__inv): Remove local variable MPTWO to use the global
24562         constant.
24563         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
24564         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24565         variable MPTWO.
24566         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
24567         MP3HALFS static const.
24568
24569 2013-01-01  David S. Miller  <davem@davemloft.net>
24570
24571         * po/ca.po: Update from translation team.
24572
24573 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
24574
24575         * scripts/update-copyrights: New file.
24576         * Makeconfig: Reformat copyright notice.
24577         * ctype/ctype.h: Likewise.
24578         * debug/swprintf_chk.c: Likewise.
24579         * elf/dl-cache.c: Likewise.
24580         * elf/dl-debug.c: Likewise.
24581         * elf/dl-object.c: Likewise.
24582         * grp/initgroups.c: Likewise.
24583         * hurd/Makefile: Likewise.
24584         * hurd/hurd/signal.h: Likewise.
24585         * hurd/hurdfault.c: Likewise.
24586         * hurd/hurdioctl.c: Likewise.
24587         * hurd/hurdlookup.c: Likewise.
24588         * hurd/intr-msg.c: Likewise.
24589         * iconv/gconv_open.c: Likewise.
24590         * libio/swprintf.c: Likewise.
24591         * locale/lc-ctype.c: Likewise.
24592         * locale/nl_langinfo.c: Likewise.
24593         * mach/Machrules: Likewise.
24594         * mach/Makefile: Likewise.
24595         * malloc/obstack.h: Likewise.
24596         * manual/Makefile: Likewise.
24597         * manual/tsort.awk: Likewise.
24598         * misc/bits/stab.def: Likewise.
24599         * nis/nis_print_group_entry.c: Likewise.
24600         * nis/nis_table.c: Likewise.
24601         * nis/nss_compat/compat-pwd.c: Likewise.
24602         * nis/nss_compat/compat-spwd.c: Likewise.
24603         * po/Makefile: Likewise.
24604         * posix/fnmatch.c: Likewise.
24605         * posix/regex.h: Likewise.
24606         * resolv/Makefile: Likewise.
24607         * resolv/nss_dns/dns-network.c: Likewise.
24608         * resolv/res_hconf.c: Likewise.
24609         * scripts/gen-sorted.awk: Likewise.
24610         * soft-fp/soft-fp.h: Likewise.
24611         * stdio-common/printf.h: Likewise.
24612         * stdlib/monetary.h: Likewise.
24613         * stdlib/random.c: Likewise.
24614         * stdlib/random_r.c: Likewise.
24615         * sysdeps/generic/Makefile: Likewise.
24616         * sysdeps/gnu/Makefile: Likewise.
24617         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
24618         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24619         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
24620         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24621         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
24622         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24623         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
24624         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24625         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24626         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24627         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24628         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24629         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
24630         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
24631         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
24632         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
24633         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24634         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24635         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24636         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24637         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
24638         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
24639         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
24640         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24641         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
24642         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
24643         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
24644         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
24645         * sysdeps/mach/hurd/errnos.awk: Likewise.
24646         * sysdeps/mach/hurd/fork.c: Likewise.
24647         * sysdeps/mach/hurd/getcwd.c: Likewise.
24648         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
24649         * sysdeps/mach/hurd/mmap.c: Likewise.
24650         * sysdeps/mach/hurd/utimes.c: Likewise.
24651         * sysdeps/mach/hurd/xmknod.c: Likewise.
24652         * sysdeps/posix/profil.c: Likewise.
24653         * sysdeps/posix/readdir_r.c: Likewise.
24654         * sysdeps/powerpc/bits/mathdef.h: Likewise.
24655         * sysdeps/powerpc/bits/setjmp.h: Likewise.
24656         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
24657         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
24658         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
24659         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
24660         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
24661         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
24663         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
24664         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
24665         * sysdeps/pthread/lio_listio.c: Likewise.
24666         * sysdeps/sparc/dl-procinfo.h: Likewise.
24667         * sysdeps/unix/i386/sysdep.S: Likewise.
24668         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
24669         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
24670         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
24671         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
24672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24673         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
24674         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
24675         * sysdeps/unix/sysv/linux/speed.c: Likewise.
24676         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
24677         * sysdeps/wordsize-32/divdi3.c: Likewise.
24678         * time/sys/time.h: Likewise.
24679         * wcsmbs/Makefile: Likewise.
24680
24681 2013-01-01  David S. Miller  <davem@davemloft.net>
24682
24683         * po/fr.po: Update from translation team.
24684
24685         * catgets/gencat.c: Update copyright year.
24686         * csu/version.c: Likewise.
24687         * debug/catchsegv.sh: Likewise.
24688         * debug/pcprofiledump.c: Likewise.
24689         * debug/xtrace.sh: Likewise.
24690         * elf/ldconfig.c: Likewise.
24691         * elf/ldd.bash.in: Likewise.
24692         * elf/pldd.c: Likewise.
24693         * elf/sotruss.ksh: Likewise.
24694         * elf/sprof.c: Likewise.
24695         * iconv/iconv_prog.c: Likewise.
24696         * iconv/iconvconfig.c: Likewise.
24697         * locale/programs/locale.c: Likewise.
24698         * locale/programs/localedef.c: Likewise.
24699         * login/programs/pt_chown.c: Likewise.
24700         * malloc/memusage.sh: Likewise.
24701         * malloc/memusagestat.c: Likewise.
24702         * malloc/mtrace.pl: Likewise.
24703         * nscd/nscd.c: Likewise.
24704         * nss/getent.c: Likewise.
24705         * nss/makedb.c: Likewise.
24706         * posix/getconf.c: Likewise.
24707
24708 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24709
24710         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
24711         numbers.
24712
24713 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
24714
24715         * math/bits/mathcalls.h (modf): Use __nonnull.
24716
24717 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24718
24719         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
24720         (split): Use macro CN instead of the bare value.
24721         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
24722         could be used.
24723         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
24724         instead of the bare value.
24725         (power1): Likewise.
24726
24727 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24728
24729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
24730         __ATAN_TWOM.
24731         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24732
24733         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
24734         their values.
24735         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
24736         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
24737         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
24738         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
24739
24740 2012-12-28  Andreas Jaeger  <aj@suse.de>
24741
24742         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
24743         values are from Linux 3.7.
24744
24745         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
24746         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
24747
24748 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24749
24750         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
24751         TRUE case.
24752
24753         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
24754         (norm): Likewise.
24755         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
24756         variables with preprocessor constants.
24757         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
24758         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
24759         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
24760
24761 2012-12-27  Bruno Haible  <bruno@clisp.org>
24762
24763         [BZ #14317]
24764         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
24765         only if needed.
24766
24767 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
24768
24769         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
24770         and use variable directly.
24771         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
24772
24773         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
24774         MPONE.
24775         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
24776         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
24777         variable MPONE.
24778         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
24779         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
24780         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
24781         include directive.  Remove local variable MPONE.
24782         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
24783         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
24784         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
24785
24786 2012-12-25  David S. Miller  <davem@davemloft.net>
24787
24788         * version.h (RELEASE): Set to "development".
24789         (VERSION): Set to "2.17.90".
24790         * NEWS: Add 2.18 section.
24791
24792 2012-12-21  David S. Miller  <davem@davemloft.net>
24793
24794         * po/hr.po: Update from translation team.
24795
24796 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24797
24798         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
24799
24800 2012-12-19  Steve Ellcey  <sellcey@mips.com>
24801
24802         * NEWS:  Mention new memcpy for MIPS.
24803
24804 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24805
24806         * manual/contrib.texi (Contributors): Spelling correction.
24807
24808 2012-12-15  David S. Miller  <davem@davemloft.net>
24809
24810         * po/ru.po: Update from translation team.
24811
24812 2012-12-13  David S. Miller  <davem@davemloft.net>
24813
24814         * NEWS: Mention IFUNC testsuite enhancements.
24815
24816         * po/pl.po: Update from translation team.
24817         * po/bg.po: Likewise.
24818
24819         * manual/contrib.texi (Contributors): Update entries for Hongjiu
24820         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
24821
24822 2012-12-11  David S. Miller  <davem@davemloft.net>
24823
24824         * po/sv.po: Update from translation team.
24825
24826         * po/vi.po: Update from translation team.
24827
24828         * po/cs.po: Update from translation team.
24829
24830         * po/de.po: Update from translation team.
24831         * po/eo.po: Likewise.
24832         * po/nl.po: Likewise.
24833
24834 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24835
24836         [BZ #14246]
24837         * manual/argp.texi (Argp Helper Functions): Move node to follow
24838         Argp Parsing State.
24839
24840         [BZ #14872]
24841         * manual/conf.texi (Limits on File System Capacity): Mention if
24842         terminating null is included in the max size.
24843
24844 2012-12-10  Andreas Jaeger  <aj@suse.de>
24845
24846         * po/cs.po: Update from translation team.
24847
24848 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
24849
24850         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
24851         void pointer and cast to uintptr_t.
24852         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
24853         path.
24854         * sysdeps/s390/s390-64/memcpy.S: Likewise.
24855         * sysdeps/s390/s390-64/memset.S: Likewise.
24856
24857 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
24858
24859         [BZ #14833]
24860         * menual/message.texi (Message Translation): Fix typos.
24861         (Helper programs for gettext): Likewise.
24862
24863 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
24864
24865         [BZ #14898]
24866         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
24867         Change to -1.
24868
24869 2012-12-07  David S. Miller  <davem@davemloft.net>
24870
24871         * po/libc.pot: Update.
24872
24873 2012-12-07  Richard Henderson  <rth@redhat.com>
24874
24875         [BZ #10114]
24876         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
24877         normal/normal case to before the switch.
24878         (_FP_DIV): Likewise.
24879
24880 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
24881             Mike Frysinger  <vapier@gentoo.org>
24882
24883         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
24884         check for __NR_fadvise64_64.
24885
24886 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
24887
24888         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
24889         0, not just to plain "0" as a statement.
24890         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
24891         with cw.
24892
24893 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
24894
24895         * NEWS: Use sourceware.org in Bugzilla URL.
24896
24897 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
24898
24899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
24900         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
24901
24902         * stdio-common/tst-put-error.c (do_test): Add newline to the
24903         padded test to ensure flush.
24904
24905 2012-12-05  Jeff Law  <law@redhat.com>
24906
24907         * sunrpc/etc.rpc (fedfs_admin): Add entry.
24908
24909 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
24910
24911         * README: Don't refer to ports add-on as distributed separately.
24912         Mention AArch64 in list of systems supported in the ports add-on.
24913
24914         * LICENSES: Add more non-FSF copyright and license notices.
24915
24916         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
24917         ((unused)).
24918
24919         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
24920
24921         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
24922         10000 as width of padded output.
24923
24924 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24925
24926         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
24927
24928         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
24929         variable LX with __attribute__ ((unused)).
24930         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
24931         Likewise.
24932         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
24933         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
24934         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
24935         with __attribute__ ((unused)).
24936
24937 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
24938
24939         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
24940
24941 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
24942
24943         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
24944         (CFLAGS-nldbl-acos.c): New variable.
24945         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
24946         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
24947         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
24948         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
24949         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
24950         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
24951         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
24952         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
24953         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
24954         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
24955         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
24956         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
24957         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
24958         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
24959         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
24960         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
24961         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
24962         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
24963         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
24964         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
24965         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
24966         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
24967         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
24968         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
24969         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
24970         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
24971         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
24972         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
24973         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
24974         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
24975         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
24976         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
24977         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
24978         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
24979         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
24980         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
24981         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
24982         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
24983         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
24984         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
24985         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
24986         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
24987         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
24988         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
24989         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
24990         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
24991         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
24992         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
24993         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
24994         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
24995         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
24996         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
24997         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
24998         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
24999         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
25000         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
25001         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
25002         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
25003         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
25004         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
25005         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
25006         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
25007         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
25008         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
25009         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
25010         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
25011         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
25012         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
25013         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
25014         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
25015         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
25016         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
25017         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
25018         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
25019         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
25020         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
25021         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
25022         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
25023         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
25024         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
25025         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
25026         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
25027         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
25028         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
25029         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
25030         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
25031         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
25032         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
25033         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
25034         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
25035         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
25036         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
25037         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
25038         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
25039         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
25040         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
25041         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
25042
25043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
25044         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
25045
25046         [BZ #14914]
25047         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
25048         whole low double instead of just low 47 bits when splitting values
25049         into two parts.
25050
25051 2012-12-03  Allan McRae  <allan@archlinux.org>
25052
25053         * manual/stdio.texi (Predefined Printf Handlers): Remove
25054         @hsep and @vsep usage.
25055
25056 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
25057
25058         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
25059         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
25060
25061 2012-12-03  Jeff Law  <law@redhat.com>
25062
25063         * time/sys/time.h (settimeofday): Do not mark TV argument
25064         as __nonnull.
25065
25066 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
25067
25068         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
25069         when currently writing and seek to current position when not.
25070         * libio/Makefile (tests): Remove bug-fclose1.
25071         * libio/bug-fclose1.c: Delete.
25072
25073 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
25074
25075         * manual/arith.texi (feenableexcept): Fix typo.
25076         (fedisableexcept): Likewise.
25077
25078 2012-11-30  Roland McGrath  <roland@hack.frob.com>
25079
25080         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
25081         second, differently-typed declaration, rather than a cast.
25082
25083 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25084
25085         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
25086         * include/rpc/svc.h: ... here.
25087
25088 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
25089
25090         [BZ #13013]
25091         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
25092         depending n and resplen2 to catch cases where answer
25093         equals answerp2.
25094
25095 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
25096
25097         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
25098         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
25099
25100 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
25101
25102         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
25103
25104 2012-11-29  Roland McGrath  <roland@hack.frob.com>
25105
25106         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
25107
25108 2012-11-28  Jeff Law  <law@redhat.com>
25109
25110         [BZ #13761]
25111         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
25112         dataset_temporary.  Track alloca usage into alloca_used.
25113         If dataset is large allocate and release it via malloc/free.
25114
25115 2012-06-04  Florian Weimer  <fweimer@redhat.com>
25116
25117         [BZ #14197]
25118         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
25119
25120 2012-11-28  David S. Miller  <davem@davemloft.net>
25121
25122         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25123
25124 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25125
25126         [BZ #14803]
25127         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
25128         of pi/2 rounded to nearest to 64 bits.
25129         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
25130         nearest to 64 bits.
25131         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
25132         bits.
25133
25134 2012-11-28  Jeff Law <law@redhat.com>
25135             Martin Osvald <mosvald@redhat.com>
25136
25137         [BZ #14889]
25138         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
25139         * sunrpc/svc.c: Include time.h.
25140         (__svc_accept_failed): New function.
25141         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
25142         any reason other than EINTR, call __svc_accept_failed.
25143         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
25144         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
25145
25146 2012-11-28  Andreas Schwab  <schwab@suse.de>
25147
25148         * scripts/abilist.awk: Also handle indirect functions in .opd
25149         section.
25150
25151 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
25152
25153         [BZ #13881]
25154         * sysdeps/x86/fpu/powl_helper.c: New file.
25155         * sysdeps/x86/fpu/Makefile: Likewise.
25156         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
25157         (p3): New object.
25158         (__ieee754_powl): Use __powl_helper for finite arguments except
25159         integer exponents below 8.
25160         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
25161         (p3): New object.
25162         (__ieee754_powl): Use __powl_helper for finite arguments except
25163         integer exponents below 8.
25164         * math/libm-test.inc (pow_test): Add more tests and enable some
25165         previously disabled tests.
25166         * sysdeps/i386/fpu/libm-test-ulps: Update.
25167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25168
25169 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25170             Carlos O'Donell  <carlos_odonell@mentor.com>
25171
25172         * nss/makedb.c (is_prime): Assert that input is odd and greater
25173         than 4.  Note that fact in a comment too.
25174         (next_prime): Add 4 to input.
25175
25176 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
25177
25178         [BZ #11741]
25179         * libio/Makefile (tests): Add test case tst-fwrite-error.
25180         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
25181         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
25182         * libio/tst-fwrite-error.c: New test case.
25183
25184 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
25185
25186         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
25187         before casting to void *.
25188         * include/libc-internal.h (__pointer_type): New macro.
25189         (__integer_if_pointer_type_sub): Likewise.
25190         (__integer_if_pointer_type): Likewise.
25191         (cast_to_integer): Likewise.
25192         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
25193         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
25194         before casting to atomic64_t.
25195         (atomic_exchange_acq): Likewise.
25196         (__arch_exchange_and_add_body): Likewise.
25197         (__arch_add_body): Likewise.
25198         (atomic_add_negative): Likewise.
25199         (atomic_add_zero): Likewise.
25200
25201 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
25202
25203         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
25204         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
25205         (add_fdes): Likewise.
25206         (linear_search_fdes): Likewise.
25207         (binary_search_unencoded_fdes): Likewise.
25208
25209 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
25210
25211         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
25212
25213 2012-11-24  Adam Conrad  <adconrad@0c3.net>
25214
25215         * configure.in: Autodetect C++ header directories.
25216         * configure: Regenerated.
25217
25218 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
25219
25220         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
25221
25222 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
25223
25224         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25225
25226 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
25227
25228         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
25229         LDBL_MANT_DIG == 106]: Disable some tests.
25230         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25231         Likewise.
25232         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
25233         Likewise.
25234
25235         [BZ #14871]
25236         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
25237         input for small inputs.  Return +/- pi/2 for large inputs.
25238         * math/libm-test.inc (atan_test): Add more tests.
25239
25240         * sysdeps/generic/unwind-dw2-fde-glibc.c
25241         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
25242         __attribute__ ((unused)).
25243
25244         [BZ #14645]
25245         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
25246         x * y if x and y are nonzero and z is zero.
25247
25248         [BZ #14811]
25249         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
25250         nonzero exponents with absolute value below 0x1p-117 to +/-
25251         0x1p-117.
25252
25253         [BZ #14869]
25254         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
25255         up arguments below 2**-450, not just those below 2**-500.
25256         * math/libm-test.inc (hypot_test): Add another test.
25257
25258         [BZ #14868]
25259         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
25260         Return a+b for ratio over 2**120, not 2**60.
25261         * math/libm-test.inc (hypot_test): Add another test.
25262
25263         * math/libm-test.inc (clog_test): Use
25264         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
25265         (clog10_test): Likewise.
25266
25267         [BZ #6778]
25268         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
25269
25270 2012-11-22  Andreas Schwab  <schwab@suse.de>
25271
25272         * sysdeps/i386/fpu/libm-test-ulps: Update.
25273
25274 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
25275
25276         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
25277         printf output with newline.
25278
25279 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
25280
25281         [BZ #14865]
25282         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
25283         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
25284         -z nodlopen, -z initfirst and -z execstack support.
25285         * configure: Regenerated.
25286
25287         * elf/elf.h (DF_1_NODIRECT): New macro.
25288         (DF_1_IGNMULDEF): Likewise.
25289         (DF_1_NOKSYMS): Likewise.
25290         (DF_1_NOHDR): Likewise.
25291         (DF_1_EDITED): Likewise.
25292         (DF_1_NORELOC): Likewise.
25293         (DF_1_SYMINTPOSE): Likewise.
25294         (DF_1_GLOBAUDIT): Likewise.
25295         (DF_1_SINGLETON): Likewise.
25296         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
25297         DT_1_SUPPORTED_MASK bits.
25298         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
25299
25300 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
25301
25302         * sysdeps/unix/make-syscalls.sh: Document prefixes.
25303
25304 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
25305
25306         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
25307         macro.
25308
25309         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
25310         (sendmmsg): Move declarations...
25311         * socket/sys/socket.h: ... here.
25312         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
25313         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
25314         include it from...
25315         * socket/recvmmsg.c: ... this new file.
25316         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
25317         (sendmmsg): Rename to __sendmmsg, create weak alias and make
25318         definition of __sendmmsg hidden.
25319         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
25320         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
25321         Move ENOSYS stub into and include it from...
25322         * socket/sendmmsg.c: ... this new file.
25323         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
25324         (sysdep_routines): Move recvmmsg and sendmmsg...
25325         * socket/Makefile (routines): ... here.
25326         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
25327         (GLIBC_PRIVATE): Add __sendmmsg.
25328         * include/sys/socket.h (__sendmmsg): Add declarations.
25329         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
25330         sendmmsg.
25331
25332 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
25333
25334         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
25335         variable I1 with __attribute__ ((unused)).
25336         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
25337
25338 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25339
25340         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
25341         DUMMY variables with __attribute__ ((unused)).
25342
25343         * bits/byteswap.h: Include <bits/types.h>.
25344         (__bswap_64): Use __uint64_t instead of unsigned long long int.
25345
25346 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25347
25348         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
25349         string_t.  Do not manually set errno.
25350         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
25351         length with __strnlen.  Make sure to both set errno and return it on
25352         failure.
25353
25354 2012-11-19  David S. Miller  <davem@davemloft.net>
25355
25356         With help from Joseph Myers.
25357         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
25358         very large arguments properly.
25359         * math/libm-test.inc (atan_test): New tests.
25360         (atan2_test): New tests.
25361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25362         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25363
25364 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
25365
25366         [BZ #14856]
25367         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
25368         Define to 3.
25369
25370         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
25371         [POSIX] (EADDRNOTAVAIL): Likewise.
25372         [POSIX] (EAFNOSUPPORT): Likewise.
25373         [POSIX] (EALREADY): Likewise.
25374         [POSIX] (ECONNABORTED): Likewise.
25375         [POSIX] (ECONNREFUSED): Likewise.
25376         [POSIX] (ECONNRESET): Likewise.
25377         [POSIX] (EDESTADDRREQ): Likewise.
25378         [POSIX] (EDQUOT): Likewise.
25379         [POSIX] (EHOSTUNREACH): Likewise.
25380         [POSIX] (EIDRM): Likewise.
25381         [POSIX] (EISCONN): Likewise.
25382         [POSIX] (ELOOP): Likewise.
25383         [POSIX] (EMULTIHOP): Likewise.
25384         [POSIX] (ENETDOWN): Likewise.
25385         [POSIX] (ENETUNREACH): Likewise.
25386         [POSIX] (ENOBUFS): Likewise.
25387         [POSIX] (ENODATA): Likewise.
25388         [POSIX] (ENOLINK): Likewise.
25389         [POSIX] (ENOMSG): Likewise.
25390         [POSIX] (ENOPROTOOPT): Likewise.
25391         [POSIX] (ENOSR): Likewise.
25392         [POSIX] (ENOSTR): Likewise.
25393         [POSIX] (ENOTCONN): Likewise.
25394         [POSIX] (ENOTSOCK): Likewise.
25395         [POSIX] (EOPNOTSUPP): Likewise.
25396         [POSIX] (EOVERFLOW): Likewise.
25397         [POSIX] (EPROTO): Likewise.
25398         [POSIX] (EPROTONOSUPPORT): Likewise.
25399         [POSIX] (EPROTOTYPE): Likewise.
25400         [POSIX] (ESTALE): Likewise.
25401         [POSIX] (ETIME): Likewise.
25402         [POSIX] (ETXTBSY): Likewise.
25403         [POSIX] (EWOULDBLOCK): Likewise.
25404         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
25405         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
25406         [POSIX] (SEEK_CUR): Likewise.
25407         [POSIX] (SEEK_END): Likewise.
25408         [POSIX || UNIX98] (mode_t): Do not require.
25409         [POSIX] (off_t): Likewise.
25410         [POSIX] (pid_t): Likewise.
25411         [POSIX] (sys/stat.h): Do not allow header.
25412         [POSIX] (unistd.h): Likewise.
25413         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
25414         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
25415         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
25416         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
25417         require.
25418         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
25419         sigevent): Specify elements.
25420         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
25421         entry.
25422         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
25423         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
25424
25425         * conform/data/cpio.h-data [POSIX]: Disable whole file.
25426         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
25427         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
25428         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
25429         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
25430         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
25431         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
25432         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
25433         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
25434         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
25435         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
25436         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
25437         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
25438         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
25439         Likewise.
25440         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
25441         Likewise.
25442         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
25443         Likewise.
25444         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
25445         Likewise.
25446         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
25447         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
25448         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
25449         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
25450         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
25451         Specify lower bound on value.
25452         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
25453         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
25454         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
25455         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
25456         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
25457         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
25458         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
25459         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
25460         value.
25461         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
25462         as optional.
25463         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
25464         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
25465         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
25466         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
25467         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
25468         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
25469         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
25470         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
25471         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
25472         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
25473         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
25474         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
25475         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
25476         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
25477         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
25478         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
25479         entry.
25480         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
25481         optional.
25482         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
25483         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
25484         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
25485         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
25486         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
25487         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
25488         Likewise.
25489         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
25490         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
25491         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
25492         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
25493         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
25494         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
25495         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
25496         as optional.
25497         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
25498         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
25499         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
25500         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
25501         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
25502         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
25503         specify as optional.
25504         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
25505         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
25506         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
25507         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
25508         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
25509         [XPG3] (NL_LANGMAX): Likewise.
25510         [POSIX || XPG3] (NL_MSGMAX): Likewise.
25511         [POSIX || XPG3] (NL_NMAX): Likewise.
25512         [POSIX || XPG3] (NL_SETMAX): Likewise.
25513         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
25514         [XPG3] (NZERO): Likewise.
25515         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
25516         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
25517         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
25518         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
25519         (REG_ERANGE): Expect.
25520         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
25521         optional-constant.
25522         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
25523         Use (void) in prototype.
25524         [POSIX] (*_t): Allow.
25525         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
25526         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
25527         (WRDE_BADVAL): Expect.
25528
25529         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
25530         expect.
25531         [XPG3 || XPG4] (O_RSYNC): Likewise.
25532         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
25533         Likewise.
25534         [XPG3 || XPG4] (pthread_sigmask): Likewise.
25535         [XPG3 || XPG4] (sigqueue): Likewise.
25536         [XPG3 || XPG4] (sigtimedwait): Likewise.
25537         [XPG3 || XPG4] (sigwaitinfo): Likewise.
25538         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
25539         [XPG3 || XPG4] (vsnprintf): Likewise.
25540         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
25541         Likewise.
25542         [XPG3 || XPG4] (blksize_t): Likewise.
25543         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
25544         Likewise.
25545         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
25546         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
25547         [XPG3 || XPG4] (struct itimerspec): Likewise.
25548         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
25549         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
25550         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
25551         [XPG3 || XPG4] (clockid_t): Likewise.
25552         [XPG3 || XPG4] (timer_t): Likewise.
25553         [XPG3 || XPG4] (clock_getres): Likewise.
25554         [XPG3 || XPG4] (clock_gettime): Likewise.
25555         [XPG3 || XPG4] (clock_settime): Likewise.
25556         [XPG3 || XPG4] (nanosleep): Likewise.
25557         [XPG3 || XPG4] (timer_create): Likewise.
25558         [XPG3 || XPG4] (timer_delete): Likewise.
25559         [XPG3 || XPG4] (timer_gettime): Likewise.
25560         [XPG3 || XPG4] (timer_getoverrun): Likewise.
25561         [XPG3 || XPG4] (timer_settime): Likewise.
25562         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
25563         [XPG3 || XPG4] (getlogin_r): Likewise.
25564         [XPG3 || XPG4] (pread): Likewise.
25565         [XPG3 || XPG4] (pthread_atfork): Likewise.
25566         [XPG3 || XPG4] (pwrite): Likewise.
25567
25568         [BZ #14835]
25569         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
25570         <bits/siginfo.h>.
25571
25572 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
25573
25574         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
25575         finalizing MALLSTREAM.
25576
25577         * sysdeps/mach/hurd/syncfs.c: New file.
25578
25579 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
25580
25581         [BZ #14719]
25582         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
25583         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
25584         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
25585         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
25586         (_nss_dns_gethostbyname4_r): Likewise.
25587         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
25588         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
25589
25590 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
25591
25592         [BZ #13763]
25593         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
25594
25595 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
25596
25597         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
25598         * elf/cache.c (print_entry): Print ",AArch64" for
25599         FLAG_AARCH64_LIB64
25600
25601         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
25602         * elf/cache.c (print_entry): Print ",hard-float" for
25603         FLAG_ARM_LIBHF.
25604
25605 2012-11-18  David S. Miller  <davem@davemloft.net>
25606
25607         With help from Joseph Myers.
25608         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
25609         cutoff to 2**-13.
25610         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
25611         cutoff to 2**-25.
25612         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
25613         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
25614         small.
25615         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
25616         * math/libm-test.inc (y0_test): New tests.
25617         (y1_test): New tests.
25618         * sysdeps/i386/fpu/libm-test-ulps: Update.
25619         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25620         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25621
25622 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
25623
25624         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
25625         64-bit targets.
25626         * configure: Regenerated.
25627
25628 2012-11-17  David S. Miller  <davem@davemloft.net>
25629
25630         [BZ #14811]
25631         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
25632         nonzero exponents with absolute value below 0x1p-128 to +/-
25633         0x1p-128.
25634
25635 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
25636
25637         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
25638
25639         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
25640
25641         * posix/getconf-speclist.c: New file.
25642         * posix/posix-envs.def: Likewise.
25643         * posix/confstr.c (START_ENV_GROUP): New macro.
25644         (END_ENV_GROUP): Likewise.
25645         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25646         (KNOWN_PRESENT_ENV_STRING): Likewise.
25647         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25648         (UNKNOWN_ENVIRONMENT): Likewise.
25649         (confstr): Include posix-envs.def instead of handling
25650         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
25651         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
25652         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
25653         (END_ENV_GROUP): Likewise.
25654         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
25655         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
25656         (UNKNOWN_ENVIRONMENT): Likewise.
25657         (__sysconf): Include posix-envs.def instead of handling associated
25658         cases directly here.
25659         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
25660         preprocessing getconf-speclist.c rather than running getconf or
25661         generating empty file.
25662
25663 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
25664
25665         * scripts/check-local-headers.sh: Ignore 'mach' headers.
25666
25667 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
25668
25669         [BZ #14672]
25670         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
25671
25672 2012-11-16  David S. Miller  <davem@davemloft.net>
25673
25674         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
25675         smaller than LDBL_EPSILON/2.0L, just return xm1.
25676
25677 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
25678
25679         * elf/tst-array1.c (init): Set constructor priority to 1000.
25680         (fini): Set destructor priority to 1000.
25681         * elf/tst-array2dep.c: Likewise.
25682
25683 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25684
25685         [BZ #11741]
25686         * libio/fileops.c (_IO_new_file_write): Correctly return error.
25687         (_IO_new_file_xsputn): Also return EOF if none of the input
25688         data was written when overflow failed.
25689         * libio/iopadn.c (_IO_padn): Likewise.
25690         * libio/iowpadn.c (_IO_wpadn): Likewise.
25691         * stdio-common/tst-put-error.c: Add copyright notice.
25692         (do_test): Add case for printing padded string.
25693         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
25694         _IO_padn returned error.
25695         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
25696         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
25697         return EOF.
25698
25699 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25700
25701         * libio/libioP.h: Add comment note that the references to C++
25702         bits are now obsolete.
25703
25704 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25705
25706         * math/libm-test.inc (check_complex): Use asprintf.
25707
25708 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
25709
25710         * debug/pcprofiledump.c (print_version): Update copyright year.
25711         * malloc/memusagestat.c (print_version): Likewise.
25712
25713 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25714
25715         [BZ #14831]
25716         * elf/Makefile (tests): Add tst-audit8.
25717         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
25718         ($(objpfx)tst-audit8.out): New target.
25719         (tst-audit8-ENV): New variable.
25720         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
25721         audit if l_reloc_result is NULL.
25722         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
25723         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
25724         * elf/tst-audit8.c: New file.
25725
25726 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25727
25728         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
25729         * misc/Makefile (CFLAGS-select.c): Define.
25730         * posix/Makefile (CFLAGS-pause.c): Define.
25731
25732 2012-11-13  David S. Miller  <davem@davemloft.net>
25733
25734         * crypt/Makefile: Move test targets after toplevel Rules
25735         inclusion.  Grab any necessary sysdep routines when linking.
25736         * crypt/md5.c (md5_process_block): Remove define, we will always
25737         name it __md5_process_block.
25738         (md5_finish_ctx): Update md5_process_block call.
25739         (md5_stream): Likewise.
25740         (md5_process_bytes): Likewise.
25741         (md5_process_block): Rename to __md5_process_block and move to ...
25742         * crypt/md5-block.c: ... here.
25743         * crypt/sha256.c (sha256_process_block): Move to ...
25744         * crypt/sha256-block.c: ... here.
25745         * crypt/sha512.c (sha512_process_block): Move to ...
25746         * crypt/sha512-block.c: ... here.
25747         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
25748         path.
25749         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
25750         * sysdeps/sparc/sparc64/multiarch/Makefile
25751         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
25752         crypt subdir.
25753         (localedef-aux): Add md5 crypto assembler when in locale subdir.
25754         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
25755         multiarch changes.
25756         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
25757         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
25758         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
25759         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
25760         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
25761         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
25762         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
25763         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
25764         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
25765         file.
25766         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
25767         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
25768         file.
25769         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
25770
25771 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
25772
25773         * timezone/tzselect.ksh: Update from tzcode git revision
25774         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
25775         * timezone/zdump.c: Likewise.
25776         * timezone/zic.c: Likewise.
25777         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
25778         in TZVERSION setting, not $(PKGVERSION).
25779         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
25780         REPORT_BUGS_TO settings.
25781
25782         [BZ #14838]
25783         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
25784         macro.
25785
25786 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25787
25788         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
25789         detection to immediately after _FP_ROUND().
25790         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
25791         bits are 0.
25792
25793 2012-11-11  David S. Miller  <davem@davemloft.net>
25794
25795         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
25796         inttypes.h
25797         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
25798         __close rather than their public counterparts.
25799
25800 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
25801
25802         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
25803         file.
25804         [UNIX98] (sem_timedwait): Do not expect.
25805         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
25806         [XPG4 || UNIX98] (sockatmark): Do not expect.
25807         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
25808         (clock_getcpuclockid): Do not expect.
25809         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
25810         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
25811         Do not expect.
25812         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
25813         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
25814         [UNIX98] (vwscanf): Likewise.
25815         [UNIX98] (vswscanf): Likewise.
25816
25817 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
25818
25819         * timezone/version.h: Remove file.
25820         * timezone/README: Do not refer to version.h.
25821         * timezone/Makefile ($(objpfx)zic.o): New dependency on
25822         $(objpfx)version.h.
25823         ($(objpfx)zdump.o): Likewise.
25824         ($(objpfx)version.h): New target.
25825
25826         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
25827         2012i.
25828         * timezone/README: Don't mention modification to tzselect.ksh.
25829         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
25830         work on unmodified tzselect.ksh.  Substitute version numbers in
25831         tzselect.ksh.
25832
25833         * Makefile (format-me): Remove.
25834         (INSTALL): Adjust indentation.  Use commands directly instead of
25835         using $(format-me).
25836
25837         * aclocal.m4 (ACX_PKGVERSION): New macro.
25838         (ACX_BUGURL): Likewise.
25839         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
25840         (PKGVERSION): New AC_DEFINE_UNQUOTED.
25841         (REPORT_BUGS_TO): Likewise.
25842         * configure: Regenerated.
25843         * config.h.in (PKGVERSION): New macro.
25844         (REPORT_BUGS_TO): Likewise.
25845         * config.make.in (PKGVERSION): New variable.
25846         (PKGVERSION_TEXI): Likewise.
25847         (REPORT_BUGS_TO): Likewise.
25848         (REPORT_BUGS_TEXI): Likewise.
25849         * Makefile (format-me): Use -I$(common-objpfx)manual.
25850         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
25851         ($(common-objpfx)manual/%): New target.
25852         (manual/%): Remove target.
25853         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
25854         (print_version): Use PKGVERSION.
25855         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
25856         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
25857         and REPORT_BUGS_TO.
25858         ($(objpfx)xtrace): Likewise.
25859         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
25860         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
25861         (print_version): Use PKGVERSION.
25862         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
25863         (do_version): Use PKGVERSION.
25864         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
25865         REPORT_BUGS_TO.
25866         (common-ldd-rewrite): Likewise.
25867         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
25868         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
25869         (print_version): Use PKGVERSION.
25870         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
25871         * elf/pldd.c (argp_program_bug_address): Remove variable.
25872         (more_help): New function.
25873         (argp): Use more_help.
25874         (print_version): Use PKGVERSION.
25875         * elf/sln.c (main): Use PKGVERSION.
25876         (usage): Use REPORT_BUGS_TO.
25877         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
25878         (top level): Use PKGVERSION.
25879         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
25880         (print_version): Use PKGVERSION.
25881         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
25882         (print_version): Use PKGVERSION.
25883         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
25884         (print_version): Use PKGVERSION.
25885         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
25886         (print_version): Use PKGVERSION.
25887         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
25888         (print_version): Use PKGVERSION.
25889         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
25890         (print_version): Use PKGVERSION.
25891         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
25892         and BUGURL.
25893         ($(objpfx)memusage): Likewise.
25894         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
25895         (do_version): Use PKGVERSION.
25896         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
25897         (print_version): Use PKGVERSION.
25898         * malloc/mtrace.pl ($PACKAGE): Remove variable.
25899         ($PKGVERSION): New variable.
25900         ($REPORT_BUGS_TO): Likewise.
25901         (usage): Use $REPORT_BUGS_TO.
25902         (top level): Use $PKGVERSION.
25903         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
25904         ($(objpfx)pkgvers.texi): New rule.
25905         ($(objpfx)stamp-pkgvers): Likewise.
25906         * manual/install.texi: Include pkgvers.texi.
25907         (--with-pkgversion): Document new configure option.
25908         (--with-bugurl): Likewise.
25909         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
25910         than necessarily for this particular distribution.  Use
25911         REPORT_BUGS_TO for where to report bugs.
25912         * INSTALL: Regenerated.
25913         * manual/libc.texinfo: Include pkgvers.texi.
25914         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
25915         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
25916         (print_version): Use PKGVERSION.
25917         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
25918         (print_version): Use PKGVERSION.
25919         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
25920         (print_version): Use PKGVERSION.
25921         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
25922         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
25923         macro.
25924         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
25925         (print_version): Use PKGVERSION.
25926         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
25927         (print_version): Use PKGVERSION.
25928         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
25929         and PKGVERSION.
25930
25931         * timezone/checktab.awk: Update from tzcode 2012i.
25932         * timezone/ialloc.c: Likewise.
25933         * timezone/private.h: Likewise.
25934         * timezone/scheck.c: Likewise.
25935         * timezone/tzfile.h: Likewise.
25936         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
25937         (TZVERSION): Hardcode tzcode version number.
25938         * timezone/zdump.c: Update from tzcode 2012i.
25939         * timezone/zic.c: Likewise.
25940         * timezone/version.h: New file.
25941         * timezone/README: Describe version.h.  Update upstream location.
25942
25943         [BZ #14824]
25944         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
25945         (mktemp): Enable declaration.
25946         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
25947         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
25948         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
25949         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
25950         Likewise.
25951         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
25952         Likewise.
25953         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
25954         Likewise.
25955         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
25956         Likewise.
25957         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
25958         Likewise.
25959         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
25960         Likewise.
25961
25962         [BZ #14821]
25963         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
25964         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
25965         for copies of such integer values.
25966         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
25967         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
25968
25969 2012-11-09  Andreas Jaeger  <aj@suse.de>
25970
25971         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
25972         definitions and declarations that are provided by
25973         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
25974
25975 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25976
25977         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
25978         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
25979         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
25980         definition.
25981
25982 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25983
25984         * elf/elf.h: Update comment before AArch64 relocations.
25985
25986 2012-11-07  David S. Miller  <davem@davemloft.net>
25987
25988         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
25989         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
25990         (__start_context): Declare.
25991         (__makecontext_ret): Delete.
25992         (__makecontext): Hook up __start_context instead of
25993         __makecontext_ret.
25994         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
25995         (sysdep_routines): Add __start_context when in stdlib.
25996
25997 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25998
25999         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
26000         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
26001         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
26002         hardcoded "nm".
26003         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
26004         (READELF): New variable.  Use it instead of hardcoded "readelf".
26005
26006 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26007
26008         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
26009         * sysdeps/x86/Makefile: Here.
26010         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
26011         * sysdeps/x86/tst-xmmymm.sh: This.
26012
26013 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26014
26015         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
26016         expectations.
26017         [UNIX98] (pthread_barrier_t): Do not expect.
26018         [UNIX98] (pthread_barrierattr_t): Likewise.
26019         [UNIX98] (pthread_spinlock_t): Likewise.
26020         [UNIX98] (pthread_barrier_destroy): Likewise.
26021         [UNIX98] (pthread_barrier_init): Likewise.
26022         [UNIX98] (pthread_barrier_wait): Likewise.
26023         [UNIX98] (pthread_barrierattr_destroy): Likewise.
26024         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
26025         [UNIX98] (pthread_barrierattr_init): Likewise.
26026         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
26027         [UNIX98] (pthread_getcpuclockid): Likewise.
26028         [UNIX98] (pthread_mutex_timedlock): Likewise.
26029         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
26030         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
26031         [UNIX98] (pthread_sigmask): Likewise.
26032         [UNIX98] (pthread_spin_destroy): Likewise.
26033         [UNIX98] (pthread_spin_init): Likewise.
26034         [UNIX98] (pthread_spin_lock): Likewise.
26035         [UNIX98] (pthread_spin_trylock): Likewise.
26036         [UNIX98] (pthread_spin_unlock): Likewise.
26037         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
26038         Do not expect.
26039         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
26040         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
26041         [XPG3 || XPG4] (pthread_cond_t): Likewise.
26042         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
26043         [XPG3 || XPG4] (pthread_key_t): Likewise.
26044         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
26045         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
26046         [XPG3 || XPG4] (pthread_once_t): Likewise.
26047         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
26048         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
26049         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
26050         [XPG3 || XPG4] (pthread_t): Likewise.
26051
26052         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
26053         not expect.
26054         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
26055
26056         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
26057         Change function return type to int.
26058
26059         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
26060         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
26061         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
26062         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
26063         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
26064         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
26065         [!POSIX] (posix_madvise): Likewise.
26066         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
26067         && !UNIX98].
26068         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
26069         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
26070         (mode_t): Likewise.
26071         (posix_mem_offset): Likewise.
26072         (posix_typed_mem_get_info): Likewise.
26073         (posix_typed_mem_open): Likewise.
26074
26075         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
26076         Change condition to [XOPEN2K8].
26077
26078         * conform/conformtest.pl: Preprocess allow-header data with -x c
26079         instead of from stdin.
26080         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
26081         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
26082         [C99-based standards] (cerfc): Likewise.
26083         [C99-based standards] (cexp2): Likewise.
26084         [C99-based standards] (cexpm1): Likewise.
26085         [C99-based standards] (clog10): Likewise.
26086         [C99-based standards] (clog1p): Likewise.
26087         [C99-based standards] (clog2): Likewise.
26088         [C99-based standards] (clgamma): Likewise.
26089         [C99-based standards] (ctgamma): Likewise.
26090         [C99-based standards] (cerff): Likewise.
26091         [C99-based standards] (cerfcf): Likewise.
26092         [C99-based standards] (cexp2f): Likewise.
26093         [C99-based standards] (cexpm1f): Likewise.
26094         [C99-based standards] (clog10f): Likewise.
26095         [C99-based standards] (clog1pf): Likewise.
26096         [C99-based standards] (clog2f): Likewise.
26097         [C99-based standards] (clgammaf): Likewise.
26098         [C99-based standards] (ctgammaf): Likewise.
26099         [C99-based standards] (cerfl): Likewise.
26100         [C99-based standards] (cerfcl): Likewise.
26101         [C99-based standards] (cexp2l): Likewise.
26102         [C99-based standards] (cexpm1l): Likewise.
26103         [C99-based standards] (clog10l): Likewise.
26104         [C99-based standards] (clog1pl): Likewise.
26105         [C99-based standards] (clog2l): Likewise.
26106         [C99-based standards] (clgammal): Likewise.
26107         [C99-based standards] (ctgammal): Likewise.
26108         * conform/data/inttypes.h-data [C99-based standards]: Include
26109         stdint.h-data.  Remove all expectations for stdint.h contents.
26110         [C99-based standards] (PRI*): Do not allow.
26111         [C99-based standards] (SCN*): Likewise.
26112         [C99-based standards] (*_t): Likewise.
26113         [C99-based-standards] (PRId8): Expect macro.
26114         [C99-based-standards] (PRIi8): Likewise.
26115         [C99-based-standards] (PRIo8): Likewise.
26116         [C99-based-standards] (PRIu8): Likewise.
26117         [C99-based-standards] (PRIx8): Likewise.
26118         [C99-based-standards] (PRIX8): Likewise.
26119         [C99-based-standards] (SCNd8): Likewise.
26120         [C99-based-standards] (SCNi8): Likewise.
26121         [C99-based-standards] (SCNo8): Likewise.
26122         [C99-based-standards] (SCNu8): Likewise.
26123         [C99-based-standards] (SCNx8): Likewise.
26124         [C99-based-standards] (PRIdLEAST8): Likewise.
26125         [C99-based-standards] (PRIiLEAST8): Likewise.
26126         [C99-based-standards] (PRIoLEAST8): Likewise.
26127         [C99-based-standards] (PRIuLEAST8): Likewise.
26128         [C99-based-standards] (PRIxLEAST8): Likewise.
26129         [C99-based-standards] (PRIXLEAST8): Likewise.
26130         [C99-based-standards] (SCNdLEAST8): Likewise.
26131         [C99-based-standards] (SCNiLEAST8): Likewise.
26132         [C99-based-standards] (SCNoLEAST8): Likewise.
26133         [C99-based-standards] (SCNuLEAST8): Likewise.
26134         [C99-based-standards] (SCNxLEAST8): Likewise.
26135         [C99-based-standards] (PRIdFAST8): Likewise.
26136         [C99-based-standards] (PRIiFAST8): Likewise.
26137         [C99-based-standards] (PRIoFAST8): Likewise.
26138         [C99-based-standards] (PRIuFAST8): Likewise.
26139         [C99-based-standards] (PRIxFAST8): Likewise.
26140         [C99-based-standards] (PRIXFAST8): Likewise.
26141         [C99-based-standards] (SCNdFAST8): Likewise.
26142         [C99-based-standards] (SCNiFAST8): Likewise.
26143         [C99-based-standards] (SCNoFAST8): Likewise.
26144         [C99-based-standards] (SCNuFAST8): Likewise.
26145         [C99-based-standards] (SCNxFAST8): Likewise.
26146         [C99-based-standards] (PRId16): Likewise.
26147         [C99-based-standards] (PRIi16): Likewise.
26148         [C99-based-standards] (PRIo16): Likewise.
26149         [C99-based-standards] (PRIu16): Likewise.
26150         [C99-based-standards] (PRIx16): Likewise.
26151         [C99-based-standards] (PRIX16): Likewise.
26152         [C99-based-standards] (SCNd16): Likewise.
26153         [C99-based-standards] (SCNi16): Likewise.
26154         [C99-based-standards] (SCNo16): Likewise.
26155         [C99-based-standards] (SCNu16): Likewise.
26156         [C99-based-standards] (SCNx16): Likewise.
26157         [C99-based-standards] (PRIdLEAST16): Likewise.
26158         [C99-based-standards] (PRIiLEAST16): Likewise.
26159         [C99-based-standards] (PRIoLEAST16): Likewise.
26160         [C99-based-standards] (PRIuLEAST16): Likewise.
26161         [C99-based-standards] (PRIxLEAST16): Likewise.
26162         [C99-based-standards] (PRIXLEAST16): Likewise.
26163         [C99-based-standards] (SCNdLEAST16): Likewise.
26164         [C99-based-standards] (SCNiLEAST16): Likewise.
26165         [C99-based-standards] (SCNoLEAST16): Likewise.
26166         [C99-based-standards] (SCNuLEAST16): Likewise.
26167         [C99-based-standards] (SCNxLEAST16): Likewise.
26168         [C99-based-standards] (PRIdFAST16): Likewise.
26169         [C99-based-standards] (PRIiFAST16): Likewise.
26170         [C99-based-standards] (PRIoFAST16): Likewise.
26171         [C99-based-standards] (PRIuFAST16): Likewise.
26172         [C99-based-standards] (PRIxFAST16): Likewise.
26173         [C99-based-standards] (PRIXFAST16): Likewise.
26174         [C99-based-standards] (SCNdFAST16): Likewise.
26175         [C99-based-standards] (SCNiFAST16): Likewise.
26176         [C99-based-standards] (SCNoFAST16): Likewise.
26177         [C99-based-standards] (SCNuFAST16): Likewise.
26178         [C99-based-standards] (SCNxFAST16): Likewise.
26179         [C99-based-standards] (PRId32): Likewise.
26180         [C99-based-standards] (PRIi32): Likewise.
26181         [C99-based-standards] (PRIo32): Likewise.
26182         [C99-based-standards] (PRIu32): Likewise.
26183         [C99-based-standards] (PRIx32): Likewise.
26184         [C99-based-standards] (PRIX32): Likewise.
26185         [C99-based-standards] (SCNd32): Likewise.
26186         [C99-based-standards] (SCNi32): Likewise.
26187         [C99-based-standards] (SCNo32): Likewise.
26188         [C99-based-standards] (SCNu32): Likewise.
26189         [C99-based-standards] (SCNx32): Likewise.
26190         [C99-based-standards] (PRIdLEAST32): Likewise.
26191         [C99-based-standards] (PRIiLEAST32): Likewise.
26192         [C99-based-standards] (PRIoLEAST32): Likewise.
26193         [C99-based-standards] (PRIuLEAST32): Likewise.
26194         [C99-based-standards] (PRIxLEAST32): Likewise.
26195         [C99-based-standards] (PRIXLEAST32): Likewise.
26196         [C99-based-standards] (SCNdLEAST32): Likewise.
26197         [C99-based-standards] (SCNiLEAST32): Likewise.
26198         [C99-based-standards] (SCNoLEAST32): Likewise.
26199         [C99-based-standards] (SCNuLEAST32): Likewise.
26200         [C99-based-standards] (SCNxLEAST32): Likewise.
26201         [C99-based-standards] (PRIdFAST32): Likewise.
26202         [C99-based-standards] (PRIiFAST32): Likewise.
26203         [C99-based-standards] (PRIoFAST32): Likewise.
26204         [C99-based-standards] (PRIuFAST32): Likewise.
26205         [C99-based-standards] (PRIxFAST32): Likewise.
26206         [C99-based-standards] (PRIXFAST32): Likewise.
26207         [C99-based-standards] (SCNdFAST32): Likewise.
26208         [C99-based-standards] (SCNiFAST32): Likewise.
26209         [C99-based-standards] (SCNoFAST32): Likewise.
26210         [C99-based-standards] (SCNuFAST32): Likewise.
26211         [C99-based-standards] (SCNxFAST32): Likewise.
26212         [C99-based-standards] (PRId64): Likewise.
26213         [C99-based-standards] (PRIi64): Likewise.
26214         [C99-based-standards] (PRIo64): Likewise.
26215         [C99-based-standards] (PRIu64): Likewise.
26216         [C99-based-standards] (PRIx64): Likewise.
26217         [C99-based-standards] (PRIX64): Likewise.
26218         [C99-based-standards] (SCNd64): Likewise.
26219         [C99-based-standards] (SCNi64): Likewise.
26220         [C99-based-standards] (SCNo64): Likewise.
26221         [C99-based-standards] (SCNu64): Likewise.
26222         [C99-based-standards] (SCNx64): Likewise.
26223         [C99-based-standards] (PRIdLEAST64): Likewise.
26224         [C99-based-standards] (PRIiLEAST64): Likewise.
26225         [C99-based-standards] (PRIoLEAST64): Likewise.
26226         [C99-based-standards] (PRIuLEAST64): Likewise.
26227         [C99-based-standards] (PRIxLEAST64): Likewise.
26228         [C99-based-standards] (PRIXLEAST64): Likewise.
26229         [C99-based-standards] (SCNdLEAST64): Likewise.
26230         [C99-based-standards] (SCNiLEAST64): Likewise.
26231         [C99-based-standards] (SCNoLEAST64): Likewise.
26232         [C99-based-standards] (SCNuLEAST64): Likewise.
26233         [C99-based-standards] (SCNxLEAST64): Likewise.
26234         [C99-based-standards] (PRIdFAST64): Likewise.
26235         [C99-based-standards] (PRIiFAST64): Likewise.
26236         [C99-based-standards] (PRIoFAST64): Likewise.
26237         [C99-based-standards] (PRIuFAST64): Likewise.
26238         [C99-based-standards] (PRIxFAST64): Likewise.
26239         [C99-based-standards] (PRIXFAST64): Likewise.
26240         [C99-based-standards] (SCNdFAST64): Likewise.
26241         [C99-based-standards] (SCNiFAST64): Likewise.
26242         [C99-based-standards] (SCNoFAST64): Likewise.
26243         [C99-based-standards] (SCNuFAST64): Likewise.
26244         [C99-based-standards] (SCNxFAST64): Likewise.
26245         [C99-based-standards] (PRIdMAX): Likewise.
26246         [C99-based-standards] (PRIiMAX): Likewise.
26247         [C99-based-standards] (PRIoMAX): Likewise.
26248         [C99-based-standards] (PRIuMAX): Likewise.
26249         [C99-based-standards] (PRIxMAX): Likewise.
26250         [C99-based-standards] (PRIXMAX): Likewise.
26251         [C99-based-standards] (SCNdMAX): Likewise.
26252         [C99-based-standards] (SCNiMAX): Likewise.
26253         [C99-based-standards] (SCNoMAX): Likewise.
26254         [C99-based-standards] (SCNuMAX): Likewise.
26255         [C99-based-standards] (SCNxMAX): Likewise.
26256         [C99-based-standards] (PRIdPTR): Likewise.
26257         [C99-based-standards] (PRIiPTR): Likewise.
26258         [C99-based-standards] (PRIoPTR): Likewise.
26259         [C99-based-standards] (PRIuPTR): Likewise.
26260         [C99-based-standards] (PRIxPTR): Likewise.
26261         [C99-based-standards] (PRIXPTR): Likewise.
26262         [C99-based-standards] (SCNdPTR): Likewise.
26263         [C99-based-standards] (SCNiPTR): Likewise.
26264         [C99-based-standards] (SCNoPTR): Likewise.
26265         [C99-based-standards] (SCNuPTR): Likewise.
26266         [C99-based-standards] (SCNxPTR): Likewise.
26267         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
26268         allow.
26269         * conform/data/stdint.h-data: Update comments to clarify
26270         requirements.
26271         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
26272         type.
26273         [C99-based standards] (INT8_MAX): Likewise.
26274         [C99-based standards] (INT16_MIN): Likewise.
26275         [C99-based standards] (INT16_MAX): Likewise.
26276         [C99-based standards] (INT32_MIN): Likewise.
26277         [C99-based standards] (INT32_MAX): Likewise.
26278         [C99-based standards] (INT64_MIN): Likewise.
26279         [C99-based standards] (INT64_MAX): Likewise.
26280         [C99-based standards] (UINT8_MAX): Likewise.
26281         [C99-based standards] (UINT16_MAX): Likewise.
26282         [C99-based standards] (UINT32_MAX): Likewise.
26283         [C99-based standards] (UINT64_MAX): Likewise.
26284         [C99-based standards] (INT_LEAST8_MIN): Likewise.
26285         [C99-based standards] (INT_LEAST8_MAX): Likewise.
26286         [C99-based standards] (INT_LEAST16_MIN): Likewise.
26287         [C99-based standards] (INT_LEAST16_MAX): Likewise.
26288         [C99-based standards] (INT_LEAST32_MIN): Likewise.
26289         [C99-based standards] (INT_LEAST32_MAX): Likewise.
26290         [C99-based standards] (INT_LEAST64_MIN): Likewise.
26291         [C99-based standards] (INT_LEAST64_MAX): Likewise.
26292         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
26293         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
26294         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
26295         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
26296         [C99-based standards] (INT_FAST8_MIN): Likewise.
26297         [C99-based standards] (INT_FAST8_MAX): Likewise.
26298         [C99-based standards] (INT_FAST16_MIN): Likewise.
26299         [C99-based standards] (INT_FAST16_MAX): Likewise.
26300         [C99-based standards] (INT_FAST32_MIN): Likewise.
26301         [C99-based standards] (INT_FAST32_MAX): Likewise.
26302         [C99-based standards] (INT_FAST64_MIN): Likewise.
26303         [C99-based standards] (INT_FAST64_MAX): Likewise.
26304         [C99-based standards] (UINT_FAST8_MAX): Likewise.
26305         [C99-based standards] (UINT_FAST16_MAX): Likewise.
26306         [C99-based standards] (UINT_FAST32_MAX): Likewise.
26307         [C99-based standards] (UINT_FAST64_MAX): Likewise.
26308         [C99-based standards] (INTPTR_MIN): Likewise.
26309         [C99-based standards] (INTPTR_MAX): Likewise.
26310         [C99-based standards] (UINTPTR_MAX): Likewise.
26311         [C99-based standards] (INTMAX_MIN): Likewise.
26312         [C99-based standards] (INTMAX_MAX): Likewise.
26313         [C99-based standards] (UINTMAX_MAX): Likewise.
26314         [C99-based standards] (PTRDIFF_MIN): Likewise.
26315         [C99-based standards] (PTRDIFF_MAX): Likewise.
26316         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
26317         [C99-based standards] (SIZE_MAX): Likewise.
26318         [C99-based standards] (WCHAR_MAX): Likewise.
26319         [C99-based standards] (WINT_MAX): Likewise.
26320         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
26321         constraint on value.
26322         [C99-based standards] (WCHAR_MIN): Likewise.
26323         [C99-based standards] (WINT_MIN): Likewise.
26324         [C99-based standards] (*_t): Allow.
26325         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
26326         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
26327         Include math.h-data and complex.h-data.  Remove all expectations
26328         of math.h and complex.h contents.
26329         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
26330         at end of line.
26331         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
26332         (struct tm): Expect tag.
26333         [C99-based-standards] (wcstof): Expect function.
26334         [C99-based-standards] (wcstold): Likewise.
26335         [C99-based-standards] (wcstoll): Likewise.
26336         [C99-based-standards] (wcstoull): Likewise.
26337         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
26338         macro-int-constant.  Specify type.
26339         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
26340         constraint on value.
26341         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26342         Specify type.
26343         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
26344         Specify value.
26345         [ISO C standards]: Do not allow headers.
26346         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
26347         wcs[abcdefghijklmnopqrstuvwxyz]*.
26348         [ISO C standards] (*_t): Do not allow.
26349         * conform/data/wctype.h-data [C99-based standards] (iswblank):
26350         Expect function.
26351         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
26352         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
26353         Specify type.
26354         [ISO C standards]: Do not allow headers.
26355         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
26356         is[abcdefghijklmnopqrstuvwxyz]*.
26357         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
26358         to[abcdefghijklmnopqrstuvwxyz]*.
26359         [ISO C standards] (*_t): Do not allow.
26360         * conform/data/stdalign.h-data: New file.
26361         * conform/data/stdbool.h-data: Likewise.
26362         * conform/data/stdnoreturn.h-data: Likewise.
26363
26364 2012-11-07  Roland McGrath  <roland@hack.frob.com>
26365
26366         [BZ #14815]
26367         * manual/filesys.texi (Directory Entries): Typo fix.
26368         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
26369
26370 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26371
26372         * elf/elf.h (EM_AARCH64): New macro.
26373         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
26374         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
26375         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
26376         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
26377         (R_AARCH64_TLSDESC): Likewise.
26378         (NT_ARM_TLS): Likewise.
26379         (NT_ARM_HW_BREAK): Likewise.
26380         (NT_ARM_HW_WATCH): Likewise.
26381
26382 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26383
26384         [BZ #14811]
26385         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
26386         (__ieee754_powl): Saturate nonzero exponents with absolute value
26387         below 0x1p-79 to +/- 0x1p-79.
26388         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
26389         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
26390         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
26391         nonzero exponents with absolute value below 0x1p-32 to +/-
26392         0x1p-32.
26393         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
26394         (__ieee754_powl): Saturate nonzero exponents with absolute value
26395         below 0x1p-79 to +/- 0x1p-79.
26396         * math/libm-test.inc (pow_test): Add more tests.
26397
26398 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26399
26400         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
26401         _dl_s390_cap_flags with kernel. Increase string length.
26402         (_dl_s390_platforms): Add z196 and zEC12.
26403
26404 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
26405
26406         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
26407         Change XOPEN21K to XOPEN2K.
26408
26409 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
26410
26411         * string/memmove.c: Use memcpy when possible.
26412
26413 2012-11-06  Andreas Jaeger  <aj@suse.de>
26414
26415         * po/eo.po: Update from translation team.
26416
26417 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
26418
26419         [BZ #14793]
26420         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
26421         exponent and small x and y exponents, scale x or y up.  Increase
26422         by 2 the exponent used in scaling up.
26423         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26424         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26425         * math/libm-test.inc (fma_test): Add more tests.
26426         (fma_test_towardzero): Likewise.
26427         (fma_test_downward): Likewise.
26428         (fma_test_upward): Likewise.
26429
26430 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
26431
26432         [BZ #14805]
26433         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
26434         fenv_t *.
26435
26436         [BZ #14801]
26437         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
26438         namespace for names of struct fields.
26439         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
26440         fenv_t fields.
26441         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26442         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
26443
26444 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26445
26446         [BZ #3665]
26447         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
26448
26449 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26450
26451         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
26452         PTR_DEMANGLE.
26453
26454         [BZ #5246]
26455         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
26456         PTR_DEMANGLE.
26457
26458 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
26459
26460         [BZ #14797]
26461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
26462         definitely overflow as x * y not x * y + z.
26463         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26464         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26465         * math/libm-test.inc (fma_test): Add more tests.
26466         (fma_test_towardzero): Likewise.
26467         (fma_test_downward): Likewise.
26468         (fma_test_upward): Likewise.
26469
26470 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
26471
26472         [BZ #157]
26473
26474         * include/stub-tag.h: Remove file.
26475         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
26476         '#include' of it.
26477         * manual/maint.texi (Porting): Don't reference it.
26478         * Makerules ($(objpfx)stubs): Likewise.
26479         * dirent/closedir.c: Don't include <stub-tag.h>.
26480         * dirent/dirfd.c: Likewise.
26481         * dirent/fdopendir.c: Likewise.
26482         * dirent/getdents.c: Likewise.
26483         * dirent/getdents64.c: Likewise.
26484         * dirent/opendir.c: Likewise.
26485         * dirent/readdir.c: Likewise.
26486         * dirent/readdir64.c: Likewise.
26487         * dirent/readdir64_r.c: Likewise.
26488         * dirent/readdir_r.c: Likewise.
26489         * dirent/rewinddir.c: Likewise.
26490         * dirent/seekdir.c: Likewise.
26491         * dirent/telldir.c: Likewise.
26492         * gmon/profil.c: Likewise.
26493         * grp/setgroups.c: Likewise.
26494         * inet/if_index.c: Likewise.
26495         * io/access.c: Likewise.
26496         * io/chdir.c: Likewise.
26497         * io/chmod.c: Likewise.
26498         * io/chown.c: Likewise.
26499         * io/close.c: Likewise.
26500         * io/dup.c: Likewise.
26501         * io/dup2.c: Likewise.
26502         * io/dup3.c: Likewise.
26503         * io/euidaccess.c: Likewise.
26504         * io/faccessat.c: Likewise.
26505         * io/fchdir.c: Likewise.
26506         * io/fchmod.c: Likewise.
26507         * io/fchmodat.c: Likewise.
26508         * io/fchown.c: Likewise.
26509         * io/fchownat.c: Likewise.
26510         * io/fcntl.c: Likewise.
26511         * io/flock.c: Likewise.
26512         * io/fstatfs.c: Likewise.
26513         * io/fstatfs64.c: Likewise.
26514         * io/fstatvfs.c: Likewise.
26515         * io/fstatvfs64.c: Likewise.
26516         * io/futimens.c: Likewise.
26517         * io/fxstat.c: Likewise.
26518         * io/fxstat64.c: Likewise.
26519         * io/fxstatat.c: Likewise.
26520         * io/fxstatat64.c: Likewise.
26521         * io/getcwd.c: Likewise.
26522         * io/isatty.c: Likewise.
26523         * io/lchmod.c: Likewise.
26524         * io/lchown.c: Likewise.
26525         * io/link.c: Likewise.
26526         * io/linkat.c: Likewise.
26527         * io/lseek.c: Likewise.
26528         * io/lseek64.c: Likewise.
26529         * io/lxstat64.c: Likewise.
26530         * io/mkdir.c: Likewise.
26531         * io/mkdirat.c: Likewise.
26532         * io/mkfifo.c: Likewise.
26533         * io/mkfifoat.c: Likewise.
26534         * io/open.c: Likewise.
26535         * io/open64.c: Likewise.
26536         * io/openat.c: Likewise.
26537         * io/openat64.c: Likewise.
26538         * io/pipe.c: Likewise.
26539         * io/pipe2.c: Likewise.
26540         * io/poll.c: Likewise.
26541         * io/posix_fadvise.c: Likewise.
26542         * io/posix_fadvise64.c: Likewise.
26543         * io/posix_fallocate.c: Likewise.
26544         * io/posix_fallocate64.c: Likewise.
26545         * io/read.c: Likewise.
26546         * io/readlink.c: Likewise.
26547         * io/readlinkat.c: Likewise.
26548         * io/rmdir.c: Likewise.
26549         * io/sendfile.c: Likewise.
26550         * io/sendfile64.c: Likewise.
26551         * io/statfs.c: Likewise.
26552         * io/statfs64.c: Likewise.
26553         * io/statvfs.c: Likewise.
26554         * io/statvfs64.c: Likewise.
26555         * io/symlink.c: Likewise.
26556         * io/symlinkat.c: Likewise.
26557         * io/ttyname.c: Likewise.
26558         * io/ttyname_r.c: Likewise.
26559         * io/umask.c: Likewise.
26560         * io/unlink.c: Likewise.
26561         * io/unlinkat.c: Likewise.
26562         * io/utime.c: Likewise.
26563         * io/utimensat.c: Likewise.
26564         * io/write.c: Likewise.
26565         * io/xmknod.c: Likewise.
26566         * io/xmknodat.c: Likewise.
26567         * io/xstat.c: Likewise.
26568         * io/xstat64.c: Likewise.
26569         * login/getpt.c: Likewise.
26570         * login/grantpt.c: Likewise.
26571         * login/unlockpt.c: Likewise.
26572         * math/e_acoshl.c: Likewise.
26573         * math/e_acosl.c: Likewise.
26574         * math/e_asinl.c: Likewise.
26575         * math/e_atan2l.c: Likewise.
26576         * math/e_atanhl.c: Likewise.
26577         * math/e_coshl.c: Likewise.
26578         * math/e_expl.c: Likewise.
26579         * math/e_fmodl.c: Likewise.
26580         * math/e_gammal_r.c: Likewise.
26581         * math/e_hypotl.c: Likewise.
26582         * math/e_j0l.c: Likewise.
26583         * math/e_j1l.c: Likewise.
26584         * math/e_jnl.c: Likewise.
26585         * math/e_lgammal_r.c: Likewise.
26586         * math/e_log10l.c: Likewise.
26587         * math/e_log2l.c: Likewise.
26588         * math/e_logl.c: Likewise.
26589         * math/e_powl.c: Likewise.
26590         * math/e_rem_pio2l.c: Likewise.
26591         * math/e_sinhl.c: Likewise.
26592         * math/e_sqrtl.c: Likewise.
26593         * math/fclrexcpt.c: Likewise.
26594         * math/fedisblxcpt.c: Likewise.
26595         * math/feenablxcpt.c: Likewise.
26596         * math/fegetenv.c: Likewise.
26597         * math/fegetexcept.c: Likewise.
26598         * math/fegetround.c: Likewise.
26599         * math/feholdexcpt.c: Likewise.
26600         * math/fesetenv.c: Likewise.
26601         * math/fesetround.c: Likewise.
26602         * math/feupdateenv.c: Likewise.
26603         * math/fgetexcptflg.c: Likewise.
26604         * math/fraiseexcpt.c: Likewise.
26605         * math/fsetexcptflg.c: Likewise.
26606         * math/ftestexcept.c: Likewise.
26607         * math/k_cosl.c: Likewise.
26608         * math/k_rem_pio2l.c: Likewise.
26609         * math/k_sinl.c: Likewise.
26610         * math/k_tanl.c: Likewise.
26611         * math/s_asinhl.c: Likewise.
26612         * math/s_atanl.c: Likewise.
26613         * math/s_cbrtl.c: Likewise.
26614         * math/s_erfl.c: Likewise.
26615         * math/s_expm1l.c: Likewise.
26616         * math/s_log1pl.c: Likewise.
26617         * math/s_tanhl.c: Likewise.
26618         * misc/acct.c: Likewise.
26619         * misc/brk.c: Likewise.
26620         * misc/chflags.c: Likewise.
26621         * misc/chroot.c: Likewise.
26622         * misc/fchflags.c: Likewise.
26623         * misc/fgetxattr.c: Likewise.
26624         * misc/flistxattr.c: Likewise.
26625         * misc/fremovexattr.c: Likewise.
26626         * misc/fsetxattr.c: Likewise.
26627         * misc/fsync.c: Likewise.
26628         * misc/ftruncate.c: Likewise.
26629         * misc/futimes.c: Likewise.
26630         * misc/futimesat.c: Likewise.
26631         * misc/getdomain.c: Likewise.
26632         * misc/getdtsz.c: Likewise.
26633         * misc/gethostid.c: Likewise.
26634         * misc/gethostname.c: Likewise.
26635         * misc/getloadavg.c: Likewise.
26636         * misc/getpagesize.c: Likewise.
26637         * misc/getsysstats.c: Likewise.
26638         * misc/getxattr.c: Likewise.
26639         * misc/gtty.c: Likewise.
26640         * misc/ioctl.c: Likewise.
26641         * misc/lgetxattr.c: Likewise.
26642         * misc/listxattr.c: Likewise.
26643         * misc/llistxattr.c: Likewise.
26644         * misc/lremovexattr.c: Likewise.
26645         * misc/lsetxattr.c: Likewise.
26646         * misc/lutimes.c: Likewise.
26647         * misc/madvise.c: Likewise.
26648         * misc/mincore.c: Likewise.
26649         * misc/mlock.c: Likewise.
26650         * misc/mlockall.c: Likewise.
26651         * misc/mmap.c: Likewise.
26652         * misc/mprotect.c: Likewise.
26653         * misc/msync.c: Likewise.
26654         * misc/munlock.c: Likewise.
26655         * misc/munlockall.c: Likewise.
26656         * misc/munmap.c: Likewise.
26657         * misc/preadv.c: Likewise.
26658         * misc/preadv64.c: Likewise.
26659         * misc/ptrace.c: Likewise.
26660         * misc/pwritev.c: Likewise.
26661         * misc/pwritev64.c: Likewise.
26662         * misc/readv.c: Likewise.
26663         * misc/reboot.c: Likewise.
26664         * misc/remap_file_pages.c: Likewise.
26665         * misc/removexattr.c: Likewise.
26666         * misc/revoke.c: Likewise.
26667         * misc/select.c: Likewise.
26668         * misc/setdomain.c: Likewise.
26669         * misc/setegid.c: Likewise.
26670         * misc/seteuid.c: Likewise.
26671         * misc/sethostid.c: Likewise.
26672         * misc/sethostname.c: Likewise.
26673         * misc/setregid.c: Likewise.
26674         * misc/setreuid.c: Likewise.
26675         * misc/setxattr.c: Likewise.
26676         * misc/sstk.c: Likewise.
26677         * misc/stty.c: Likewise.
26678         * misc/swapoff.c: Likewise.
26679         * misc/swapon.c: Likewise.
26680         * misc/sync.c: Likewise.
26681         * misc/syncfs.c: Likewise.
26682         * misc/syscall.c: Likewise.
26683         * misc/truncate.c: Likewise.
26684         * misc/ualarm.c: Likewise.
26685         * misc/usleep.c: Likewise.
26686         * misc/ustat.c: Likewise.
26687         * misc/utimes.c: Likewise.
26688         * misc/vhangup.c: Likewise.
26689         * misc/writev.c: Likewise.
26690         * posix/_exit.c: Likewise.
26691         * posix/alarm.c: Likewise.
26692         * posix/execve.c: Likewise.
26693         * posix/fexecve.c: Likewise.
26694         * posix/fork.c: Likewise.
26695         * posix/fpathconf.c: Likewise.
26696         * posix/getaddrinfo.c: Likewise.
26697         * posix/getegid.c: Likewise.
26698         * posix/geteuid.c: Likewise.
26699         * posix/getgid.c: Likewise.
26700         * posix/getgroups.c: Likewise.
26701         * posix/getlogin.c: Likewise.
26702         * posix/getlogin_r.c: Likewise.
26703         * posix/getpgid.c: Likewise.
26704         * posix/getpid.c: Likewise.
26705         * posix/getppid.c: Likewise.
26706         * posix/getresgid.c: Likewise.
26707         * posix/getresuid.c: Likewise.
26708         * posix/getsid.c: Likewise.
26709         * posix/getuid.c: Likewise.
26710         * posix/glob64.c: Likewise.
26711         * posix/nanosleep.c: Likewise.
26712         * posix/pathconf.c: Likewise.
26713         * posix/pause.c: Likewise.
26714         * posix/posix_madvise.c: Likewise.
26715         * posix/pread.c: Likewise.
26716         * posix/pread64.c: Likewise.
26717         * posix/pwrite.c: Likewise.
26718         * posix/pwrite64.c: Likewise.
26719         * posix/sched_getaffinity.c: Likewise.
26720         * posix/sched_getp.c: Likewise.
26721         * posix/sched_gets.c: Likewise.
26722         * posix/sched_primax.c: Likewise.
26723         * posix/sched_primin.c: Likewise.
26724         * posix/sched_rr_gi.c: Likewise.
26725         * posix/sched_setaffinity.c: Likewise.
26726         * posix/sched_setp.c: Likewise.
26727         * posix/sched_sets.c: Likewise.
26728         * posix/sched_yield.c: Likewise.
26729         * posix/setgid.c: Likewise.
26730         * posix/setlogin.c: Likewise.
26731         * posix/setpgid.c: Likewise.
26732         * posix/setresgid.c: Likewise.
26733         * posix/setresuid.c: Likewise.
26734         * posix/setsid.c: Likewise.
26735         * posix/setuid.c: Likewise.
26736         * posix/sleep.c: Likewise.
26737         * posix/spawni.c: Likewise.
26738         * posix/sysconf.c: Likewise.
26739         * posix/times.c: Likewise.
26740         * posix/wait.c: Likewise.
26741         * posix/wait3.c: Likewise.
26742         * posix/wait4.c: Likewise.
26743         * posix/waitpid.c: Likewise.
26744         * resolv/gai_sigqueue.c: Likewise.
26745         * resource/getpriority.c: Likewise.
26746         * resource/getrlimit.c: Likewise.
26747         * resource/getrusage.c: Likewise.
26748         * resource/nice.c: Likewise.
26749         * resource/setpriority.c: Likewise.
26750         * resource/setrlimit.c: Likewise.
26751         * resource/ulimit.c: Likewise.
26752         * rt/aio_cancel.c: Likewise.
26753         * rt/aio_fsync.c: Likewise.
26754         * rt/aio_read.c: Likewise.
26755         * rt/aio_sigqueue.c: Likewise.
26756         * rt/aio_suspend.c: Likewise.
26757         * rt/aio_write.c: Likewise.
26758         * rt/clock_getres.c: Likewise.
26759         * rt/clock_gettime.c: Likewise.
26760         * rt/clock_nanosleep.c: Likewise.
26761         * rt/clock_settime.c: Likewise.
26762         * rt/lio_listio.c: Likewise.
26763         * rt/mq_close.c: Likewise.
26764         * rt/mq_getattr.c: Likewise.
26765         * rt/mq_notify.c: Likewise.
26766         * rt/mq_open.c: Likewise.
26767         * rt/mq_receive.c: Likewise.
26768         * rt/mq_send.c: Likewise.
26769         * rt/mq_setattr.c: Likewise.
26770         * rt/mq_timedreceive.c: Likewise.
26771         * rt/mq_timedsend.c: Likewise.
26772         * rt/mq_unlink.c: Likewise.
26773         * rt/shm_open.c: Likewise.
26774         * rt/shm_unlink.c: Likewise.
26775         * rt/timer_create.c: Likewise.
26776         * rt/timer_delete.c: Likewise.
26777         * rt/timer_getoverr.c: Likewise.
26778         * rt/timer_gettime.c: Likewise.
26779         * rt/timer_settime.c: Likewise.
26780         * setjmp/__longjmp.c: Likewise.
26781         * setjmp/setjmp.c: Likewise.
26782         * signal/kill.c: Likewise.
26783         * signal/killpg.c: Likewise.
26784         * signal/raise.c: Likewise.
26785         * signal/sigaction.c: Likewise.
26786         * signal/sigaltstack.c: Likewise.
26787         * signal/sigblock.c: Likewise.
26788         * signal/sigignore.c: Likewise.
26789         * signal/sigintr.c: Likewise.
26790         * signal/signal.c: Likewise.
26791         * signal/sigpause.c: Likewise.
26792         * signal/sigpending.c: Likewise.
26793         * signal/sigqueue.c: Likewise.
26794         * signal/sigreturn.c: Likewise.
26795         * signal/sigset.c: Likewise.
26796         * signal/sigsetmask.c: Likewise.
26797         * signal/sigstack.c: Likewise.
26798         * signal/sigsuspend.c: Likewise.
26799         * signal/sigtimedwait.c: Likewise.
26800         * signal/sigvec.c: Likewise.
26801         * signal/sigwait.c: Likewise.
26802         * signal/sigwaitinfo.c: Likewise.
26803         * signal/sysv_signal.c: Likewise.
26804         * socket/accept.c: Likewise.
26805         * socket/accept4.c: Likewise.
26806         * socket/bind.c: Likewise.
26807         * socket/connect.c: Likewise.
26808         * socket/getpeername.c: Likewise.
26809         * socket/getsockname.c: Likewise.
26810         * socket/getsockopt.c: Likewise.
26811         * socket/isfdtype.c: Likewise.
26812         * socket/listen.c: Likewise.
26813         * socket/recv.c: Likewise.
26814         * socket/recvfrom.c: Likewise.
26815         * socket/recvmsg.c: Likewise.
26816         * socket/send.c: Likewise.
26817         * socket/sendmsg.c: Likewise.
26818         * socket/sendto.c: Likewise.
26819         * socket/setsockopt.c: Likewise.
26820         * socket/shutdown.c: Likewise.
26821         * socket/sockatmark.c: Likewise.
26822         * socket/socket.c: Likewise.
26823         * socket/socketpair.c: Likewise.
26824         * stdio-common/ctermid.c: Likewise.
26825         * stdio-common/cuserid.c: Likewise.
26826         * stdio-common/remove.c: Likewise.
26827         * stdio-common/rename.c: Likewise.
26828         * stdio-common/renameat.c: Likewise.
26829         * stdio-common/tempname.c: Likewise.
26830         * stdlib/getcontext.c: Likewise.
26831         * stdlib/makecontext.c: Likewise.
26832         * stdlib/setcontext.c: Likewise.
26833         * stdlib/swapcontext.c: Likewise.
26834         * stdlib/system.c: Likewise.
26835         * streams/fattach.c: Likewise.
26836         * streams/fdetach.c: Likewise.
26837         * streams/getmsg.c: Likewise.
26838         * streams/getpmsg.c: Likewise.
26839         * streams/putmsg.c: Likewise.
26840         * streams/putpmsg.c: Likewise.
26841         * sysdeps/unix/bsd/getpt.c: Likewise.
26842         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
26843         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
26844         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
26846         Likewise.
26847         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
26848         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
26849         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
26850         * sysvipc/msgctl.c: Likewise.
26851         * sysvipc/msgget.c: Likewise.
26852         * sysvipc/msgrcv.c: Likewise.
26853         * sysvipc/msgsnd.c: Likewise.
26854         * sysvipc/semctl.c: Likewise.
26855         * sysvipc/semget.c: Likewise.
26856         * sysvipc/semop.c: Likewise.
26857         * sysvipc/semtimedop.c: Likewise.
26858         * sysvipc/shmat.c: Likewise.
26859         * sysvipc/shmctl.c: Likewise.
26860         * sysvipc/shmdt.c: Likewise.
26861         * sysvipc/shmget.c: Likewise.
26862         * termios/tcdrain.c: Likewise.
26863         * termios/tcflow.c: Likewise.
26864         * termios/tcflush.c: Likewise.
26865         * termios/tcgetattr.c: Likewise.
26866         * termios/tcgetpgrp.c: Likewise.
26867         * termios/tcsendbrk.c: Likewise.
26868         * termios/tcsetattr.c: Likewise.
26869         * termios/tcsetpgrp.c: Likewise.
26870         * time/adjtime.c: Likewise.
26871         * time/clock.c: Likewise.
26872         * time/getitimer.c: Likewise.
26873         * time/gettimeofday.c: Likewise.
26874         * time/setitimer.c: Likewise.
26875         * time/settimeofday.c: Likewise.
26876         * time/stime.c: Likewise.
26877         * time/time.c: Likewise.
26878
26879 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
26880
26881         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
26882         /usr/old/bin.
26883
26884         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
26885         instead of spaces.
26886         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
26887
26888 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
26889
26890         [BZ #14796]
26891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
26892         FE_TONEAREST before applying Dekker multiplication and Knuth
26893         addition.  Clear inexact exceptions and check for exact zero
26894         results afterwards.
26895         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
26896         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26897         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
26898         * math/libm-test.inc (fma_test): Add more tests.
26899         (fma_test_towardzero): Likewise.
26900         (fma_test_downward): Likewise.
26901         (fma_test_upward): Likewise.
26902         * sysdeps/generic/math_private.h (default_libc_fesetround): New
26903         function.
26904         (libc_fesetround): New macro.
26905         (libc_fesetroundf): Likewise.
26906         (libc_fesetroundl): Likewise.
26907         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
26908         function.
26909         (libc_fesetround_387): Likewise.
26910         (libc_fesetroundf): New macro.
26911         (libc_fesetround): Likewise.
26912         (libc_fesetroundl): Likewise.
26913         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
26914         function.
26915         (libc_fesetroundf): New macro.
26916         (libc_fesetround): Likewise.
26917         (libc_fesetroundl): Likewise.
26918         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
26919         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
26920         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
26921         libm_hidden_ver.
26922         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
26923         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
26924         libm_hidden_def.
26925         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
26926         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
26927         libm_hidden_ver.
26928         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
26929         libm_hidden_def.
26930
26931         [BZ #3439]
26932         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
26933         integer constant usable in #if and use that to give value to enum
26934         constant.
26935         (FE_DIVBYZERO): Likewise.
26936         (FE_UNDERFLOW): Likewise.
26937         (FE_OVERFLOW): Likewise.
26938         (FE_INVALID): Likewise.
26939         (FE_INVALID_SNAN): Likewise.
26940         (FE_INVALID_ISI): Likewise.
26941         (FE_INVALID_IDI): Likewise.
26942         (FE_INVALID_ZDZ): Likewise.
26943         (FE_INVALID_IMZ): Likewise.
26944         (FE_INVALID_COMPARE): Likewise.
26945         (FE_INVALID_SOFTWARE): Likewise.
26946         (FE_INVALID_SQRT): Likewise.
26947         (FE_INVALID_INTEGER_CONVERSION): Likewise.
26948         (FE_TONEAREST): Likewise.
26949         (FE_TOWARDZERO): Likewise.
26950         (FE_UPWARD): Likewise.
26951         (FE_DOWNWARD): Likewise.
26952         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
26953         (FE_DIVBYZERO): Likewise.
26954         (FE_OVERFLOW): Likewise.
26955         (FE_UNDERFLOW): Likewise.
26956         (FE_INEXACT): Likewise.
26957         (FE_TONEAREST): Likewise.
26958         (FE_DOWNWARD): Likewise.
26959         (FE_UPWARD): Likewise.
26960         (FE_TOWARDZERO): Likewise.
26961         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
26962         (FE_UNDERFLOW): Likewise.
26963         (FE_OVERFLOW): Likewise.
26964         (FE_DIVBYZERO): Likewise.
26965         (FE_INVALID): Likewise.
26966         (FE_TONEAREST): Likewise.
26967         (FE_TOWARDZERO): Likewise.
26968         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
26969         (FE_OVERFLOW): Likewise.
26970         (FE_UNDERFLOW): Likewise.
26971         (FE_DIVBYZERO): Likewise.
26972         (FE_INEXACT): Likewise.
26973         (FE_TONEAREST): Likewise.
26974         (FE_TOWARDZERO): Likewise.
26975         (FE_UPWARD): Likewise.
26976         (FE_DOWNWARD): Likewise.
26977         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
26978         (FE_DIVBYZERO): Likewise.
26979         (FE_OVERFLOW): Likewise.
26980         (FE_UNDERFLOW): Likewise.
26981         (FE_INEXACT): Likewise.
26982         (FE_TONEAREST): Likewise.
26983         (FE_DOWNWARD): Likewise.
26984         (FE_UPWARD): Likewise.
26985         (FE_TOWARDZERO): Likewise.
26986
26987 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
26988
26989         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
26990
26991 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
26992
26993         * scripts/cross-test-ssh.sh (command): Use newlines to separate
26994         commands.  Quote $PWD.
26995         (blacklist_exports): Don't use remove_newlines.  Replace "declare
26996         -x" by "export".
26997         (remove_newlines): Remove.
26998
26999 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
27000
27001         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
27002         * stdlib/stdlib.h (atof): Moved to ...
27003         * include/bits/stdlib-float.h: Here.  New file.
27004         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
27005         * stdlib/bits/stdlib-float.h: New file.
27006         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
27007         -mno-sse -mno-mmx.
27008         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
27009         <xmmintrin.h>.
27010
27011 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27012
27013         * conform/conformtest.pl (@headers): Add fenv.h.
27014         * conform/data/fenv.h-data: New file.
27015         * include/fenv.h [_ISOMAC]: Disable all contents of file except
27016         include of <math/fenv.h>.
27017
27018         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
27019         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
27020         && !UNIX98].  Enables tests for XOPEN2K8.
27021         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
27022         POSIX2008]: Likewise.
27023
27024         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
27025         (struct rusage): Do not expect type or its members.
27026
27027         [BZ #3439]
27028         * math/math.h (FP_NAN): Define macro to integer constant usable in
27029         #if and use that to give value to enum constant.
27030         (FP_INFINITE): Likewise.
27031         (FP_ZERO): Likewise.
27032         (FP_SUBNORMAL): Likewise.
27033         (FP_NORMAL): Likewise.
27034
27035 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
27036
27037         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
27038         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
27039         arguments.
27040
27041 2012-11-02  Roland McGrath  <roland@hack.frob.com>
27042
27043         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
27044         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
27045         autoconf-time if not.
27046         * configure.in: Remove AC_PREREQ.
27047
27048 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27049
27050         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
27051         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
27052         of the internal implementation.
27053
27054 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
27055
27056         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
27057         except include of <misc/sys/syslog.h>.
27058
27059 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27060
27061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
27062         function returns with a NULL context exit with zero.
27063
27064 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27065
27066         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
27067
27068 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
27069
27070         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
27071         (run_program_cmd): This.
27072         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
27073         (tst_langinfo): New variable.  Use it.
27074
27075 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
27076
27077         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
27078         floating point opcodes.
27079
27080 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27081
27082         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
27083         variable.
27084
27085         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
27086
27087         * sysdeps/mach/hurd/powerpc: Remove directory.
27088         * sysdeps/mach/powerpc: Likewise.
27089
27090 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
27091
27092         * scripts/check-local-headers.sh: Ignore c++ headers.
27093
27094 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27095
27096         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
27097         __libc_cleanup_region_start argument.
27098
27099 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
27100
27101         [BZ #14784]
27102         [BZ #14785]
27103         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
27104         x * y using scaling, not as x * y + z.
27105         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27106         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27107         * math/libm-test.inc (fma_test): Add more tests.
27108         (fma_test_towardzero): Likewise.
27109         (fma_test_downward): Likewise.
27110         (fma_test_upward): Likewise.
27111
27112 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
27113
27114         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
27115
27116 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27117
27118         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
27119         New variable.
27120
27121 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
27122
27123         * rt/tst-shm.c (worker): Correct checking for mmap failure.
27124
27125 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27126
27127         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27128         Fix sort order.
27129         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27130         Likewise.
27131
27132 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27133
27134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27135         Fix the order of the list for glibc 2.17.
27136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27137         Likewise.
27138
27139 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
27140
27141         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27142
27143 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
27144
27145         [BZ #14610]
27146         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
27147         for low part of x being zero before using __atanl (y).
27148         * math/libm-test.inc (atan2_test): Add another test.
27149
27150         * manual/install.texi (Configuring and compiling): Document
27151         general use of test-wrapper and test-wrapper-env.
27152         * INSTALL: Regenerated.
27153
27154         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
27155         (__fma): Do not extract and scale down low bits on after-rounding
27156         systems when result rounded to normal precision would have normal
27157         exponent.
27158         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
27159         (__fmal): Do not extract and scale down low bits on after-rounding
27160         systems when result rounded to normal precision would have normal
27161         exponent.
27162         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
27163         (__fmal): Do not extract and scale down low bits on after-rounding
27164         systems when result rounded to normal precision would have normal
27165         exponent.
27166         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
27167         macro.
27168         (fma_test): Add more tests.
27169         (fma_test_towardzero): Likewise.
27170         (fma_test_downward): Likewise.
27171         (fma_test_upward): Likewise.
27172
27173 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
27174
27175         * sysdeps/i386/tininess.h: Renamed to ...
27176         * sysdeps/x86/tininess.h: This.
27177         * sysdeps/x86_64/tininess.h: Removed.
27178
27179 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27180
27181         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
27182         input.  Use $(build-program-cmd).
27183         ($(objpfx)tst-array1-static.out): Likewise.
27184         ($(objpfx)tst-array2.out): Likewise.
27185         ($(objpfx)tst-array3.out): Likewise.
27186         ($(objpfx)tst-array4.out): Likewise.
27187         ($(objpfx)tst-array5.out): Likewise.
27188         ($(objpfx)tst-array5-static.out): Likewise.
27189
27190 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
27191
27192         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
27193         if defined.
27194
27195         * nss/nsswitch.h (nss_interface_function): Provide new
27196         macro for use with NSS functions.
27197         * grp/initgroups.c: Use new macro.
27198         * nss/getXXbyYY.c: Likewise.
27199         * nss/getXXbyYY_r.c: Likewise.
27200         * nss/getXXent.c: Likewise.
27201         * nss/getXXent_r.c: Likewise.
27202         * sysdeps/posix/getaddrinfo.c: Likewise.
27203
27204 2012-10-30  Andreas Jaeger  <aj@suse.de>
27205
27206         * po/ru.po: Update Russion translation from translation project.
27207
27208 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
27209
27210         [BZ #14152]
27211         [BZ #14783]
27212         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
27213         result and shift together with sticky bit instead of replicating
27214         round-to-nearest rounding.
27215         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27216         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27217         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
27218         missing underflow exceptions.
27219         (fma_test_towardzero): Add more tests.
27220         (fma_test_downward): Likewise.
27221         (fma_test_upward): Likewise.
27222
27223         [BZ #14047]
27224         * sysdeps/generic/tininess.h: New file.
27225         * sysdeps/i386/tininess.h: Likewise.
27226         * sysdeps/sh/tininess.h: Likewise.
27227         * sysdeps/x86_64/tininess.h: Likewise.
27228         * stdlib/tst-strtod-underflow.c: Likewise.
27229         * stdlib/tst-tininess.c: Likewise.
27230         * stdlib/strtod_l.c: Include <tininess.h>.
27231         (round_and_return): Do not set errno for exact underflow cases.
27232         Force an underflow exception when setting errno for underflow.
27233         Determine underflow based on rounding to normal precision if
27234         TININESS_AFTER_ROUNDING.
27235         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
27236         ERANGE for exact underflow cases.
27237         * stdlib/Makefile (tests): Add tst-tininess and
27238         tst-strtod-underflow.
27239         ($(objpfx)tst-tininess): Use $(link-libm).
27240         ($(objpfx)tst-strtod-underflow): Likewise.
27241
27242 2012-10-30  Andreas Jaeger  <aj@suse.de>
27243
27244         [BZ#14767]
27245         * elf/Makefile (tests): Remove conditional for have-initfini-array
27246         since this is now always required and the variable does not exist
27247         anymore.
27248         (tests-static): Likewise.
27249         (modules-names): Likewise.
27250
27251         * po/eo.po: Add Esperanto translation from translation project.
27252
27253         * elf/tst-array1.c (fini_array): Make writeable so that it can be
27254         merged with constructor/destructor.
27255         (init_array): Likewise.
27256         * elf/tst-array2dep.c (fini_array): Likewise.
27257         (init_array): Likewise.
27258
27259 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
27260
27261         * manual/message.texi: Delete @cartouche tags.
27262
27263 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
27264
27265         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
27266         EOPNOTSUPP.
27267         * sysdeps/mach/hurd/fsync.c: Likewise.
27268
27269         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
27270         [_POSIX_REALTIME_SIGNALS]: Change condition to
27271         [_POSIX_REALTIME_SIGNALS > 0].
27272
27273 2012-10-27  Andreas Jaeger  <aj@suse.de>
27274
27275         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
27276         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
27277         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
27278         [__WORDSIZE != 64]: Likewise.
27279
27280 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
27281
27282         *  iconvdata/tst-table.sh: Remove ${SHELL}.
27283         *  iconvdata/tst-tables.sh: Likewise.
27284
27285 2012-10-25  David S. Miller  <davem@davemloft.net>
27286
27287         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27288         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
27289         of strtoull.
27290
27291         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
27292         ifunc-impl-list.c
27293         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27294         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
27295         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
27296         file.
27297
27298 2012-10-25  Roland McGrath  <roland@hack.frob.com>
27299
27300         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27301         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
27302         __getdirentries.
27303
27304 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27305             Jim Blandy  <jimb@codesourcery.com>
27306
27307         * scripts/cross-test-ssh.sh: New file.
27308         * manual/install.texi (Configuring and compiling): Document use of
27309         cross-test-ssh.sh.
27310         * INSTALL: Regenerated.
27311
27312 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
27313
27314         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
27315         EOPNOTSUPP.
27316
27317 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
27318
27319         * Makeconfig (run-program-prefix): Fix comment.
27320
27321 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27322             Jim Blandy  <jimb@codesourcery.com>
27323
27324         * Makeconfig (test-wrapper): New variable,
27325         (test-wrapper-env): Likewise.
27326         [$(cross-compiling) = yes && $(test-wrapper) != ""]
27327         (run-built-tests): Define to yes.
27328         (run-program-prefix): Use $(test-wrapper).
27329         (built-program-cmd): Likewise.
27330         * Rules (make-test-out): Use $(test-wrapper-env) and
27331         $(host-built-program-cmd).
27332         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
27333         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
27334         tst-pathopt.sh.
27335         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
27336         $(test-wrapper-env) to tst-rtld-load-self.sh.
27337         ($(objpfx)order2.out): Use $(test-wrapper).
27338         ($(objpfx)tst-initorder.out): Likewise.
27339         ($(objpfx)tst-initorder2.out): Likewise.
27340         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
27341         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
27342         (test_wrapper_env): New variable.  Use it to run ld.so.
27343         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
27344         Use it to run ld.so.
27345         (test_wrapper_env): Likewise.
27346         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
27347         $(test-wrapper) to run-iconv-test.sh.
27348         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
27349         (ICONV): Use $test_wrapper.
27350         * posix/Makefile ($(objpfx)globtest.out): Pass
27351         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
27352         globtest.sh, not $(run-program-prefix).
27353         * posix/globtest.sh (run_via_rtld_prefix): New variable.
27354         (test_wrapper): Likewise.
27355         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
27356         set together with run_via_rtld_prefix.
27357         (run_program_prefix): Define in terms of test_wrapper and
27358         run_via_rtld_prefix.
27359
27360 2012-10-24  Roland McGrath  <roland@hack.frob.com>
27361
27362         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
27363         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
27364         Targets removed.
27365
27366         [BZ #14743]
27367         * include/time.h: Remove librt_hidden_proto (clock_gettime).
27368         Declare __clock_getres, __clock_gettime, __clock_settime,
27369         __clock_nanosleep, and __clock_getcpuclockid.
27370         * rt/clock_gettime.c: Define __clock_gettime as an alias.
27371         Remove librt_hidden_def (clock_gettime).
27372         * sysdeps/unix/clock_gettime.c: Likewise.
27373         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
27374         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
27375         * rt/clock_getres.c: Define __clock_getres as an alias.
27376         * sysdeps/posix/clock_getres.c: Likewise.
27377         * rt/clock_settime.c: Define __clock_settime as an alias.
27378         * sysdeps/unix/clock_settime.c: Likewise.
27379         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
27380         * sysdeps/unix/clock_nanosleep.c: Likewise.
27381         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
27382         * rt/clock-compat.c: New file.
27383         * rt/Makefile (librt-routines): Add clock-compat and move
27384         $(clock-routines) to ...
27385         (routines): ... here, new variable.
27386         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
27387         Don't add get_clockfreq here.
27388         * rt/Versions (libc: GLIBC_2.17): New version set.
27389         Add clock_* symbols here.
27390         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
27391         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
27392         (GLIBC_2.17): Add clock_* symbols.
27393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27395         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27397         Likewise.
27398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27399         Likewise.
27400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27404         * NEWS: Mention the move.
27405
27406         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
27407         Use __open, __read, __close rather than their public counterparts.
27408         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27409         (__get_clockfreq_via_cpuinfo): Likewise.
27410         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
27411         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
27412
27413         * config.h.in (HAVE_IFUNC): New #undef.
27414         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
27415         was successful.
27416         * configure: Regenerated.
27417
27418 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27419
27420         * configure.in: Move READELF check to start of file.
27421         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
27422         libc_cv_asm_gnu_indirect_function in the process.
27423         * configure: Regenerated.
27424
27425 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
27426
27427         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
27428         send the output to /dev/null.
27429         (libc_cv_cc_with_libunwind): Likewise.
27430         (libc_cv_as_noexecstack): Likewise.
27431         * configure: Regenerate.
27432
27433 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
27434
27435         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
27436
27437         * posix/globtest.sh (TMPDIR): Do not set.
27438         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
27439         (testout): Likewise.
27440
27441 2012-10-24  Andreas Jaeger  <aj@suse.de>
27442
27443         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
27444         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
27445         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
27446         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
27447         posix_fadvise64, posix_fallocate64.
27448
27449         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
27450         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
27451         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
27452         Likewise.
27453         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
27454         Likewise.
27455         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
27456
27457         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
27458         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
27459         <bits/fcntl-linux.h>.
27460         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
27461
27462         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
27463         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
27464         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
27465         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
27466         [__WORDSIZE != 64]: Likewise.
27467
27468 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27469
27470         * Makeconfig (run-built-tests): New variable.
27471         * Rules [$(cross-compiling) = yes]: Change condition to
27472         [$(run-built-tests) = no].
27473         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
27474         to [$(run-built-tests) = yes].
27475         * elf/Makefile [$(cross-compiling) = no]: Likewise
27476         * grp/Makefile [$(cross-compiling) = no]: Likewise.
27477         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
27478         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
27479         * intl/Makefile [$(cross-compiling) = no]: Likewise.
27480         * io/Makefile [$(cross-compiling) = no]: Likewise.
27481         * libio/Makefile [$(cross-compiling) = no]: Likewise.
27482         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
27483         * misc/Makefile [$(cross-compiling) = no]: Likewise.
27484         * posix/Makefile [$(cross-compiling) = no]: Likewise.
27485         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
27486         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
27487         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
27488         * string/Makefile [$(cross-compiling) = no]: Likewise.
27489
27490         * posix/Makefile ($(objpfx)globtest.out): Pass
27491         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
27492         $(rtld-installed-name).
27493         * posix/globtest.sh (elf_objpfx): Remove variable.
27494         (rtld_installed_name): Likewise.
27495         (library_path): Likewise.
27496         (run_program_prefix): New variable.  Use for running globtest
27497         binary.
27498
27499 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
27500             Joseph Myers  <joseph@codesourcery.com>
27501
27502         * Makeconfig (host-built-program-cmd): New variable.
27503         * elf/Makefile (tst-stackguard1-ARGS): Use
27504         $(host-built-program-cmd).
27505         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
27506         (tst-spawn-ARGS): Likewise.
27507         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
27508
27509 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
27510             Jim Blandy  <jimb@codesourcery.com>
27511
27512         * Makeconfig (run-via-rtld-prefix): New variable.
27513         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
27514         (built-program-cmd): Likewise.
27515
27516 2012-10-22  Andreas Jaeger  <aj@suse.de>
27517
27518         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
27519         __O_RSYNC if it exists, otherwise to O_SYNC.
27520
27521 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
27522             Joseph Myers  <joseph@codesourcery.com>
27523
27524         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
27525         /dev/null.
27526         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
27527         from /dev/null
27528         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
27529         /dev/null.
27530
27531 2012-10-22  Andreas Jaeger  <aj@suse.de>
27532
27533         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
27534         Define always.
27535         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
27536
27537         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27538         bits/fcntl-linux.h.
27539
27540         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
27541         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
27542
27543         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
27544         to __O_LARGEFILE.
27545         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
27546         to __O_LARGEFILE.
27547
27548 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
27549             Joseph Myers  <joseph@codesourcery.com>
27550
27551         * config.make.in (NM): New variable.
27552
27553 2012-10-21  Andreas Jaeger  <aj@suse.de>
27554
27555         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
27556         definitions and declarations that are provided by
27557         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
27558
27559 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27560
27561         [BZ #14683]
27562         * elf/Makefile (tests-static): Add tst-leaks1-static.
27563         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
27564         ($(objpfx)tst-leaks1-static): New rule.
27565         ($(objpfx)tst-leaks1-static-mem): Likewise.
27566         (tst-leaks1-static-ENV): New macro.
27567         * elf/dl-open.c (dl_open_worker): Check the main application
27568         only if SHARED is defined.
27569         * elf/tst-leaks1-static.c: New file.
27570
27571 2012-10-20  Andreas Jaeger  <aj@suse.de>
27572
27573         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
27574         generic values for Linux.
27575         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
27576         and declarations that are provided by <bits/fcntl-linux.h> and
27577         include <bits/fcntl-linux.h>.
27578         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
27579         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
27580
27581 2012-10-20  Roland McGrath  <roland@hack.frob.com>
27582
27583         * io/fcntl.h: Move include of <bits/types.h> to the top and
27584         include it unconditionally.
27585
27586 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
27587
27588         * wcsmbs/Makefile (tests-ifunc): New variable.
27589         (tests): Add $(tests-ifunc).
27590         * wcsmbs/test-wcschr-ifunc.c: New file.
27591         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
27592         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
27593         * wcsmbs/test-wcslen-ifunc.c: Likewise.
27594         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
27595         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
27596
27597         * string/Makefile (tests-ifunc): New variable.
27598         (tests): Add $(tests-ifunc).
27599         * string/test-memccpy.c (TEST_NAME): New macro.
27600         * string/test-memchr.c (TEST_NAME): Likewise.
27601         * string/test-memcmp.c (TEST_NAME): Likewise.
27602         * string/test-memcpy.c (TEST_NAME): Likewise.
27603         * string/test-memmem.c (TEST_NAME): Likewise.
27604         * string/test-memmove.c (TEST_NAME): Likewise.
27605         * string/test-memset.c (TEST_NAME): Likewise.
27606         * string/test-rawmemchr.c (TEST_NAME): Likewise.
27607         * string/test-stpcpy.c (TEST_NAME): Likewise.
27608         * string/test-stpncpy.c (TEST_NAME): Likewise.
27609         * string/test-strcasecmp.c (TEST_NAME): Likewise.
27610         * string/test-strcasestr.c (TEST_NAME): Likewise.
27611         * string/test-strcat.c (TEST_NAME): Likewise.
27612         * string/test-strchr.c (TEST_NAME): Likewise.
27613         * string/test-strcmp.c(TEST_NAME): Likewise.
27614         * string/test-strcpy.c (TEST_NAME): Likewise.
27615         * string/test-strcspn.c (TEST_NAME): Likewise.
27616         * string/test-strlen.c (TEST_NAME): Likewise.
27617         * string/test-strncasecmp.c (TEST_NAME): Likewise.
27618         * string/test-strncmp.c (TEST_NAME): Likewise.
27619         * string/test-strncpy.c (TEST_NAME): Likewise.
27620         * string/test-strnlen.c (TEST_NAME): Likewise.
27621         * string/test-strpbrk.c (TEST_NAME): Likewise.
27622         * string/test-strrchr.c (TEST_NAME): Likewise.
27623         * string/test-strspn.c (TEST_NAME): Likewise.
27624         * string/test-strstr.c (TEST_NAME): Likewise.
27625         * string/test-bcopy-ifunc.c: New file.
27626         * string/test-bzero-ifunc.c: Likewise.
27627         * string/test-memccpy-ifunc.c: Likewise.
27628         * string/test-memchr-ifunc.c: Likewise.
27629         * string/test-memcmp-ifunc.c: Likewise.
27630         * string/test-memcpy-ifunc.c: Likewise.
27631         * string/test-memmem-ifunc.c: Likewise.
27632         * string/test-memmove-ifunc.c: Likewise.
27633         * string/test-mempcpy-ifunc.c: Likewise.
27634         * string/test-memset-ifunc.c: Likewise.
27635         * string/test-rawmemchr-ifunc.c: Likewise.
27636         * string/test-stpcpy-ifunc.c: Likewise.
27637         * string/test-stpncpy-ifunc.c: Likewise.
27638         * string/test-strcasecmp-ifunc.c: Likewise.
27639         * string/test-strcasestr-ifunc.c: Likewise.
27640         * string/test-strcat-ifunc.c: Likewise.
27641         * string/test-strchr-ifunc.c: Likewise.
27642         * string/test-strchrnul-ifunc.c: Likewise.
27643         * string/test-strcmp-ifunc.c: Likewise.
27644         * string/test-strcpy-ifunc.c: Likewise.
27645         * string/test-strcspn-ifunc.c: Likewise.
27646         * string/test-strlen-ifunc.c: Likewise.
27647         * string/test-strncasecmp-ifunc.c: Likewise.
27648         * string/test-strncat-ifunc.c: Likewise.
27649         * string/test-strncmp-ifunc.c: Likewise.
27650         * string/test-strncpy-ifunc.c: Likewise.
27651         * string/test-strnlen-ifunc.c: Likewise.
27652         * string/test-strpbrk-ifunc.c: Likewise.
27653         * string/test-strrchr-ifunc.c: Likewise.
27654         * string/test-strspn-ifunc.c: Likewise.
27655         * string/test-strstr-ifunc.c: Likewise.
27656
27657         * debug/Makefile (tests-ifunc): New variable.
27658         (tests): Add $(tests-ifunc).
27659         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
27660         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
27661         * debug/test-stpcpy_chk-ifunc.c: New file.
27662         * debug/test-strcpy_chk-ifunc.c: Likewise.
27663
27664 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27665
27666         [BZ #13601]
27667         * elf/dl-load.c (open_verify): Retry read if the entire ELF
27668         header is not read in.
27669
27670 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
27671
27672         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
27673         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
27674         directly.  Pass built executable to script as
27675         $(built-program-cmd).
27676         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
27677         $testprogram without using LD_LIBRARY_PATH and $ldso.
27678
27679         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
27680         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
27681         $(rtld-installed-name).
27682         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
27683         (rtld_installed_name): Likewise.
27684         (library_path): Likewise.
27685         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
27686         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
27687         $(run-program-prefix) to tst-tables.sh.
27688         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
27689         it to run tst-table-from and tst-table-to.
27690         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
27691         Pass it to tst-table.sh.
27692         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
27693         $(run-program-prefix) to tst-gettext.sh.
27694         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
27695         tst-translit.sh.
27696         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
27697         tst-gettext2.sh.
27698         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
27699         to run tst-gettext.
27700         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
27701         to run tst-gettext2.
27702         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
27703         to run tst-translit.
27704         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
27705         $(run-program-prefix) to tst-mtrace.sh.
27706         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
27707         to run tst-mtrace.
27708         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
27709         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
27710         $(rtld-installed-name).
27711         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
27712         (rtld_installed_name): Likewise.
27713         (run_program_prefix): New variable.  Use it to run wordexp-test.
27714
27715         * Makeconfig (ARCH): Remove all definitions.
27716         (machine): Likewise.
27717         [ARCH]: Remove conditional code.
27718         [!objdir]: Give error.
27719         [!objdir] (objpfx): Remove.
27720         [!objdir] (common-objpfx): Likewise.
27721         [!objdir] (common-objdir): Likewise.
27722         * configure.in (config_makefile): Remove.  Hardcode Makefile in
27723         AC_CONFIG_FILES call.
27724         * configure: Regenerated.
27725
27726         [BZ #13888]
27727         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
27728         or TMPDIR.
27729         (testout): Likewise.
27730
27731         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
27732         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
27733         $(rtld-installed-name).
27734         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
27735         (rtld_installed_name): Likwise.
27736         (runit): Remove function.
27737         (run_getconf): New variable,  Use it for running getconf binary.
27738
27739 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
27740
27741         [BZ #14716]
27742         * string/test-memmem.c (check_result): New function.
27743         (do_one_test): Use it.
27744         (check1): New function.
27745         (test_main): Use it.
27746
27747 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
27748
27749         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
27750
27751 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
27752
27753         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
27754         (_G_LSEEK64): Likewise.
27755         (_G_MMAP64): Likewise.
27756         (_G_FSTAT64): Likewise.
27757         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
27758         (_G_LSEEK64): Likewise.
27759         (_G_MMAP64): Likewise.
27760         (_G_FSTAT64): Likewise.
27761         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
27762         unconditional.  Call __mmap64 directly.
27763         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
27764         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
27765         __lseek64 directly.
27766         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
27767         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
27768         __mmap64 directly.
27769         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
27770         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27771         __lseek64 directly.
27772         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
27773         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
27774         __lseek64 directly.
27775         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
27776         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
27777         __lseek64 directly.
27778         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
27779         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
27780         __fxstat64 directly.
27781         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
27782         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
27783         unconditional.
27784         (freopen64) [!_G_OPEN64]: Remove conditional code.
27785         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
27786         unconditional.
27787         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
27788         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
27789         unconditional.
27790         (ftello64) [!_G_LSEEK64]: Remove conditional code.
27791         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
27792         unconditional.
27793         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27794         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
27795         unconditional.
27796         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
27797         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
27798         unconditional.
27799         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27800         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
27801         unconditional.
27802         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
27803         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
27804         unconditional.
27805         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
27806
27807 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27808
27809         [BZ #12140]
27810         * manual/memory.texi (Malloc Tunable Parameters): Add note
27811         about free list pointers overwriting some perturb bytes.
27812         Wording suggested by Roland McGrath.
27813
27814 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
27815
27816         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
27817         (lgamma_test): Likewise.
27818         (tgamma_test): Likewise.
27819
27820 2012-10-16  Florian Weimer  <fweimer@redhat.com>
27821
27822         [BZ #14700]
27823         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
27824         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
27825
27826 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
27827
27828         * NEWS: Mention BZ #14716.
27829         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
27830         when removing AVAILABLE1_USES_J macro.
27831
27832 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
27833
27834         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
27835         (__bswap_64): __uint64_t for unsigned 64-bit int.
27836
27837 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
27838
27839         * include/string.h (memmem): Declare libc hidden alias.
27840         * string/memmem.c (memmem): Define libc hidden alias.
27841         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
27842         __read, __close instead of open, read, close.
27843
27844 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
27845
27846         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
27847         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
27848         global and hidden.
27849         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
27850         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
27851         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
27852         Likewise.
27853         (__rawmemchr_sse2): Likewise.
27854         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
27855         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
27856         (__strchr_sse2): Likewise.
27857         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
27858         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
27859         (__strcasecmp_sse2): Likewise.
27860         (__strncasecmp_sse2): Likewise.
27861         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
27862         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
27863         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
27864         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
27865         (__strrchr_sse2): Likewise.
27866         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
27867         ifunc-impl-list.c.
27868         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
27869         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
27870         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
27871         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
27872         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
27873         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
27874         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27875         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27876         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
27877         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
27878         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
27879         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
27880         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
27881         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
27882         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
27883         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
27884         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
27885         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
27886         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
27887         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
27888         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
27889         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
27890         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
27891         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27892         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
27893         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27894         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27895         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
27896         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
27897         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
27898
27899         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
27900         global and hidden.
27901         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
27902         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
27903         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
27904         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
27905         Likewise.
27906         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
27907         Likewise.
27908         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
27909         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
27910         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
27911         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
27912         ifunc-impl-list.c.
27913         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
27914         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
27915         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
27916         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27917         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27918         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27919         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27920         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27921         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27922         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
27923         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
27924         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
27925         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
27926         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
27927         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
27928         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
27929         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
27930         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
27931         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
27932         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
27933         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
27934         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
27935         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
27936         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
27937         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
27938         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
27939         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
27940         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
27941         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
27942         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
27943         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
27944         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
27945         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
27946         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
27947         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
27948         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
27949         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
27950         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
27951         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
27952         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
27953         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
27954
27955         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
27956         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
27957         * include/ifunc-impl-list.h: New file.
27958         * misc/ifunc-impl-list.c: Likewise.
27959         * misc/Makefile (routines): Add ifunc-impl-list.
27960         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
27961         * string/test-string.h: Include <ifunc-impl-list.h>.
27962         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
27963         TEST_NAME]: New variables.
27964         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
27965         are defined.
27966         (test_init): Call __libc_ifunc_impl_list to initialize
27967         func_list if TEST_IFUNC and TEST_NAME are defined.
27968
27969         * string/Makefile (strop-tests): Add bcopy and bzero.
27970         * string/test-bcopy.c: New file.
27971         * string/test-bzero.c: Likewise.
27972         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
27973         defined.
27974         * string/test-memset.c: Support bzero test if TEST_BZERO is
27975         defined.
27976         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
27977         __libc_memmove.
27978         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
27979         __libc_memset.
27980         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
27981         of memset.
27982
27983 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
27984
27985         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
27986         * configure: Regenerated.
27987
27988         * Makeconfig (+link-static-before-libc): Don't include
27989         $(link-static-libc).
27990
27991         * libio/libio.h (_IO_pos_t): Remove.
27992
27993 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27994
27995         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
27996         McGrath.
27997
27998 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
27999
28000         * crypt/crypt-entry.c: Include fips-private.h.
28001         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
28002         * crypt/md5c-test.c (main): Tolerate disabled MD5.
28003         * sysdeps/unix/sysv/linux/fips-private.h: New file.
28004         * sysdeps/generic/fips-private.h: New file, dummy fallback.
28005
28006 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
28007
28008         * crypt/crypt-private.h: Include stdbool.h.
28009         (_ufc_setup_salt_r): Return bool.
28010         * crypt/crypt-entry.c: Include errno.h.
28011         (__crypt_r): Return NULL with EINVAL for bad salt.
28012         * crypt/crypt_util.c (bad_for_salt): New.
28013         (_ufc_setup_salt_r): Check that salt is long enough and within
28014         the specified alphabet.
28015         * crypt/badsalttest.c: New file.
28016         * crypt/Makefile (tests): Add it.
28017         ($(objpfx)badsalttest): New.
28018
28019 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
28020
28021         * NEWS: Add entry for BZ #14602.
28022
28023 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28024
28025         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
28026         type-generic.
28027         * math/libm-test.inc: Update comment listing what functions and
28028         macros are tested.
28029         (isgreater_test): New function.
28030         (isgreaterequal_test): Likewise.
28031         (isless_test): Likewise.
28032         (islessequal_test): Likewise.
28033         (islessgreater_test): Likewise.
28034         (isunordered_test): Likewise.
28035         (main): Call the new functions.
28036
28037 2012-10-09  Roland McGrath  <roland@hack.frob.com>
28038
28039         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
28040         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
28041         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
28042         * sysdeps/i386/configure: Regenerated.
28043         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
28044         * sysdeps/mach/configure: Regenerated.
28045         * sysdeps/mach/hurd/configure: Regenerated.
28046         * sysdeps/powerpc/configure: Regenerated.
28047         * sysdeps/powerpc/powerpc32/configure: Regenerated.
28048         * sysdeps/powerpc/powerpc64/configure: Regenerated.
28049         * sysdeps/s390/s390-32/configure: Regenerated.
28050         * sysdeps/s390/s390-64/configure: Regenerated.
28051         * sysdeps/sh/configure: Regenerated.
28052         * sysdeps/sparc/configure: Regenerated.
28053         * sysdeps/unix/sysv/linux/configure: Regenerated.
28054         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
28055         * sysdeps/x86_64/configure: Regenerated.
28056
28057         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
28058         defined.  Don't check if MAP is NULL.
28059
28060 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
28061
28062         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
28063         (_G_stat64): Likewise.
28064         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
28065         (_G_stat64): Likewise.
28066         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
28067         instead of struct _G_stat64.
28068         * libio/fileops.c (mmap_remap_check): Likewise.
28069         (decide_maybe_mmap): Likewise.
28070         (_IO_new_file_seekoff): Likewise.
28071         (_IO_file_stat): Likewise.
28072         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
28073         _G_off64_t.
28074         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
28075         instead of struct _G_stat64.
28076         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28077
28078 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
28079
28080         [BZ #14602]
28081         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28082         Replace with ...
28083         (CHECK_EOL): New macro.
28084         (two_way_short_needle): Check beginning of haystack for EOL.  Use
28085         CHECK_EOL.
28086         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28087         Replace with CHECK_EOL.
28088         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
28089         Replace with CHECK_EOL.
28090
28091 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
28092
28093         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
28094         type-generic.
28095         * math/libm-test.inc: Update comment listing what functions and
28096         macros are tested.
28097         (finite_test): New function.
28098         (isinf_test): Likewise.
28099         (isnan_test): Likewise.
28100         (fpclassify_test): Test subnormal input.
28101         (isfinite_test): Likewise.
28102         (isnormal_test): Likewise.
28103         (main): Call the new functions.
28104
28105 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
28106
28107         [BZ #14660]
28108         * Makerules (%.dynsym): Force C locale when running
28109         $(OBJDUMP) --dynamic-syms.
28110
28111 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
28112
28113         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
28114         <stdint.h>.
28115
28116 2012-10-06  David S. Miller  <davem@davemloft.net>
28117
28118         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
28119         upper 32-bits of the length value in %o2 since we use branch-on-register
28120         tests which consider the entire 64-bit register.
28121
28122 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
28123
28124         * string/test-strstr.c (check2): Add a test for page boundary.
28125
28126 2012-10-05  David S. Miller  <davem@davemloft.net>
28127
28128         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
28129         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
28130         file.
28131         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28132         sysdep_routines.
28133         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28134         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
28135         and bzero when HWCAP_SPARC_CRYPTO is present.
28136
28137 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
28138
28139         [BZ #14602]
28140         * string/test-strstr.c (check2): New function.
28141         (test_main): Call check2.
28142
28143         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
28144         and bug-strchr1.
28145         * string/bug-strcasestr1.c (do_test): Moved to ...
28146         * string/test-strcasestr.c (check1): Here.  New function.
28147         (do_one_test): Break out result checking code into ...
28148         (check_result): This.  New function.
28149         (do_one_test): Call check_result.
28150         (test_main): Call check1.
28151         * string/bug-strchr1.c (do_test): Moved to ...
28152         * string/test-strchr.c (check1): Here.  New function.
28153         (do_one_test): Break out result checking code into ...
28154         (check_result): This.  New function.
28155         (do_one_test): Call check_result.
28156         (test_main): Call check1.
28157         * string/bug-strstr1.c (main): Moved to ...
28158         * string/test-strstr.c (check1): Here.  New function.
28159         (do_one_test): Break out result checking code into ...
28160         (check_result): This.  New function.
28161         (do_one_test): Call check_result.
28162         (test_main): Call check1.
28163         * string/bug-strcasestr1.c: Removed.
28164         * string/bug-strchr1.c: Likewise.
28165         * string/bug-strstr1.c: Likewise.
28166
28167         * elf/Makefile (dl-routines): Add hwcaps.
28168         * elf/dl-support.c (_dl_important_hwcaps): Removed.
28169         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
28170         (_dl_important_hwcaps): Moved to ...
28171         * elf/dl-hwcaps.c: Here.  New file.
28172         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
28173
28174         [BZ #14557]
28175         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
28176         if IS_IN_rtld isn't defined.
28177
28178         * elf/dl-support.c (_dl_sysinfo_map): New.
28179         Include "get-dynamic-info.h" and "setup-vdso.h".
28180         (_dl_non_dynamic_init): Call setup_vdso.
28181         * elf/dynamic-link.h: Don't include <assert.h>.
28182         (elf_get_dynamic_info): Moved to ...
28183         * elf/get-dynamic-info.h: Here.  New file.
28184         * elf/dynamic-link.h: Include "get-dynamic-info.h".
28185         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
28186         * elf/setup-vdso.h: Here.  New file.
28187         * elf/rtld.c: Include "setup-vdso.h".
28188         (dl_main): Call setup_vdso.
28189
28190 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
28191
28192         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
28193         creal in comment listing functions tested.  List finite, isinf,
28194         isnan, isless, islessequal, isgreater, isgreaterequal,
28195         islessgreater, isunordered, lgamma_r and pow10 as functions and
28196         macros not tested.  Mention which functions not tested are aliases
28197         for other functions.  Fix typo.  Note that signs of NaNs are not
28198         tested.
28199
28200         * scripts/config.guess: Update from config.git.
28201         * scripts/config.sub: Likewise.
28202
28203 2012-10-04  Roland McGrath  <roland@hack.frob.com>
28204
28205         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
28206         * misc/madvise.c (madvise): Renamed to __madvise.
28207         Make madvise a weak alias.
28208         * include/sys/mman.h: Declare __madvise.
28209         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
28210         * sysdeps/unix/syscalls.list
28211         (madvise): Make __madvise the strong name, and madvise a weak alias.
28212         * sysdeps/unix/sysv/linux/syscalls.list
28213         (madvise, mmap): Remove redundant entries.
28214         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
28215         * malloc/malloc.c (mtrim): Likewise.
28216         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
28217
28218 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28219
28220         * sysdeps/mach/hurd/dl-cache.c: File removed.
28221         * config.h.in (USE_LDCONFIG): New #undef.
28222         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
28223         * configure: Regenerated.
28224         * elf/Makefile (dl-routines): Add dl-cache only under
28225         [$(use-ldconfig) = yes].
28226         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
28227         cache on [USE_LDCONFIG].
28228         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
28229         [USE_LDCONFIG].
28230         * elf/rtld.c (dl_main): Likewise.
28231
28232 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
28233
28234         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
28235         _SC_LEVEL4_CACHE_LINESIZE.
28236
28237 2012-10-03  Roland McGrath  <roland@hack.frob.com>
28238
28239         * sysdeps/unix/bsd/confstr.h: File removed.
28240
28241 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
28242
28243         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
28244         sys/sdt-config.h.
28245
28246 2012-10-02  Roland McGrath  <roland@hack.frob.com>
28247
28248         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
28249         Make 'mapoff' field ElfW(Off) rather than off_t.
28250
28251 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
28252
28253         * nscd/Makefile: Remove nscd-cflags and all its users.
28254         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
28255         (CFLAGS-nonlib): Add compiler flags for nscd modules.
28256
28257         [BZ #10631]
28258         * malloc.c (malloc_printerr): Clarify error message.
28259
28260 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
28261
28262         [BZ #14648]
28263         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28264         Set bit_FMA_Usable if FMA is supported.
28265         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
28266         macro.
28267         (bit_FMA4_Usable): Updated.
28268         (index_FMA_Usable): New macro.
28269         (CPUID_FMA): Likewise
28270         (HAS_FMA): Defined with bit_FMA_Usable.
28271
28272 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28273
28274         * bits/types.h (__swblk_t): Type removed.
28275         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
28276         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
28277         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28278         (__SWBLK_T_TYPE): Likewise.
28279         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28280         (__SWBLK_T_TYPE): Likewise.
28281         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28282         (__SWBLK_T_TYPE): Likewise.
28283         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28284         (__SWBLK_T_TYPE): Likewise.
28285
28286 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
28287             Honza Horak <hhorak@redhat.com>
28288
28289         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
28290         (xdr_mapname): Use YPMAXMAP as maxsize.
28291         (xdr_peername): Use YPMAXPEER as maxsize.
28292         (xdr_keydat): Use YPAXRECORD as maxsize.
28293         (xdr_valdat): Use YPMAXRECORD as maxsize.
28294
28295 2012-10-01  Roland McGrath  <roland@hack.frob.com>
28296
28297         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
28298
28299         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
28300         * csu/init-first.c: ... here.
28301         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
28302         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28303         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
28304         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
28305         * sysdeps/i386/init-first.c: File removed.
28306         * sysdeps/sh/init-first.c: File removed.
28307
28308 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
28309
28310         [BZ #14645]
28311         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
28312         if x * y might underflow to zero and z is zero.
28313         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
28314         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28315         * math/libm-test.inc (min_subnorm_value): New variable.
28316         (fma_test): Add more tests.
28317         (fma_test_towardzero): Likewise.
28318         (fma_test_downward): Likewise
28319         (fma_test_upward): Likewise.
28320         (initialize): Set min_subnorm_value.
28321
28322 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
28323
28324         [BZ #14638]
28325         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
28326         0 + 0.
28327         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
28328         mode for addition resulting in exact zero.
28329         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
28330         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
28331         exact 0 + 0.
28332         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
28333         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
28334         * math/libm-test.inc (fma_test): Add more tests.
28335         (fma_test_towardzero): New function.
28336         (fma_test_downward): Likewise.
28337         (fma_test_upward): Likewise.
28338         (main): Call the new functions.
28339
28340 2012-09-28  David S. Miller  <davem@davemloft.net>
28341
28342         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
28343
28344 2012-09-28  Roland McGrath  <roland@hack.frob.com>
28345
28346         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
28347         instead of SIGALRM.
28348
28349         * sysdeps/gnu/_G_config.h: Moved to ...
28350         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
28351         * sysdeps/mach/hurd/_G_config.h: Moved to ...
28352         * sysdeps/generic/_G_config.h: ... here.
28353
28354         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
28355
28356         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
28357
28358         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
28359         Conditionalize target on [libnss_test1.so-version].
28360
28361         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
28362
28363         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
28364         (elfobjdir): Move out of conditionals.
28365
28366         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
28367         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
28368         (__nss_lookup_function): Conditionalize label remove_from_tree on
28369         [!DO_STATIC_NSS || SHARED], matching its only use.
28370
28371 2012-09-28  David S. Miller  <davem@davemloft.net>
28372
28373         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
28374         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
28375         file.
28376         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
28377         sysdep_routines.
28378         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
28379         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
28380         when HWCAP_SPARC_CRYPTO is present.
28381
28382 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28383
28384         * io/tst-mknodat.c: Create a FIFO instead of a socket.
28385
28386 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
28387
28388         [BZ #6530]
28389         * stdio-common/vfprintf.c (process_string_arg): Revert
28390         2000-07-22 change.
28391
28392 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
28393
28394         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
28395         for testcase.
28396         * stdio-common/tst-sprintf.c: Include <locale.h>
28397         (main): Test sprintf's handling of incomplete multibyte
28398         characters.
28399
28400 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
28401
28402         * elf/dl-runtime.c (VERSYMIDX): Removed.
28403         * elf/dl-version.c (VERSYMIDX): Likewise.
28404         * elf/do-rel.h (VERSYMIDX): Likewise.
28405         (VALIDX): Likewise.
28406         * elf/dynamic-link.h (VERSYMIDX): Likewise.
28407         * elf/rtld.c (VALIDX): Likewise.
28408         (ADDRIDX): Likewise.
28409         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
28410         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
28411         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
28412         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
28413         (VALIDX): Likewise.
28414         (ADDRIDX): Likewise.
28415
28416 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28417
28418         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
28419
28420 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
28421
28422         [BZ #11438]
28423         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
28424         to global scope.
28425         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
28426         addresses are in the same scope as 192.0.2/24.
28427         * posix/gai.conf: Document new scope table defaults.
28428
28429 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28430
28431         [BZ #5298]
28432         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
28433         for ftell.  Compute offsets from write pointers instead.
28434         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
28435
28436 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28437
28438         [BZ #14543]
28439         * libio/Makefile (tests): New test case tst-fseek.
28440         * libio/tst-fseek.c: New test case to verify that fseek/ftell
28441         combination works in wide mode.
28442         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
28443         state when the external buffer state changes.
28444
28445 2012-09-27  David S. Miller  <davem@davemloft.net>
28446
28447         [BZ #14376]
28448         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
28449         pass reloc->r_addend in as the 'high' argument to
28450         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
28451
28452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28453
28454 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
28455
28456         * rt/tst-aio2.c: Include <pthread.h>.
28457         * rt/tst-aio3.c: Likewise.
28458
28459 2012-09-27  Steve Ellcey  <sellcey@mips.com>
28460
28461         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
28462
28463 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
28464
28465         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
28466         contents on [SHARED].
28467
28468 2012-09-26  Marek Polacek  <polacek@redhat.com>
28469
28470         [BZ #14530]
28471         [BZ #13741]
28472         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
28473         for C++ and GCC <4.3 as well as for non GCC compilers.
28474
28475 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28476
28477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28478
28479 2012-09-25  Roland McGrath  <roland@hack.frob.com>
28480
28481         * Makefile.in (all, install): Declare with .PHONY.
28482         Reported by Michael Hope <michael.hope@linaro.org>.
28483
28484 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28485
28486         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
28487         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
28488         system header.
28489         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
28490         Likewise.
28491         (sydep_routines): Add the new and the internal functions.
28492         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
28493         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
28494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
28495         (GLIBC_2.17): Add the new function.
28496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28497         (GLIBC_2.17): Likewise.
28498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
28499         (GLIBC_2.17): Likewise.
28500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
28501         (GLIBC_2.17): Likewise.
28502         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
28503
28504 2012-09-25  Alan Modra  <amodra@gmail.com>
28505
28506         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
28507         Add release barrier before setting once_control to say
28508         initialisation is done.  Add hints on lwarx.  Use macro in
28509         place of isync.
28510         (clear_once_control): Add release barrier.
28511
28512 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28513
28514         [BZ #13629]
28515         * math/s_clog.c (__clog): Handle more values close to |z| = 1
28516         specially.
28517         * math/s_clog10.c (__clog10): Likewise.
28518         * math/s_clog10f.c (__clog10f): Likewise.
28519         * math/s_clog10l.c (__clog10l): Likewise.
28520         * math/s_clogf.c (__clogf): Likewise.
28521         * math/s_clogl.c (__clogl): Likewise.
28522         * math/Makefile (libm-calls): Add x2y2m1.
28523         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
28524         (__x2y2m1): Likewise.
28525         (__x2y2m1l): Likewise.
28526         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
28527         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
28528         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
28529         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
28530         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
28531         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
28532         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
28533         * sysdeps/i386/fpu/libm-test-ulps: Update.
28534         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28535
28536         [BZ #14621]
28537         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
28538         int as type of variable DEPTH.
28539         (glob): Use size_t instead of int as type of variables NEWCOUNT
28540         and OLD_PATHC.
28541
28542 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28543
28544         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
28545         Add s_sincosf-sse2.
28546         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
28547         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
28548         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
28549         macros for using routine as __sincosf_ia32.
28550         Use macro for function declaration and weak_alias.
28551         * sysdeps/i386/fpu/libm-test-ulps: Update.
28552
28553         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
28554         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28555
28556         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
28557         subnormal argument.
28558         * math/s_cexpf.c (__cexpf): Likewise.
28559         * math/s_csinf.c (__csinf): Likewise.
28560         * math/s_csinhf.c (__csinhf): Likewise.
28561         * math/s_ctanf.c (__ctanf): Likewise.
28562         * math/s_ctanhf.c (__ctanhf): Likewise.
28563         * math/s_ccosh.c (__ccoshf): Likewise.
28564         * math/s_cexp.c (__cexpl): Likewise.
28565         * math/s_csin.c (__csin): Likewise.
28566         * math/s_csinh.c (__csinh): Likewise.
28567         * math/s_ctan.c (__ctan): Likewise.
28568         * math/s_ctanh.c (ctanh): Likewise.
28569         * math/s_ccoshl.c (__ccoshl): Likewise.
28570         * math/s_cexpl.c (__cexpl): Likewise.
28571         * math/s_csinl.c (__csinl): Likewise.
28572         * math/s_csinhl.c (__csinhl): Likewise.
28573         * math/s_ctanl.c (__ctanl): Likewise.
28574         * math/s_ctanhl.c (__ctanhl): Likewise.
28575
28576 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
28577
28578         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
28579         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
28580         (_IO_off_t): Define to __off_t, not _G_off_t.
28581         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
28582         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
28583         (_IO_wint_t): Define to wint_t, not _G_wint_t.
28584         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
28585         type of __dummy and __dummy2 fields.
28586         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
28587         (_G_ssize_t): Likewise.
28588         (_G_off_t): Likewise.
28589         (_G_pid_t): Likewise.
28590         (_G_uid_t): Likewise.
28591         (_G_wchar_t): Likewise.
28592         (_G_wint_t): Likewise.
28593         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
28594         (_G_ssize_t): Likewise.
28595         (_G_off_t): Likewise.
28596         (_G_pid_t): Likewise.
28597         (_G_uid_t): Likewise.
28598         (_G_wchar_t): Likewise.
28599         (_G_wint_t): Likewise.
28600         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
28601         (_G_ssize_t): Likewise.
28602         (_G_off_t): Likewise.
28603         (_G_pid_t): Likewise.
28604         (_G_uid_t): Likewise.
28605         (_G_wchar_t): Likewise.
28606         (_G_wint_t): Likewise.
28607
28608 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28609
28610         * malloc/arena.c: Include malloc-sysdep.h.
28611         (shrink_heap): Use check_may_shrink_heap to decide if madvise
28612         is sufficient to shrink the heap or an unmap is needed.
28613         * sysdeps/generic/malloc-sysdep.h: New file.  Define
28614         new function check_may_shrink_heap.
28615         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
28616         new function check_may_shrink_heap.
28617
28618 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28619
28620         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
28621         comments.
28622
28623 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
28624
28625         * catgets/test-gencat.sh: Add "set -e".
28626         * elf/tst-pathopt.sh: Likewise.
28627         * grp/tst_fgetgrent.sh: Likewise.
28628         * iconvdata/run-iconv-test.sh: Likewise.
28629         * intl/tst-gettext.sh: Likewise.
28630         * intl/tst-gettext2.sh: Likewise.
28631         * intl/tst-gettext4.sh: Likewise.
28632         * intl/tst-gettext6.sh: Likewise.
28633         * intl/tst-translit.sh: Likewise.
28634         * io/ftwtest-sh: Likewise.
28635         * libio/test-freopen.sh: Likewise.
28636         * malloc/tst-mtrace.sh: Likewise.
28637         * posix/globtest.sh: Likewise.
28638         * posix/tst-getconf.sh: Likewise.
28639         * posix/wordexp-tst.sh: Likewise.
28640         * stdio-common/tst-printf.sh: Likewise.
28641         * stdio-common/tst-unbputc.sh: Likewise.
28642         * stdlib/tst-fmtmsg.sh: Likewise.
28643         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28644         * catgets/Makefile: Do not specify -e option when running
28645         testsuite shell scripts.
28646         * elf/Makefile: Likewise.
28647         * grp/Makefile: Likewise.
28648         * iconvdata/Makefile: Likewise.
28649         * intl/Makefile: Likewise.
28650         * io/Makefile: Likewise.
28651         * libio/Makefile: Likewise.
28652         * malloc/Makefile: Likewise.
28653         * posix/Makefile: Likewise.
28654         * stdio-common/Makefile: Likewise.
28655         * stdlib/Makefile: Likewise.
28656         * sysdeps/x86_64/Makefile: Likewise.
28657
28658         * io/ftwtest-sh: Add copyright header.
28659         * posix/globtest.sh: Likewise.
28660         * posix/tst-getconf.sh: Likewise.
28661         * posix/wordexp-tst.sh: Likewise.
28662         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
28663
28664 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
28665
28666         [BZ #13679]
28667         * Makeconfig (+link): Defined as $(+link-static) if
28668         $(build-shared) isn't yes.
28669         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
28670         isn't yes.
28671         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
28672
28673         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
28674
28675         [BZ #14562]
28676         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
28677         new chunk size with MALLOC_ALIGN_MASK.
28678
28679 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
28680
28681         [BZ #5044]
28682         * stdio-common/printf_fphex.c: Include <stdbool.h> and
28683         <rounding-mode.h>.
28684         (__printf_fphex): Determine rounding using get_rounding_mode and
28685         round_away.
28686         * stdio-common/tst-printf-round.c (struct hex_test): New
28687         structure.
28688         (hex_tests): New variable.
28689         (test_hex_in_one_mode): New function.
28690         (do_test): Also run tests for hex float output.
28691
28692 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
28693
28694         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28695         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28696         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
28697         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
28698         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
28699         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
28700         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28701         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
28702
28703 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
28704
28705         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
28706         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
28707         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
28708         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
28709
28710 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
28711
28712         [BZ #14579]
28713         * elf/rtld.c (dl_main): Limit the check for self loading to normal
28714         mode only.
28715         * elf/tst-rtld-load-self.sh: New test.
28716         * elf/Makefile: Run it.
28717
28718 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
28719
28720         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
28721         (tst-writev-ENV): Remove.
28722         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
28723
28724 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
28725
28726         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
28727
28728 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
28729
28730         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
28731         unconditional.
28732         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
28733         Likewise.
28734         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
28735         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
28736         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
28737         Likewise.
28738
28739 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
28740
28741         [BZ #14587]
28742         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
28743         * config.make.in (have-cpp-asm-debuginfo): Removed.
28744         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
28745         * configure: Regenerated.
28746
28747 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
28748
28749         [BZ #5044]
28750         * stdio-common/printf_fp.c: Include <stdbool.h> and
28751         <rounding-mode.h>.
28752         (___printf_fp): Determine rounding using get_rounding_mode and
28753         round_away.
28754         * stdio-common/tst-printf-round.c: New file.
28755         * stdio-common/Makefile (tests): Add tst-printf-round.
28756         (link-libm): New variable.
28757         ($(objpfx)tst-printf-round): Depend in $(link-libm).
28758
28759 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
28760
28761         [BZ #14576]
28762         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
28763         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
28764         Likewise.
28765         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
28766         Likewise.
28767
28768 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
28769
28770         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
28771         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28772         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28773         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
28774
28775 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
28776
28777         [BZ #14518]
28778         * include/rounding-mode.h: New file.
28779         * sysdeps/generic/get-rounding-mode.h: Likewise.
28780         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
28781         * stdlib/strtod_l.c: Include <rounding-mode.h>.
28782         (MAX_VALUE): New macro.
28783         (MIN_VALUE): Likewise.
28784         (overflow_value): New function.
28785         (underflow_value): Likewise.
28786         (round_and_return): Use overflow_value and underflow_value to
28787         determine return values in overflow and underflow cases.  Use
28788         round_away to determine rounding depending on rounding mode.
28789         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
28790         determine return values in overflow and underflow cases.
28791         * stdlib/tst-strtod-round.c: Include <fenv.h>.
28792         (struct test_results): New structure.
28793         (struct test): Use struct test_results to store expected results
28794         for all rounding modes.
28795         (TEST): Include expected results for all rounding modes.
28796         (test_in_one_mode): New function.
28797         (do_test): Use test_in_one_mode to compute and check results.
28798         Check results for all rounding modes.
28799         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
28800         $(link-libm).
28801
28802 2012-12-09  Allan McRae  <allan@archlinux.org>
28803
28804         * sysdeps/i386/fpu/libm-test-ulps: Update
28805
28806 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
28807
28808         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
28809         (_G_int32_t): Likewise.
28810         (_G_uint16_t): Likewise.
28811         (_G_uint32_t): Likewise.
28812         (_G_HAVE_BOOL): Likewise.
28813         (_G_HAVE_ATEXIT): Likewise.
28814         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28815         (_G_HAVE_IO_FILE_OPEN): Likewise.
28816         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
28817         (_G_int32_t): Likewise.
28818         (_G_uint16_t): Likewise.
28819         (_G_uint32_t): Likewise.
28820         (_G_HAVE_BOOL): Likewise.
28821         (_G_HAVE_ATEXIT): Likewise.
28822         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28823         (_G_HAVE_IO_FILE_OPEN): Likewise.
28824         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
28825         (_G_int32_t): Likewise.
28826         (_G_uint16_t): Likewise.
28827         (_G_uint32_t): Likewise.
28828         (_G_HAVE_BOOL): Likewise.
28829         (_G_HAVE_ATEXIT): Likewise.
28830         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
28831         (_G_HAVE_IO_FILE_OPEN): Likewise.
28832
28833 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
28834
28835         * csu/libc-tls.c: Update copyright years.
28836
28837 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
28838
28839         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
28840         [!_G_USING_THUNKS]: Remove conditional code.
28841         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
28842         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
28843
28844         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
28845         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
28846         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28847         (_G_VTABLE_LABEL_PREFIX): Likewise.
28848         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28849         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28850         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28851         (_G_VTABLE_LABEL_PREFIX): Likewise.
28852         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28853         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
28854         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
28855         (_G_VTABLE_LABEL_PREFIX): Likewise.
28856         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
28857
28858 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
28859
28860         * libio/Makefile: Include ../Makeconfig before tests.
28861         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
28862         only if $(build-shared) is yes.
28863
28864         * iconv/gconv_db.c: Update copyright years.
28865
28866 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28867
28868         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
28869         unwind info if defined PIC. Fix special cases description.
28870         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
28871
28872         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
28873         DP_HI_MASK entry.
28874         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
28875
28876 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
28877
28878         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
28879
28880         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
28881         is NULL.
28882
28883         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
28884         (LDLIBS-tst-chk4): This.
28885         (LDFLAGS-tst-chk5): Renamed to ...
28886         (LDLIBS-tst-chk5): This.
28887         (LDFLAGS-tst-chk6): Renamed to ...
28888         (LDLIBS-tst-chk6): This.
28889         (LDFLAGS-tst-lfschk4): Renamed to ...
28890         (LDLIBS-tst-lfschk4): This.
28891         (LDFLAGS-tst-lfschk5): Renamed to ...
28892         (LDLIBS-tst-lfschk5): This.
28893         (LDFLAGS-tst-lfschk6): Renamed to ...
28894         (LDLIBS-tst-lfschk6): This.
28895
28896         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
28897         on $(common-objpfx)soversions.mk.
28898
28899 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
28900
28901         [BZ #10014]
28902         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
28903         example host name.
28904
28905 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
28906
28907         * malloc/arena.c (arena_get_retry): New function that gets
28908         another arena for the caller to try its request on.
28909         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
28910         current arena cannot fulfill the request.
28911         (__libc_memalign): Likewise.
28912         (__libc_memalign): Likewise.
28913         (__libc_pvalloc): Likewise.
28914         (__libc_calloc): Likewise.
28915
28916 2012-09-05  John Tobey  <john.tobey@gmail.com>
28917
28918         [BZ #13542]
28919         * manual/arith.texi (Operations on Complex): Fix description
28920         of carg branch cut.
28921
28922 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28923
28924         [BZ #10014]
28925         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
28926         host name.
28927
28928         [BZ #10038]
28929         * manual/memory.texi (Memory): Make order of menu items match
28930         order of sections.
28931
28932 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28933
28934         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
28935         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
28936         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
28937
28938 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28939
28940         * csu/libc-tls.c (static_dtv): Renamed to ...
28941         (_dl_static_dtv): This.  Make it global.
28942         (_dl_initial_dtv): Removed.
28943         (__libc_setup_tls): Updated.
28944         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
28945         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
28946         DL_INITIAL_DTV.
28947
28948 2012-09-06  Petr Machata  <pmachata@redhat.com>
28949
28950         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
28951         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
28952         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
28953         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
28954
28955 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28956
28957         [BZ #14545]
28958         * csu/libc-tls.c (_dl_initial_dtv): New variable.
28959         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
28960         freeing dtv[-1].
28961
28962 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
28963
28964         [BZ #14544]
28965         * Makeconfig (link-static-before-libc): Replace $(+prector)
28966         with $(+prectorT).
28967         (link-static-after-libc): Replace $(+postctor) with
28968         $(+postctorT).
28969         (link-bounded): Replace $(+prector)/$(+postctor) with
28970         $(+prectorT)/$(+postctorT).
28971         (+prectorT): New macro.
28972         (+postctorT): Likewise.
28973
28974 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
28975
28976         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
28977         (round_str): Handle values above the maximum for IBM long double
28978         as inexact.
28979         * stdlib/tst-strtod-round.c (tests): Regenerated.
28980
28981 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28982
28983         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
28984         assembler flag.
28985         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
28986         zarch_nohighgprs around the zarch optimized routines.
28987         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28988         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28989         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
28990         for zarch.
28991
28992 2012-09-05  David S. Miller  <davem@davemloft.net>
28993
28994         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28995
28996         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
28997         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
28998         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
28999         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
29000         entries.
29001
29002 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29003
29004         * malloc/arena.c: Fold copyright years.
29005         * malloc/mcheck.c, malloc/memusage.c: Likewise.
29006
29007 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29008
29009         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
29010
29011 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29012
29013         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
29014
29015 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29016
29017         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
29018         change internal state upon failure.
29019
29020 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
29021
29022         * malloc/mcheck.c (mcheck_check_all): Fix typo.
29023         * malloc/memusage.c (mmap): Likewise.
29024         (mmap64, mremap): Likewise.  Adjust name in comment.
29025
29026 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29027
29028         * libio/fileops.c: Fix typos in comments.
29029         * libio/oldfileops.c: Likewise.
29030         * libio/wfileops.c: Likewise.
29031
29032 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
29033
29034         [BZ #1349]
29035         * malloc/Makefile (tests): Add tst-malloc-usable test case.
29036         (tst-malloc-usable-ENV): Set environment for test case.
29037         * malloc/hooks.c (malloc_check_get_size): New function to get
29038         requested size.
29039         * malloc/malloc.c (musable): Use malloc_check_get_size.
29040         * malloc/tst-malloc-usable.c: New test case.
29041
29042 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29043
29044         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
29045
29046 2012-09-05  Allan McRae  <allan@archlinux.org>
29047
29048         [BZ #13966]
29049         * configure.in (CXX_SYSINCLUDES): Use compiler output to
29050         determine header location.
29051         * configure: Regenerated.
29052
29053 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
29054
29055         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
29056         float format.
29057         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
29058         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
29059         format.
29060         (test): Regenerate.
29061
29062 2012-09-04  David S. Miller  <davem@davemloft.net>
29063
29064         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
29065         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
29066         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
29067
29068 2012-09-04  Florian Weimer  <fweimer@redhat.com>
29069
29070         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
29071         failures.
29072
29073         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
29074
29075 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
29076
29077         [BZ #9914]
29078         * libio/iogetdelim.c: Include <limits.h>.
29079         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
29080         + len + 1 would overflow.
29081
29082 2012-09-03  Andreas Jaeger  <aj@suse.de>
29083
29084         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29085         * sysdeps/i386/fpu/libm-test-ulps: Update.
29086
29087 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29088
29089         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
29090         Add s_sinf-sse2, s_conf-sse2.
29091
29092         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
29093         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
29094         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
29095         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
29096
29097         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
29098         for using routine as __sinf_ia32.
29099         Use macro for function declaration and weak_alias.
29100         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
29101         for using routine as __cosf_ia32.
29102         Use macro for function declaration and weak_alias.
29103
29104         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
29105         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
29106
29107         * sysdeps/x86_64/fpu/s_sinf.S: New file.
29108         * sysdeps/x86_64/fpu/s_cosf.S: New file.
29109         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29110
29111         * math/libm-test.inc (cos_test): Add more test cases.
29112         (sin_test): Likewise.
29113         (sincos_test): Likewise.
29114
29115 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29116
29117         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
29118         (IFUNC_RESOLVE): Make pointers to the specialized implementations
29119         hidden.
29120         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29121
29122 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
29123
29124         [BZ #14538]
29125         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
29126         first element of the GOT.
29127         (elf_machine_load_address): Return the difference between
29128         the runtime address of _DYNAMIC and elf_machine_dynamic ().
29129
29130 2012-09-01  Allan McRae  <allan@archlinux.org>
29131
29132         [BZ #13412]
29133         * configure.in (AWK): Require gawk version 3.0 or later.
29134         * configure: Regenerated.
29135
29136 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
29137
29138         * sysdeps/unix/sysv/linux/kernel-features.h
29139         (__ASSUME_POSIX_CPU_TIMERS): Remove.
29140         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29141         [__NR_clock_getres]: Make code unconditional.
29142         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
29143         (clock_getcpuclockid): Remove code left unreachable by removal of
29144         conditionals.
29145         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
29146         code unconditional.
29147         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29148         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29149         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
29150         Make code unconditional.
29151         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
29152         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29153         * sysdeps/unix/sysv/linux/clock_settime.c
29154         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
29155         conditional code.
29156         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
29157         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
29158
29159 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
29160
29161         [BZ #14476]
29162         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
29163         scripts/test-installation.pl.
29164
29165         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
29166         and $ld_so_version if it is set.
29167
29168 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29169
29170         [BZ #14516]
29171         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
29172         failure if reading from procfs failed.
29173         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
29174
29175 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29176
29177         * sysdeps/unix/sysv/linux/kernel-features.h
29178         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
29179         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29180         Remove conditional code.
29181         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29182         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
29183         Remove conditional code.
29184         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29185         * sysdeps/unix/sysv/linux/i386/fxstat.c
29186         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29187         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29188         * sysdeps/unix/sysv/linux/i386/fxstatat.c
29189         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29190         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29191         * sysdeps/unix/sysv/linux/i386/lxstat.c
29192         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
29193         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29194         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
29195         Remove conditional code.
29196         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29197         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
29198         Remove conditional code.
29199         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29200         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
29201         <kernel-features.h>.
29202         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
29203         Remove.
29204         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
29205         Remove conditional code.
29206         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
29207         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
29208         Remove conditional.
29209
29210 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
29211
29212         [BZ #5400]
29213         * NEWS: Add fixed bug number.
29214
29215 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
29216
29217         [BZ #14519]
29218         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
29219         underflowing exponent in case of negative sign.
29220         * stdlib/tst-strtod-round-data: Add more tests.
29221         * stdlib/tst-strtod-round.c (tests): Regenerated.
29222
29223         [BZ #3479]
29224         * stdlib/strtod_l.c (NDIG): Remove.
29225         (HEXNDIG): Likewise.
29226         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
29227         smallest representable value.
29228         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
29229         lie within an exact representation of 1/2 ulp of the result.
29230         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
29231         unconditionally.
29232         (TENS_P9_IDX): Define unconditionally.
29233         (TENS_P9_SIZE): Likewise.
29234         (TENS_P10_IDX): Likewise.
29235         (TENS_P10_SIZE): Likewise.
29236         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
29237         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
29238         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
29239         entries for 10^2^13 and 10^2^14.
29240         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
29241         (TENS_P13_IDX): Define.
29242         (TENS_P13_SIZE): Likewise.
29243         (TENS_P14_IDX): Likewise.
29244         (TENS_P14_SIZE): Likewise.
29245         (_fpioconst_pow10): Change array size to
29246         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
29247         unconditional.
29248         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
29249         1024]: Add entries for 10^2^13 and 10^2^14.
29250         [LAST_POW10 > _LAST_POW10]: Remove #error.
29251         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
29252         (_fpioconst_pow10): Change array size to
29253         FPIOCONST_POW10_ARRAY_SIZE.
29254         * stdlib/gen-fpioconst.c: New file.
29255         * stdlib/gen-tst-strtod-round.c: Likewise.
29256         * stdlib/tst-strtod-round-data: Likewise.
29257         * stdlib/tst-strtod-round.c: Likewise.
29258         * stdlib/Makefile (tests): Add tst-strtod-round.
29259
29260         [BZ #14459]
29261         * stdlib/strtod_l.c: Include <stdint.h>.
29262         (NDEBUG): Do not define.
29263         (round_and_return): Change EXPONENT parameter to type intmax_t.
29264         Rearrange calculations to avoid internal overflow possibilities.
29265         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
29266         Rearrange calculations to avoid internal overflow possibilities.
29267         Assert that number fits inside MPNSIZE limbs.
29268         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
29269         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
29270         calculations and add assertions to avoid internal overflow
29271         possibilities.  Add casts to avoid signed/unsigned operations.
29272         * stdlib/tst-strtod-overflow.c: New file.
29273         * stdlib/Makefile (tests): Add tst-strtod-overflow.
29274
29275 2012-08-25  Marek Polacek  <polacek@redhat.com>
29276
29277         * time/time.h: Fix some typos in comments.
29278
29279 2012-08-23  Roland McGrath  <roland@hack.frob.com>
29280
29281         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
29282         * posix/tst-rfc3484-2.c: Likewise.
29283         * posix/tst-rfc3484-3.c: Likewise.
29284
29285 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
29286
29287         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
29288         (EF_ARM_ABI_FLOAT_HARD): Likewise.
29289
29290 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
29291
29292         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
29293         #include of fxstatat64.c.
29294
29295 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29296
29297         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
29298         * shadow/getspent_r.c: Likewise.
29299         * shadow/getspnam.c: Likewise.
29300         * shadow/getspnam_r.c: Likewise.
29301         * gshadow/getsgent.c: Likewise.
29302         * gshadow/getsgent_r.c: Likewise.
29303         * gshadow/getsgnam.c: Likewise.
29304         * gshadow/getsgnam_r.c: Likewise.
29305         * inet/getnetbyad.c: Likewise.
29306         * inet/getnetbyad_r.c: Likewise.
29307         * inet/getnetbynm.c: Likewise.
29308         * inet/getnetbynm_r.c: Likewise.
29309         * inet/getnetent.c: Likewise.
29310         * inet/getnetent_r.c: Likewise.
29311         * inet/getproto.c: Likewise.
29312         * inet/getproto_r.c: Likewise.
29313         * inet/getprtent.c: Likewise.
29314         * inet/getprtent_r.c: Likewise.
29315         * inet/getprtname.c: Likewise.
29316         * inet/getprtname_r.c: Likewise.
29317         * inet/getrpcbyname.c: Likewise.
29318         * inet/getrpcbyname_r.c: Likewise.
29319         * inet/getrpcbynumber.c: Likewise.
29320         * inet/getrpcbynumber_r.c: Likewise.
29321         * inet/getrpcent.c: Likewise.
29322         * inet/getrpcent_r.c: Likewise.
29323         * inet/getaliasent.c: Likewise.
29324         * inet/getaliasent_r.c: Likewise.
29325         * inet/getaliasname.c: Likewise.
29326         * inet/getaliasname_r.c: Likewise.
29327         * nscd/getgrgid_r.c: Likewise.
29328         * nscd/getgrnam_r.c: Likewise.
29329         * nscd/gethstbyad_r.c: Likewise.
29330         * nscd/gethstbynm3_r.c: Likewise.
29331         * nscd/getpwnam_r.c: Likewise.
29332         * nscd/getpwuid_r.c: Likewise.
29333         * nscd/getsrvbynm_r.c: Likewise.
29334         * nscd/getsrvbypt_r.c: Likewise.
29335         * nscd/gai.c: Likewise.
29336
29337         * configure.in (build_nscd): New substituted variable, set
29338         by --disable-build-nscd and defaults to $use_nscd.
29339         * configure: Regenerated.
29340         * config.make.in (build-nscd): New substituted variable.
29341         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
29342         Change conditional to require [$(build-nscd) = yes] as well.
29343         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
29344
29345         [BZ# 13696]
29346         * configure.in (use_nscd): New substituted variable, set by
29347         --disable-nscd.  If enabled, define USE_NSCD.
29348         * configure: Regenerated.
29349         * config.h.in: Add USE_NSCD.
29350         * config.make.in (use-nscd): New substituted variable.
29351         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
29352         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
29353         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
29354         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
29355         (CFLAGS-getgrnam_r.c): Likewise.
29356         (CFLAGS-initgroups.c): Likewise.
29357         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
29358         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
29359         Variables removed.
29360         * inet/getnetgrent_r.c
29361         (nscd_setnetgrent): New function, broken out of ...
29362         (setnetgrent): ... here.  Call it.
29363         (innetgr): Conditionalize nscd bits on [USE_NSCD].
29364         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
29365         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
29366         * nscd/Makefile (routines, aux): Move definitions after include of
29367         Makeconfig.  Conditionalize on [$(use-nscd) != no].
29368         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
29369         Conditionalize on [USE_NSCD].
29370         (is_nscd, nscd_init_cb): Likewise.
29371         (nss_load_library): Conditionalize init callback on [USE_NSCD].
29372         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
29373         * nss/nss_db/db-init.c: Likewise.
29374         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
29375         [USE_NSCD].
29376         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
29377         (make_request): Use it.
29378         (cache_valid_p): New function.
29379         (__check_pf): Use it.
29380         * NEWS: Add item for --disable-nscd.
29381
29382 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
29383
29384         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
29385         to support sed >= 4.2.1-20-ga9bf076.
29386         * configure: Regenerated.
29387
29388 2012-08-22  Roland McGrath  <roland@hack.frob.com>
29389
29390         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
29391         Conditionalize whole body on [IREL].
29392
29393 2012-08-22  Jeff Law <law@redhat.com>
29394
29395         [BZ #14505]
29396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
29397         if the family is PF_UNSPEC.
29398
29399 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
29400
29401         * Makerules (lib-version): Rename from V.
29402         (install-lib-nosubdir): Change V to lib-version.
29403
29404 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
29405
29406         [BZ #14252]
29407         * powerpc32/power6/wcschr.c: New file.
29408         * powerpc32/power6/wcscpy.c: New file.
29409         * powerpc32/power6/wcsrchr.c: New file.
29410         * powerpc64/power6/wcschr.c: New file.
29411         * powerpc64/power6/wcscpy.c: New file.
29412         * powerpc64/power6/wcsrchr.c: New file.
29413
29414 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29415
29416         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
29417         (two_way_short_needle): Use it.
29418         * string/strstr.c (AVAILABLE1_USES_J): Define.
29419         * string/strcasestr.c: Likewise.
29420
29421         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
29422         array references.
29423         * string/strcasestr.c (TOLOWER): Make side-effect safe.
29424
29425         [BZ #11607]
29426         * NEWS: Add an entry.
29427         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
29428         define their defaults.
29429         (two_way_short_needle): Detect end-of-string on-the-fly.
29430         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
29431         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
29432         * string/bug-strcasestr1.c: New test.
29433         * string/Makefile: Run it.
29434
29435 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
29436
29437         [BZ #11607]
29438         * string/str-two-way.h (two_way_short_needle): Optimize matching of
29439         the first character.
29440
29441 2012-08-21  Roland McGrath  <roland@hack.frob.com>
29442
29443         * csu/elf-init.c (__libc_csu_irel): Function removed.
29444         * csu/libc-start.c (apply_irel): New function.
29445         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
29446
29447 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
29448
29449         * sysdeps/unix/sysv/linux/kernel-features.h
29450         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
29451         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29452         <kernel-features.h>.
29453         [__NR_fadvise64_64]: Make code unconditional.
29454         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
29455         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29456         !__NR_fadvise64_64)]: Likewise.
29457         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
29458         !__NR_fadvise64_64))]: Likewise.
29459         [__NR_fadvise64]: Make code unconditional.
29460         [!__NR_fadvise64]: Remove conditional code.
29461         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
29462         <kernel-features.h>.
29463         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29464         unconditional.
29465         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29466         conditional code.
29467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
29468         not include <kernel-features.h>.
29469         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29470         unconditional.
29471         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29472         conditional code.
29473         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
29474         include <kernel-features.h>.
29475         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
29476         unconditional.
29477         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
29478         conditional code.
29479
29480 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
29481
29482         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
29483         slight instruction rearrangements per scrollpipe analysis.
29484         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29485
29486 2012-08-20  Roland McGrath  <roland@hack.frob.com>
29487
29488         * manual/syslog.texi (syslog; vsyslog, closelog):
29489         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
29490         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
29491
29492         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
29493         DSOCAPS to match condition on defining it.
29494
29495 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
29496
29497         * sysdeps/unix/sysv/linux/kernel-features.h
29498         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
29499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
29500         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29501         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
29503         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29504         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
29506         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
29507         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
29508
29509         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
29510         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
29511
29512         * sysdeps/unix/sysv/linux/kernel-features.h
29513         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
29514         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
29515         unconditional.
29516         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29517         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
29518         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29519         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29520         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
29521         Make code unconditional.
29522         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29523         (__mmap64) [!__NR_mmap2]: Likewise.
29524         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
29525         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
29526         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29527         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
29528         [__NR_mmap2]: Make code unconditional.
29529         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
29530         (__mmap64) [!__NR_mmap2]: Likewise.
29531
29532 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29533
29534         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
29535
29536 2012-08-18  Andreas Jaeger  <aj@suse.de>
29537
29538         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
29539
29540 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29541
29542         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
29543         * include/unistd.h (__have_sock_cloexec): Likewise.
29544         (__have_pipe2): Likewise.
29545         (__have_dup3): Likewise.
29546
29547 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
29548
29549         [BZ #9685]
29550         * include/unistd.h (__have_pipe2): Change define into an extern int.
29551         (__have_dup3): Likewise.
29552         * socket/have_sock_cloexec.c: Include fcntl.h.
29553         (__have_pipe2): New variable.
29554         (__have_dup3): Likewise.
29555
29556 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
29557
29558         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
29559
29560 2012-08-17  Marek Polacek  <polacek@redhat.com>
29561
29562         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
29563         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
29564
29565 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29566
29567         * configure.in: Add AC_SUBST for sysheaders.
29568         * configure: Regenerated.
29569         * config.make.in (sysheaders): New substituted variable.
29570
29571         * sysdeps/unix/mkfifo.c: Moved ...
29572         * sysdeps/posix/mkfifo.c: ... here.
29573         * sysdeps/unix/mkfifoat.c: Moved ...
29574         * sysdeps/posix/mkfifoat.c: ... here.
29575
29576         * sysdeps/unix/utime.c: Moved ...
29577         * sysdeps/posix/utime.c: ... here.
29578
29579         * sysdeps/unix/time.c: Moved ...
29580         * sysdeps/posix/time.c: ... here.
29581         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
29582         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
29583
29584         * sysdeps/unix/nice.c: Moved ...
29585         * sysdeps/posix/nice.c: ... here.
29586
29587         * sysdeps/unix/alarm.c: Moved ...
29588         * sysdeps/posix/alarm.c: ... here.
29589
29590         * intl/Makefile ($(codeset_mo)): Depend on the input file.
29591
29592 2012-08-17  Jeff Law <law@redhat.com>
29593
29594         * intl/Makefile (codeset_mo): New variable.
29595         ($(codeset_mo)): New target.
29596         (tst-codeset.out): Depend on that.  Remove explicit rule.
29597         (tst-gettext3.out, tst-gettext5.out): Likewise.
29598         (LOCPATH-ENV, tst-codeset-ENV): New variables.
29599         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
29600         * intl/tst-codeset.sh: Remove.
29601         * intl/tst-gettext3.sh: Likewise.
29602         * intl/tst-gettext5.sh: Likewise.
29603
29604 2012-08-17  Roland McGrath  <roland@hack.frob.com>
29605
29606         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
29607         * sysdeps/unix/syscalls.list: ... here.
29608
29609         * sysdeps/posix/getaddrinfo.c
29610         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
29611         (gaiconf_init, gaiconf_reload): Use them.
29612         [!_STATBUF_ST_NSEC]
29613         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
29614         Define using time_t rather than struct timespec.
29615
29616         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
29617         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
29618         Macros removed.
29619         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
29620         [!NO_THREADS].
29621         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
29622         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
29623         Likewise.
29624
29625         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
29626         __libc_cleanup_push argument.
29627
29628         * bits/param.h: New file.
29629         * misc/sys/param.h: New file.
29630         * include/sys/param.h: New file.
29631         * misc/Makefile (headers): Add bits/param.h.
29632         * sysdeps/generic/sys/param.h: File removed.
29633         * sysdeps/unix/sysv/linux/bits/param.h: New file.
29634         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
29635         * sysdeps/mach/hurd/bits/param.h: New file.
29636         * sysdeps/mach/hurd/sys/param.h: File removed.
29637
29638         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
29639         last change.
29640
29641         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
29642         [_IO_MTSAFE_IO].
29643         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
29644         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
29645         New macros.
29646
29647         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
29648         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
29649         rather than -D_IO_MTSAFE_IO conditionally.
29650         * stdio-common/Makefile (CPPFLAGS): Likewise.
29651         * wcsmbs/Makefile (CPPFLAGS): Likewise.
29652         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
29653         Use $(libio-mtsafe).
29654         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
29655         of -D_IO_MTSAFE_IO.
29656         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
29657         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
29658         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
29659         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
29660         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
29661         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
29662         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
29663         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
29664         (CFLAGS-fread_u_chk.c): Likewise.
29665         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
29666         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
29667         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
29668         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
29669         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
29670         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
29671         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
29672         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
29673         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
29674
29675         * libio/Makefile: Test [$(libc-reentrant) = yes]
29676         instead of [$(filter %REENTRANT, $(defines)) nonempty].
29677
29678         * Makeconfig
29679         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
29680         * sysdeps/pthread/configure: File removed.
29681         * sysdeps/pthread/Makeconfig: New file.
29682         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
29683         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
29684
29685 2012-08-16  Gary Benson  <gbenson@redhat.com>
29686
29687         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
29688         unmapping the first object in a namespace.
29689
29690 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29691
29692         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
29693         (__internal_setnetgrent): ... this.  Add internal_function to
29694         definition.  Add libc_hidden_def.
29695         (setnetgrent): Update caller.
29696         (internal_endnetgrent): Renamed to ...
29697         (__internal_endnetgrent): ... this.  Add internal_function to
29698         definition.  Add libc_hidden_def.
29699         (endnetgrent): Update caller.
29700         (internal_getnetgrent_r): Renamed to ...
29701         (__internal_getnetgrent_r): ... this.  Add internal_function to
29702         definition.  Add libc_hidden_def.
29703         (__getnetgrent_r): Update caller.
29704         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
29705
29706 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29707
29708         * stdlib/longlong.h: Update from GCC.
29709
29710 2012-08-16  Roland McGrath  <roland@hack.frob.com>
29711
29712         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
29713         on _QL, which is set by umul_ppmm but never used.
29714         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
29715         variables, which are set by GMP macros but never used.
29716         * stdio-common/_itowa.c (_itowa): Likewise.
29717         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
29718         * stdlib/mod_1.c (mpn_mod_1): Likewise.
29719
29720 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
29721
29722         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
29723         struct La_sh_regs is not constant.
29724         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
29725         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
29726         and struct La_sparc64_regs are not constant.
29727
29728 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
29729
29730         * sysdeps/unix/sysv/linux/kernel-features.h
29731         (__ASSUME_POSIX_TIMERS): Remove.
29732         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
29733         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29734         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
29735         Make code unconditional.
29736         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29737         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
29738         Make code unconditional.
29739         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29740         * sysdeps/unix/sysv/linux/clock_nanosleep.c
29741         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
29742         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29743         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
29744         Make code unconditional.
29745         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
29746         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
29747         (__libc_missing_posix_timers): Remove.
29748
29749 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29750
29751         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
29752         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
29753
29754         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
29755
29756         * elf/dl-sym.c: Include <stdlib.h>.
29757
29758         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
29759         constants, which avoids warnings in 32-bit builds.
29760
29761         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
29762         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
29763
29764         * misc/lseek.c: File moved to ...
29765         * io/lseek.c: ... here.
29766
29767         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
29768
29769         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
29770         shifting LEN more than 31 bits at once.
29771
29772 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
29773
29774         [BZ #14195]
29775         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
29776         segmentation fault for a case of two empty input strings.
29777         * string/test-strncasecmp.c (check1): Renamed to...
29778         (bz12205): ...this.
29779         (bz14195): Add new testcase for two empty input strings and N > 0.
29780         (test_main): Call new testcase, adapt for renamed function.
29781
29782 2012-08-15  Andreas Jaeger  <aj@suse.de>
29783
29784         [BZ #14090]
29785         * crypt/md5test2.c: New test, based on test supplied by Serge
29786         Belyshev <belyshev@depni.sinp.msu.ru>.
29787         * crypt/Makefile (xtests): Add md5test-giant..
29788         * crypt/Makefile ($(objpfx)md5test-giant): Add.
29789
29790 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
29791
29792         [BZ #14090]
29793         * crypt/md5.c (md5_process_block): Don't assume the buffer
29794         length is less than 2**32.
29795         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
29796         length is less than 2**64.
29797
29798 2012-08-15  Roland McGrath  <roland@hack.frob.com>
29799
29800         * string/str-two-way.h: Include <sys/param.h>.
29801         (MAX): Macro removed.
29802
29803         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
29804         Move #define and #undef of memmove to just before and after
29805         including <string.h>.
29806
29807         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
29808         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
29809         and after including <string.h>.  Move declarations of
29810         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
29811         to before #include "string/memmove.c".
29812
29813         * include/dirent.h: Declare __getdirentries.
29814
29815         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
29816         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
29817
29818 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
29819
29820         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
29821         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
29822         * sysdeps/i386/configure: Regenerated.
29823         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
29824         STABS_CURRENT_FILE, and STABS_FUN.
29825         (END): Remove call to STABS_FUN_END.
29826         (STABS_CURRENT_FILE1): Delete.
29827         (STABS_CURRENT_FILE): Likewise.
29828         (STABS_FUN): Likewise.
29829         (STABS_FUN_END): Likewise.
29830         (STABS_FUN2): Likewise.
29831         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
29832         * sysdeps/x86_64/configure: Regenerated.
29833
29834 2012-08-14  Roland McGrath  <roland@hack.frob.com>
29835
29836         * elf/dl-open.c: Include <atomic.h>.
29837         * elf/dl-lookup.c: Likewise.
29838
29839 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
29840
29841         * sysdeps/unix/sysv/linux/kernel-features.h
29842         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
29843         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
29844         unconditionally.
29845         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
29846         unconditionally.
29847         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
29848         condition on __ASSUME_CLONE_THREAD_FLAGS.
29849
29850 2012-08-14  Andreas Jaeger  <aj@suse.de>
29851
29852         * sysdeps/i386/fpu/libm-test-ulps: Update.
29853
29854 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
29855
29856         * include/atomic.h (atomic_exchange_and_add): Split into ...
29857         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
29858         New atomic macros.
29859
29860 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
29861
29862         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29863
29864 2012-08-13  Jeff Law <law@redhat.com>
29865
29866         * manual/stdio.texi (snprintf): Clarify handling of the trailing
29867         null byte in the output string.
29868
29869 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
29870
29871         * sysdeps/unix/sysv/linux/kernel-features.h
29872         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
29873         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
29874         (__ASSUME_ARG_MAX_STACK_BASED): Define.
29875         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
29876         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
29877         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
29878         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
29879
29880 2012-08-09  Jeff Law <law@redhat.com>
29881
29882         [BZ #13939]
29883         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
29884         When avoid_arena is set, don't retry in the that arena.  Pick the
29885         next one, whatever it might be.
29886         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
29887         (arena_lock): Pass in new parameter to arena_get2.
29888         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
29889         arena_get2.
29890         (__libc_malloc): Unify retrying after main arena failure with
29891         __libc_memalign version.
29892         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
29893
29894 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
29895
29896         [BZ #14166]
29897         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
29898         to __redirect_strstr.
29899         (__strstr_sse42): Use typeof __redirect_strstr.
29900         (__strstr_ia32): Likewise.
29901         (__libc_strstr): New prototype.
29902         (strstr): Renamed to ...
29903         (__libc_strstr): This.
29904         (strstr): New strong alias of __libc_strstr.
29905         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
29906         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
29907         __redirect_time.
29908         Include <time.h>.
29909         (__libc_time): New prototype.
29910         (time_ifunc): Replace time with __libc_time.
29911         (time): New strong alias and hidden definition of __libc_time.
29912         (__GI_time): Remove strong alias.
29913         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
29914         Include <stddef.h>.
29915         (memmove): Redefined to __redirect_memmove.
29916         (__memmove_sse2): Use typeof __redirect_memmove.
29917         (__memmove_ssse3): Likewise.
29918         (__memmove_ssse3_back): Likewise.
29919         (__libc_memmove): New prototype.
29920         (memmove): Renamed to ...
29921         (__libc_memmove): This.
29922         (memmove): New strong alias of __libc_memmove.
29923
29924 2012-08-08  Mark Salter  <msalter@redhat.com>
29925
29926         * elf/elf.h
29927         (R_MN10300_TLS_GD): Define.
29928         (R_MN10300_TLS_LD): Likewise.
29929         (R_MN10300_TLS_LDO): Likewise.
29930         (R_MN10300_TLS_GOTIE): Likewise.
29931         (R_MN10300_TLS_IE): Likewise.
29932         (R_MN10300_TLS_LE): Likewise.
29933         (R_MN10300_TLS_DTPMOD): Likewise.
29934         (R_MN10300_TLS_DTPOFF): Likewise.
29935         (R_MN10300_TLS_TPOFF): Likewise.
29936         (R_MN10300_SYM_DIFF): Likewise.
29937         (R_MN10300_ALIGN): Likewise.
29938         (R_MN10300_NUM): Update.
29939
29940 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
29941
29942         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
29943         Remove.
29944
29945 2012-08-08  Roland McGrath  <roland@hack.frob.com>
29946
29947         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
29948
29949         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
29950         sysdeps/unix -> sysdeps/posix move.
29951         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29952
29953 2012-08-07      Allan McRae     <allan@archlinux.org>
29954
29955         [BZ #14303]
29956         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
29957         (SUNOS_CPP): Likewise.
29958         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
29959         not found.
29960         (open_input): Call CPP using execvp.
29961
29962 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
29963
29964         * sysdeps/unix/sysv/linux/kernel-features.h
29965         (__ASSUME_PROT_GROWSUPDOWN): Remove.
29966         (__ASSUME_NO_CLONE_DETACHED): Likewise.
29967         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
29968         (__ASSUME_WAITID_SYSCALL): Likewise.
29969         * sysdeps/unix/sysv/linux/dl-execstack.c
29970         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
29971         code unconditional.
29972         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
29973         conditional code.
29974         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
29975         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
29976         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
29977         code.
29978         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
29979         unconditional.
29980         [__ASSUME_WAITID_SYSCALL]: Likewise.
29981         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
29982
29983 2012-08-07  Roland McGrath  <roland@hack.frob.com>
29984
29985         * sysdeps/unix/closedir.c: Renamed to ...
29986         * sysdeps/posix/closedir.c: ... here.
29987         * sysdeps/unix/dirfd.c: Renamed to ...
29988         * sysdeps/posix/dirfd.c: ... here.
29989         * sysdeps/unix/dirstream.h: Renamed to ...
29990         * sysdeps/posix/dirstream.h: ... here.
29991         * sysdeps/unix/fdopendir.c: Renamed to ...
29992         * sysdeps/posix/fdopendir.c: ... here.
29993         * sysdeps/unix/opendir.c: Renamed to ...
29994         * sysdeps/posix/opendir.c: ... here.
29995         * sysdeps/unix/readdir.c: Renamed to ...
29996         * sysdeps/posix/readdir.c: ... here.
29997         * sysdeps/unix/readdir_r.c: Renamed to ...
29998         * sysdeps/posix/readdir_r.c: ... here.
29999         * sysdeps/unix/rewinddir.c: Renamed to ...
30000         * sysdeps/posix/rewinddir.c: ... here.
30001         * sysdeps/unix/seekdir.c: Renamed to ...
30002         * sysdeps/posix/seekdir.c: ... here.
30003         * sysdeps/unix/telldir.c: Renamed to ...
30004         * sysdeps/posix/telldir.c: ... here.
30005         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
30006         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
30007         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30008         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
30009
30010         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
30011         * bits/fcntl.h: ... here.
30012
30013         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
30014         not 0.
30015         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
30016         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
30017         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
30018         (struct flock): Move l_start, l_len to the beginning.
30019         Use __pid_t for l_pid.
30020         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
30021         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
30022         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
30023         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
30024         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
30025         [__USE_LARGEFILE64] (struct flock64): New type.
30026         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
30027
30028         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
30029         * bits/dirent.h: ... here.
30030
30031         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
30032         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
30033
30034 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
30035
30036         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30037         Change from 2.6.0 to 2.6.16.
30038         * sysdeps/unix/sysv/linux/configure: Regenerated.
30039         * sysdeps/unix/sysv/linux/kernel-features.h
30040         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
30041         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
30042         version.
30043         (__ASSUME_UTIMES): Likewise.
30044         (__ASSUME_CLONE_STOPPED): Remove.
30045         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
30046         architectures, not kernel version.
30047         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
30048         (__ASSUME_NO_CLONE_DETACHED): Likewise.
30049         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
30050         (__ASSUME_WAITID_SYSCALL): Likewise.
30051         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
30052         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
30053         * README: State 2.6.16 as minimum Linux kernel version.  Do not
30054         refer to older versions.
30055
30056 2012-08-06  Roland McGrath  <roland@hack.frob.com>
30057
30058         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
30059         Define alphasort64 as an alias.
30060         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
30061         Define versionsort64 as an alias.
30062         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
30063         Define scandir64 as an alias.
30064         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
30065         Define scandirat64 as an alias.
30066         * dirent/alphasort64.c (alphasort64):
30067         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
30068         * dirent/versionsort64.c: Likewise.
30069         * dirent/scandir64.c: Likewise.
30070         * dirent/scandirat64.c: Likewise.
30071         * sysdeps/wordsize-64/alphasort.c: File removed.
30072         * sysdeps/wordsize-64/alphasort64.c: File removed.
30073         * sysdeps/wordsize-64/scandir.c: File removed.
30074         * sysdeps/wordsize-64/scandir64.c: File removed.
30075         * sysdeps/wordsize-64/scandirat.c: File removed.
30076         * sysdeps/wordsize-64/scandirat64.c: File removed.
30077         * sysdeps/wordsize-64/versionsort.c: File removed.
30078         * sysdeps/wordsize-64/versionsort64.c: File removed.
30079         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
30080         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
30081         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
30082         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
30083         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
30084         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
30085         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
30086         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
30087
30088         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
30089         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30090         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
30091         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30092         [defined __arch64__ || defined __sparcv9]
30093         (__INO_T_MATCHES_INO64_T): New macro.
30094         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30095         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
30096         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
30097         * sysdeps/unix/sysv/linux/bits/dirent.h
30098         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
30099         (_DIRENT_MATCHES_DIRENT64): New macro.
30100
30101         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
30102         Define lockf64 as an alias.
30103         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
30104         Define fseeko64 as an alias.
30105         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
30106         Define ftello64 as an alias.
30107         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
30108         Define _IO_fgetpos64 and fgetpos64 as aliases.
30109         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
30110         Define _IO_fsetpos64 and fsetpos64 as aliases.
30111         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
30112         Conditionalize body on this.
30113         * libio/fseeko64.c: Likewise.
30114         * libio/ftello64.c: Likewise.
30115         * libio/iofgetpos64.c: Likewise.
30116         * libio/iofsetpos64.c: Likewise.
30117         * sysdeps/wordsize-64/lockf.c: File removed.
30118         * sysdeps/wordsize-64/lockf64.c: File removed.
30119         * sysdeps/wordsize-64/fseeko.c: File removed.
30120         * sysdeps/wordsize-64/fseeko64.c: File removed.
30121         * sysdeps/wordsize-64/ftello.c: File removed.
30122         * sysdeps/wordsize-64/ftello64.c: File removed.
30123         * sysdeps/wordsize-64/iofgetpos.c: File removed.
30124         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
30125         * sysdeps/wordsize-64/iofsetpos.c: File removed.
30126         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
30127         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
30128         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
30129         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
30130         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
30131         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
30132         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
30133         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
30134         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
30135         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
30136         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
30137
30138         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30139         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
30140         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
30141         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30142         [defined __arch64__ || defined __sparcv9]
30143         (__OFF_T_MATCHES_OFF64_T): New macro.
30144         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
30145         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
30146         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30147         (__OFF_T_MATCHES_OFF64_T): New macro.
30148
30149 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30150
30151         * stdlib/secure-getenv.c (__secure_getenv): Replace
30152         GLIBC_2_16 with GLIBC_2_17.
30153
30154 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
30155
30156         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
30157         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30158
30159 2012-08-03  David S. Miller  <davem@davemloft.net>
30160
30161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30162
30163 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30164
30165         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
30166         Remove.
30167         (__ASSUME_CORRECT_SI_PID): Likewise.
30168         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
30169         (__ASSUME_TMPFS_NAME): Likewise.
30170         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
30171         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
30172         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
30173         (HAVE_AUX_SECURE): Make definition unconditional.
30174         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
30175         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
30176
30177 2012-08-03  Roland McGrath  <roland@hack.frob.com>
30178
30179         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
30180         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
30181         * sysdeps/mach/hurd/eloop-threshold.h: New file.
30182         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30183         __eloop_threshold instead of SYMLOOP_MAX.
30184
30185         * sysdeps/generic/eloop-threshold.h: New file.
30186         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
30187         of MAXSYMLINKS.
30188         * elf/chroot_canon.c (chroot_canon): Likewise.
30189
30190 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
30191
30192         [BZ #13717]
30193         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30194         Change to 2.6.0 everywhere.
30195         * sysdeps/unix/sysv/linux/configure: Regenerated.
30196         * sysdeps/unix/sysv/linux/kernel-features.h
30197         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
30198         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
30199         kernel versions.
30200         (__ASSUME_POSIX_TIMERS): Define unconditionally.
30201         (__ASSUME_FUTEX_REQUEUE): Remove.
30202         (__ASSUME_STATFS64): Define unconditionally.
30203         (__ASSUME_AT_SECURE): Likewise.
30204         (__ASSUME_CORRECT_SI_PID): Likewise.
30205         (__ASSUME_TGKILL): Define without depending on kernel version for
30206         i386.
30207         (__ASSUME_UTIMES): Likewise.
30208         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
30209         kernel version.
30210         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
30211         (__ASSUME_TMPFS_NAME): Likewise.
30212         * README: Update reference to Linux kernel versions.
30213
30214 2012-08-02  Marek Polacek  <polacek@redhat.com>
30215
30216         [BZ# 14150]
30217         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
30218         libc_cv_asm_type_prefix with %.
30219         * configure: Regenerated.
30220         * include/libc-symbols.h: Remove comment about
30221         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30222         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
30223         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
30224         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
30225         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
30226         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
30227         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
30228         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
30229         * elf/tst-unique2mod1.c: Likewise.
30230         * elf/tst-unique1mod2.c: Likewise.
30231         * elf/tst-unique1mod1.c: Likewise.
30232         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
30233         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
30234         Replace ASM_TYPE_DIRECTIVE with .type.
30235         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30236         * sysdeps/i386/sysdep.h: Likewise.
30237         * sysdeps/x86_64/sysdep.h: Likewise.
30238         * sysdeps/sh/sysdep.h: Likewise.
30239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30240         Do not define ASM_TYPE_DIRECTIVE.
30241         * sysdeps/powerpc/sysdep.h: Likewise.
30242         * sysdeps/powerpc/powerpc32/sysdep.h:
30243         Replace ASM_TYPE_DIRECTIVE with .type.
30244         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
30245         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
30246         * sysdeps/i386/fpu/e_powf.S: Likewise.
30247         * sysdeps/i386/fpu/e_expl.S: Likewise.
30248         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
30249         * sysdeps/i386/fpu/e_acosh.S: Likewise.
30250         * sysdeps/i386/fpu/e_pow.S: Likewise.
30251         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
30252         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
30253         * sysdeps/i386/fpu/s_expm1.S: Likewise.
30254         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
30255         * sysdeps/i386/fpu/e_log2.S: Likewise.
30256         * sysdeps/i386/fpu/e_log2l.S: Likewise.
30257         * sysdeps/i386/fpu/e_scalb.S: Likewise.
30258         * sysdeps/i386/fpu/e_powl.S: Likewise.
30259         * sysdeps/i386/fpu/e_log10f.S: Likewise.
30260         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
30261         * sysdeps/i386/fpu/e_logl.S: Likewise.
30262         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
30263         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
30264         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
30265         * sysdeps/i386/fpu/e_log2f.S: Likewise.
30266         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
30267         * sysdeps/i386/fpu/e_log.S: Likewise.
30268         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
30269         * sysdeps/i386/fpu/e_logf.S: Likewise.
30270         * sysdeps/i386/fpu/e_log10l.S: Likewise.
30271         * sysdeps/i386/fpu/e_atanh.S: Likewise.
30272         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
30273         * sysdeps/i386/fpu/e_log10.S: Likewise.
30274         * sysdeps/i386/fpu/s_frexp.S: Likewise.
30275         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
30276         * sysdeps/i386/fpu/s_asinh.S: Likewise.
30277         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
30278         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
30279         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
30280         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
30281         * sysdeps/i386/i686/strtok.S: Likewise.
30282         * sysdeps/i386/i386-mcount.S: Likewise.
30283         * sysdeps/i386/strtok.S: Likewise.
30284         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
30285         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
30286         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
30287         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
30288         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
30289         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
30290         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
30291         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
30292         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
30293         * sysdeps/x86_64/_mcount.S: Likewise.
30294         * sysdeps/x86_64/strtok.S: Likewise.
30295         * sysdeps/sh/_mcount.S: Likewise.
30296
30297 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30298
30299         * libio/iofopen.c: Include <fcntl.h>.
30300         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
30301         (_IO_fopen64, fopen64): Define as aliases.
30302         * libio/iofopen64.c: Include <fcntl.h>.
30303         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
30304         Conditionalize body on this.
30305         * sysdeps/wordsize-64/iofopen.c: File removed.
30306         * sysdeps/wordsize-64/iofopen64.c: File removed.
30307
30308 2012-08-01  Marek Polacek  <polacek@redhat.com>
30309
30310         * libc/Makeconfig: Use elf in place of binfmt-subdir.
30311         Use dlfcn directly instead of a variable.
30312         (binfmt-subdir): Do not define.
30313         (dlfcn): Likewise.
30314
30315 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
30316
30317         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
30318         Remove all definitions.
30319         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
30320         <kernel-features.h>.
30321         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30322         (miss_F_GETOWN_EX): Remove all definitions.
30323         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
30324         macro definition.
30325         [!__ASSUME_FCNTL64]: Remove conditional code.
30326         [__ASSUME_FCNTL64]: Make code unconditional.
30327         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
30328         <kernel-features.h>.
30329         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
30330         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
30331         (lockf64) [__NR_fcntl64]: Make code unconditional.
30332         (lockf64) [__ASSUME_FCNTL64]: Likewise.
30333
30334         * sysdeps/unix/sysv/linux/kernel-features.h
30335         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
30336         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
30337         Make code unconditional.
30338         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30339         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
30341         [__NR_vfork]: Make code unconditional.
30342         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30343         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
30345         [__NR_vfork]: Make code unconditional.
30346         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
30347         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
30348
30349 2012-08-01  Roland McGrath  <roland@hack.frob.com>
30350
30351         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
30352         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
30353
30354         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30355         Define mkstemp64 as an alias.
30356         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30357         Define mkstemps64 as an alias.
30358         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30359         Define mkostemp64 as an alias.
30360         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
30361         Define mkostemps64 as an alias.
30362         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
30363         Conditionalize body on this.
30364         * misc/mkostemp64.c: Likewise.
30365         * misc/mkostemps64.c: Likewise.
30366         * misc/mkstemps64.c: Likewise.
30367         * sysdeps/wordsize-64/mkstemp64.c: File removed.
30368         * sysdeps/wordsize-64/mkostemp64.c: File removed.
30369         * sysdeps/wordsize-64/mkostemp.c: File removed.
30370         * sysdeps/wordsize-64/mkstemp.c: File removed.
30371         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
30372         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
30373         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
30374         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
30375
30376         [BZ #14138]
30377         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
30378         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
30379         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
30380         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
30381
30382         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
30383         compat_symbol macros from <shlib-compat.h> rather than the underlying
30384         default_symbol_version and symbol_version macros, so that DEFAULT
30385         lines in shlib-versions are respected.
30386         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
30387
30388 2012-08-01  Florian Weimer  <fweimer@redhat.com>
30389
30390         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
30391         Declare with warn_unused_result.
30392         (setgid, setregid, setegid, setresgid): Likewise.
30393         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
30394         Likewise.
30395         * WUR-REPORT: Remove set*id functions.
30396
30397 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
30398
30399         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
30400
30401 2012-07-31  Roland McGrath  <roland@hack.frob.com>
30402
30403         [BZ #10191]
30404         * include/sys/socket.h (__libc_accept, __libc_accept4):
30405         Add attribute_hidden.
30406         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
30407
30408         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
30409         use of PTR_MANGLE.
30410         * inet/getnetgrent_r.c (setup): Likewise.
30411
30412         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
30413
30414 2012-07-31  David S. Miller  <davem@davemloft.net>
30415
30416         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30417
30418 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
30419
30420         [BZ #13629]
30421         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
30422         value between 1.0 and 2.0 and smaller part has absolute value less
30423         than 1.0.
30424         * math/s_clog10.c (__clog10): Likewise.
30425         * math/s_clog10f.c (__clog10f): Likewise.
30426         * math/s_clog10l.c (__clog10l): Likewise.
30427         * math/s_clogf.c (__clogf): Likewise.
30428         * math/s_clogl.c (__clogl): Likewise.
30429         * math/libm-test.inc (clog_test): Add more tests.
30430         (clog10_test): Likewise.
30431         * sysdeps/i386/fpu/libm-test-ulps: Update.
30432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30433
30434 2012-07-31  Florian Weimer  <fweimer@redhat.com>
30435
30436         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
30437         Exit with zero in case no suitable GID is found, and write a
30438         message to standard error.
30439
30440 2012-07-30  Roland McGrath  <roland@hack.frob.com>
30441
30442         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
30443         rather than to 1.
30444         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
30445         (MAXPATHLEN): Removed.
30446         (NOGROUP, NODEV): New macros.
30447         (setbit, clrbit, isset, isclr): New macros.
30448         (howmany, roundup, powerof2): New macros.
30449         (DEV_BSIZE): New macro.
30450
30451         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
30452         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
30453
30454         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
30455         definition on [!__NO_LONG_DOUBLE_MATH].
30456
30457         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
30458         PTR_MANGLE and PTR_DEMANGLE.
30459
30460         * socket/accept4.c (accept4): Rename to __libc_accept4.
30461         Define accept4 as a weak alias.
30462
30463         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
30464         on [_DIRENT_HAVE_D_TYPE].
30465         * io/ftw.c (ftw_dir): Likewise.
30466
30467         * io/xmknod.c (__xmknod): Don't check PATH for being null.
30468
30469         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
30470
30471         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
30472         Use the BSD numbers rather than the arbitrary ones we had.
30473         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
30474         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
30475         (SIGXCPU, SIGXFSZ): New macros.
30476         (_NSIG): Now 32.
30477
30478         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
30479         initializer on [_LIBC_REENTRANT].
30480
30481         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
30482         definitions inside [_POSIX_MAPPED_FILES].
30483
30484         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
30485
30486         * dirent/opendir.c: Include <fcntl.h>.
30487
30488         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
30489         (__libc_getspecific): Likewise.
30490         (__libc_key_create): Likewise.
30491
30492         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
30493         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
30494         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
30495         (tmpfile64): Define as alias.
30496         * sysdeps/wordsize-64/tmpfile.c: File removed.
30497         * sysdeps/wordsize-64/tmpfile64.c: File removed.
30498         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
30499         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
30500
30501         * stdio-common/vfscanf.c: Include <stdbool.h>.
30502         * nss/makedb.c: Likewise.
30503         * stdio-common/_i18n_number.h: Likewise.
30504         * argp/argp-help.c: Likewise.
30505         * posix/wordexp.c: Likewise.
30506         * sysdeps/posix/spawni.c: Likewise.
30507         * nss/nss_files/files-initgroups.c: Likewise.
30508         * stdio-common/reg-modifier.c: Include <stdlib.h>.
30509         * nss/nss_files/files-initgroups.c: Likewise.
30510         * nss/nss_db/db-netgrp.c: Likewise.
30511         * nss/nss_db/db-initgroups.c: Likewise.
30512         * io/fchmodat.c: Include <sys/stat.h>.
30513
30514         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
30515         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
30516
30517         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
30518         [HAVE_MMAP].
30519
30520         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
30521         Add multiple inclusion protection.
30522
30523 2012-07-27  David S. Miller  <davem@davemloft.net>
30524
30525         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30526
30527 2012-07-27  Gary Benson  <gbenson@redhat.com>
30528
30529         [BZ #14298]
30530         * elf/rtld.c: Include <stap-probe.h>.
30531         (dl_main): Added static probes "init_start" and "init_complete".
30532         * elf/dl-load.c: Include <stap-probe.h>.
30533         (lose): Take new parameter "nsid".
30534         Added static probe "map_failed".
30535         (_dl_map_object_from_fd): Pass namespace id to lose.
30536         Added static probe "map_start".
30537         (open_verify): Pass namespace id to lose.
30538         * elf/dl-open.c: Include <stap-probe.h>.
30539         (dl_open_worker) Added static probes "map_complete", "reloc_start"
30540         and "reloc_complete".
30541         * elf/dl-close.c: Include <stap-probe.h>.
30542         (_dl_close_worker): Added static probes "unmap_start" and
30543         "unmap_complete".
30544         * elf/rtld-debugger-interface.txt: New file documenting the above.
30545
30546 2012-07-26  Roland McGrath  <roland@hack.frob.com>
30547
30548         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
30549         rather than a string variable.
30550         * sunrpc/rpc_main.c (h_output): Likewise.
30551         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
30552
30553 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
30554
30555         * inet/check_native.c: New file.
30556
30557 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
30558
30559         [BZ #13629]
30560         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
30561         if larger part has absolute value 1.0.
30562         * math/s_clog10.c (__clog10): Likewise.
30563         * math/s_clog10f.c (__clog10f): Likewise.
30564         * math/s_clog10l.c (__clog10l): Likewise.
30565         * math/s_clogf.c (__clogf): Likewise.
30566         * math/s_clogl.c (__clogl): Likewise.
30567         * math/libm-test.inc (clog_test): Add more tests.
30568         (clog10_test): Likewise.
30569         * sysdeps/i386/fpu/libm-test-ulps: Update.
30570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30571
30572         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
30573         (pltexit): Likewise.
30574         (La_regs): Likewise.
30575         (La_retval): Likewise.
30576         (int_retval): Likewise.
30577         Update #error for removed macros to refer only to definitions in
30578         tst-audit.h.
30579         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
30580         macro.
30581         (pltexit): Likewise.
30582         (La_regs): Likewise.
30583         (La_retval): Likewise.
30584         (int_retval): Likewise.
30585         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
30586         macro.
30587         (pltexit): Likewise.
30588         (La_regs): Likewise.
30589         (La_retval): Likewise.
30590         (int_retval): Likewise.
30591         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
30592         macro.
30593         (pltexit): Likewise.
30594         (La_regs): Likewise.
30595         (La_retval): Likewise.
30596         (int_retval): Likewise.
30597         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
30598         macro.
30599         (pltexit): Likewise.
30600         (La_regs): Likewise.
30601         (La_retval): Likewise.
30602         (int_retval): Likewise.
30603         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
30604         macro.
30605         (pltexit): Likewise.
30606         (La_regs): Likewise.
30607         (La_retval): Likewise.
30608         (int_retval): Likewise.
30609         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
30610         macro.
30611         (pltexit): Likewise.
30612         (La_regs): Likewise.
30613         (La_retval): Likewise.
30614         (int_retval): Likewise.
30615         * sysdeps/generic/tst-audit.h: Update comment to refer only to
30616         macro definitions in tst-audit.h.
30617         * sysdeps/i386/tst-audit.h: New file.
30618         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
30619         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
30620         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
30621         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
30622         * sysdeps/sh/tst-audit.h: Likewise.
30623         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
30624         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
30625         * sysdeps/x86_64/tst-audit.h: Likewise.
30626
30627 2012-07-26  Andreas Jaeger  <aj@suse.de>
30628
30629         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
30630         ptrace.
30631
30632         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
30633         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
30634         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
30635         PTRACE_O_MASK.
30636         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
30637         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
30638         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
30639
30640         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
30641         value.
30642
30643         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
30644         _sigsys.
30645         (si_call_addr, si_syscall, si_arch): Define new macro.
30646         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
30647         _sigsys.
30648         (si_call_addr, si_syscall, si_arch): Define new marcro.
30649         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
30650         _sigsys.
30651         (si_call_addr, si_syscall, si_arch): Define new macro.
30652         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
30653         _sigsys.
30654         (si_call_addr, si_syscall, si_arch): Define new macro.
30655
30656 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30657
30658         [BZ #13717]
30659         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
30660         Change to 2.4.21 where previously 2.4.1.
30661         * sysdeps/unix/sysv/linux/configure: Regenerated.
30662         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
30663         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
30664         Linux kernel version.
30665         (__ASSUME_STD_AUXV): Remove.
30666         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
30667         kernel version.
30668         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
30669         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
30670         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
30671         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
30672         (__ASSUME_NETLINK_SUPPORT): Likewise.
30673         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
30674         (__no_netlink_support): Remove conditional definition.
30675         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
30676         Remove.
30677         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30678         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
30679         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
30680         (if_nameindex_ioctl): Remove.
30681         (if_nameindex_netlink): Do not handle __no_netlink_support.
30682         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30683         code.
30684         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
30685         Remove conditional code.
30686         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
30687         code.
30688         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
30689         unconditional.
30690         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
30691         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
30692         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
30693         Remove.
30694         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
30695         [!__ASSUME_STD_AUXV]: Remove conditional code.
30696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
30697         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
30698         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
30699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
30700         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
30701         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30702         code.
30703         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
30705         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
30706         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30707         conditional code.
30708         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
30709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
30710         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
30711         code.
30712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
30713         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
30714         conditional code.
30715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
30716         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30717         code unconditional.
30718         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30719         conditional code.
30720         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30721         unconditional.
30722         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30723         conditional code.
30724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
30725         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30726         unconditional.
30727         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30728         conditional code.
30729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
30730         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30731         code unconditional.
30732         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30733         conditional code.
30734         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30735         unconditional.
30736         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30737         conditional code.
30738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
30739         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
30740         code unconditional.
30741         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30742         conditional code.
30743         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
30744         unconditional.
30745         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
30746         conditional code.
30747
30748 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
30749
30750         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
30751         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
30752         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
30753         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
30754         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
30755         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
30756         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
30757         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
30758         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
30759         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
30760         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
30761         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
30762         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
30763         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
30764         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
30765         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
30766         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
30767         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
30768         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
30769         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
30770         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
30771         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
30772         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30773
30774 2012-07-25  Florian Weimer  <fweimer@redhat.com>
30775
30776         * Versions.def: Add GLIBC_2.17.
30777         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
30778         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
30779         Introduce __libc_secure_getenv.
30780         * stdlib/Versions (2.17): Add secure_getenv
30781         (GLIBC_PRIVATE): Add __libc_secure_getenv.
30782         * stdlib/secure-getenv.c: Rename __secure_getenv to
30783         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
30784         symbol __secure_getenv for GLIBC_2.0.
30785         * stdlib/tst-secure-getenv.c: New.
30786         * stdlib/Makefile (tests): Add testcase.
30787         * manual/startup.texi (Environment Access): Document
30788         secure_getenv.
30789         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
30790         __libc_secure_getenv.
30791         * inet/ruserpass.c (ruserpass): Likewise.
30792         * malloc/mtrace.c (mtrace): Likewise.
30793         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
30794         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
30795         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
30796         * sysdeps/posix/tempname.c: Likewise.  Evaluate
30797         HAVE_SECURE_GETENV.
30798         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
30799         __secure_getenv to __libc_secure_getenv.
30800         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
30801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30802         Likewise.
30803         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30804         Likewise.
30805         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
30806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
30807         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
30809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
30810         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
30812
30813 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
30814
30815         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
30816         (struct La_i86_retval): Likewise.
30817         (struct La_x86_64_regs): Likewise.
30818         (struct La_x86_64_retval): Likewise.
30819         (struct La_x32_regs): Likewise.
30820         (struct La_x32_retval): Likewise.
30821         (struct La_ppc32_regs): Likewise.
30822         (struct La_ppc32_retval): Likewise.
30823         (struct La_ppc64_regs): Likewise.
30824         (struct La_ppc64_retval): Likewise.
30825         (struct La_sh_regs): Likewise.
30826         (struct La_sh_retval): Likewise.
30827         (struct La_s390_32_regs): Likewise.
30828         (struct La_s390_32_retval): Likewise.
30829         (struct La_s390_64_regs): Likewise.
30830         (struct La_s390_64_retval): Likewise.
30831         (struct La_sparc32_regs): Likewise.
30832         (struct La_sparc32_retval): Likewise.
30833         (struct La_sparc64_regs): Likewise.
30834         (struct La_sparc64_retval): Likewise.
30835         (struct audit_ifaces): Remove architecture-specific pltenter and
30836         pltexit members.
30837         * sysdeps/i386/ldsodefs.h: New file.
30838         * sysdeps/powerpc/ldsodefs.h: Likewise.
30839         * sysdeps/s390/ldsodefs.h: Likewise.
30840         * sysdeps/sh/ldsodefs.h: Likewise.
30841         * sysdeps/sparc/ldsodefs.h: Likewise.
30842         * sysdeps/x86_64/ldsodefs.h: Likewise.
30843
30844 2012-07-25  Marek Polacek  <polacek@redhat.com>
30845
30846         [BZ #6808]
30847         * math/libm-test.inc (yn_test): Add another test.
30848         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
30849         to ERANGE when the result is +-Inf.
30850         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
30851         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
30852         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
30853         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
30854
30855 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
30856
30857         * conform/data/time.h-data (NULL): Use macro-constant.  Require
30858         equal to 0.
30859         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
30860         clock_t.
30861         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
30862
30863 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
30864
30865         * configure.in <sysdeps resolving>: Correct printing
30866         Implies_before.
30867         * configure: Regenerate.
30868
30869 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
30870
30871         * math/w_ilogb.c: Include <limits.h>.
30872         * math/w_ilogbl.c: Likewise.
30873
30874 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30875
30876         * manual/lang.texi (__va_copy): Document primarily as ISO C99
30877         va_copy.  Document allowing for unavailable va_copy only as
30878         pre-C99 compatibility.
30879         * manual/string.texi (Copying and Concatenation): Use va_copy
30880         instead of __va_copy in concat example.
30881
30882 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
30883
30884         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
30885         (__sendto): Use create_address_port.  Initialize APORT and deallocate
30886         it if not null.
30887
30888         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
30889         with O_NOLINK passed to __file_name_lookup.
30890
30891         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
30892         with O_NOLINK passed to __file_name_lookup.
30893
30894         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
30895         negative N or less than NGIDS.
30896
30897         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
30898         type to string_t.  Set ERANGE as errno and return it if NAME is not big
30899         enough.  Use memcpy instead of strncpy.
30900
30901 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
30902
30903         * elf/Makefile (check-data): Remove.
30904         (localplt.data): New vpath directive.
30905         ($(objpfx)check-localplt.out): Use localplt.data from vpath
30906         instead of $(check-data).
30907         * scripts/data/localplt-generic.data: Move to ...
30908         * sysdeps/generic/localplt.data: ... here.
30909         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
30910         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
30911         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
30912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
30913         ... here.
30914         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
30915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
30916         ... here.
30917         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
30918         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
30919         ... here.
30920         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
30921         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
30922         ... here.
30923         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
30924         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
30925         ... here.
30926         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
30927         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
30928         ... here.
30929
30930 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30931
30932         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
30933         PPC32 and PPC64 files.
30934         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
30935         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
30936
30937 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30938
30939         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
30940         __makecontext_ret to ...
30941         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
30942         ... here and call exit if uc_link is NULL.  New file.
30943         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
30944         __makecontext_ret.S.
30945         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
30946         __makecontext_ret to ...
30947         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
30948         ... here and call exit if uc_link is NULL.  New file.
30949         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
30950         __makecontext_ret.S.
30951
30952 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30953
30954         * elf/elf.h (R_390_IRELATIVE): New definition.
30955         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
30956         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
30957         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
30958         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
30959         (elf_machine_lazy_rel): Likewise.
30960         * sysdeps/s390/dl-irel.h: New file.
30961         * sysdeps/s390/s390-64/memcpy.S: New asm code.
30962         * sysdeps/s390/s390-64/memset.S: New asm code.
30963         * sysdeps/s390/s390-64/memcmp.S: New asm code.
30964         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
30965         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
30966         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
30967         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
30968         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
30969         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
30970         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
30971         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
30972         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
30973         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
30974         * sysdeps/s390/s390-32/memcpy.S: New asm code.
30975         * sysdeps/s390/s390-32/memset.S: New asm code.
30976         * sysdeps/s390/s390-32/memcmp.S: New asm code.
30977
30978 2012-07-17  Marek Polacek  <polacek@redhat.com>
30979
30980         [BZ #14349]
30981         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
30982         * sysdeps/s390/s390-64/configure.in: Likewise.
30983         * sysdeps/sparc/configure.in: Likewise.
30984         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
30985         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
30986         * sysdeps/i386/configure.in: Likewise.
30987         * sysdeps/x86_64/configure.in: Likewise.
30988         * sysdeps/sh/configure.in: Likewise.
30989         * sysdeps/s390/s390-32/configure: Regenerated.
30990         * sysdeps/s390/s390-64/configure: Likewise.
30991         * sysdeps/x86_64/configure: Likewise.
30992         * sysdeps/sh/configure: Likewise.
30993         * sysdeps/powerpc/powerpc64/configure: Likewise.
30994         * sysdeps/powerpc/powerpc32/configure: Likewise.
30995         * sysdeps/sparc/configure: Likwise.
30996         * sysdeps/i386/configure: Likewise.
30997
30998         * elf/dl-open.c: Comment fixes.
30999
31000 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
31001
31002         * Makefile [CXX] (check-data): Remove.
31003         [CXX] (c++-types.data): New vpath directive.
31004         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
31005         vpath.  Do not allow for C++ type data being missing.
31006         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
31007         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
31008         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
31009         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
31010         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
31011         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
31012         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
31013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
31014         ... here.
31015         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
31016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
31017         ... here.
31018         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
31019         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
31020         ... here.
31021         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
31022         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
31023         ... here.
31024         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
31025         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
31026         ... here.
31027         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
31028         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
31029         ... here.
31030         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
31031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
31032         ... here.
31033         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
31034         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
31035
31036         * elf/tls-macros.h (TLS_LE): Move architecture-specific
31037         definitions to architecture-specific files.
31038         (TLS_IE): Likewise.
31039         (TLS_LD): Likewise.
31040         (TLS_GD): Likewise.
31041         * sysdeps/i386/tls-macros.h: New file.
31042         * sysdeps/powerpc/tls-macros.h: Likewise.
31043         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
31044         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
31045         * sysdeps/sh/tls-macros.h: Likewise.
31046         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
31047         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
31048         * sysdeps/x86_64/tls-macros.h: Likewise.
31049
31050 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31051
31052         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
31053         zero value for regular exit case.
31054
31055         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
31056         (__start_context): Preserve zero value for regular exit case.
31057
31058 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
31059             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31060
31061         * manual/setjmp.texi (setcontext): Clarify normal process
31062         termination when uc_link is the null pointer.
31063         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
31064         exit call.
31065
31066 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
31067
31068         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
31069         preprocessor.  Test for each exception mask separately.
31070
31071 2012-07-16  Andreas Jaeger  <aj@suse.de>
31072
31073         * po/ru.po: Update from translation team.
31074
31075 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
31076
31077         * conform/data/string.h-data (NULL): Use macro-constant.  Require
31078         equal to 0.
31079         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31080         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31081         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
31082         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
31083         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31084
31085 2012-07-13  Andreas Jaeger  <aj@suse.de>
31086
31087         * po/fr.po: Update from translation team.
31088
31089 2012-07-12  Marek Polacek  <polacek@redhat.com>
31090
31091         [BZ #14173]
31092         * math/libm-test.inc (yn_test): Add test for BZ #14173.
31093         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
31094         loop condition.
31095
31096 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
31097
31098         [BZ #13717]
31099         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
31100         Change to 2.4.1 where previously 2.4.0.
31101         * sysdeps/unix/sysv/linux/configure: Regenerated.
31102         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
31103         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
31104         version.
31105         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
31106         (__ASSUME_AT_CLKTCK): Remove.
31107         (__ASSUME_AT_PAGESIZE): Likewise.
31108         (__ASSUME_AT_XID): Likewise.
31109         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
31110         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
31111         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
31112         unconditionally.
31113         (HAVE_AUX_PAGESIZE): Likewise.
31114         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
31115         [__ASSUME_AT_CLKTCK]: Make code unconditional.
31116         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
31117
31118 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
31119
31120         [BZ #14307]
31121         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
31122         the temporary buffer used to invoke __gethostbyname2_r,
31123         __gethostbyaddr_r and gethostbyname4_r to make room for struct
31124         host_data / struct gaih_addrtuple.
31125         * resolv/nss_dns/dns-host.c (global scope): Move definition of
31126         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
31127         header file nss/nsswitch.h.
31128         * nss/nsswitch.h (global scope): Add definition of implementation
31129         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
31130         resolv/nss_dns/dns-host.c).
31131
31132 2012-07-11  Andreas Jaeger  <aj@suse.de>
31133
31134         * po/fr.po: Update from translation team.
31135
31136         * po/sv.po: Update from translation team
31137         * po/fr.po: Another update from translation team.
31138
31139 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31140
31141         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
31142         for subnormals or multiply small sinh result by itself.
31143         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
31144         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31145
31146 2012-07-11  David S. Miller  <davem@davemloft.net>
31147
31148         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31149
31150 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
31151
31152         [BZ #14347]
31153         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
31154         (INTERNAL_MARK): Shift it here.
31155
31156 2012-07-10  Marek Polacek  <polacek@redhat.com>
31157
31158         [BZ #14151]
31159         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
31160         libc_cv_asm_global_directive with .globl.
31161         * configure: Regenerated.
31162         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
31163         with .globl.
31164         * sysdeps/i386/configure: Regenerated.
31165         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
31166         with .globl.
31167         * sysdeps/x86_64/configure: Regenerated.
31168         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
31169         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
31170         * elf/tst-unique2mod2.c: Likewise.
31171         * elf/tst-unique2mod1.c: Likewise.
31172         * elf/tst-unique1mod2.c: Likewise.
31173         * elf/tst-unique1mod1.c: Likewise.
31174         * sysdeps/s390/s390-32/sysdep.h: Likewise.
31175         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
31176         * sysdeps/s390/s390-64/sysdep.h: Likewise.
31177         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
31178         * sysdeps/mach/sysdep.h: Likewise.
31179         * sysdeps/i386/sysdep.h: Likewise.
31180         * sysdeps/i386/i386-mcount.S: Likewise.
31181         * sysdeps/x86_64/_mcount.S: Likewise.
31182         * sysdeps/x86_64/sysdep.h: Likewise.
31183         * sysdeps/sh/_mcount.S: Likewise.
31184         * sysdeps/sh/sysdep.h: Likewise.
31185         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
31186         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
31187         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
31188         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31189         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
31190         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
31191         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
31192         * locale/localeinfo.h: Likewise.
31193         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
31194         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
31195
31196 2012-07-09  Roland McGrath  <roland@hack.frob.com>
31197
31198         [BZ #14336]
31199         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
31200         system".
31201         * manual/message.texi (The Uniforum approach): Likewise.
31202         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
31203         (glibc iconv Implementation): Likewise.
31204
31205 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
31206
31207         [BZ #14337]
31208         * math/s_clog.c (__clog): Avoid scaling a value down where that
31209         could result in underflow.
31210         * math/s_clog10.c (__clog10): Likewise.
31211         * math/s_clog10f.c (__clog10f): Likewise.
31212         * math/s_clog10l.c (__clog10l): Likewise.
31213         * math/s_clogf.c (__clogf): Likewise.
31214         * math/s_clogl.c (__clogl): Likewise.
31215         * math/libm-test.inc (clog_test): Add more tests.
31216         (clog10_test): Likewise.
31217         * sysdeps/i386/fpu/libm-test-ulps: Update.
31218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31219
31220 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
31221
31222         [BZ #14283]
31223         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
31224         by 7 not 8 to examine high bit of fractional part.
31225
31226         [BZ #14042]
31227         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
31228         for call to __mcount_internal.
31229         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
31230         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
31231         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
31232
31233 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
31234
31235         [BZ #14154]
31236         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
31237         approximation for values within 0x1p-13f of an odd multiple of
31238         pi/4.
31239         * math/libm-test.inc (tan_test): Do not allow spurious underflow
31240         exception.  Add more tests.
31241         * sysdeps/i386/fpu/libm-test-ulps: Update.
31242
31243         [BZ #6778]
31244         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
31245         inputs and return -1 for them.  Do not check for +Inf in case not
31246         reachable for +Inf.
31247         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
31248         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
31249         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31250         and return -1 for them.  Do not check for +Inf in case not
31251         reachable for +Inf.
31252         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
31253         define.
31254         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
31255         and return -1 for them.  Do not check for +Inf in case not
31256         reachable for +Inf.
31257         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
31258         spurious underflow.
31259         * sysdeps/i386/fpu/libm-test-ulps: Update.
31260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31261
31262 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
31263
31264         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
31265
31266 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
31267
31268         [BZ #14157]
31269         [BZ #14331]
31270         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
31271         could result in spurious underflow.  Scale down values above
31272         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
31273         * math/s_csqrtf.c (__csqrtf): Likewise.
31274         * math/s_csqrtl.c (__csqrtl): Likewise.
31275         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
31276         spurious underflow.
31277         * sysdeps/i386/fpu/libm-test-ulps: Update.
31278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31279
31280 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
31281
31282         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
31283         xopen-msg.sed.
31284         * catgets/xopen-msg.awk: New file.
31285         * catgets/xopen-msg.sed: Removed.
31286
31287         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
31288         po2text.sed.
31289         * intl/po2test.awk: New file.
31290         * intl/po2test.sed: Removed.
31291
31292 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
31293
31294         [BZ #14328]
31295         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
31296         or multiply small sinh result by itself.
31297         * math/s_ctanf.c (__ctanf): Likewise.
31298         * math/s_ctanh.c (__ctanh): Likewise.
31299         * math/s_ctanhf.c (__ctanhf): Likewise.
31300         * math/s_ctanhl.c (__ctanhl): Likewise.
31301         * math/s_ctanl.c (__ctanl): Likewise.
31302         * math/libm-test.inc (ctan_test_tonearest): New function.
31303         (ctan_test_towardzero): Likewise.
31304         (ctan_test_downward): Likewise.
31305         (ctan_test_upward): Likewise.
31306         (ctanh_test_tonearest): Likewise.
31307         (ctanh_test_towardzero): Likewise.
31308         (ctanh_test_downward): Likewise.
31309         (ctanh_test_upward): Likewise.
31310         (main): Call these new functions.
31311         * sysdeps/i386/fpu/libm-test-ulps: Update.
31312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31313
31314 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
31315
31316         * .gitignore: Delete /ports entry.
31317
31318 2012-07-03  Andreas Jaeger  <aj@suse.de>
31319
31320         * po/bg.po: Update from translation team.
31321         * po/cs.po: Likewise.
31322         * po/de.po: Likewise.
31323         * po/hr.po: Likewise.
31324         * po/nl.pl: Likewise.
31325         * po/pl.po: Likewise.
31326         * po/vi.po: Likewise.
31327
31328 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
31329
31330         * Makeconfig [!+link] (+link-before-libc): New variable.
31331         [!+link] (+link-after-libc): Likewise.
31332         [!+link] (+link-tests): Likewise.
31333         [!+link] (+link): Define in terms of $(+link-before-libc) and
31334         $(+link-after-libc).
31335         [!+link-static] (+link-static-before-libc): New variable.
31336         [!+link-static] (+link-static-after-libc): Likewise.
31337         [!+link-static] (+link-static-tests): Likewise.
31338         [!+link-static] (+link-static): Define in terms of
31339         $(+link-static-before-libc) and $(+link-static-after-libc).
31340         [build-shared] (link-libc-before-gnulib): New variable.
31341         [build-shared] (link-libc-tests): Likewise.
31342         [build-shared] (link-libc): Define in terms of
31343         $(link-libc-before-gnulib).
31344         [!build-shared] (link-libc-tests): New variable.
31345         (link-libc-static-tests): New variable.
31346         [!gnulib] (gnulib-arch): New variable.
31347         [!gnulib] (gnulib-tests): Likewise.
31348         [!gnulib] (static-gnulib-arch): Likewise.
31349         [!gnulib] (static-gnulib-tests): Likewise.
31350         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
31351         Define with "=" instead of ":=".
31352         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
31353         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
31354         * Rules (binaries-all-notests): New variable.
31355         (binaries-all-tests): Likewise.
31356         (binaries-static-notests): Likewise.
31357         (binaries-static-tests): Likewise.
31358         (binaries-all): Define using $(binaries-all-notests) and
31359         $(binaries-all-tests).
31360         (binaries-static): Define using $(binaries-static-notests) and
31361         $(binaries-static-tests).
31362         (binaries-shared-tests): New variable.
31363         (binaries-shared-notests): Likewise.
31364         (binaries-shared): Remove variable.
31365         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
31366         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
31367         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
31368         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
31369         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
31370         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
31371         * elf/Makefile (sln-modules): New variable.
31372         (extra-objs): Add $(sln-modules:=.o).
31373         (ldconfig-modules): Add static-stubs.
31374         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
31375         * elf/static-stubs.c: New file.
31376
31377         [BZ #14283]
31378         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
31379         by 7 not 8 to examine high bit of fractional part.  Use volatile
31380         variables when splitting into final array of floats if
31381         __FLT_EVAL_METHOD__ != 0.
31382         * math/libm-test.inc (cos_test): Add another test.
31383         (sin_test): Likewise.
31384         * sysdeps/i386/fpu/libm-test-ulps: Update.
31385
31386         [BZ #14273]
31387         * math/libm-test.inc (cosh_test): Add more tests.
31388
31389         * version.h (RELEASE): Set to "development".
31390         (VERSION): Set to "2.16.90".
31391
31392 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
31393
31394         * NEWS: Update copyright. Remove last-updated date.
31395         Mention math library bug fixes and timezone data changes.
31396         * README: Mention GNU/Hurd, x32, and HPPA support status.
31397
31398 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
31399
31400         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
31401
31402 2012-06-27  Andreas Jaeger  <aj@suse.de>
31403
31404         * manual/contrib.texi (Contributors): Add Samuel Thibault.
31405
31406 2012-06-25  Andreas Jaeger  <aj@suse.de>
31407
31408         * sysdeps/s390/fpu/libm-test-ulps: Update.
31409
31410 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
31411             Thomas Schwinge  <thomas@codesourcery.com>
31412
31413         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
31414         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
31415         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
31416         fanotify_mark.
31417
31418 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
31419
31420         * sysdeps/mach/start.c: Remove file.
31421         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
31422         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
31423         * sysdeps/sh/init-first.c: Likewise.
31424
31425         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
31426         registers for frame unwinding purposes, add CFI directives.
31427         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31428         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
31429         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
31430         Likewise.
31431
31432         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
31433         __fortify_fail returning.
31434         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
31435
31436         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
31437         sysdeps/sh/____longjmp_chk.S.
31438         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
31439         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
31440         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
31441         (gen-as-const-headers): Append sigaltstack-offsets.sym.
31442
31443         * sysdeps/sh/abort-instr.h: New file.
31444         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
31445         process in case exit returns.
31446
31447         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
31448         initialize the GOT register before use.
31449
31450         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
31451         calculation of ARGC > 4.
31452
31453         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
31454         meaningful names to some local labels.
31455
31456 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
31457             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31458
31459         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
31460         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
31461         (__arch_compare_and_exchange_val_16_acq): Likewise.
31462         (__arch_compare_and_exchange_val_32_acq): Likewise.
31463         (atomic_exchange_and_add): Fix gUSA sequence.
31464         (atomic_add): Likewise.
31465         (atomic_add_negative): Likewise.
31466         (atomic_add_zero): Likewise.
31467         (atomic_bit_test_set): Likewise.
31468
31469 2012-06-22  Andreas Schwab  <schwab@redhat.com>
31470
31471         [BZ #13579]
31472         * include/link.h (struct link_map): Add l_free_initfini.
31473         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
31474         l_initfini.
31475         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
31476         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
31477         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
31478         set.
31479
31480 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
31481
31482         * configure.in: Use AC_LANG_SOURCE.
31483         * configure: Regenerate.
31484
31485 2012-06-22  Roland McGrath  <roland@hack.frob.com>
31486
31487         * configure.in (libc_cv_localstatedir): New substituted variable.
31488         * configure: Regenerated.
31489         * config.make.in (localstatedir): New variable, substituted from
31490         libc_cv_localstatedir.
31491         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
31492         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
31493         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
31494         * sysdeps/gnu/configure: Regenerated.
31495
31496 2012-06-21  Jeff Law  <law@redhat.com>
31497
31498         [BZ #14277]
31499         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
31500         free.  Simplify list management for _LIBC case.
31501
31502 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
31503
31504         [BZ #14273]
31505         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
31506         Clear sign bit of 64-bit integer value before comparing against
31507         overflow value.
31508
31509         * sysdeps/mach/configure: Regenerated.
31510
31511 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
31512
31513         [BZ #14278]
31514         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
31515
31516 2012-06-21  Jeff Law  <law@redhat.com>
31517
31518         [BZ #13882]
31519         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
31520         uint16_t for elements in the "seen" array to avoid char overflows.
31521         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31522         * elf/dl-open.c (dl_open_worker): Likewise.
31523
31524 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
31525
31526         * scripts/list-sources.sh: Scan PORTS for translations.
31527         * po/libc.pot: Regenerated.
31528
31529 2012-06-21  Andreas Jaeger  <aj@suse.de>
31530
31531         [BZ #12194]
31532         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
31533         warning.
31534         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
31535         * bits/byteswap-16.h (__bswap_16): Likewise.
31536         * bits/byteswap.h (__bswap_constant_16): Likewise.
31537
31538 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
31539
31540         [BZ #14117]
31541         * sysdeps/i386/fpu_control.h: Removed.
31542         * sysdeps/x86_64/fpu_control.h: Moved to ...
31543         * sysdeps/x86/fpu_control.h: Here.
31544
31545         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
31546         (_FPU_SETCW): Likewise.
31547
31548 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
31549
31550         [BZ #14117]
31551         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
31552         * sysdeps/x86/fpu/bits/mathinline.h: This.
31553         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
31554
31555         [BZ #14050]
31556         [BZ #14117]
31557         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
31558         functions if __x86_64__ is defined.
31559
31560 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
31561
31562         * string/endian.h: Add !__ASSEMBLER__ condition for including
31563         conversion interfaces.
31564
31565 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
31566
31567         [BZ #14241]
31568         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
31569         of ABS(x) in calculating zero to negative powers other than odd
31570         integers.
31571         * math/libm-test.inc (pow_test): Add more tests.
31572
31573 2012-06-15  Andreas Jaeger  <aj@suse.de>
31574
31575         * manual/contrib.texi (Contributors): Update entry of Liubov
31576         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
31577         Machado Filho.
31578
31579 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
31580
31581         * string/string.h: Add __wur to GNU version of strerror_r.
31582
31583 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
31584
31585         [BZ #14229]
31586         * string/Makefile (tests): Add tst-strtok_r.
31587         * string/tst-strtok_r.c: New file.
31588         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
31589         RAX_LP/RDX_LP on SAVE_PTR.
31590
31591 2012-06-14  Roland McGrath  <roland@hack.frob.com>
31592
31593         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
31594
31595 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
31596
31597         * libm_test.inc (csqrt_test): Allow more spurious underflow
31598         exceptions.
31599         (j0_test): Likewise.
31600         (j1_test): Likewise.
31601         (y0_test): Likewise.
31602         (y1_test): Likewise.
31603
31604 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
31605
31606         * po/Makefile (libc.pot): Use UTF-8 charset.
31607
31608 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
31609
31610         [BZ #14210]
31611         Suppress sign-conversion warning from FD_SET.
31612         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
31613         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
31614         not unsigned long int.
31615         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
31616
31617 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
31618
31619         [BZ #14050]
31620         [BZ #14117]
31621         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
31622         __extern_always_inline instead of __extern_inline.
31623         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
31624         (__signbit): Likewise.
31625         (__signbitl): Support C++ namespace.
31626         (lrintf): New inline function.
31627         (lrint): Likewise.
31628         (llrintf): Likewise.
31629         (llrint): Likewise.
31630         (fmaxf): Likewise.
31631         (fmax): Likewise.
31632         (fminf): Likewise.
31633         (fmin): Likewise.
31634         (rint): Likewise.
31635         (rintf): Likewise.
31636         (ceil): Likewise.
31637         (ceilf): Likewise.
31638         (floor): Likewise.
31639         (floorf): Likewise.
31640         (nearbyint): Likewise.
31641         (nearbyintf): Likewise.
31642
31643 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
31644
31645         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
31646         non-default versions.
31647
31648 2012-06-11  Roland McGrath  <roland@hack.frob.com>
31649
31650         [BZ #14218]
31651         * manual/argp.texi (Argp): Reword argp_parse description slightly.
31652
31653 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
31654
31655         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
31656         (FE_UPWARD, FE_DOWNWARD): Don't define.
31657         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
31658         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31659
31660         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
31661         reading it.
31662         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
31663         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31664
31665 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31666
31667         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31668         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
31669         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
31670         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
31671
31672 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
31673
31674         [BZ #14117]
31675         * sysdeps/i386/fpu/bits/fenv.h: Removed.
31676         * sysdeps/i386/fpu/Implies: New file.
31677         * sysdeps/x86_64/fpu/Implies: Likewise.
31678         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
31679         * sysdeps/x86/fpu/bits/fenv.h: This.
31680
31681         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
31682         __SSE_MATH__.
31683
31684 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31685
31686         [BZ #14134]
31687         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
31688         character 0xffff that matches the last element of the
31689         conversion table.
31690
31691 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31692
31693         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
31694         fmodl commit.
31695
31696 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31697
31698         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
31699         values higher than 25.6283.
31700
31701 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31702
31703         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
31704         subnormal exponent extraction and add some __builtin_expect.
31705         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
31706         Fix for subnormal mantissa calculation.
31707
31708 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
31709
31710         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
31711         cpu2 is -1 and errno is not ENOSYS.
31712
31713 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
31714
31715         [BZ #14117]
31716         * sysdeps/i386/i486/bits/string.h: Renamed to ...
31717         * sysdeps/x86/bits/string.h: This.
31718         * sysdeps/x86_64/bits/string.h: Removed.
31719
31720         * sysdeps/i386/i486/bits/string.h: Define inline functions only
31721         if not compiling for x86-64, but compiling for >= i486.
31722
31723         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
31724         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
31725
31726         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
31727         New macro from Linux kernel 3.4.0.
31728         (FP_XSTATE_MAGIC2): Likewise.
31729         (FP_XSTATE_MAGIC2_SIZE): Likewise.
31730         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
31731         (struct _fpx_sw_bytes): New struct.
31732         (struct _xsave_hdr): Likewise.
31733         (struct _ymmh_state): Likewise.
31734         (struct _xstate): Likewise.
31735
31736         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
31737         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
31738         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
31739         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
31740         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
31741         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
31742
31743         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
31744         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
31745         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
31746         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
31747         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
31748         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
31749
31750 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
31751
31752         [BZ #13743]
31753         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
31754         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
31755         (sysdep_headers): Include sys/platform/ppc.h.
31756         * sysdeps/powerpc/test-gettimebase.c: Test for
31757         __ppc_get_timebase() to catch future ISA opcode/insn changes.
31758         * manual/Makefile (appendices): Include platform.texi.
31759         * manual/contrib.texi (Contributors): Update @node pointers.
31760         * manual/maint.texi (Maintenance): Likewise.
31761         (Platform): New node.
31762         * manual/platform.texi: New file.  Document the new features.
31763
31764 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31765             Jakub Jelinek  <jakub@redhat.com>
31766
31767         [BZ #14188]
31768         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
31769         where __builtin_expect is unavailable.
31770
31771 2012-06-03  David S. Miller  <davem@davemloft.net>
31772
31773         * stdlib/longlong.h: Updated from GCC.
31774
31775 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
31776
31777         [BZ #14042]
31778         * sysdeps/powerpc/powerpc32/mcount.c: New file.
31779         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
31780         __mcount_internal.
31781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
31782         (GLIBC_2.16): Likewise.
31783
31784 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31785
31786         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
31787
31788 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31789
31790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
31791         (default-abi): New variable.
31792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
31793         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
31794         variable.
31795         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
31796         Likewise.
31797         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
31798         Likewise.
31799         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
31800         Likewise.
31801
31802         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
31803         definition.  Document in comment.
31804
31805 2012-06-01  David S. Miller  <davem@davemloft.net>
31806
31807         * stdlib/longlong.h: Updated from GCC.
31808
31809 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31810
31811         [BZ #14117]
31812         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
31813         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
31814         sys/debugreg.h sys/io.h here.
31815         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
31816         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
31817         sys/io.h.
31818         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
31819         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
31820         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
31821         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
31822         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
31823         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
31824
31825         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
31826         Define only if __x86_64__ is defined.
31827
31828 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
31829
31830         [BZ #14048]
31831         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
31832         Use int64_t for variable i.
31833         * math/libm-test.inc (fmod_test): Add more tests.
31834
31835         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
31836         z computation is not scheduled after fetestexcept.
31837         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
31838         Use math_force_eval instead of asm to ensure calculation scheduled
31839         before exception test.
31840         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
31841         Ensure a1 + u.d computation is not scheduled after fetestexcept.
31842
31843 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
31844
31845         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
31846         computation is not scheduled after fetestexcept.
31847
31848 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
31849
31850         [BZ #14117]
31851         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
31852         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
31853
31854 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31855
31856         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
31857         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
31858
31859 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31860
31861         [BZ #14117]
31862         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
31863         <bits/wordsize.h>.
31864         (__WCHAR_MIN): Support __WORDSIZE == 64.
31865         (__WCHAR_MAX): Likewise.
31866
31867         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
31868         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
31869
31870         [BZ #14183]
31871         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
31872         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
31873
31874         [BZ #14117]
31875         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
31876         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
31877
31878         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
31879         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
31880
31881         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
31882         Defined to 1 if __x86_64__ isn't defined.
31883         (_STAT_VER_LINUX_OLD): New.
31884         (st_atime): Remove duplicate.
31885         (st_mtime): Likewise.
31886         (st_ctime): Likewise.
31887
31888 2012-05-31  David S. Miller  <davem@davemloft.net>
31889
31890         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
31891         entries.
31892
31893 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
31894
31895         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
31896         gen-libm-test.pl.
31897
31898         [BZ #14132]
31899         * elf/dl-reloc.c: Include <_itoa.h>.
31900         (_dl_reloc_bad_type): Remove use of INTUSE.
31901         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
31902         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
31903         * stdio-common/psiginfo.c (psiginfo): Likewise.
31904         * stdio-common/psignal.c (psignal): Likewise.
31905         * string/strsignal.c (strsignal): Likewise.
31906         * include/signal.h (_sys_siglist): Declare hidden proto.
31907         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
31908         INTVARDEF with libc_hidden_data_def.
31909         * stdio-common/itoa-udigits.c: Likewise.
31910         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
31911         (_itoa_lower_digits_internal): Remove declaration.
31912         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
31913         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
31914         (_sys_sigabbrev_internal): Remove aliases.
31915         (_sys_siglist): Define hidden alias.
31916
31917 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
31918
31919         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31920         bits/sysctl.h.
31921
31922 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
31923
31924         [BZ #14117]
31925         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
31926         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
31927
31928         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
31929         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
31930         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
31931         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
31932         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
31933         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
31934
31935         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
31936         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
31937         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
31938
31939         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
31940         with __addr.
31941         (insw): Likewise.
31942         (insl): Likewise.
31943         (outsb): Likewise.
31944         (outsw): Likewise.
31945         (outsl): Likewise.
31946
31947         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
31948         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
31949         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
31950
31951         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
31952         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
31953         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
31954         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
31955         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
31956         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
31957
31958         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
31959         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
31960
31961         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
31962         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
31963
31964         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
31965         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
31966         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
31967
31968         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
31969         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
31970         to ...
31971         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
31972
31973         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
31974         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
31975         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
31976
31977         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
31978         for x86-64.
31979         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
31980
31981 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
31982
31983         * math/math.h (M_El): Use two more decimal places.
31984         (M_LOG2El): Likewise.
31985         (M_LOG10El): Likewise.
31986         (M_LN2l): Likewise.
31987         (M_LN10l): Likewise.
31988         (M_PIl): Likewise.
31989         (M_PI_2l): Likewise.
31990         (M_PI_4l): Likewise.
31991         (M_1_PIl): Likewise.
31992         (M_2_PIl): Likewise.
31993         (M_2_SQRTPIl): Likewise.
31994         (M_SQRT2l): Likewise.
31995         (M_SQRT1_2l): Likewise.
31996
31997 2012-05-31  David S. Miller  <davem@davemloft.net>
31998
31999         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
32000         values between float registers.
32001         * sysdeps/sparc/sparc64/memset.S: Likewise.
32002         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32003
32004 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
32005
32006         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
32007         -D_FORTIFY_SOURCE=1.
32008         (CPPFLAGS-tst-longjmp_chk.c): Define.
32009         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
32010         (CPPFLAGS-tst-longjmp_chk2.c): Define.
32011         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
32012         CFLAGS-tst-wchar-h.c.
32013
32014 2012-05-31  Marek Polacek  <polacek@redhat.com>
32015
32016         [BZ #14132]
32017         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
32018         __endmntent_internal): Remove declaration.
32019         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
32020         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
32021         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
32022
32023 2012-05-30  David S. Miller  <davem@davemloft.net>
32024
32025         * sysdeps/sparc/sparc32/soft-fp/q_util.c
32026         (___Q_simulate_exceptions): Use real FP ops rather than writing
32027         into the %fsr.
32028         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
32029         Likewise.
32030
32031 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32032
32033         [BZ #14117]
32034         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
32035         * sysdeps/x86/bits/xtitypes.h: This.
32036
32037         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
32038         * sysdeps/x86/bits/wordsize.h: This.
32039
32040         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
32041         * sysdeps/x86/bits/huge_vall.h: This.
32042
32043         * sysdeps/i386/bits/select.h: Removed.
32044         * sysdeps/x86_64/bits/select.h: Renamed to ...
32045         * sysdeps/x86/bits/select.h: This.
32046
32047         * sysdeps/i386/bits/setjmp.h: Removed.
32048         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
32049         * sysdeps/x86/bits/setjmp.h: This.
32050
32051         * sysdeps/i386/bits/mathdef.h: Removed.
32052         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
32053         * sysdeps/x86/bits/mathdef.h: This.
32054
32055 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
32056
32057         [BZ #14132]
32058         * include/sys/socket.h (__connect_internal)
32059         (__libc_sa_len_internal): Remove declaration.
32060         (__connect, __libc_sa_len): Declare hidden_proto.
32061         (SA_LEN): Remove use of INTUSE.
32062         * socket/connect.c: Add libc_hidden_def.
32063         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
32064         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
32065         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
32066         alias.
32067         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
32068         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
32069         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
32070         of adding _internal alias.
32071
32072 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32073
32074         [BZ #14117]
32075         * sysdeps/i386/bits/link.h: Removed.
32076         * sysdeps/i386/bits/linkmap.h: Likewise.
32077         * sysdeps/x86_64/bits/link.h: Renamed to ...
32078         * sysdeps/x86/bits/link.h: This.
32079         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
32080         * sysdeps/x86/bits/linkmap.h: This.
32081
32082         * sysdeps/i386/bits/endian.h: Removed.
32083         * sysdeps/x86_64/bits/endian.h: Renamed to ...
32084         * sysdeps/x86/bits/endian.h: This.
32085
32086         * sysdeps/i386/bits/byteswap.h: Removed.
32087         * sysdeps/i386/bits/byteswap-16.h: Likewise.
32088         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
32089         * sysdeps/x86/bits/byteswap.h: This.
32090         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
32091         * sysdeps/x86/bits/byteswap-16.h: This.
32092         * sysdeps/i386/Implies: Add x86.
32093         * sysdeps/x86_64/Implies: Likewise.
32094
32095 2012-05-30  David S. Miller  <davem@davemloft.net>
32096
32097         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
32098         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
32099         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
32100         (FP_TRAPPING_EXCEPTIONS): Define.
32101         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
32102         (FP_TRAPPING_EXCEPTIONS): Define.
32103         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
32104         subnormals only when inexact has been signalled or underflow
32105         exceptions are enabled.
32106         (_FP_PACK_CANONICAL): Likewise.
32107
32108 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32109
32110         [BZ #14183]
32111         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
32112         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
32113
32114 2012-05-30  Richard Henderson  <rth@twiddle.net>
32115
32116         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
32117         with #ifndef NOT_IN_libc.
32118
32119         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
32120         marked to avoid plt entry.
32121
32122 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
32123
32124         [BZ #14112]
32125         * Makeconfig (default-abi): New macro.
32126         (abi-includes): Likewise.
32127         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
32128         $(abi-$(default-abi)-lib-soname) for soname if defined.
32129         ($(common-objpfx)gnu/lib-names.stmp): Generate from
32130         abi-variants.
32131         * Makefile (installed-stubs): Likewise.
32132         * include/stubs-biarch.h: Removed.
32133         * scripts/lib-names.awk: Only handle one library at a time.
32134         * scripts/soversions.awk: Remove WORDSIZE support.
32135         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
32136         entries.
32137         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
32138         Removed.
32139         (syscall-list-default-condition): Likewise.
32140         (syscall-list-default-condition): Likewise.
32141         (syscall-list-includes): Likewise.
32142         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
32143         syscall-list-* with abi-*.  Handle undefined abi-variants.
32144         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
32145         * sysdeps/unix/sysv/linux/i386/Implies: New file.
32146         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
32147         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
32148         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
32149         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
32150         Removed.
32151         (syscall-list-32-options): Likewise.
32152         (syscall-list-32-condition): Likewise.
32153         (syscall-list-64-options): Likewise.
32154         (syscall-list-64-condition): Likewise.
32155         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
32156         macro.
32157         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
32158         Renamed to ...
32159         (abi-*): This.
32160         (abi-64-ld-soname): New macro.
32161         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
32162         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
32163         Renamed to ...
32164         (abi-*): This.
32165         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
32166         * sysdeps/x86_64/x32/shlib-versions: Likewise.
32167
32168 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
32169
32170         * sysdeps/unix/sysv/linux/kernel-features.h
32171         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
32172         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
32173         include <kernel-features.h>.
32174         [!__NR_ftruncate64]: Remove conditional code.
32175         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32176         [__NR_ftruncate64]: Make code unconditional.
32177         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32178         * sysdeps/unix/sysv/linux/truncate64.c: Do not
32179         include <kernel-features.h>.
32180         [!__NR_ftruncate64]: Remove conditional code.
32181         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32182         [__NR_ftruncate64]: Make code unconditional.
32183         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
32185         include <kernel-features.h>.
32186         [!__NR_ftruncate64]: Remove conditional code.
32187         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32188         [__NR_ftruncate64]: Make code unconditional.
32189         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32191         include <kernel-features.h>.
32192         [!__NR_ftruncate64]: Remove conditional code.
32193         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32194         [__NR_ftruncate64]: Make code unconditional.
32195         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
32196
32197         * configure.in (libc_cv_fpie): Weaken to a compile test using
32198         LIBC_TRY_CC_OPTION.
32199         * configure: Regenerated.
32200
32201 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32202
32203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
32204         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
32205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
32206         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32207         Refreshed.
32208         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
32209         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
32210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
32211         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
32212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
32213         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32214         Refreshed.
32215
32216 2012-05-27  David S. Miller  <davem@davemloft.net>
32217
32218         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
32219         (___Q_zero): New.
32220         (__Q_simulate_exceptions): Return void.  Change to simulate
32221         exceptions by writing into the %fsr.
32222         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
32223         (__Qp_handle_exceptions): Likewise.
32224         (numbers): Delete.
32225         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
32226         __Qp_handle_exceptions.
32227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
32228         __Qp_handle_exceptions.
32229         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32230         as unused and give dummy FP_RND_NEAREST initializer.
32231         (FP_INHIBIT_RESULTS): Define.
32232         (___Q_simulate_exceptions): Update declaration.
32233         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
32234         formatting.
32235         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
32236         as unused and give dummy FP_RND_NEAREST initializer.
32237         (__Qp_handle_exceptions): Update declaration.
32238         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
32239         formatting.
32240
32241 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
32242
32243         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
32244         the temporary FPU control word.
32245         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
32246         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
32247         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
32248         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
32249         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
32250         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
32251         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
32252         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
32253         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
32254         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
32255         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
32256
32257 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
32258
32259         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
32260         fields.
32261
32262 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
32263
32264         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
32265         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
32266         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
32267         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
32268         Likewise.
32269         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
32270         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
32271         Likewise.
32272
32273 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
32274
32275         * po/h.po: Update from translation team.
32276
32277 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
32278
32279         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
32280
32281         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
32282         handling of denormals.
32283         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
32284         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
32285         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
32286         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
32287         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
32288         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
32289         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
32290         Likewise.
32291
32292 2012-05-26  Marek Polacek  <polacek@redhat.com>
32293
32294         [BZ #14152]
32295         * math/libm-test.inc (fma_test): Don't always expect underflow
32296         exception.
32297
32298 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32299
32300         [BZ #12416]
32301         * elf/tst-execstack.c: Include stackinfo.h.
32302         (do_test): Adjust test case to ensure that pthread_getattr_np
32303         behaviour remains the same after marking stack executable.
32304
32305 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32306
32307         * sysdeps/unix/sysv/linux/kernel-features.h
32308         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
32309         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
32310         kernel-features.h.
32311         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32312         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32313         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
32314         kernel-features.h.
32315         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
32316         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
32317
32318 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
32319
32320         * configure.in: Define the default includes to being none.
32321         * configure: Regenerated.
32322
32323 2012-05-25  Roland McGrath  <roland@hack.frob.com>
32324
32325         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
32326         * sysdeps/x86_64/setjmp.S: Likewise.
32327         * sysdeps/i386/bsd-setjmp.S: Likewise.
32328         * sysdeps/i386/bsd-_setjmp.S: Likewise.
32329         * sysdeps/i386/setjmp.S: Likewise.
32330         * sysdeps/i386/__longjmp.S: Likewise.
32331         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
32332         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
32333
32334         * include/stap-probe.h: New file.
32335         * configure.in: Handle --enable-systemtap.
32336         * configure: Regenerated.
32337         * config.h.in (USE_STAP_PROBE): New #undef.
32338         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
32339         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
32340         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
32341
32342 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
32343
32344         [BZ #13717]
32345         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32346         to 2.4.0 where earlier.
32347         * sysdeps/unix/sysv/linux/configure: Regenerated.
32348         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
32357         [__ASSUME_32BITUIDS]: Make code unconditional.
32358         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
32359         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
32360         <kernel-features.h>.
32361         [__ASSUME_32BITUIDS]: Make code unconditional.
32362         [!__ASSUME_32BITUIDS]: Remove conditional code.
32363         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
32364         <kernel-features.h>.
32365         [__ASSUME_32BITUIDS]: Make code unconditional.
32366         [!__ASSUME_32BITUIDS]: Remove conditional code.
32367         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
32368         <kernel-features.h>.
32369         [__ASSUME_32BITUIDS]: Make code unconditional.
32370         [!__ASSUME_32BITUIDS]: Remove conditional code.
32371         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
32372         <kernel-features.h>.
32373         [__ASSUME_32BITUIDS]: Make code unconditional.
32374         [!__ASSUME_32BITUIDS]: Remove conditional code.
32375         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32376         <kernel-features.h>.
32377         [__ASSUME_32BITUIDS]: Make code unconditional.
32378         [!__ASSUME_32BITUIDS]: Remove conditional code.
32379         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32380         <kernel-features.h>.
32381         [__ASSUME_32BITUIDS]: Make code unconditional.
32382         [!__ASSUME_32BITUIDS]: Remove conditional code.
32383         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
32384         <kernel-features.h>.
32385         [__ASSUME_32BITUIDS]: Make code unconditional.
32386         [!__ASSUME_32BITUIDS]: Remove conditional code.
32387         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32388         <kernel-features.h>.
32389         [__ASSUME_32BITUIDS]: Make code unconditional.
32390         [!__ASSUME_32BITUIDS]: Remove conditional code.
32391         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32392         <kernel-features.h>.
32393         [__ASSUME_32BITUIDS]: Make code unconditional.
32394         [!__ASSUME_32BITUIDS]: Remove conditional code.
32395         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
32396         <kernel-features.h>.
32397         [__ASSUME_32BITUIDS]: Make code unconditional.
32398         [!__ASSUME_32BITUIDS]: Remove conditional code.
32399         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
32400         <kernel-features.h>.
32401         [__NR_setresgid] (__setresgid): Do not declare.
32402         [__ASSUME_32BITUIDS]: Make code unconditional.
32403         [!__ASSUME_32BITUIDS]: Remove conditional code.
32404         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
32405         <kernel-features.h>.
32406         [__NR_setresuid] (__setresuid): Do not declare.
32407         [__ASSUME_32BITUIDS]: Make code unconditional.
32408         [!__ASSUME_32BITUIDS]: Remove conditional code.
32409         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
32410         <kernel-features.h>.
32411         [__ASSUME_32BITUIDS]: Make code unconditional.
32412         [!__ASSUME_32BITUIDS]: Remove conditional code.
32413         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
32414         <kernel-features.h>.
32415         [__ASSUME_32BITUIDS]: Make code unconditional.
32416         [!__ASSUME_32BITUIDS]: Remove conditional code.
32417         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
32418         <kernel-features.h>.
32419         [__ASSUME_32BITUIDS]: Make code unconditional.
32420         [!__ASSUME_32BITUIDS]: Remove conditional code.
32421         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
32422         <kernel-features.h>.
32423         [__ASSUME_32BITUIDS]: Make code unconditional.
32424         [!__ASSUME_32BITUIDS]: Remove conditional code.
32425         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
32426         <kernel-features.h>.
32427         [__ASSUME_32BITUIDS]: Make code unconditional.
32428         [!__ASSUME_32BITUIDS]: Remove conditional code.
32429         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
32430         <kernel-features.h>.
32431         [__ASSUME_32BITUIDS]: Make code unconditional.
32432         [!__ASSUME_32BITUIDS]: Remove conditional code.
32433         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
32434         <kernel-features.h>.
32435         [__ASSUME_32BITUIDS]: Make code unconditional.
32436         [!__ASSUME_32BITUIDS]: Remove conditional code.
32437         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
32438         <kernel-features.h>.
32439         [__ASSUME_32BITUIDS]: Make code unconditional.
32440         [!__ASSUME_32BITUIDS]: Remove conditional code.
32441         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
32442         <kernel-features.h>.
32443         [__ASSUME_32BITUIDS]: Make code unconditional.
32444         [!__ASSUME_32BITUIDS]: Remove conditional code.
32445         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32446         <kernel-features.h>.
32447         [__ASSUME_32BITUIDS]: Make code unconditional.
32448         [!__ASSUME_32BITUIDS]: Remove conditional code.
32449         * sysdeps/unix/sysv/linux/kernel-features.h
32450         (__ASSUME_SETRESUID_SYSCALL): Remove.
32451         (__ASSUME_SETRESGID_SYSCALL): Likewise.
32452         (__ASSUME_32BITUIDS): Likewise.
32453         (__ASSUME_LDT_WORKS): Likewise.
32454         (__ASSUME_O_DIRECTORY): Likewise.
32455         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
32456         architecture but not kernel version.
32457         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
32458         (__ASSUME_MMAP2_SYSCALL): Likewise.
32459         (__ASSUME_STAT64_SYSCALL): Likewise.
32460         (__ASSUME_IPC64): Likewise.
32461         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
32462         <kernel-features.h>.
32463         [__ASSUME_32BITUIDS]: Make code unconditional.
32464         [!__ASSUME_32BITUIDS]: Remove conditional code.
32465         * sysdeps/unix/sysv/linux/opendir.c: Do not include
32466         <kernel-features.h>.
32467         [__ASSUME_O_DIRECTORY]: Make code unconditional.
32468         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
32469         132096]: Remove conditional code.
32470         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
32471         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32472         <kernel-features.h>.
32473         [__ASSUME_32BITUIDS]: Make code unconditional.
32474         [!__ASSUME_32BITUIDS]: Remove conditional code.
32475         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32476         <kernel-features.h>.
32477         [__ASSUME_32BITUIDS]: Make code unconditional.
32478         [!__ASSUME_32BITUIDS]: Remove conditional code.
32479         * sysdeps/unix/sysv/linux/setegid.c: Do not include
32480         <kernel-features.h>.
32481         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
32482         unconditional.
32483         (__setresgid): Do not declare.
32484         [__ASSUME_32BITUIDS]: Make code unconditional.
32485         [!__ASSUME_32BITUIDS]: Remove conditional code.
32486         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
32487         <kernel-features.h>.
32488         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
32489         unconditional.
32490         (__setresuid): Do not declare.
32491         [__ASSUME_32BITUIDS]: Make code unconditional.
32492         [!__ASSUME_32BITUIDS]: Remove conditional code.
32493         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32494         <kernel-features.h>.
32495         [__ASSUME_32BITUIDS]: Make code unconditional.
32496         [!__ASSUME_32BITUIDS]: Remove conditional code.
32497         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
32498         <kernel-features.h>.
32499         [__ASSUME_32BITUIDS]: Make code unconditional.
32500         [!__ASSUME_32BITUIDS]: Remove conditional code.
32501
32502 2012-05-25  Richard Henderson  <rth@twiddle.net>
32503
32504         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
32505         dl_hwcap to ifunc resolver.
32506         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
32507         elf_ifunc_invoke.
32508         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
32509         dl_hwcap to ifunc resolver.
32510         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
32511
32512 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32513
32514         [BZ #14153]
32515         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
32516         for |x| <= 2**-26, not 2**-57.
32517         * math/libm-test.inc (acos_test): Do not allow spurious underflow
32518         exception.
32519
32520 2012-05-24  Jeff Law  <law@redhat.com>
32521
32522         * stdio-common/Makefile (tests): Add bug25.
32523         * stdio-common/bug25.c: New test.
32524
32525 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32526
32527         [BZ #13576]
32528         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
32529         multiple of MALLOC_ALIGNMENT in size.
32530         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
32531
32532 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32533
32534         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
32535         Require >= 256.
32536         (FILENAME_MAX): Use macro-int-constant.
32537         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
32538         (_IOFBF): Use macro-int-constant.
32539         (_IOLBF): Likewise.
32540         (_IONBF): Likewise.
32541         (SEEK_CUR): Likewise.
32542         (SEEK_END): Likewise.
32543         (SEEK_SET): Likewise.
32544         (TMP_MAX): Likewise.
32545         (EOF): Use macro-int-constant.  Require < 0.
32546         (NULL): Use macro-constant.  Require == 0.
32547         (stdin): Require type to be FILE *.
32548         (stdout): Likewise.
32549         (stderr): Likewise.
32550         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
32551         macro-int-constant.
32552         (EXIT_SUCCESS): Likewise.
32553         (NULL): Use macro-constant.  Require == 0.
32554         (RAND_MAX): Use macro-int-constant.
32555         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
32556         [C99-based standards] (strtof): Require function.
32557         [C99-based standards] (strtold): Likewise.
32558         [C99-based standards] (strtoll): Likewise.
32559         [C99-based standards] (strtoull): Likewise.
32560         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
32561         [ISO || ISO99 || ISO11] (limits.h): Likewise.
32562         [ISO || ISO99 || ISO11] (math.h): Likewise.
32563         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
32564         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
32565         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32566
32567 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
32568
32569         [BZ #14132]
32570         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
32571         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
32572         * intl/dgettext.c (DCGETTEXT): Likewise.
32573         * intl/gettext.c (DCGETTEXT): Likewise.
32574         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
32575         * posix/regex_internal.h (gettext): Likewise.
32576         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
32577         Remove declaration.
32578         * include/argz.h (__argz_count_internal)
32579         (__argz_stringify_internal): Remove declaration.
32580         (__argz_count, __argz_stringify): Declare hidden proto.
32581         * intl/dcgettext.c: Remove use of INTDEF.
32582         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
32583         * string/argz-stringify.c: Likewise.
32584         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32585         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32586         Declare hidden proto.
32587         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
32588         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
32589         Declare hidden proto.
32590         * include/stdio.h (__asprintf_internal): Don't declare.
32591         (__asprintf): Don't define as macro.  Declare hidden proto.
32592         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
32593         (__fsetlocking): Declare hidden proto.
32594         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
32595         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
32596         hidden proto.
32597         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
32598         (_IO_setlinebuf): Remove use of INTUSE.
32599         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
32600         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
32601         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
32602         Remove declaration.
32603         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
32604         (_IO_do_flush): Remove use of INTUSE.
32605         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
32606         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
32607         (_IO_adjust_column, _IO_least_wmarker)
32608         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
32609         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
32610         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
32611         (_IO_default_doallocate, _IO_wdefault_doallocate)
32612         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
32613         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
32614         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
32615         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
32616         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
32617         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
32618         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
32619         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
32620         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
32621         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
32622         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
32623         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
32624         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
32625         proto.
32626         (_IO_flush_all_internal, _IO_adjust_column_internal)
32627         (_IO_default_uflow_internal, _IO_default_finish_internal)
32628         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
32629         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
32630         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
32631         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
32632         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
32633         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
32634         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
32635         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
32636         (_IO_file_close_internal, _IO_file_close_it_internal)
32637         (_IO_file_underflow_internal, _IO_file_overflow_internal)
32638         (_IO_file_init_internal, _IO_file_attach_internal)
32639         (_IO_file_fopen_internal, _IO_file_read_internal)
32640         (_IO_file_sync_internal, _IO_file_seek_internal)
32641         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
32642         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
32643         (_IO_str_underflow_internal, _IO_str_overflow_internal)
32644         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
32645         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
32646         (_IO_list_all_internal, _IO_link_in_internal)
32647         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
32648         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
32649         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
32650         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
32651         (_IO_do_write_internal, _IO_padn_internal)
32652         (_IO_getline_info_internal, _IO_getline_internal)
32653         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
32654         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
32655         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
32656         (_IO_vfscanf_internal, _IO_vfprintf_internal)
32657         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
32658         (_IO_init_internal, _IO_un_link_internal): Don't declare.
32659         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
32660         with libc_hidden_ver, remove use of INTUSE.
32661         * libio/genops.c: Likewise.
32662         * libio/freopen.c: Likewise.
32663         * libio/freopen64.c: Likewise.
32664         * libio/iofclose.c: Likewise.
32665         * libio/iofdopen.c: Likewise.
32666         * libio/iofflush.c: Likewise.
32667         * libio/iofflush_u.c: Likewise.
32668         * libio/iofgets.c: Likewise.
32669         * libio/iofgets_u.c: Likewise.
32670         * libio/iofopen.c: Likewise.
32671         * libio/iofopncook.c: Likewise.
32672         * libio/iofread.c: Likewise.
32673         * libio/iofread_u.c: Likewise.
32674         * libio/ioftell.c: Likewise.
32675         * libio/iofwrite.c: Likewise.
32676         * libio/iogetline.c: Likewise.
32677         * libio/iogets.c: Likewise.
32678         * libio/iogetwline.c: Likewise.
32679         * libio/iopadn.c: Likewise.
32680         * libio/iopopen.c: Likewise.
32681         * libio/ioseekoff.c: Likewise.
32682         * libio/ioseekpos.c: Likewise.
32683         * libio/iosetbuffer.c: Likewise.
32684         * libio/iosetvbuf.c: Likewise.
32685         * libio/ioungetc.c: Likewise.
32686         * libio/ioungetwc.c: Likewise.
32687         * libio/iovdprintf.c: Likewise.
32688         * libio/iovsprintf.c: Likewise.
32689         * libio/iovsscanf.c: Likewise.
32690         * libio/memstream.c: Likewise.
32691         * libio/obprintf.c: Likewise.
32692         * libio/oldfileops.c: Likewise.
32693         * libio/oldiofclose.c: Likewise.
32694         * libio/oldiofdopen.c: Likewise.
32695         * libio/oldiofopen.c: Likewise.
32696         * libio/oldiopopen.c: Likewise.
32697         * libio/oldstdfiles.c: Likewise.
32698         * libio/putc.c: Likewise.
32699         * libio/setbuf.c: Likewise.
32700         * libio/setlinebuf.c: Likewise.
32701         * libio/stdfiles.c: Likewise.
32702         * libio/strops.c: Likewise.
32703         * libio/vasprintf.c: Likewise.
32704         * libio/vscanf.c: Likewise.
32705         * libio/vsnprintf.c: Likewise.
32706         * libio/vswprintf.c: Likewise.
32707         * libio/wfiledoalloc.c: Likewise.
32708         * libio/wfileops.c: Likewise.
32709         * libio/wgenops.c: Likewise.
32710         * libio/wmemstream.c: Likewise.
32711         * libio/wstrops.c: Likewise.
32712         * libio/__fpurge.c: Likewise.
32713         * libio/__fsetlocking.c: Likewise.
32714         * assert/assert.c: Likewise.
32715         * debug/fgets_chk.c: Likewise.
32716         * debug/fgets_u_chk.c: Likewise.
32717         * debug/fread_chk.c: Likewise.
32718         * debug/fread_u_chk.c: Likewise.
32719         * debug/gets_chk.c: Likewise.
32720         * debug/obprintf_chk.c: Likewise.
32721         * debug/vasprintf_chk.c: Likewise.
32722         * debug/vdprintf_chk.c: Likewise.
32723         * debug/vsnprintf_chk.c: Likewise.
32724         * debug/vsprintf_chk.c: Likewise.
32725         * malloc/mtrace.c: Likewise.
32726         * misc/error.c: Likewise.
32727         * misc/syslog.c: Likewise.
32728         * stdio-common/asprintf.c: Likewise.
32729         * stdio-common/fxprintf.c: Likewise.
32730         * stdio-common/getw.c: Likewise.
32731         * stdio-common/isoc99_fscanf.c: Likewise.
32732         * stdio-common/isoc99_scanf.c: Likewise.
32733         * stdio-common/isoc99_vfscanf.c: Likewise.
32734         * stdio-common/isoc99_vscanf.c: Likewise.
32735         * stdio-common/isoc99_vsscanf.c: Likewise.
32736         * stdio-common/printf-prs.c: Likewise.
32737         * stdio-common/printf_fp.c: Likewise.
32738         * stdio-common/printf_fphex.c: Likewise.
32739         * stdio-common/printf_size.c: Likewise.
32740         * stdio-common/putw.c: Likewise.
32741         * stdio-common/scanf.c: Likewise.
32742         * stdio-common/sprintf.c: Likewise.
32743         * stdio-common/tmpfile.c: Likewise.
32744         * stdio-common/vfprintf.c: Likewise.
32745         * stdio-common/vfscanf.c: Likewise.
32746         * stdlib/strfmon_l.c: Likewise.
32747         * sunrpc/openchild.c: Likewise.
32748         * sunrpc/xdr_stdio.c: Likewise.
32749         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
32750         * sysdeps/mach/hurd/tmpfile.c: Likewise.
32751
32752 2012-05-24  Roland McGrath  <roland@hack.frob.com>
32753
32754         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
32755
32756         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
32757         in the third column, to generate for the shared library an IFUNC
32758         that uses _dl_vdso_vsym.
32759         * Makerules (COMPILE.c, compile-stdin.c): New variables.
32760         * Makeconfig (object-suffixes-noshared): New variable.
32761
32762         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
32763         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
32764         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
32765         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
32766
32767         [BZ #14132]
32768         * include/sys/time.h (__gettimeofday): Remove macro.
32769         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
32770         * time/gettimeofday.c (__gettimeofday): Remove #undef.
32771         Remove INTDEF.
32772         (__gettimeofday): Add libc_hidden_def.
32773         (gettimeofday): Add libc_hidden_weak.
32774         * sysdeps/mach/gettimeofday.c: Likewise.
32775         * sysdeps/posix/gettimeofday.c: Likewise.
32776         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
32777         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
32778         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
32779         (__gettimeofday_internal): Remove strong_alias.
32780         (__gettimeofday): Add libc_hidden_def.
32781         (gettimeofday): Add libc_hidden_weak.
32782         * sysdeps/unix/syscalls.list (gettimeofday):
32783         Remove __gettimeofday_internal alias.
32784
32785 2012-05-24  Daniel Jacobowitz  <drow@false.org>
32786             H.J. Lu  <hongjiu.lu@intel.com>
32787
32788         [BZ #12495]
32789         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
32790         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
32791         (largebin_index_32_big): New.
32792         (largebin_index): Use it for 16-byte alignment.
32793         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
32794         correction with front_misalign.
32795
32796 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
32797
32798         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
32799         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
32800         Likewise.
32801         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
32802         Likewise.
32803         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32804         Likewise.
32805         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
32806         Likewise.
32807         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
32808         Likewise.
32809         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
32810         Likewise.
32811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
32812         Likewise.
32813         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
32814         Likewise.
32815         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
32816         Likewise.
32817         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
32818         Likewise.
32819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
32820         Likewise.
32821         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
32822         Likewise.
32823
32824         * scripts/data/c++-types-x32-linux-gnu.data: New file.
32825         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
32826
32827 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
32828
32829         [BZ #10846]
32830         [BZ #14036]
32831         * math/libm-test.inc (exp_test): Add test from bug 14036.
32832         (pow_test): Add test from bug 10846.
32833
32834         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
32835         and other flags.
32836         (special_function): Do not include flags in test name.
32837         (parse_args): Likewise.
32838         * sysdeps/i386/fpu/libm-test-ulps: Update.
32839         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
32840         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
32841         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
32842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32843
32844         * math/gen-libm-test.pl (%beautify): Add entries for underflow
32845         exceptions.
32846         * math/libm-test.inc ("Philosophy"): Update comment about
32847         exception testing.
32848         (UNDERFLOW_EXCEPTION): New macro.
32849         (UNDERFLOW_EXCEPTION_OK): Likewise.
32850         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
32851         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
32852         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
32853         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
32854         (INVALID_EXCEPTION_OK): Update value.
32855         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32856         (OVERFLOW_EXCEPTION_OK): Likewise.
32857         (IGNORE_ZERO_INF_SIGN): Likewise.
32858         (test_exceptions): Handle underflow exceptions.
32859         (acos_test): Update for underflow exception expectations.
32860         (cexp_test): Likewise.
32861         (clog_test): Likewise.
32862         (clog10_test): Likewise.
32863         (csqrt_test): Likewise.
32864         (ctan_test): Likewise.
32865         (ctanh_test): Likewise.
32866         (exp_test): Likewise.
32867         (exp10_test): Likewise.
32868         (exp2_test): Likewise.
32869         (expm1_test): Likewise.
32870         (fma_test): Likewise.
32871         (j0_test): Likewise.
32872         (jn_test): Likewise.
32873         (nexttoward_test): Likewise.
32874         (pow_test): Likewise.
32875         (scalbn_test): Likewise.
32876         (scalbln_test): Likewise.
32877         (tan_test): Likewise.
32878         (y1_test): Likewise.
32879         * sysdeps/i386/fpu/libm-test-ulps: Update.
32880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32881
32882 2012-05-23  David S. Miller  <davem@davemloft.net>
32883
32884         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32885         (__libc_sigaction): Remove unused local variables.
32886
32887 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32888
32889         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
32890
32891 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
32892
32893         mktime: avoid signed integer overflow
32894         * time/mktime.c (__mktime_internal): Do not mishandle the case
32895         where diff == INT_MIN.
32896
32897         mktime: simplify computation of average
32898         * time/mktime.c (ranged_convert): Use new time_t_avg function
32899         instead of rolling our own (probably-slower) code.
32900
32901         mktime: do not assume signed right shift propagates sign bit
32902         * time/mktime.c (isdst_differ): New static function.
32903         (__mktime_internal): No need to normalize tm_isdst now.
32904         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
32905         tm_isdst values.
32906
32907         mktime: merge another wrapv change from gnulib
32908         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
32909         from some compilers.
32910
32911         mktime: remove incorrect attempt at unusual arithmetics
32912         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
32913         The code didn't really work on such machines anyway.
32914         (TYPE_MINIMUM): Assume two's complement.
32915         (twos_complement_arithmetic): Verify that long_int and time_t
32916         are two's complement (or unsigned, in the latter case).
32917
32918         mktime: check signed shifts on long_int and time_t, too
32919         * time/mktime.c (SHR): Check that shifts work as desired
32920         on the types long_int and time_t too, as SHR is used on
32921         such types.
32922
32923         mktime: do not assume 'long' is wide enough
32924         * time/mktime.c (verify): Move decl up.
32925         (long_int): New type.
32926         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
32927         to remove assumption in the code that 'long' is wide enough to
32928         store year values.  This assumption is not true on x32 and on
32929         some non-glibc platforms.
32930
32931         mktime: merge wrapv change from gnulib
32932         * time/mktime.c (WRAPV): New macro.
32933         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
32934         (guess_time_tm, __mktime_internal): Do not assume that signed
32935         integer overflow wraps around; modern compilers generate code
32936         where this assumption is no longer valid.
32937
32938 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32939
32940         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
32941         Replace "jmp L(pseudo_end)" with "ret".
32942         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
32943         Likewise.
32944
32945 2012-05-23  Andreas Jaeger  <aj@suse.de>
32946
32947         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
32948         * sysdeps/unix/sysv/linux/poll.c: Remove file.
32949
32950 2012-05-23  Andreas Jaeger  <aj@suse.de>
32951             Maximilian Attems  <max@stro.at>
32952
32953         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
32954         New macros.
32955
32956 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
32957
32958         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
32959         code so that pseudo_end is just ret and the stack pointer is
32960         correct also for static library in error case.
32961
32962 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
32963
32964         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
32965         move to syscalls.list.
32966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
32967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
32968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
32969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
32970
32971         * manual/install.texi (Running make install): Do not mention Linux
32972         kernel version for which pt_chown is not needed.
32973         (Linux): Do not mention problems with nscd with 2.0 kernels.
32974         * INSTALL: Regenerated.
32975
32976 2012-05-23  Andreas Jaeger  <aj@suse.de>
32977
32978         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
32979         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
32980         macro.
32981         * sysdeps/unix/sysv/linux/s390/bits/mman.h
32982         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32983         * sysdeps/unix/sysv/linux/sh/bits/mman.h
32984         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32985         * sysdeps/unix/sysv/linux/i386/bits/mman.h
32986         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32987         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
32988         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32989         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
32990         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
32991         * sysdeps/unix/sysv/linux/bits/in.h
32992         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
32993
32994 2012-05-22  Roland McGrath  <roland@hack.frob.com>
32995
32996         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
32997         (PREPARE_VERSION): Just use assert instead, it will be elided
32998         under [NDEBUG] anyway.
32999
33000 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33001
33002         * sysdeps/unix/sysv/linux/Makefile: Include
33003         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
33004         (sysdep_routines): Remove sysctl.
33005         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
33006         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
33007         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
33008         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
33009         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
33010
33011 2012-05-22  Andreas Jaeger  <aj@suse.de>
33012
33013         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
33014         that pseudo_end is just ret and the stack pointer is correct also
33015         for static library in error case.
33016
33017 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
33018
33019         [BZ #14122]
33020         * nss/nsswitch.c (defconfig_entries): New variable.
33021         (__nss_database_lookup): Don't leak defconfig entries.
33022         (nss_parse_service_list): Don't leak on error paths.
33023         (free_database_entries): New function.
33024         (free_defconfig): New function.
33025         (free_mem): Move common code to free_database_entries.
33026
33027 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33028
33029         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
33030         Add arch_prctl.
33031         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
33032
33033         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
33034         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
33035         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
33036         New macro.
33037         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
33038         (INTERNAL_SYSCALL_TYPES): Likewise.
33039         (LOAD_ARGS_TYPES_[1-6]): Likewise.
33040         (LOAD_REGS_TYPES_[1-6]): Likewise.
33041         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
33042         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
33043
33044 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33045
33046         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
33047         copysignl for GLIBC_2_0.
33048         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
33049         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
33050         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
33051         logbl for GLIBC_2_0.
33052         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33053         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33054
33055 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33056
33057         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
33058         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33059
33060         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
33061         Use "neg %eax".
33062
33063         * time/mktime.c: Update copyright years.
33064
33065 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
33066
33067         mktime: merge comment-quoting-style change from gnulib
33068         * time/mktime.c: Quote 'like this' in comments.
33069         The GNU coding standards suggest that we no longer quote `like this',
33070         as "`" and "'" are typically rendered asymmetrically nowadays.
33071         The typical gnulib style is to quote 'like this' when quoting
33072         code, and "like this" when quoting English.
33073
33074         * time/mktime.c (compile-command): Add "-I.".
33075
33076         mktime: merge mktime-internal.h change from gnulib
33077         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
33078
33079         mktime: merge time_r change from gnulib
33080         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
33081
33082         mktime: merge DEBUG change from gnulib
33083         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
33084         case system <time.h> has a #define.
33085
33086         mktime: merge <sys/types.h> change from gnulib
33087         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
33088         since <time.t> is now guaranteed to define time_t.
33089
33090         mktime: merge HAVE_CONFIG_H change from gnulib
33091         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
33092
33093 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
33094
33095         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33096         Use "neg %eax".
33097
33098         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
33099         __rlim_t cast.
33100         (struct rusage): Use anonymous union to pad each field to
33101         __syscall_slong_t.
33102
33103 2012-05-21  David S. Miller  <davem@davemloft.net>
33104
33105         * Makefules (o-iterator): Remove .s cases.
33106         (compile-command.s): Delete.
33107         (COMPILE.s): Delete.
33108         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
33109
33110 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
33111
33112         * configure.in (libc_cv_predef_stack_protector): Only consider
33113         "foobar" and "__stack_chk_fail" lines in libc_undefs.
33114         * configure: Regenerated.
33115
33116 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33117
33118         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
33119         New macro.  Use R*LP on int and pointer.
33120         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
33121         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
33122         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
33123         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
33124
33125         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
33126         [__WORDSIZE_TIME64_COMPAT32] instead of
33127         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
33128         (struct utmp): Likewise.
33129         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
33130         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
33131         Renamed to ...
33132         (__WORDSIZE_TIME64_COMPAT32): This.
33133         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
33134         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
33135         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
33136         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
33137         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
33138         (__WORDSIZE_TIME64_COMPAT32): New macro.
33139
33140 2012-05-21  Andreas Jaeger  <aj@suse.de>
33141
33142         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
33143         only if [SHARED]. Add prototype for __wcschr_ia32.
33144
33145 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33146
33147         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
33148         of %rbp unmolested in the jmp_buf while mangling the low bits.
33149         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
33150         unmolested high bits of %rbp while demangling the low bits.
33151         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
33152
33153 2012-05-21  Andreas Jaeger  <aj@suse.de>
33154
33155         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
33156         * sunrpc/svc_simple.c: Use it for registerrpc.
33157         * sunrpc/xcrypt.c: Use it for passwd2des.
33158
33159         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
33160
33161 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33162
33163         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
33164         Don't define if [__SYSCALL_WORDSIZE != 32].
33165         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
33166         New macro.
33167
33168 2012-05-21  Bruno Haible  <bruno@clisp.org>
33169             Andreas Jaeger  <aj@suse.de>
33170
33171         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
33172         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
33173         inptr and inend for must_buffer_ch.
33174         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
33175         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
33176         * stdio-common/Makefile (tests): Remove bug15.
33177         (bug15-ENV): Remove macro.
33178         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
33179         anymore.
33180
33181 2012-05-19  Andreas Jaeger  <aj@suse.de>
33182             Roland McGrath  <roland@hack.frob.com>
33183
33184         * manual/contrib.texi: Completely rewritten. It contains now an
33185         alphabetical list of contributors and their contributions.
33186
33187 2012-05-21  Richard Henderson  <rth@twiddle.net>
33188
33189         * misc/getauxval.c (__getauxval): Use unsigned long int.
33190         * misc/sys/auxv.h: Include <sys/cdefs.h>.
33191         (getauxval): Use unsigned long int.
33192
33193 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
33194
33195         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
33196
33197 2012-05-21  Roland McGrath  <roland@hack.frob.com>
33198
33199         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
33200         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
33201         __alignof__ (long double).
33202
33203 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33204
33205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33206
33207 2012-05-20  Richard Henderson  <rth@twiddle.net>
33208
33209         * misc/getauxval.c: New file.
33210         * misc/sys/auxv.h: New file.
33211         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
33212         (routines): Add getauxval.
33213         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
33214         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
33215         * elf/dl-sysdep.c (_dl_auxv): Remove.
33216         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
33217         * elf/dl-support.c (_dl_auxv): New variable.
33218         (_dl_aux_init): Initialize it.
33219         * manual/startup.texi (Auxiliary Vector): New node.
33220         * sysdeps/generic/bits/hwcap.h: New file.
33221         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
33222         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
33223         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
33224         * sysdeps/sparc/sysdep.h: ... here.  Include it.
33225         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
33226         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
33227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33228         Update.
33229         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
33230         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
33231         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
33232         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
33233         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
33235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
33236         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
33237
33238 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33239
33240         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33241
33242 2012-05-19  David S. Miller  <davem@davemloft.net>
33243
33244         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33245
33246 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33247
33248         [BZ #14123]
33249         * math/s_ccosh.c: Include <float.h>
33250         (__ccosh): Avoid internal overflow calculating sinh and cosh
33251         values before multiplying by sin and cos values.
33252         * math/s_ccoshf.c: Likewise.
33253         * math/s_ccoshl.c: Likewise.
33254         * math/s_csin.c: Likewise.
33255         * math/s_csinf.c: Likewise.
33256         * math/s_csinl.c: Likewise.
33257         * math/s_csinh.c: Likewise.
33258         * math/s_csinhf.c: Likewise.
33259         * math/s_csinhl.c: Likewise.
33260         * math/libm-test.inc (ccos_test): Add more tests.
33261         (ccosh_test): Likewise.
33262         (csin_test): Likewise.
33263         (csinh_test): Likewise.
33264         * sysdeps/i386/fpu/libm-test-ulps: Update.
33265         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33266
33267 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
33268
33269         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
33270         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
33271
33272         * sysdeps/x86_64/x32/_itoa.h: Add comment.
33273
33274 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
33275
33276         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
33277         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
33278         * sysdeps/powerpc/soft-fp/Versions: Likewise.
33279         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
33280         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
33281         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
33282         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
33283         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
33284         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
33285         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
33286         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
33287         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
33288         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
33289         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
33290         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
33291         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
33292         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
33293         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
33294         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
33295         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
33296         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
33297         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
33298         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
33299         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
33300         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
33301         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
33302         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
33303         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
33304         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
33305         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
33306         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
33307
33308 2012-05-18  Andreas Jaeger  <aj@suse.de>
33309
33310         * csu/.gitignore: Delete.
33311
33312 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33313
33314         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
33315         (timex): Use __syscall_slong_t.
33316
33317 2012-05-18  Andreas Jaeger  <aj@suse.de>
33318             Carlos O'Donell  <carlos_odonell@mentor.com>
33319
33320         * manual/install.texi (Configuring and compiling): Update
33321         description about files modified in the source directory.
33322         * INSTALL: Regenerated.
33323
33324 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33325
33326         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
33327         value.  Use "or" to set return value to -1.
33328         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
33329         negate return value.
33330
33331 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33332
33333         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
33334         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
33335         failure if the compiler has Graphite support disabled.
33336         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
33337         Likewise.
33338         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
33339         (CFLAGS-memmove.c): Likewise.
33340         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
33341         Likewise.
33342
33343 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
33344
33345         * sysdeps/x86_64/x32/_itoa.h: New file.
33346
33347         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
33348         getdents system call only if kernel and user dirents have the
33349         same d_ino and d_off.
33350
33351         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
33352         LLONG_MAX != LONG_MAX.
33353         (_itoa_word): Use _ITOA_WORD_TYPE on value.
33354         (_fitoa_word): Likewise.
33355
33356         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
33357         years.
33358         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
33359         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
33360         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
33361
33362         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
33363         include <bits/wordsize.h>.  Check __x86_64__ instead of
33364         __WORDSIZE.
33365         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
33366         if __x86_64__ is defined.  Use anonymous union on fpstate.
33367
33368         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
33369         anonymous union.
33370
33371 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
33372
33373         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
33374         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
33375         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
33376         Refer to _rtld_local_ro instead of _rtld_global_ro.
33377         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
33378         Likewise.
33379         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
33380         Likewise.
33381         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
33382         Likewise.
33383         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
33384         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
33385         of _rtld_global, and rtld_progname instead of _dl_argv[0].
33386
33387         * sysdeps/powerpc/powerpc32/dl-machine.c
33388         (__elf_machine_runtime_setup) [PROF]: Don't reference
33389         _dl_prof_resolve.
33390
33391 2012-05-18  Andreas Jaeger  <aj@suse.de>
33392
33393         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
33394         function only available for GCCs before 3.4 since GCC 3.4
33395         introduced a builtin.
33396         (lrint): Likewise.
33397         (llrintf): Likewise.
33398         (llrint): Likewise.
33399         (fmaxf): Likewise.
33400         (fmax): Likewise.
33401         (fminf): Likewise.
33402         (fmin): Likewise.
33403         (rint): Likewise.
33404         (rintf): Likewise.
33405         (nearbyint): Likewise.
33406         (nearbyintf): Likewise.
33407         (ceil): Likewise.
33408         (ceilf): Likewise.
33409         (floor): Likewise.
33410         (floorf): Likewise.
33411
33412 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33413
33414         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
33415         on both fields and cast pointer to __syscall_ulong_t.
33416
33417         * bits/types.h (__fsword_t): New type.
33418         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
33419         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
33420         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33421         (__FSWORD_T_TYPE): Likewise.
33422         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33423         (__FSWORD_T_TYPE): Likewise.
33424         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33425         (__FSWORD_T_TYPE): Likewise.
33426         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
33427         (__FSWORD_T_TYPE): Likewise.
33428         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
33429         __SWORD_TYPE with __fsword_t.
33430         (statfs64): Likewise.
33431
33432 2012-05-17  David S. Miller  <davem@davemloft.net>
33433
33434         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
33435
33436 2012-05-17  Andreas Jaeger  <aj@suse.de>
33437
33438         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
33439         warning.
33440
33441 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33442
33443         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
33444
33445 2012-05-17  Andreas Jaeger  <aj@suse.de>
33446
33447         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
33448         when it is used.
33449
33450 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33451
33452         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
33453
33454 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
33455
33456         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
33457         * sysdeps/x86_64/tst-mallocalign1.c: New file.
33458
33459 2012-05-17  Andreas Jaeger  <aj@suse.de>
33460             Carlos O'Donell  <carlos_odonell@mentor.com>
33461
33462         [BZ #14059]
33463         * sysdeps/x86_64/multiarch/init-arch.h
33464         (bit_YMM_Usable): Rename to...
33465         (bit_AVX_Usable): ... this.
33466         (bit_FMA4_Usable): New macro.
33467         (bit_XMM_state): New macro.
33468         (bit_YMM_state): New macro.
33469         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
33470         [__ASSEMBLER__] (index_AVX_Usable): ... this.
33471         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
33472         (CPUID_OSXSAVE): New macro.
33473         (CPUID_AVX): New macro.
33474         (CPUID_FMA4): New macro.
33475         (index_YMM_Usable): Rename to...
33476         (index_AVX_Usable): ... this.
33477         (HAS_AVX): Use HAS_ARCH_FEATURE.
33478         (HAS_FMA4): Likewise.
33479         (HAS_YMM_USABLE): Remove.
33480         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33481         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
33482         are present.
33483         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
33484         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
33485         * sysdeps/x86_64/multiarch/Makefile: Likewise.
33486         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
33487         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
33488
33489 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
33490
33491         * math/libm-test.c: Support platforms without multiple rounding modes.
33492         * math/bug-nextafter.c: Support platforms without FP exceptions.
33493         * math/bug-nexttoward.c: Likewise.
33494         * math/test-fenv.c: Likewise.
33495         * math/test-misc.c: Likewise.
33496         * stdlib/bug-getcontext.c: Likewise.
33497
33498 2012-05-17  Andreas Jaeger  <aj@suse.de>
33499
33500         * manual/examples/search.c (critter_cmp): Change signature to
33501         avoid warnings.
33502         * manual/string.texi (Collation Functions): Likewise.
33503
33504 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33505
33506         * bits/types.h: Fold copyright years.
33507         * bits/typesizes.h: Likewise.
33508         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
33509         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
33510         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
33511         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
33512         * time/time.h: Likewise.
33513
33514 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
33515
33516         [BZ #208]
33517         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
33518         in instead of returning them.  Return void.
33519         (__libc_mallinfo): Accumulate over all arenas.
33520         (__malloc_stats): Adjust for change in int_mallinfo interface.
33521
33522 2012-05-16  Roland McGrath  <roland@hack.frob.com>
33523
33524         [BZ #10375]
33525         * configure.in (NM): Add AC_CHECK_TOOL for it.
33526         (libc_extra_cflags): New substituted variable.
33527         Check for -fstack-protector being used implicitly.
33528         * configure: Regenerated.
33529         * config.make.in (config-extra-cflags): New variable,
33530         gets @libc_extra_cflags@.
33531         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
33532
33533         [BZ #10375]
33534         * configure.in: Check for _FORTIFY_SOURCE being predefined.
33535         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
33536         * configure: Regenerated.
33537         * config.make.in (CPPUNDEFS): New substituted variable.
33538         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
33539         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
33540         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
33541
33542 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33543
33544         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
33545         (mq_attr): Use __syscall_slong_t.
33546
33547 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33548
33549         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
33550         Check __x86_64__ instead of __WORDSIZE.
33551         (_STAT_VER_LINUX): Likewise.
33552         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
33553         __syscall_ulong_t and __syscall_slong_t.
33554         (stat64): Likewise.
33555
33556 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33557
33558         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
33559
33560 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33561
33562         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
33563
33564 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33565
33566         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
33567         __syscall_ulong_t.
33568
33569         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
33570         include <bits/wordsize.h>.  Check __x86_64__ instead of
33571         __WORDSIZE.
33572         (greg_t): Use "__extension__ long long int" if __x86_64__ is
33573         defined.
33574         (mcontext_t): Replace "unsigned long" with "unsigned long long".
33575
33576         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
33577         include <bits/wordsize.h>.  Check __x86_64__ instead of
33578         __WORDSIZE.
33579         (user_regs_struct): Use "__extension__ unsigned long long"
33580         instead of "unsigned long" if __x86_64__ is defined.
33581         (user): Likewise.  Pad after pointer field if __ILP32__ is
33582         defined.
33583
33584 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
33585
33586         * configure.in (makeinfo): Require version 4.5 or later.  Allow
33587         versions 5 to 9.
33588         * configure: Regenerated.
33589         * manual/install.texi (texinfo): Increase version requirement to
33590         4.5 or later.
33591         * INSTALL: Regenerated.
33592
33593         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
33594
33595 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
33596
33597         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
33598
33599         * sysdeps/x86_64/x32/ffs.c: New file.
33600
33601         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
33602         __syscall_ulong_t.
33603         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
33604         defined.  Use __syscall_ulong_t.
33605         (shminfo): Use __syscall_ulong_t.
33606         (shm_info): Likewise.
33607
33608         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
33609         __syscall_ulong_t.
33610
33611         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
33612         <bits/wordsize.h>.
33613         (msgqnum_t): Use __syscall_ulong_t.
33614         (msglen_t): Likewise.
33615         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
33616         __syscall_ulong_t.
33617
33618         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
33619         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33620
33621         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
33622
33623         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
33624         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
33625
33626         * sysvipc/sys/msg.h (msgbuf): Replace long int with
33627         __syscall_slong_t.
33628
33629         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
33630         include <bits/wordsize.h>.  Check __x86_64__ instead of
33631         __WORDSIZE.
33632
33633         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
33634         "unsigned long long int" if __x86_64__ is defined.
33635         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
33636
33637         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
33638         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
33639         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
33640
33641         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
33642         <stdint.h>.
33643         (GET_PC): Cast to uintptr_t first.
33644         (GET_FRAME): Likewise.
33645         (GET_STACK): Likewise.
33646
33647         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
33648         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
33649         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
33650         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
33651         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
33652         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
33653         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
33654         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
33655         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
33656         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
33657         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
33658         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
33659         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
33660         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
33661         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
33662         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
33663         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
33664         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
33665         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
33666         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
33667         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
33668         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
33669         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
33670         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
33671         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
33672         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
33673         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
33674         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
33675         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
33676
33677 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
33678
33679         * Makerules (+depfiles): Also collect depfiles from .oS in
33680         $(extra-objs).
33681         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
33682         .oS, $(libnldbl-routines)).
33683
33684         * Makerules (native-compile-mkdep-flags): Define.
33685         * sunrpc/Makefile (extra-objs): Add $(addprefix
33686         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
33687         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
33688         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
33689         calling $(make-target-directory).
33690
33691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33692
33693         * bits/types.h (__snseconds_t): Removed.
33694         * time/time.h (struct timespec): Replace __snseconds_t with
33695         __syscall_slong_t.
33696         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
33697         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
33698         Likewise.
33699         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33700         (__SNSECONDS_T_TYPE): Likewise.
33701         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33702         (__SNSECONDS_T_TYPE): Likewise.
33703         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33704         (__SNSECONDS_T_TYPE): Likewise.
33705
33706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33707
33708         * sysdeps/mach/hurd/bits/typesizes.h
33709         (__SYSCALL_SLONG_TYPE): New macro.
33710         (__SYSCALL_ULONG_TYPE): Likewise.
33711
33712 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33713
33714         * bits/types.h (__syscall_slong_t): New type.
33715         (__syscall_ulong_t): Likewise.
33716
33717         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
33718         (__SYSCALL_ULONG_TYPE): Likewise.
33719         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33720         (__SYSCALL_SLONG_TYPE): Likewise.
33721         (__SYSCALL_ULONG_TYPE): Likewise.
33722         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33723         (__SYSCALL_SLONG_TYPE): Likewise.
33724         (__SYSCALL_ULONG_TYPE): Likewise.
33725         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33726         (__SYSCALL_SLONG_TYPE): Likewise.
33727         (__SYSCALL_ULONG_TYPE): Likewise.
33728
33729 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33730
33731         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
33732         Add sigaltstack-offsets.sym.
33733         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
33734         <sigaltstack-offsets.h>.
33735         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
33736         longjmp_msg pointer.
33737         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
33738         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
33739         signal stack.
33740         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
33741
33742 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33743
33744         * elf/stackguard-macros.h: Remove file.
33745         * sysdeps/generic/stackguard-macros.h: New file.
33746         * sysdeps/i386/stackguard-macros.h: Likewise.
33747         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
33748         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
33749         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
33750         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
33751         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
33752         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
33753         * sysdeps/x86_64/stackguard-macros.h: Likewise.
33754         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
33755         <elf/stackguard-macros.h>.
33756
33757         [BZ #14109]
33758         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
33759         __aligned__ in attribute.
33760         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
33761         (gregset_t): Likewise.
33762
33763 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33764
33765         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
33766         * sysdeps/x86_64/64/Implies-after: Here.  New file.
33767         * sysdeps/x86_64/x32/Implies-after: New file.
33768
33769 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33770
33771         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
33772         and access return value for _dl_profile_fixup.  Use R10_LP to
33773         load frame size.
33774
33775 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33776
33777         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
33778
33779 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33780
33781         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
33782         * sysdeps/x86_64/x32/sysdep.h: New file.
33783
33784 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33785
33786         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
33787         * sysdeps/x86_64/setjmp.S: Likewise.
33788
33789 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33790
33791         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
33792         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
33793         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
33794         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
33795         remove unused global constant.
33796
33797 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
33798
33799         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
33800         include of <not-cancel.h>.
33801
33802 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33803
33804         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
33805
33806 2012-05-15  Jeff Law  <law@redhat.com>
33807             Andreas Jaeger  <aj@suse.de>
33808
33809         [BZ #13594]
33810         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
33811         out from...
33812         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
33813         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
33814         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
33815         code changing __hst_map_handle.map.
33816
33817 2012-05-15  Roland McGrath  <roland@hack.frob.com>
33818
33819         * configure.in (sysnames): Look for Implies-before and Implies-after
33820         files.
33821         * configure: Regenerated.
33822
33823 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33824
33825         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
33826         8-byte data alignment with LP_SIZE alignment.
33827
33828 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33829
33830         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
33831         into R10_LP.
33832
33833 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33834
33835         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
33836
33837 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33838
33839         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
33840         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
33841         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
33842         Likewise.
33843         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33844
33845 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33846
33847         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
33848         (stackinfo_sub_sp): Likewise.
33849
33850 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33851
33852         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
33853         RAX_LP.
33854
33855 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33856
33857         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
33858         into R*_LP.
33859
33860 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33861
33862         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
33863         sizes into R*_LP.
33864
33865 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33866
33867         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
33868
33869 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33870
33871         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
33872         into R11_LP and load __x86_64_shared_cache_size_half into
33873         R8_LP.
33874
33875 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
33876
33877         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
33878         R8_LP.
33879
33880 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33881
33882         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
33883         logb for POWER7.
33884         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
33885         logbf for POWER7.
33886         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
33887         logbl for POWER7.
33888         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
33889         powerpc32/power7/fpu/s_logb.c via #include.
33890         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
33891         powerpc32/power7/fpu/s_logbf.c via #include.
33892         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
33893         powerpc32/power7/fpu/s_logbl.c via #include.
33894
33895 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
33896
33897         * README.libm: Remove file.
33898
33899 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33900
33901         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
33902         count for x32.  Use R*_LP and omit operand-size suffix.
33903
33904 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33905
33906         * shlib-versions: Move x86_64-.*-linux.* entries to ...
33907         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
33908         * sysdeps/x86_64/x32/shlib-versions: New file.
33909
33910 2012-05-14  Roland McGrath  <roland@hack.frob.com>
33911
33912         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
33913         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
33914         Use _dl_fatal_printf instead.
33915
33916 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
33917
33918         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
33919         set if not set by the user.  Do not allow for being unset.
33920         * sysdeps/unix/sysv/linux/configure: Regenerated.
33921
33922 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33923
33924         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
33925         the `q' suffix from lea and replace .quad with ASM_ADDR.
33926
33927 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33928
33929         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
33930         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
33931         instead of $17.
33932         (PTR_DEMANGLE): Likewise.
33933
33934 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33935
33936         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
33937         (LP_OP): Likewise.
33938         (ASM_ADDR): Likewise.
33939         (RAX_LP): Likewise.
33940         (RBP_LP): Likewise.
33941         (RBX_LP): Likewise.
33942         (RCX_LP): Likewise.
33943         (RDI_LP): Likewise.
33944         (RSI_LP): Likewise.
33945         (RSP_LP): Likewise.
33946         (R8_LP): Likewise.
33947         (R9_LP): Likewise.
33948         (R10_LP): Likewise.
33949         (R10_LP): Likewise.
33950         (R11_LP): Likewise.
33951         (R12_LP): Likewise.
33952         (R13_LP): Likewise.
33953         (R14_LP): Likewise.
33954         (R15_LP): Likewise.
33955
33956 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
33957
33958         * sysdeps/x86_64/x32/dl-machine.h: New file.
33959
33960 2012-05-14  Andreas Jaeger  <aj@suse.de>
33961
33962         * manual/Makefile (subdir): Remove export of subdir.
33963         (all): Remove target.
33964         (.PHONY): Remove all from list.
33965         (mkinstalldirs): Remove.
33966         (.PHONY): Remove installdirs from list.
33967         ($(inst_infodir)/libc.info): Use make-target-directory.
33968         (installdirs): Remove.
33969         (subdir_%): Remove.
33970         (glibc-targets): Remove.
33971         (lib): Remove.
33972         (stubs): Remove.
33973         ($(objpfx)stubs ../po/manual.pot): Remove.
33974         ($(objpfx)stamp%): Remove.
33975         (make-target-directory): Remove.
33976         (subdir_install): Remove.
33977         (routines): Remove.
33978         (aux): Remove.
33979         (sources): Remove.
33980         (objects): Remove.
33981         (headers): Remove.
33982
33983         [BZ #13750]
33984         * manual/.gitignore: Remove, it's not needed anymore.
33985         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
33986         all files in it.
33987         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
33988         directory.
33989         (texis): Renamed to $(objpfx)texis.
33990         (texis-path): New, contains path to generated files.
33991         (chapters.%): Use texis-path for complete path, add extra argument
33992         libc-texinfo.sh.
33993         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
33994         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
33995         (summary,texi, stamp-summary): Use complete path of
33996         files. Generate files in build dir.
33997         (dir-add.texi): Build in build dir.
33998         (libm-err.texi,stamp-libm-err): Likewise.
33999         (version.texi, stamp-version): Likewise.
34000         (.%c.texi): Likewise.
34001         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
34002         (mostlyclean): Remove target.
34003         (realclean): Remove target.
34004         (generated): Add new variable with contents from mostlyclean and
34005         realclean, remove entries duplicated in common-mostlyclean, add
34006         stamp-libm-err and stamp-version.
34007         (generated-dirs): Add libc directory.
34008         ($(inst_infodir)/libc.info): Install files from build dir.
34009
34010         * manual/install.texi (Configuring and compiling): Adjust since
34011         the info files are not part of the tar ball anymore.
34012
34013 2012-05-14  Andreas Jaeger  <aj@suse.de>
34014
34015         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
34016         variable.
34017
34018 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
34019
34020         [BZ #13717]
34021         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
34022         to 2.2.0 where earlier.
34023         * sysdeps/unix/sysv/linux/configure: Regenerated.
34024         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
34025         Remove conditional code.
34026         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
34027         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
34028         Remove conditional code.
34029         [!__NR_lchown]: Likewise.
34030         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34031         [__NR_lchown]: Likewise.
34032         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
34033         comment referencing __ASSUME_LCHOWN_SYSCALL.
34034         * sysdeps/unix/sysv/linux/i386/sigaction.c
34035         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34036         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34037         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
34038         Remove conditional code.
34039         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
34040         (__protocol_available): Remove #if 0 code.
34041         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
34042         conditional code.
34043         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
34044         * sysdeps/unix/sysv/linux/kernel-features.h
34045         (__ASSUME_GETCWD_SYSCALL): Don't define.
34046         (__ASSUME_REALTIME_SIGNALS): Likewise.
34047         (__ASSUME_PREAD_SYSCALL): Likewise.
34048         (__ASSUME_PWRITE_SYSCALL): Likewise.
34049         (__ASSUME_POLL_SYSCALL): Likewise.
34050         (__ASSUME_LCHOWN_SYSCALL): Likewise.
34051         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
34052         non-SPARC.
34053         (__ASSUME_SIOCGIFNAME): Don't define.
34054         (__ASSUME_MSG_NOSIGNAL): Likewise.
34055         (__ASSUME_SENDFILE): Define unconditionally.
34056         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
34057         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
34058         conditional code.
34059         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
34060         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
34061         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34062         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34063         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
34064         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
34065         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
34066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
34067         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34068         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
34070         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34071         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
34073         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34074         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
34076         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34077         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
34079         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34080         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
34082         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
34083         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
34085         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34086         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
34088         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34089         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34090         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
34091         Remove conditional code.
34092         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34093         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34094         Remove conditional code.
34095         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34096         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
34097         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
34098         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34099         Remove conditional code.
34100         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34101         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
34102         Remove conditional code.
34103         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34104         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
34105         Remove conditional code.
34106         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34107         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
34108         Remove conditional code.
34109         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
34110         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
34111         Remove conditional code.
34112         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34113         * sysdeps/unix/sysv/linux/sh/pwrite64.c
34114         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
34115         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
34116         * sysdeps/unix/sysv/linux/sigaction.c
34117         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34118         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34119         * sysdeps/unix/sysv/linux/sigpending.c
34120         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34121         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34122         * sysdeps/unix/sysv/linux/sigprocmask.c
34123         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34124         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34125         * sysdeps/unix/sysv/linux/sigsuspend.c
34126         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
34127         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
34128         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
34129         (__libc_missing_rt_sigs): Remove.
34130         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
34131         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
34132         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
34133         Remove conditional code.
34134         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
34135         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
34136         return 1.
34137         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
34138         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
34139         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
34140         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
34141
34142 2012-05-14  Andreas Jaeger  <aj@suse.de>
34143
34144         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
34145         it's not used in glibc.
34146         (__coshm1): Likewise.
34147         (__acosh1p): Likewise.
34148         (__sgn): Likewise.
34149
34150         * manual/string.texi (Copying and Concatenation): Add missing
34151         variable in concat example.
34152         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
34153
34154 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34155
34156         [BZ #14103]
34157         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
34158         __builtin_clzl with __builtin_clzll.
34159
34160 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
34161
34162         [BZ #14104]
34163         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
34164         libc_freeres_ptr.
34165
34166 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34167
34168         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
34169         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
34170         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
34171         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
34172
34173 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
34174
34175         * NEWS: Update ia64 info.
34176
34177 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
34178
34179         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
34180         used as bcopy.
34181
34182 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
34183
34184         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
34185         * sysdeps/unix/syscalls.list (dup3): Likewise.
34186         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
34187         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
34188
34189 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34190
34191         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
34192         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
34193
34194 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
34195
34196         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
34197         thread pointer.
34198         (TLS_IE): Use mov/add instead of movq/addq to load thread
34199         pointer.
34200         (TLS_GD_PREFIX): New.
34201         (TLS_GD): Use it.
34202
34203 2012-05-11  David S. Miller  <davem@davemloft.net>
34204
34205         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
34206         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
34207         (_FPU_SETCW): Likewise.
34208
34209 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34210
34211         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
34212         is 32-byte aligned.
34213
34214 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
34215
34216         [BZ #11837]
34217         * iconvdata/gb18030.c: Update tables.
34218         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
34219         characters specially.
34220         (BODY for TO_LOOP): Add encoding of missing ranges.
34221
34222 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
34223
34224         [BZ #13673]
34225         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
34226         * sysdeps/mach/hurd/dup3.c: Likewise.
34227         * sysdeps/mach/hurd/readlinkat.c: Likewise.
34228         * sysdeps/powerpc/memmove.c:: Likewise.
34229
34230 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34231
34232         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
34233         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
34234
34235 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34236
34237         * elf/elf.h (R_X86_64_RELATIVE64): New.
34238         (R_X86_64_NUM): Updated.
34239         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34240         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
34241         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
34242         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
34243         tst-quad1pie tst-quad2pie
34244         (modules-names): Add tst-quadmod1 tst-quadmod2.
34245         ($(objpfx)tst-quad1): New dependency.
34246         ($(objpfx)tst-quad2): Likewise.
34247         ($(objpfx)tst-quad1pie): Likewise.
34248         ($(objpfx)tst-quad2pie): Likewise.
34249         * sysdeps/x86_64/tst-quad1.c: New file.
34250         * sysdeps/x86_64/tst-quad1pie.c: New file.
34251         * sysdeps/x86_64/tst-quad2.c: Likewise.
34252         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
34253         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
34254         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
34255         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
34256         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
34257
34258 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34259
34260         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
34261         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
34262         * streams/stropts.h (t_scalar_t): Define type.
34263
34264         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
34265         (_PATH_PRESERVE): Set to "/var/lib".
34266         (_PATH_RWHODIR): Set to "/var/spool/rwho".
34267
34268         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
34269         instead of int.
34270
34271         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
34272         if __dir_mkfile succeeded.
34273
34274         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
34275         checking for _hurd_dtablesize.  Unlock it right after having
34276         finished _hurd_dtable allocation.
34277
34278 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34279
34280         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
34281         * sysdeps/mach/hurd/configure: Regenerated.
34282         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
34283         special-casing to...
34284         * sysdeps/gnu/configure.in: ... this new file.
34285         * sysdeps/unix/sysv/linux/configure: Regenerated.
34286         * sysdeps/gnu/configure: New generated file.
34287
34288         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
34289         for Linux: use nsec instead of usec, as well as:
34290         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
34291         members of type struct timespec.
34292         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
34293         New macros.
34294         (struct stat64): Likewise.
34295         (_STATBUF_ST_NSEC): New macro.
34296         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
34297
34298         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
34299         __strtoul_internal rather than strtoul.
34300
34301 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34302
34303         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
34304         and reject them.
34305
34306 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34307
34308         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
34309         which preserves existing values.
34310         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
34311
34312 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34313
34314         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
34315         TIMEOUT values.  Return EINVAL for NFDS values either negative or
34316         greater than FD_SETSIZE.
34317
34318 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34319
34320         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
34321         allocated, call __vm_protect to finish enabling the existing space, and
34322         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
34323         allocate the remainder.
34324
34325 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34326
34327         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
34328         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
34329
34330 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34331
34332         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
34333         sysdeps/mach/hurd/readlink.c.
34334
34335         * posix/tst-sysconf.c (posix_options): Only use
34336         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
34337         _POSIX_SYNCHRONIZED_IO when they are defined
34338         * sysdeps/mach/hurd/bits/posix_opt.h:
34339         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
34340         (_XOPEN_REALTIME): Undefine macro.
34341         (_XOPEN_REALTIME_THREADS): Undefine macro.
34342         (_XOPEN_SHM): Undefine macro.
34343         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
34344         macro to -1.
34345         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
34346         macro to -1.
34347         (_POSIX_ASYNC_IO): Undefine macro.
34348         (_POSIX_PRIORITIZED_IO): Undefine macro.
34349         (_POSIX_SPIN_LOCKS): Define macro to -1.
34350
34351         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
34352         SA_NODEFER, SA_RESETHAND.
34353         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
34354         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
34355         F_DUPFD_CLOEXEC.
34356
34357 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34358
34359         * elf/Makefile (pldd-modules): Define unconditionally.
34360
34361 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34362
34363         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
34364
34365 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34366
34367         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
34368         Return ENOENT when name is empty.
34369         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
34370
34371 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34372
34373         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
34374
34375         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
34376
34377 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34378
34379         Fix mlock in all cases except non-readable pages.
34380         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
34381         instead of VM_PROT_ALL as parameter to __vm_wire function.
34382
34383         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
34384         (__mkdir): When path is `/', just fail with EEXIST.
34385         * sysdeps/mach/hurd/mkdirat.c: Likewise.
34386
34387 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34388
34389         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
34390         <sys/uio.h> (for writev).
34391         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
34392         and <sys/param.h> (for MIN).
34393
34394 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
34395
34396         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
34397         REQUESTED_TIME.  Properly set the remaining time and return EINTR
34398         if interrupted.
34399
34400 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34401
34402         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
34403         Depend on against $(link-rpcuserlibs).
34404
34405 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34406
34407         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
34408         (__libc_stack_end): Do not use attribute_relro.
34409         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
34410         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
34411         to libthread-provided value.
34412         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
34413         attribute_relro.
34414
34415 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34416
34417         [BZ #3748]
34418         * bits/libc-lock.h (__libc_once_get): New macro.
34419         * sysdeps/mach/bits/libc-lock.h: Likewise.
34420         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
34421         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
34422         instead of using implementation details.
34423
34424         * libio/fileops.c: Unconditionally include <kernel-features.h>.
34425         * libio/freopen.c: Likewise.
34426         * libio/freopen64.c: Likewise.
34427         * misc/syslog.c: Likewise.
34428         * nscd/connections.c: Likewise.
34429         * nscd/netgroupcache.c: Likewise.
34430         * sysdeps/posix/getcwd.c: Likewise.
34431
34432 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34433
34434         * math/w_ilogbf.c: Add #include <limits.h>.
34435
34436 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34437
34438         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
34439         path instead of returning without unlocking.
34440
34441         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
34442         immediate-write ioctls.
34443         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
34444
34445 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34446
34447         * sysdeps/mach/hurd/i386/init-first.c (init): Use
34448         __builtin_frame_address instead of making assumptions about the
34449         location of the return address relative to DATA.  Force early load of
34450         the return address.
34451         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
34452         __builtin_frame_address.
34453
34454         dup3 for GNU Hurd.
34455         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
34456         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
34457         implement dup3 and do some further code clean-ups.
34458         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
34459         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
34460
34461 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34462
34463         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
34464
34465         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
34466         HURD_CRITICAL_END around holding _hurd_dtable_lock.
34467         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
34468         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
34469         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
34470         d->port.lock.
34471
34472         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
34473         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
34474         when handler == SIG_ERR, not when handler != SIG_ERR.
34475
34476 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34477
34478         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
34479         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
34480         definitions.
34481
34482         accept4 for GNU Hurd.
34483         * include/sys/socket.h (__libc_accept4): New prototype.
34484         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
34485         to implement __libc_accept4.
34486         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
34487         __libc_accept4.
34488         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
34489
34490         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
34491         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
34492         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
34493         signal-defines.sym.
34494
34495 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34496
34497         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
34498
34499 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
34500
34501         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
34502         assertion on O_CLOEXEC flag.
34503         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
34504         * hurd/intern-fd.c: Likewise.
34505         * hurd/port2fd.c: Likewise.
34506
34507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34508
34509         [BZ #3906]
34510         * bits/in.h (IPV6_PKTINFO): Define new macro.
34511         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
34512
34513 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34514
34515         [BZ #13954]
34516         [BZ #13955]
34517         [BZ #13956]
34518         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
34519         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
34520         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
34521         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
34522         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34523         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
34524         * math/libm-test.inc (logb_test) : Additional logb tests.
34525
34526 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
34527             Andreas Jaeger  <aj@suse.de>
34528
34529         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
34530         * configure: Regenerated.
34531         * config.h.in (LINK_OBSOLETE_RPC): New macro.
34532         * config.make.in (link-obsolete-rpc): New substituted variable.
34533         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
34534         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
34535         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34536         (shared-only-routines): Don't set it under [link-obsolete-rpc],
34537         so that libc.a contains the symbols.
34538         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
34539         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
34540         * sunrpc/auth_none.c: Likewise.
34541         * sunrpc/auth_unix.c: Likewise.
34542         * sunrpc/authdes_prot.c: Likewise.
34543         * sunrpc/authuxprot.c: Likewise.
34544         * sunrpc/clnt_gen.c: Likewise.
34545         * sunrpc/clnt_perr.c: Likewise.
34546         * sunrpc/clnt_raw.c: Likewise.
34547         * sunrpc/clnt_simp.c: Likewise.
34548         * sunrpc/clnt_tcp.c: Likewise.
34549         * sunrpc/clnt_udp.c: Likewise.
34550         * sunrpc/clnt_unix.c: Likewise.
34551         * sunrpc/des_crypt.c: Likewise.
34552         * sunrpc/des_soft.c: Likewise.
34553         * sunrpc/get_myaddr.c: Likewise.
34554         * sunrpc/key_call.c: Likewise.
34555         * sunrpc/key_prot.c: Likewise.
34556         * sunrpc/netname.c: Likewise.
34557         * sunrpc/pm_getmaps.c: Likewise.
34558         * sunrpc/pm_getport.c: Likewise.
34559         * sunrpc/pmap_clnt.c: Likewise.
34560         * sunrpc/pmap_prot.c: Likewise.
34561         * sunrpc/pmap_prot2.c: Likewise.
34562         * sunrpc/pmap_rmt.c: Likewise.
34563         * sunrpc/publickey.c: Likewise.
34564         * sunrpc/rpc_cmsg.c: Likewise.
34565         * sunrpc/rpc_common.c: Likewise.
34566         * sunrpc/rpc_dtable.c: Likewise.
34567         * sunrpc/rpc_prot.c: Likewise.
34568         * sunrpc/rpc_thread.c: Likewise.
34569         * sunrpc/rtime.c: Likewise.
34570         * sunrpc/svc.c: Likewise.
34571         * sunrpc/svc_auth.c: Likewise.
34572         * sunrpc/svc_raw.c: Likewise.
34573         * sunrpc/svc_run.c: Likewise.
34574         * sunrpc/svc_tcp.c: Likewise.
34575         * sunrpc/svc_udp.c: Likewise.
34576         * sunrpc/svc_unix.c: Likewise.
34577         * sunrpc/svcauth_des.c: Likewise.
34578         * sunrpc/xcrypt.c: Likewise.
34579         * sunrpc/xdr.c: Likewise.
34580         * sunrpc/xdr_array.c: Likewise.
34581         * sunrpc/xdr_float.c: Likewise.
34582         * sunrpc/xdr_intXX_t.c: Likewise.
34583         * sunrpc/xdr_mem.c: Likewise.
34584         * sunrpc/xdr_rec.c: Likewise.
34585         * sunrpc/xdr_ref.c: Likewise.
34586         * sunrpc/xdr_sizeof.c: Likewise.
34587         * sunrpc/xdr_stdio.c: Likewise.
34588
34589 2012-05-10  Roland McGrath  <roland@hack.frob.com>
34590
34591         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
34592         change.  Update copyright years.
34593
34594 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34595
34596         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
34597
34598 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
34599             Joseph Myers  <joseph@codesourcery.com>
34600             Paul Pluzhnikov  <ppluzhnikov@google.com>
34601
34602         [BZ #14012]
34603         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
34604         requiring rpcgen.
34605         [cross-compiling] (extra-libs): Likewise.
34606         [cross-compiling] (extra-libs-others): Likewise.
34607         [cross-compiling] (librpcsvc-routines): Likewise.
34608         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
34609         [cross-compiling] (omit-deps): Likewise.
34610         (sunrpc-CPPFLAGS): New variable.
34611         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
34612         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
34613         (cross-rpcgen-objs): New variable.
34614         (extra-objs): Append $(cross-rpcgen-objs).
34615         ($(cross-rpcgen-objs)): New rule.
34616         ($(objpfx)cross-rpcgen): Likewise.
34617         (rpcgen-cmd): Define to use $(built-program-file).  Expand
34618         comment.
34619         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
34620         ($(objpfx)x%.stmp): Likewise.
34621         * sunrpc/proto.h [IS_IN_build] (_): Define.
34622         [IS_IN_build] (_libc_intl_domainname): Likewise.
34623
34624 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
34625
34626         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
34627         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
34628         and R_X86_64_TPOFF64.
34629
34630 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
34631
34632         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
34633         sysdeps/unix/sysv/syscalls.list.
34634         (stime): Likewise.
34635         (utime): Likewise.
34636         * sysdeps/unix/sysv/syscalls.list: Remove file.
34637
34638 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
34639
34640         [BZ #3440]
34641         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
34642         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
34643         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
34644         (__LC_IDENTIFICATION): Make these macros useful in #if
34645         expressions, as required by C99.
34646
34647 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
34648
34649         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
34650         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
34651         after this.
34652
34653 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
34654
34655         * stdlib/longlong.h: Updated from GCC.
34656
34657 2012-05-09  Andreas Jaeger  <aj@suse.de>
34658
34659         * nscd/nscd.c (run_modes): Make named enum, reorder so that
34660         default is first entry.
34661         (run_mode): Set type.
34662         (main): Remove informal message about syslog.
34663         (options): Fix typo.
34664
34665         [BZ #14053]
34666         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
34667         to asm.
34668         (lrint): Likewise.
34669         (llrintf): Likewise.
34670         (llrint): Likewise.
34671         (rint): Likewise.
34672         (rintf): Likewise.
34673         (nearbyint): Likewise.
34674         (nearbyintf): Likewise.
34675
34676 2012-05-09  Andreas Jaeger  <aj@suse.de>
34677             Pedro Alves  <palves@redhat.com>
34678
34679         * nscd/nscd.c (run_mode): Use enum.
34680         (main): Cleanup coding style issue.
34681
34682 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
34683             Andreas Jaeger  <aj@suse.de>
34684
34685         * nscd/nscd.c (go_background): Replaced with...
34686         (run_mode): ... this.
34687         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
34688         (options): Add -F --foreground.
34689         (main): Implement it.
34690         (parse_opt): Parse it.
34691
34692 2012-05-09  Andreas Jaeger  <aj@suse.de>
34693
34694         [BZ #14083]
34695         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
34696         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
34697         -Wconversion warning.
34698         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
34699         Likewise.
34700
34701 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
34702
34703         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
34704         == 0.
34705         (LC_ALL): Use macro-int-constant.
34706         (LC_COLLATE): Likewise.
34707         (LC_CTYPE): Likewise.
34708         (LC_MESSAGES): Likewise.
34709         (LC_MONETARY): Likewise.
34710         (LC_NUMERIC): Likewise.
34711         (LC_TIME): Likewise.
34712         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
34713         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34714         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34715         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
34716         Specify type.
34717         [C99-based standards] (float_t): Expect type.
34718         [C99-based standards] (double_t): Expect type.
34719         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
34720         type.
34721         [C99-based standards] (HUGE_VALL): Likewise.
34722         [C99-based standards] (INFINITY): Likewise.
34723         [C99-based standards] (NAN): Likewise.
34724         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
34725         [C99-based standards] (FP_NAN): Likewise.
34726         [C99-based standards] (FP_NORMAL): Likewise.
34727         [C99-based standards] (FP_SUBNORMAL): Likewise.
34728         [C99-based standards] (FP_ZERO): Likewise.
34729         [C99-based standards] (FP_FAST_FMA): Use
34730         optional-macro-int-constant.  Specify type.  Require == 1.
34731         [C99-based standards] (FP_FAST_FMAF): Likewise.
34732         [C99-based standards] (FP_FAST_FMAL): Likewise.
34733         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
34734         [C99-based standards] (FP_ILOGBNAN): Likewise.
34735         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
34736         Specify type.
34737         [C99-based standards] (MATH_ERREXCEPT): Likewise.
34738         [C99-based standards] (math_errhandling): Specify type.
34739         [ISO99 || ISO11] (signgam): Do not allow.
34740         [non-C99-based standards] (copysignf): Do not allow.
34741         [non-C99-based standards] (exp2f): Likewise.
34742         [non-C99-based standards] (log2f): Likewise.
34743         [non-C99-based standards] (modff): Allow.
34744         [non-C99-based standards] (erff): Do not allow.
34745         [non-C99-based standards] (erfcf): Likewise.
34746         [non-C99-based standards] (gammaf): Likewise.
34747         [non-C99-based standards] (hypotf): Likewise.
34748         [non-C99-based standards] (j0f): Likewise.
34749         [non-C99-based standards] (j1f): Likewise.
34750         [non-C99-based standards] (jnf): Likewise.
34751         [non-C99-based standards] (lgammaf): Likewise.
34752         [non-C99-based standards] (tgammaf): Likewise.
34753         [non-C99-based standards] (y0f): Likewise.
34754         [non-C99-based standards] (y1f): Likewise.
34755         [non-C99-based standards] (ynf): Likewise.
34756         [non-C99-based standards] (isnanf): Likewise.
34757         [non-C99-based standards] (acoshf): Likewise.
34758         [non-C99-based standards] (asinhf): Likewise.
34759         [non-C99-based standards] (atanhf): Likewise.
34760         [non-C99-based standards] (cbrtf): Likewise.
34761         [non-C99-based standards] (expm1f): Likewise.
34762         [non-C99-based standards] (ilogbf): Likewise.
34763         [non-C99-based standards] (log1pf): Likewise.
34764         [non-C99-based standards] (logbf): Likewise.
34765         [non-C99-based standards] (nextafterf): Likewise.
34766         [non-C99-based standards] (remainderf): Likewise.
34767         [non-C99-based standards] (rintf): Likewise.
34768         [non-C99-based standards] (scalbf): Likewise.
34769         [non-C99-based standards] (copysignl): Likewise.
34770         [non-C99-based standards] (exp2l): Likewise.
34771         [non-C99-based standards] (log2l): Likewise.
34772         [non-C99-based standards] (modfl): Allow.
34773         [non-C99-based standards] (erfl): Do not allow.
34774         [non-C99-based standards] (erfcl): Likewise.
34775         [non-C99-based standards] (gammal): Likewise.
34776         [non-C99-based standards] (hypotl): Likewise.
34777         [non-C99-based standards] (j0l): Likewise.
34778         [non-C99-based standards] (j1l): Likewise.
34779         [non-C99-based standards] (jnl): Likewise.
34780         [non-C99-based standards] (lgammal): Likewise.
34781         [non-C99-based standards] (tgammal): Likewise.
34782         [non-C99-based standards] (y0l): Likewise.
34783         [non-C99-based standards] (y1l): Likewise.
34784         [non-C99-based standards] (ynl): Likewise.
34785         [non-C99-based standards] (isnanl): Likewise.
34786         [non-C99-based standards] (acoshl): Likewise.
34787         [non-C99-based standards] (asinhl): Likewise.
34788         [non-C99-based standards] (atanhl): Likewise.
34789         [non-C99-based standards] (cbrtl): Likewise.
34790         [non-C99-based standards] (expm1l): Likewise.
34791         [non-C99-based standards] (ilogbl): Likewise.
34792         [non-C99-based standards] (log1pl): Likewise.
34793         [non-C99-based standards] (logbl): Likewise.
34794         [non-C99-based standards] (nextafterl): Likewise.
34795         [non-C99-based standards] (remainderl): Likewise.
34796         [non-C99-based standards] (rintl): Likewise.
34797         [non-C99-based standards] (scalbl): Likewise.
34798         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34799         [non-C99-based standards] (FP_*): Do not allow.
34800         [C99-based standards] (FP_*): Change to
34801         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
34802         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34803         allow.
34804         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
34805         (SIG_ERR): Likewise.
34806         [X/Open-based standards] (SIG_HOLD): Likewise.
34807         (SIG_IGN): Likewise.
34808         (SIGABRT): Use macro-int-constant.  Specify type.  Require
34809         positive value.
34810         (SIGFPE): Likewise.
34811         (SIGILL): Likewise.
34812         (SIGINT): Likewise.
34813         (SIGSEGV): Likewise.
34814         (SIGTER): Likewise.
34815         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
34816         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
34817         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
34818         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
34819         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
34820         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
34821         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
34822         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
34823         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
34824         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
34825         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
34826         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
34827         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
34828         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
34829         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
34830         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
34831         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
34832         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
34833         [X/Open-based standards] (SIGTRAP): Likewise.
34834         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
34835         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
34836         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
34837         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
34838         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34839         allow.
34840
34841 2012-05-08  Ian Wienand  <ianw@vmware.com>
34842
34843         [BZ #14080]
34844         * time/tzset.c (__tzset_parse_tz): Update default rules for
34845         daylight time changes in the Energy Policy Act of 2005.
34846
34847 2012-05-09  Andreas Jaeger  <aj@suse.de>
34848
34849         [BZ #13983]
34850         * elf/ldconfig.c (parse_conf): Change string to make clear that
34851         ldconfig only issued a warning if ld.so.conf does not exist.
34852
34853 2012-05-08  David S. Miller  <davem@davemloft.net>
34854
34855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
34856         movxtod instead of popping the value on the stack.
34857
34858         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34859
34860 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
34861
34862         * config.h.in: Add HAVE_ARM_PCS_VFP.
34863
34864 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
34865
34866         [BZ #13979]
34867         * include/features.h: Warn if user requests __FORTIFY_SOURCE
34868         checking but the checks are disabled for any reason.
34869
34870 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
34871
34872         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
34873         and ELF64_R_TYPE with ELFW(R_TYPE).
34874
34875 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
34876
34877         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
34878         (ulimit): Likewise.
34879
34880         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
34881         (settimeofday): Likewise.
34882
34883 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
34884
34885         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
34886         a struct th_u2 inside the union, and move tu_block/tu_code into
34887         a new th_u3 union of tu_block/tu_code inside of that.  Move
34888         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
34889         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
34890         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
34891         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
34892         (th_stuff): Change to th_u1.tu_stuff.
34893         (th_data): Define.
34894         (th_msg): Change to th_u1.th_u2.tu_data.
34895
34896 2012-05-07  David S. Miller  <davem@davemloft.net>
34897
34898         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34899
34900         [BZ #14074]
34901         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
34902         (SETUP_PIC_REG): Use it.
34903         (SETUP_PIC_REG_LEAF): Use it.
34904
34905 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
34906
34907         [BZ #13885]
34908         [BZ #13923]
34909         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34910         USE_AS_EXPM1L.
34911         (EXPL_FINITE): Likewise.
34912         (FLDLOG): Likewise.
34913         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34914         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34915         e_expl.S.
34916         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34917         USE_AS_EXPM1L.
34918         (EXPL_FINITE): Likewise.
34919         (FLDLOG): Likewise.
34920         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
34921         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
34922         e_expl.S.
34923         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
34924         test of -max_value argument for long double.
34925         * sysdeps/i386/fpu/libm-test-ulps: Update.
34926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34927
34928 2012-05-06  David S. Miller  <davem@davemloft.net>
34929
34930         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
34931         quad soft-float symbols whose references which are compiler
34932         generated.
34933         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
34934
34935 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
34936
34937         [BZ #13884]
34938         [BZ #13914]
34939         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34940         USE_AS_EXP10L.
34941         (EXPL_FINITE): Likewise.
34942         (FLDLOG): Likewise.
34943         (c0): Likewise.
34944         (c1): Likewise.
34945         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34946         Adjust comments for base varying.
34947         (__expl_finite): Change alias to EXPL_FINITE.
34948         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
34949         e_expl.S.
34950         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
34951         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
34952         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
34953         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
34954         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
34955         USE_AS_EXP10L.
34956         (EXPL_FINITE): Likewise.
34957         (FLDLOG): Likewise.
34958         (c0): Likewise.
34959         (c1): Likewise.
34960         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
34961         Adjust comments for base varying.
34962         (__expl_finite): Change alias to EXPL_FINITE.
34963         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
34964         tests for bugs.
34965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34966
34967         [BZ #14064]
34968         * math/libm-test.inc (check_float_internal): Correct ulp
34969         calculation for subnormal expected results.
34970
34971 2012-05-06  Andreas Jaeger  <aj@suse.de>
34972
34973         * Makeconfig (+math-flags): New, set to -frounding-math.
34974         (+cflags): Add +math-flags so that all of glibc gets compiled with
34975         it.
34976
34977         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
34978
34979 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
34980
34981         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
34982         Disable one test.
34983
34984         [BZ #13787]
34985         [BZ #13922]
34986         [BZ #14036]
34987         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
34988         (__ieee754_expl): Allow for and saturate large arguments.
34989         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
34990         (u_threshold): Likewise.
34991         (__exp): Call __ieee754_exp before checking for overflow and
34992         underflow.
34993         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
34994         (u_threshold): Likewise.
34995         (__expf): Call __ieee754_expf before checking for overflow and
34996         underflow.
34997         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
34998         (u_threshold): Likewise.
34999         (__expl): Call __ieee754_expl before checking for overflow and
35000         underflow.
35001         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
35002         (__ieee754_expl): Allow for and saturate large arguments.
35003         * math/libm-test.inc (exp_test): Add another test.  Do not allow
35004         missing overflow exception on overflow.
35005         (expm1_test): Do not allow missing overflow exception on overflow.
35006
35007         * sysdeps/i386/fpu/e_expl.c: Move to ...
35008         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
35009         rather than using inline asm.
35010         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
35011         * sysdeps/x86_64/fpu/e_expl.S: Copy from
35012         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
35013
35014         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
35015         (nice): Likewise.
35016         (poll): Likewise.
35017         (signal): Likewise.
35018         (time): Likewise.
35019         (times): Likewise.
35020
35021 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35022
35023         * sysdeps/unix/syscalls.list (adjtime): Add entry from
35024         sysdeps/unix/common/syscalls.list.
35025         (fchmod): Likewise.
35026         (fchown): Likewise.
35027         (ftruncate): Likewise.
35028         (getrusage): Likewise.
35029         (gettimeofday): Likewise.
35030         (setpgid): Likewise.
35031         (setregid): Likewise.
35032         (setreuid): Likewise.
35033         (sigaction): Likewise.
35034         (truncate): Likewise.
35035         (vhangup): Likewise.
35036         * sysdeps/unix/common/syscalls.list: Remove file.
35037         * sysdeps/unix/bsd/Implies: Don't include unix/common.
35038         * sysdeps/unix/sysv/linux/Implies: Likewise.
35039
35040 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
35041
35042         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
35043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
35044         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
35045         Moved to ...
35046         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35047         Here.
35048         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
35049         to ...
35050         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
35051         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
35052         to ...
35053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
35054         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
35055         to ...
35056         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
35057         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
35058         to ...
35059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
35060         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
35061         to ...
35062         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
35063         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
35064         to ...
35065         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
35066         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
35067         to ...
35068         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
35069         Here.
35070         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
35071         to ...
35072         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
35073         Here.
35074         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
35075         to ...
35076         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
35077         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
35078         Moved to ...
35079         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
35080         Here.
35081         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
35082         to ...
35083         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
35084
35085 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35086
35087         * sysdeps/unix/common/bits/dirent.h: Remove file.
35088         * sysdeps/unix/common/bits/fcntl.h: Likewise.
35089
35090         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
35091         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
35092         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
35093         * sysdeps/unix/bsd/isatty.c: Likewise.
35094         * sysdeps/unix/bsd/tcdrain.c: Likewise.
35095         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
35096         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
35097
35098 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35099
35100         [BZ #13563]
35101         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
35102         long double comparison inaccuracies.
35103         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
35104         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35105
35106 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
35107
35108         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
35109         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
35110
35111 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
35112
35113         [BZ #14049]
35114         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
35115         nonzero digits before rounding a hex value.
35116         * stdlib/tst-strtod.c (tests): Add another test.
35117
35118 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35119
35120         * sysdeps/s390/fpu/libm-test-ulps: Update.
35121
35122 2012-05-03  Andreas Jaeger  <aj@suse.de>
35123
35124         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
35125         does not get optimized out.
35126         (malloc_opt_barrier): New.
35127
35128 2012-05-03  Andreas Jaeger  <aj@suse.de>
35129             Roland McGrath  <roland@hack.frob.com>
35130
35131         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
35132         intermediate file deletion.
35133         (generated): Add .symlist files.
35134
35135 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
35136
35137         [BZ #13775]
35138         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
35139         Redirect under this condition.
35140         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35141         [__USE_GNU] (__dprintf_chk): Not under this condition.
35142         [__USE_GNU] (__vdprintf_chk): Likewise.
35143         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
35144         under this condition.
35145         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
35146         [__USE_XOPEN2K8] (dprintf): Define under this condition.
35147         [__USE_XOPEN2K8] (vdprintf): Likewise.
35148         [__USE_GNU] (__dprintf_chk): Not under this condition.
35149         [__USE_GNU] (__vdprintf_chk): Likewise.
35150         [__USE_GNU] (dprintf): Likewise.
35151         [__USE_GNU] (vdprintf): Likewise.
35152
35153 2012-05-03  Roland McGrath  <roland@hack.frob.com>
35154
35155         * elf/Makefile (common-generated): Set this instead of generated for
35156         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
35157         $(all-built-dso)-derived lists.
35158
35159 2012-05-03  Andreas Jaeger  <aj@suse.de>
35160
35161         * sysdeps/i386/fpu/libm-test-ulps: Update.
35162
35163         * FAQ: Removed.
35164         * FAQ.in: Likewise.
35165         * scripts/gen-FAQ.pl: Likewise.
35166         * manual/install.texi (Installation): Point to online location of
35167         FAQ.
35168         * Makefile (files-for-dist): Remove FAQ.
35169         (FAQ): Remove.
35170
35171 2012-05-02  Allan McRae  <allan@archlinux.org>
35172
35173         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
35174         (LDFLAGS-reldepmod5.so): Likewise.
35175         (LDFLAGS-reldep6mod1.so): Likewise.
35176         (LDFLAGS-reldep6mod4.so): Likewise.
35177         (LDFLAGS-reldep8mod3.so): Likewise.
35178         (LDFLAGS-unload4mod1.so): Likewise.
35179         (LDFLAGS-unload4mod2.so): Likewise.
35180         (LDFLAGS-tst-initorder): Likewise.
35181         (LDFLAGS-tst-initordera2.so): Likewise.
35182         (LDFLAGS-tst-initordera3.so): Likewise.
35183         (LDFLAGS-tst-initordera4.so): Likewise.
35184         (LDFLAGS-tst-initorderb2.so): Likewise.
35185         (LDFLAGS-noload): Likewise.
35186         (LDFLAGS-next): Likewise.
35187         (LDFLAGS-order2mod1.so): Likewise.
35188         (LDFLAGS-order2mod2.so): Likewise.
35189         (LDFLAGS-tst-initorder2): Likewise.
35190         (LDFLAGS-tst-initorder2a.so): Likewise.
35191         (LDFLAGS-tst-initorder2b.so): Likewise.
35192         (LDFLAGS-tst-initorder2c.so): Likewise.
35193         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
35194
35195 2012-05-02  David S. Miller  <davem@davemloft.net>
35196
35197         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35198
35199 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
35200
35201         [BZ #14055]
35202         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
35203
35204 2012-05-02  Andreas Jaeger  <aj@suse.de>
35205
35206         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
35207         since we manipulate rounding mode.
35208         (CPPFLAGS-test-idouble.c): Likewise.
35209         (CPPFLAGS-test-ifloat.c): Likewise.
35210         (CFLAGS-test-ldouble.c): Likewise.
35211         (CFLAGS-test-double.c): Likewise.
35212         (CFLAGS-test-float.c): Likewise.
35213         (CFLAGS-test-misc.c): Likewise.
35214         (CFLAGS-test-test-fenv.c): Likewise.
35215
35216 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35217
35218         [BZ #2550]
35219         [BZ #2570]
35220         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
35221         comparisons to determine direction to adjust input.
35222
35223 2012-05-01  Roland McGrath  <roland@hack.frob.com>
35224
35225         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
35226         output to the target.
35227
35228         * scripts/localplt.awk: New file.
35229         * elf/Makefile ($(objpfx)check-localplt): Target removed.
35230         (check-localplt-CFLAGS): Variable removed.
35231         ($(all-built-dso:=.jmprel)): New static pattern rule.
35232         (generated): Add those targets.
35233         (localplt-built-dso): New variable.
35234         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
35235
35236         * elf/check-localplt.c: File removed.
35237
35238         * scripts/check-execstack.awk: New file.
35239         * elf/Makefile ($(objpfx)check-execstack): Target removed.
35240         (check-execstack-CFLAGS): Variable removed.
35241         ($(objpfx)check-execstack.h): Target removed.
35242         ($(objpfx)execstack-default): New target.
35243         (generated): Add that instead of check-execstack.h.
35244         ($(all-built-dso:=.phdr)): New static pattern rule.
35245         (generated): Add those targets.
35246         * elf/check-execstack.c: File removed.
35247
35248         * scripts/check-textrel.awk: New file.
35249         * elf/Makefile ($(objpfx)check-textrel): Target removed.
35250         (check-textrel-CFLAGS): Variable removed.
35251         (all-built-dso): Use := to define.o
35252         ($(all-built-dso:=.dyn)): New static pattern rule.
35253         (generated): Add those targets.
35254         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
35255         * config.make.in (READELF): New substituted variable.
35256         * elf/check-textrel.c: File removed.
35257
35258 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35259
35260         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
35261         allow.
35262         * conform/data/ctype.h-data [C99-based standards] (isblank):
35263         Expect function.
35264         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
35265         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
35266         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35267         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
35268         Specify type.  Require positive value.
35269         (EILSEQ): Likewise.
35270         (ERANGE): Likewise.
35271         [ISO || POSIX] (EILSEQ): Do not expect.
35272         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
35273         Specify type.  Require positive value.
35274         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
35275         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
35276         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
35277         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
35278         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
35279         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
35280         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
35281         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
35282         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
35283         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
35284         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
35285         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
35286         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
35287         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
35288         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
35289         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
35290         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
35291         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
35292         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
35293         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
35294         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
35295         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
35296         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
35297         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
35298         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
35299         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
35300         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
35301         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
35302         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
35303         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
35304         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
35305         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
35306         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
35307         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
35308         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
35309         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
35310         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
35311         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
35312         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
35313         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
35314         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
35315         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
35316         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
35317         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
35318         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
35319         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
35320         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
35321         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
35322         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
35323         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
35324         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
35325         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
35326         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
35327         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
35328         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
35329         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
35330         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
35331         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
35332         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
35333         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
35334         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
35335         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
35336         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
35337         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
35338         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
35339         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
35340         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
35341         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
35342         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
35343         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
35344         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
35345         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
35346         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
35347         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
35348         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
35349         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
35350         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
35351         Require >= 2.
35352         (FLT_ROUNDS): Expect as macro, not constant.
35353         (FLT_MANT_DIG): Use macro-int-constant.
35354         (DBL_MANT_DIG): Likewise.
35355         (LDBL_MANT_DIG): Likewise.
35356         (FLT_DIG): Likewise.
35357         (DBL_DIG): Likewise.
35358         (LDBL_DIG): Likewise.
35359         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
35360         (DBL_MIN_EXP): Likewise.
35361         (LDBL_MIN_EXP): Likewise.
35362         (FLT_MAX_EXP): Use macro-int-constant.
35363         (DBL_MAX_EXP): Likewise.
35364         (LDBL_MAX_EXP): Likewise.
35365         (FLT_MAX_10_EXP): Likewise.
35366         (DBL_MAX_10_EXP): Likewise.
35367         (LDBL_MAX_10_EXP): Likewise.
35368         (FLT_MAX): Use macro-constant.
35369         (DBL_MAX): Likewise.
35370         (LDBL_MAX): Likewise.
35371         (FLT_EPSILON): Use macro-constant.  Give upper bound.
35372         (DBL_EPSILON): Likewise.
35373         (LDBL_EPSILON): Likewise.
35374         (FLT_MIN): Likewise.
35375         (DBL_MIN): Likewise.
35376         (LDBL_MIN): Likewise.
35377         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
35378         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
35379         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
35380         [ISO11] (FLT_HAS_SUBNORM): Likewise.
35381         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
35382         [ISO11] (DBL_DECIMAL_DIG): Likewise.
35383         [ISO11] (FLT_DECIMAL_DIG): Likewise.
35384         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
35385         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
35386         [ISO11] (FLT_TRUE_MIN): Likewise.
35387         [ISO11] (LDBL_TRUE_MIN): Likewise.
35388         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35389         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
35390         (SCHAR_MIN): Use macro-int-constant.  Specify type.
35391         (SCHAR_MAX): Likewise.
35392         (UCHAR_MAX): Likewise.
35393         (CHAR_MIN): Likewise.
35394         (CHAR_MAX): Likewise.
35395         (MB_LEN_MAX): Use macro-int-constant.
35396         (SHRT_MIN): Use macro-int-constant.  Specify type.
35397         (SHRT_MAX): Likewise.
35398         (USHRT_MAX): Likewise.
35399         (INT_MAX): Likewise.
35400         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
35401         bound negative.
35402         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35403         bound with "U".
35404         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35405         bound with "L".
35406         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
35407         bound negative.  Suffix upper bound with "L".
35408         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
35409         bound with "UL".
35410         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
35411         Specify type.
35412         [C99-based standards] (LLONG_MAX): Likewise.
35413         [C99-based standards] (ULLONG_MAX): Likewise.
35414         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
35415         == 0.
35416         [ISO11] (max_align_t): Require type.
35417         [ISO || ISO99 || ISO11] (*_t): Do not allow.
35418
35419         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
35420         from $CFLAGS, without defining away __attribute__ calls.
35421         (checknamespace): Use $CFLAGS_namespace.
35422
35423         * conform/conformtest.pl (@keywords): Only include C99 keywords
35424         for standards based on C99 or C11.
35425
35426         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
35427         Disable tests.
35428         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
35429         UNIX98]: Likewise.
35430
35431         * conform/conformtest.pl: Handle "macro-int-constant" and test for
35432         usability of symbols in #if.
35433
35434         * conform/conformtest.pl: If macro or constant types start
35435         "promoted:", expect the symbol to be of the following type
35436         promoted by the integer promotions.
35437
35438         * conform/conformtest.pl: Parse all "constant" and "macro" lines
35439         in one place.  Also handle "macro-constant".
35440
35441         * conform/conformtest.pl: Only accept expected macro values with
35442         "==".  Parse all "macro" lines in one place.
35443         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
35444
35445         * conform/conformtest.pl: Handle braced types on "constant" lines
35446         instead of handling "typed-constant".
35447         * conform/data/signal.h-data: Use "constant" instead of
35448         "typed-constant".
35449
35450         * conform/conformtest.pl: Handle "optional-" at start of lines in
35451         one place rather than duplicating several cases.  Handle each
35452         format of "macro" line with initial "optional-".
35453
35454         * conform/conformtest.pl: Only accept expected constant or
35455         optional-constant values with "==".  Parse all "constant" lines in
35456         one place.  Parse all "optional-constant" lines in one place.
35457         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
35458         * conform/data/fmtmsg.h-data: Likewise.
35459         * conform/data/netinet/in.h-data: Likewise.
35460         * conform/data/tar.h-data: Likewise.
35461         * conform/data/limits.h-data: Use "==" form on "constant" and
35462         "optional-constant" lines.
35463
35464         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
35465         Use -std=c99 for XOPEN2K.
35466         (@knownproblems): Remove.
35467         (newtoken): Don't check %isknown.
35468
35469         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
35470         Do not expect macro.
35471         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
35472         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
35473         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
35474         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
35475         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
35476         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
35477         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
35478         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
35479         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
35480         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
35481         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
35482         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
35483         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
35484         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
35485         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
35486         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
35487         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
35488         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
35489         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
35490         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
35491         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
35492         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
35493         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
35494         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
35495         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
35496         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
35497         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
35498         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
35499         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
35500         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
35501         [XPG3] (acosh): Likewise.
35502         [XPG3] (asinh): Likewise.
35503         [XPG3] (atanh): Likewise.
35504         [XPG3] (cbrt): Likewise.
35505         [XPG3] (expm1): Likewise.
35506         [XPG3] (ilogb): Likewise.
35507         [XPG3] (log1p): Likewise.
35508         [XPG3] (logb): Likewise.
35509         [XPG3] (nextafter): Likewise.
35510         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
35511         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
35512         [XPG3] (remainder): Likewise.
35513         [XPG3] (rint): Likewise.
35514         [XPG3 || XPG4 || UNIX98] (round): Likewise.
35515         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
35516         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
35517         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
35518         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
35519         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
35520         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
35521         [UNIX98 || XOPEN2K] (scalb): Expect.
35522         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
35523         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
35524         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
35525         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
35526         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
35527         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
35528         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
35529         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
35530         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
35531         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
35532         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
35533         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
35534         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
35535         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
35536         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
35537         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
35538         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
35539         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
35540         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
35541         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
35542         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
35543         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
35544         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
35545         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
35546         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
35547         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
35548         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
35549         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
35550         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
35551         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
35552         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
35553         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
35554         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
35555         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
35556         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
35557         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
35558         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
35559         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
35560         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
35561         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
35562         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
35563         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
35564         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
35565         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
35566         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
35567         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
35568         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
35569         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
35570         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
35571         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
35572         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
35573         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
35574         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
35575         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
35576         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
35577         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
35578         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
35579         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
35580         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
35581         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
35582         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
35583         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
35584         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
35585         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
35586         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
35587         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
35588         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
35589         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
35590         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
35591         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
35592         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
35593         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
35594         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
35595         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
35596         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
35597         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
35598         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
35599         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
35600         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
35601         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
35602         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
35603         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
35604         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
35605         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
35606         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
35607         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
35608         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
35609         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
35610         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
35611         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
35612         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
35613         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
35614         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
35615         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
35616         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
35617         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
35618         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
35619         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
35620         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
35621         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
35622         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
35623         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
35624         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
35625         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
35626         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
35627         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
35628         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
35629         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
35630         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
35631         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
35632         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
35633         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
35634         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
35635         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
35636         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
35637         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
35638         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
35639         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
35640         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
35641         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
35642         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
35643         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
35644         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
35645         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
35646         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
35647         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
35648         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
35649         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
35650         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
35651         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
35652         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
35653         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
35654         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
35655         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
35656         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
35657         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
35658         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
35659
35660         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
35661         _XOPEN_SOURCE_EXTENDED for XPG4.
35662
35663         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
35664
35665         * Makeconfig (localtime): Remove variable.
35666         (inst_localtime-file): Likewise.
35667
35668 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35669
35670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
35671         Update.
35672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35673         Update.
35674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
35675         Update.
35676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
35677         Update.
35678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
35679         Update.
35680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
35681         Update.
35682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35683         Update.
35684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
35685         Update.
35686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35687         Update.
35688
35689 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
35690
35691         [BZ #2550]
35692         [BZ #2570]
35693         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
35694         comparisons to determine direction to adjust input.
35695         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35696         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
35697         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35698         Likewise.
35699         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35700         Likewise.
35701         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35702         Likewise.
35703         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35704         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35705         Likewise.
35706         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35707         Likewise.
35708         * math/libm-test.inc (nexttoward_test): Add more tests.
35709
35710 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
35711
35712         [BZ #14040]
35713         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
35714         in version GLIBC_2.1, not GLIBC_2.0.
35715         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
35716         Likewise.
35717
35718 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
35719
35720         [BZ #13942]
35721         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
35722         (1 - x) * (1 + x).
35723         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35724         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
35725         * math/libm-test.inc (acos_test): Add more tests.
35726         (asin_test): Likewise.
35727         * sysdeps/i386/fpu/libm-test-ulps: Update.
35728         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35729
35730         [BZ #14034]
35731         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
35732         of square root.
35733         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
35734         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
35735         * math/libm-test.inc (acos_test_tonearest): New function.
35736         (acos_test_towardzero): Likewise.
35737         (acos_test_downward): Likewise.
35738         (acos_test_upward): Likewise.
35739         (asin_test_tonearest): Likewise.
35740         (asin_test_towardzero): Likewise.
35741         (asin_test_downward): Likewise.
35742         (asin_test_upward): Likewise.
35743         (main): Call the new functions.
35744         * sysdeps/i386/fpu/libm-test-ulps: Update.
35745         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35746
35747         [BZ #13884]
35748         [BZ #13924]
35749         * math/e_exp10.c: Include <float.h>.
35750         (__ieee754_exp10): Handle underflow here rather than multiplying
35751         large negative argument by M_LN10.
35752         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
35753         of __ieee754_expf.
35754         * math/e_exp10l.c: Include <float.h>.
35755         (__ieee754_exp10l): Handle underflow here rather than multiplying
35756         large negative argument by M_LN10l.
35757         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
35758         spurious overflow exception on underflow.
35759
35760 2012-04-29  Marek Polacek  <polacek@redhat.com>
35761
35762         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
35763         (__fortify_function): New macro.
35764         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
35765         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
35766         __extern_always_inline.
35767         * libio/bits/stdio2.h: Likewise.
35768         * libio/bits/stdio.h: Likewise.
35769         * string/string.h: Likewise.
35770         * string/bits/string3.h: Likewise.
35771         * include/stdio.h: Likewise.
35772         * stdlib/bits/stdlib.h: Likewise.
35773         * stdlib/stdlib.h: Likewise.
35774         * rt/bits/mqueue2.h: Likewise.
35775         * rt/mqueue.h: Likewise.
35776         * posix/bits/unistd.h: Likewise.
35777         * posix/unistd.h: Likewise.
35778         * io/bits/poll2.h: Likewise.
35779         * io/bits/fcntl2.h: Likewise.
35780         * io/fcntl.h: Likewise.
35781         * io/sys/poll.h: Likewise.
35782         * misc/bits/syslog.h: Likewise.
35783         * misc/bits/syslog-ldbl.h: Likewise.
35784         * misc/sys/syslog.h: Likewise.
35785         * socket/bits/socket2.h: Likewise.
35786         * socket/sys/socket.h: Likewise.
35787         * debug/tst-chk1.c: Likewise.
35788         * wcsmbs/bits/wchar2.h: Likewise.
35789         * wcsmbs/bits/wchar-ldbl.h: Likewise.
35790         * wcsmbs/wchar.h: Likewise.
35791
35792 2012-04-29  Andreas Jaeger  <aj@suse.de>
35793
35794         * Makerules (tests): Remove enable-check-abi protection.
35795         (check-abi-warn): Remove.
35796         (check-abi-%): Remove check-abi-warn usage.
35797
35798         * configure.in: Remove check-abi configure option.
35799         * configure: Regenerated.
35800         * config.make.in (enable-check-abi): Remove.
35801
35802 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
35803
35804         [BZ #14033]
35805         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
35806         double functions to double *_finite functions.
35807
35808         [BZ #13941]
35809         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
35810         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
35811         LDBL_MIN_EXP.
35812         * stdio-common/Makefile (tests): Add tst-sprintf3.
35813         * stdio-common/tst-sprintf3.c: New file.
35814
35815         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
35816         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
35817
35818 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
35819
35820         * conform/conformtest.pl: Remove duplicate typed-constant
35821         handling.
35822
35823 2012-04-28  David S. Miller  <davem@davemloft.net>
35824
35825         * Makerules (%.abilist): Add vpath on sysdep_dirs.
35826         (check-abi-%): Remove AWK script prerequisite and explicit
35827         abilist directory.
35828         (check-abi): Rewrite to just diff the symlist with the abilist.
35829         (config-tls, config-abi-config): Delete, no longer used.
35830         (update-abi-%): Remove AWK script and explicit abilist directory.
35831         (update-abi): Rewrite to simply compare and conditionally copy the
35832         symlist and the sysdep abilist file.  Remove update-abi-config
35833         checks.
35834         * abilist/ld.abilist: Remove.
35835         * abilist/libBrokenLocale.abilist: Remove.
35836         * abilist/libanl.abilist: Remove.
35837         * abilist/libcrypt.abilist: Remove.
35838         * abilist/libdl.abilist: Remove.
35839         * abilist/librt.abilist: Remove.
35840         * abilist/libthread_db.abilist: Remove.
35841         * abilist/libutil.abilist: Remove.
35842         * scripts/extract-abilist.awk: Remove.
35843         * scripts/merge-abilist.awk: Remove.
35844         * sysdeps/generic/libcidn.abilist: New file.
35845         * sysdeps/generic/libnss_compat.abilist: New file.
35846         * sysdeps/generic/libnss_db.abilist: New file.
35847         * sysdeps/generic/libnss_dns.abilist: New file.
35848         * sysdeps/generic/libnss_files.abilist: New file.
35849         * sysdeps/generic/libnss_hesiod.abilist: New file.
35850         * sysdeps/generic/libnss_nis.abilist: New file.
35851         * sysdeps/generic/libnss_nisplus.abilist: New file.
35852         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
35853         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
35854         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
35855         file.
35856         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
35857         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
35858         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
35859         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
35860         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
35861         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
35862         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
35863         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
35864         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
35865         file.
35866         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
35867         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
35868         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
35869         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
35870         file.
35871         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
35872         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
35873         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
35874         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
35875         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
35876         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
35877         file.
35878         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
35879         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
35880         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
35881         file.
35882         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
35883         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
35884         New file.
35885         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
35886         New file.
35887         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
35888         New file.
35889         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
35890         New file.
35891         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
35892         New file.
35893         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
35894         New file.
35895         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
35896         New file.
35897         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
35898         New file.
35899         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
35900         New file.
35901         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
35902         New file.
35903         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
35904         New file.
35905         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
35906         New file.
35907         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
35908         New file.
35909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
35910         file.
35911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
35912         New file.
35913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
35914         New file.
35915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
35916         file.
35917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
35918         New file.
35919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
35920         New file.
35921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
35922         file.
35923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
35924         New file.
35925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
35926         New file.
35927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
35928         New file.
35929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
35930         New file.
35931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
35932         New file.
35933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
35934         New file.
35935         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
35936         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
35937         file.
35938         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
35939         New file.
35940         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
35941         file.
35942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
35943         file.
35944         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
35945         file.
35946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
35947         file.
35948         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
35949         file.
35950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
35951         New file.
35952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
35953         file.
35954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
35955         file.
35956         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
35957         New file.
35958         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
35959         file.
35960         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
35961         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
35962         file.
35963         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
35964         New file.
35965         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
35966         file.
35967         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
35968         file.
35969         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
35970         file.
35971         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
35972         file.
35973         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
35974         file.
35975         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
35976         New file.
35977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
35978         file.
35979         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
35980         file.
35981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
35982         New file.
35983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
35984         file.
35985         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
35986         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
35987         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
35988         file.
35989         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
35990         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
35991         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
35992         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
35993         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
35994         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
35995         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
35996         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
35997         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
35998         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
35999         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
36000         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
36001         file.
36002         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
36003         New file.
36004         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
36005         file.
36006         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
36007         file.
36008         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
36009         file.
36010         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
36011         file.
36012         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
36013         file.
36014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
36015         New file.
36016         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
36017         New file.
36018         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
36019         file.
36020         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
36021         New file.
36022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
36023         file.
36024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
36025         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
36026         file.
36027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
36028         New file.
36029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
36030         file.
36031         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
36032         file.
36033         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
36034         file.
36035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
36036         file.
36037         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
36038         file.
36039         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
36040         New file.
36041         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
36042         New file.
36043         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
36044         file.
36045         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
36046         New file.
36047         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
36048         file.
36049
36050 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
36051
36052         * conform/conformtest.pl: Fix typo in handling typed-constant from
36053         allow-header.
36054
36055 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36056
36057         * README: Cut down references to pre-2.6 Linux kernels and
36058         Linuxthreads.  Update lists of configurations in libc and ports
36059         and sort alphabetically.  Say "or newer" with Linux kernel version
36060         requirements.
36061
36062         * config.h.in [IS_IN_build]: Allow compiling without optimization.
36063
36064 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
36065
36066         [BZ #887]
36067         * math/libm-test.inc (logb_test_downward): New test to expose
36068         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
36069         rounding mode.
36070
36071 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
36072
36073         [BZ #14027]
36074         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
36075         to be done.
36076         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
36077         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
36078
36079 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
36080
36081         * sysdeps/unix/i386/brk.S: Remove file.
36082         * sysdeps/unix/i386/dl-brk.S: Likewise.
36083         * sysdeps/unix/i386/pipe.S: Likewise.
36084         * sysdeps/unix/i386/sigreturn.S: Likewise.
36085         * sysdeps/unix/i386/syscall.S: Likewise.
36086         * sysdeps/unix/i386/vfork.S: Likewise.
36087         * sysdeps/unix/i386/wait.S: Likewise.
36088
36089         * sysdeps/unix/common/tcsendbrk.c: Move to ...
36090         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
36091
36092         * configure.in (arm*-none*): Do not allow without
36093         --enable-hacker-mode.
36094         (netbsd*): Remove case setting base_os.
36095         (386bsd*): Likewise.
36096         (freebsd*): Likewise.
36097         (bsdi*): Likewise.
36098         (osf*): Likewise.
36099         (sunos*): Likewise.
36100         (ultrix*): Likewise.
36101         (newsos*): Likewise.
36102         (dynix*): Likewise.
36103         (*bsd*): Likewise.
36104         (sysv*): Likewise.
36105         (isc*): Likewise.
36106         (esix*): Likewise.
36107         (sco*): Likewise.
36108         (minix*): Likewise.
36109         (irix4*): Likewise.
36110         (irix6*): Likewise.
36111         (solaris[2-9]*): Likewise.
36112         (none): Likewise.
36113         * configure: Regenerated.
36114
36115 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36116
36117         [BZ #11521]
36118         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
36119         overflow or cancellation in calculating denominator.
36120         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
36121         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
36122         down expression to avoid unexpected rounding in newer GCCs.
36123         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
36124
36125 2012-04-26  David S. Miller  <davem@davemloft.net>
36126
36127         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
36128         long-double compat symbols.
36129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36130         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36131         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
36133         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36134         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
36135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
36136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
36137         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
36138         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
36139         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
36140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36142
36143 2012-04-25  David S. Miller  <davem@davemloft.net>
36144
36145         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
36146         HWCAP_* values only after the memory barriers have been defined.
36147         (atomic_full_barrier): Define.
36148         (atomic_read_barrier): Define.
36149         (atomic_write_barrier): Define.
36150
36151 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36152
36153         * shlib-versions: Add libgcc_s version information.
36154         * sysdeps/generic/libgcc_s.h: Remove.
36155         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
36156         libgcc_s.h.
36157         * sysdeps/gnu/unwind-resume.c: Likewise.
36158         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
36159
36160 2012-04-25  David S. Miller  <davem@davemloft.net>
36161
36162         * sysdeps/unix/sparc/brk.S: Delete.
36163         * sysdeps/unix/sparc/dl-brk.S: Delete.
36164         * sysdeps/unix/sparc/pipe.S: Delete.
36165         * sysdeps/unix/sparc/sysdep.S: Delete.
36166         * sysdeps/unix/sparc/sysdep.h: Delete.
36167         * sysdeps/unix/sparc/vfork.S: Delete.
36168         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
36169         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
36170         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
36171         (ret_ERRVAL, r0, r1, MOVE): Define.
36172         (JUMPTARGET): Remove.
36173         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
36174         sysdeps/unix/sparc/sysdep.h
36175         (ENTRY, END): Remove.
36176         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36177
36178 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
36179
36180         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
36181         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
36182         -DIS_IN_build.
36183
36184         * timezone/README: Update upstream location and email address for
36185         tzcode and tzdata.
36186         * timezone/zdump.c: Update from tzcode 2012b.
36187         * timezone/zic.c: Likewise.
36188
36189         * configure.in (libc_cv_as_needed): Remove test.
36190         * configure: Regenerated.
36191         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
36192         conditional definition.
36193         [$(have-as-needed) != yes] (no-as-needed): Likewise.
36194         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
36195         * config.make.in (have-as-needed): Remove variable.
36196
36197 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36198             Paul Pluzhnikov  <ppluzhnikov@google.com>
36199
36200         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
36201         strings correctly.
36202
36203 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
36204
36205         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
36206         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
36207         * sysdeps/sh/strlen.S: Likewise.
36208
36209 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36210
36211         * sysdeps/unix/fork.S: Remove file.
36212         * sysdeps/unix/i386/fork.S: Likewise.
36213         * sysdeps/unix/sparc/fork.S: Likewise.
36214
36215         * sysdeps/unix/system.c: Remove file.
36216         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
36217
36218         * sysdeps/unix/getegid.S: Remove file.
36219         * sysdeps/unix/geteuid.S: Likewise.
36220
36221 2012-04-24  Roland McGrath  <roland@hack.frob.com>
36222
36223         * scripts/check-localplt.awk: New file.
36224         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
36225         of diff.
36226         * scripts/data/localplt-generic.data: Add a comment.
36227
36228         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
36229         NODE when __dir_mkfile failed.
36230         * sysdeps/mach/hurd/symlinkat.c: Likewise.
36231         Reported by Ludovic Courtès <ludo@gnu.org>.
36232
36233 2012-04-24  Andreas Jaeger  <aj@suse.de>
36234
36235         * Makerules (common-clean): Also remove gen-as-const-headers
36236         files.
36237
36238 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36239
36240         * Makerules (native-compile): Do not change working directory for
36241         build.  Use $(OUTPUT_OPTION) in command.
36242         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
36243
36244 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36245
36246         [BZ #13886]
36247         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
36248         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
36249         * math/libm-test.inc (floor_test): Add more tests.
36250         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
36251
36252 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
36253
36254         * sysdeps/unix/getdents.c: Remove file.
36255         * sysdeps/unix/sysv/getdents.c: Likewise.
36256         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
36257
36258         * sysdeps/unix/syscalls.list (madvise): Add syscall from
36259         sysdeps/unix/mman/syscalls.list.
36260         (mmap): Likewise.
36261         (mprotect): Likewise.
36262         (msync): Likewise.
36263         (munmap): Likewise.
36264         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
36265         * sysdeps/unix/mman/syscalls.list: Remove.
36266         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
36267
36268         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
36269         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
36270         * configure: Regenerated.
36271         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
36272         $(libgcc_s_suffix).
36273         * config.make.in (libgcc_s_suffix): Remove variable.
36274
36275 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
36276
36277         * sysdeps/unix/sysv/gethostname.c: Move to ...
36278         * sysdeps/posix/gethostname.c: ... here.
36279
36280         * sysdeps/unix/execve.S: Remove file.
36281
36282         * sysdeps/unix/_exit.S: Remove file.
36283
36284 2012-04-23  Andreas Jaeger  <aj@suse.de>
36285
36286         [BZ #13739]
36287         * manual/Makefile: Remove make dist support, there's no
36288         need for a stand-alone documentation tar ball.
36289         (TEXI2DVI): Define always, it's not in Makeconfig.
36290         (dist): Removed.
36291         (tar-it): Removed.
36292         (edition): Removed.
36293         (glibc-doc-$(edition).tar): Removed
36294         (%.Z): Removed.
36295         (%.gz): Removed.
36296         (%.uu): Removed.
36297         (ETAGS): Remove, it's in Makeconfig.
36298         (move-if-change): Remove, it's in Makeconfig.
36299
36300 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
36301
36302         [BZ #13970]
36303         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
36304         (strtod, strtof, strtold, strtol, strtoul, strtoq)
36305         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
36306         (strtod_l, strtof_l, strtold_l): Remove __wur.
36307         It is not necessarily an error to ignore strtol's return value.
36308         One can reliably look at the stored endptr to decide whether
36309         the number had valid syntax.
36310
36311 2012-04-21  Andreas Jaeger  <aj@suse.de>
36312
36313         [BZ #13739]
36314         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
36315
36316 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
36317
36318         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
36319         * sysdeps/unix/sysv/Versions: Remove file.
36320
36321 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
36322
36323         [BZ #13927]
36324         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36325
36326 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
36327
36328         [BZ #7064]
36329         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
36330         version from __vm86.
36331
36332 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
36333
36334         * sysdeps/unix/common/lxstat.c: Remove file.
36335         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
36336
36337         * sysdeps/unix/sysv/Makefile: Remove file.
36338
36339         * sysdeps/unix/sysv/direct.h: Remove file.
36340
36341         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
36342         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
36343         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
36344         * sysdeps/unix/sysv/bits/signum.h: Likewise.
36345         * sysdeps/unix/sysv/bits/stat.h: Likewise.
36346         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
36347         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
36348
36349         * sysdeps/unix/sysv/setrlimit.c: Remove file.
36350
36351         * sysdeps/unix/xmknod.c: Remove file.
36352         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
36353
36354         * sysdeps/unix/sysv/settimeofday.c: Remove file.
36355
36356         * sysdeps/unix/sysv/i386/time.S: Remove file.
36357
36358         * sysdeps/unix/fxstat.c: Remove file.
36359         * sysdeps/unix/xstat.c: Likewise.
36360         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
36361
36362         * sysdeps/unix/sysv/sigaction.c: Remove file.
36363
36364         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
36365         (sysdep_headers): Remove variable.
36366         [termio.h not in sysdep_headers] (generated): Likewise.
36367         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
36368         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
36369         * sysdeps/unix/sysv/tcdrain.c: Likewise.
36370         * sysdeps/unix/sysv/tcflow.c: Likewise.
36371         * sysdeps/unix/sysv/tcflush.c: Likewise.
36372         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
36373         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
36374         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
36375         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
36376         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
36377
36378         * sysdeps/unix/siglist.c: Remove file.
36379
36380         * sysdeps/unix/getppid.S: Remove file.
36381
36382         * sysdeps/unix/mkdir.c: Remove file.
36383         * sysdeps/unix/rmdir.c: Likewise.
36384
36385 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
36386
36387         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
36388         ERR_MAX value.
36389         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
36390         errlist-compat value.
36391
36392 2012-04-18  David S. Miller  <davem@davemloft.net>
36393
36394         * sysdeps/generic/memcopy.h (reg_char): Delete.
36395         * debug/strcat_chk.c: Use char, not reg_char.
36396         * debug/strcpy_chk.c: Likewise.
36397         * debug/strncat_chk.c: Likewise.
36398         * debug/strncpy_chk.c: Likewise.
36399         * string/memchr.c: Likewise.
36400         * string/memrchr.c: Likewise.
36401         * string/rawmemchr.c: Likewise.
36402         * string/strcat.c: Likewise.
36403         * string/strchr.c: Likewise.
36404         * string/strchrnul.c: Likewise.
36405         * string/strcmp.c: Likewise.
36406         * string/strcpy.c: Likewise.
36407         * string/strncat.c: Likewise.
36408         * string/strncmp.c: Likewise.
36409         * string/strncpy.c: Likewise.
36410
36411 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36412
36413         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
36414         __builtin_memcopy is called when src and dest ranges are known to not
36415         overlap.
36416
36417 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36418
36419         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
36420         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
36421         fwd_align_merge macro call.
36422         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
36423         bwd_align_merge macro call.
36424         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36425
36426 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
36427
36428         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
36429         bwd_align_merge macros.
36430         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
36431         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
36432         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
36433
36434 2012-04-18  David S. Miller  <davem@davemloft.net>
36435
36436         * sysdeps/sparc/sparc64/memcopy.h: Delete.
36437
36438 2012-04-18  Andreas Jaeger  <aj@suse.de>
36439
36440         [BZ# 6794]
36441         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
36442         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
36443         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36444
36445         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
36446         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
36447         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36448
36449         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
36450         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
36451         Adjust for changed ldbl-128 files.
36452
36453         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
36454         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
36455         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
36456
36457 2012-04-17  David S. Miller  <davem@davemloft.net>
36458
36459         * sysdeps/sparc/sparc32/memcopy.h: Delete.
36460
36461 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
36462
36463         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
36464         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
36465         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
36466         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
36467         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
36468         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
36469
36470 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36471
36472         [BZ #6794]
36473         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
36474         * math/libm-test.inc: Add ilogb errno and exception tests.
36475         * math/w_ilogb.c: New file: ilogb wrapper.
36476         * math/w_ilogbf.c: New file: ilogbf wrapper.
36477         * math/w_ilogbl.c: New file: ilogbl wrapper.
36478         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
36479         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
36480         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
36481         exception being thrown with 0.0 as argument.
36482         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
36483         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
36484         exception being thrown with 0.0 as argument.
36485         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
36486         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36487         exception being thrown with 0.0 as argument.
36488         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
36489         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
36490         exception being thrown with 0.0 as argument.
36491         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
36492         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
36493         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
36494         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
36495         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
36496         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
36497         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
36498         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
36499         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
36500
36501 2012-04-17  Petr Baudis  <pasky@ucw.cz>
36502
36503         * include/sys/uio.h: Change __vector to __iovec to avoid clash
36504         with altivec.
36505
36506 2012-04-16  Marek Polacek  <polacek@redhat.com>
36507
36508         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
36509
36510 2012-04-16  Marek Polacek  <polacek@redhat.com>
36511
36512         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
36513         operands of fdivp instruction.
36514
36515 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36516
36517         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
36518         * elf/tst-auditmod3b.c: Likewise.
36519         * elf/tst-auditmod4b.c: Likewise.
36520         * elf/tst-auditmod5b.c: Likewise.
36521         * elf/tst-auditmod6b.c: Likewise.
36522         * elf/tst-auditmod6c.c: Likewise.
36523         * elf/tst-auditmod7b.c: Likewise.
36524         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
36525         * sysdeps/x86_64/preconfigure.in: Likewise.
36526         * sysdeps/x86_64/preconfigure: Regenerated.
36527
36528 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
36529
36530         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
36531         __ILP32__.
36532
36533 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
36534
36535         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36536         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
36537
36538 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
36539
36540         [BZ #13973]
36541         * locale/iso-639.def: Fix gl language name. Spotted by
36542         Yaron Shahrabani.
36543
36544 2012-04-12  Roland McGrath  <roland@hack.frob.com>
36545
36546         [BZ #2074]
36547         * libio/libio.h (__io_write_fn): Update comment.
36548
36549 2012-04-12  Petr Baudis  <pasky@ucw.cz>
36550
36551         [BZ #2074]
36552         * stdio.texi (Hook Functions): The user provided writer function
36553         is not allowed to return -1.
36554
36555 2012-04-11  David S. Miller  <davem@davemloft.net>
36556
36557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36558
36559 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
36560
36561         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
36562         Add a leading slash to rtkaio.
36563
36564 2012-04-11  Jim Meyering  <meyering@redhat.com>
36565
36566         [BZ #11959]
36567         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
36568         It is not necessarily an error to ignore fwrite's return
36569         value.  One can reliably use ferror to test for errors after
36570         the fact.
36571
36572 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36573
36574         * bits/types.h (__snseconds_t): New type.
36575         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
36576
36577         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
36578         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36579         (__SNSECONDS_T_TYPE): Likewise.
36580         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36581         (__SNSECONDS_T_TYPE): Likewise.
36582         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36583         (__SNSECONDS_T_TYPE): Likewise.
36584
36585 2012-04-10  Andreas Jaeger  <aj@suse.de>
36586
36587         [BZ #2636]
36588         * manual/time.texi (Processor Time): Return type of times is
36589         elapsed real time since an arbitrary point in the past.
36590         (CPU Time): Move CLK_TCK from here...
36591         (Processor Time): ...to here.  Correct description.
36592         * manual/conf.texi (Constants for Sysconf): Correct description of
36593         _SC_CLK_TCK.
36594
36595 2012-04-10  David S. Miller  <davem@davemloft.net>
36596
36597         [BZ #13967]
36598         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
36599         where the is a gap between DT_REL(A) and DT_JMPREL.
36600
36601 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
36602
36603         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
36604         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36605         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36606
36607 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
36608
36609         * elf/dl-support.c (_dl_inhibit_cache): New variable.
36610         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
36611         (dl_main): Handle --inhibit-cache.
36612         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
36613         _dl_inhibit_cache.
36614         * elf/dl-load.c (_dl_map_object): Use it.
36615         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
36616
36617 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36618
36619         [BZ #13872]
36620         * sysdeps/i386/fpu/e_powl.S (p78): New object.
36621         (__ieee754_powl): Saturate large exponents rather than testing for
36622         overflow of y*log2(x).
36623         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36624         * math/libm-test.inc (pow_test): Do not permit spurious overflow
36625         exceptions.
36626
36627         [BZ #11521]
36628         * math/s_ctan.c: Include <float.h>.
36629         (__ctan): Avoid internal overflow or cancellation in calculating
36630         denominator.
36631         * math/s_ctanf.c: Likewise.
36632         * math/s_ctanl.c: Likewise.
36633         * math/s_ctanh.c: Likewise.
36634         * math/s_ctanhf.c: Likewise.
36635         * math/s_ctanhl.c: Likewise.
36636         * math/libm-test.inc (ctan_test): Add more tests.
36637         (ctanh_test): Likewise.
36638         * sysdeps/i386/fpu/libm-test-ulps: Update.
36639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36640
36641 2012-04-09  Andreas Jaeger  <aj@suse.de>
36642
36643         [BZ #6894]
36644         * manual/filesys.texi (Directory Entries): Mention that d_namlen
36645         is an optional BSD extension.
36646
36647         [BZ #10254]
36648         * manual/stdio.texi (Opening Streams): Document additional fopen
36649         parameters.
36650
36651 2012-04-09  Roland McGrath  <roland@hack.frob.com>
36652
36653         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
36654         %eax without telling the compiler.
36655
36656 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
36657
36658         [BZ # 13963]
36659         * manual/install.texi: Use sourceware.org.
36660
36661 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
36662
36663         [BZ #13873]
36664         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
36665         (__ieee754_pow): Generate overflow and underflow using huge*huge
36666         and tiny*tiny rather than just returning constant infinity or zero
36667         for large exponents.
36668         * math/libm-test.inc (pow_test): Require overflow exceptions for
36669         applicable cases of large exponents.
36670
36671         [BZ #706]
36672         * sysdeps/i386/fpu/e_pow.S (p10): New object.
36673         (__ieee754_pow): Use iterative multiplication algorithm only for
36674         integer exponents with absolute value below 1024.  Check for odd
36675         integer exponents when using algorithm for real exponents.
36676         * math/libm-test.inc (pow_test): Add more tests.
36677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36678
36679 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
36680
36681         [BZ #13705]
36682         * math/libm-test.inc (exp_test): Do not allow overflow exception
36683         on underflow test.
36684
36685 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
36686
36687         [BZ #13705]
36688         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
36689         instead of __kernel_standard_f.
36690
36691 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
36692
36693         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
36694         * sysdeps/x86_64/memset_chk.S: Likewise.
36695
36696 2012-04-08  Andreas Jaeger  <aj@suse.de>
36697
36698         [BZ #10153]
36699         * manual/startup.texi (Environment Access): Describe return value
36700         for putenv and setenv.
36701
36702         [BZ #6895]
36703         * manual/filesys.texi (Directory Entries): Add description for
36704         DT_LNK.
36705
36706         [BZ #6890]
36707         * manual/filesys.texi (Directory Entries): Clarify that it's file
36708         system not operating system in the description of DT_UNKNOWN.
36709
36710         [BZ #6578]
36711         * manual/syslog.texi (closelog): Fix reference, it's openlog.
36712
36713 2012-04-08  Stephen Compall  <s11@member.fsf.org>
36714
36715         [BZ #6649]
36716         * manual/llio.texi (Opening and Closing Files): Add cross
36717         reference to explain mode argument.
36718
36719 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
36720
36721         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
36722         * sysdeps/x86_64/memset_chk.S: Likewise.
36723
36724 2012-04-07  David S. Miller  <davem@davemloft.net>
36725
36726         * elf/elf.h (R_SPARC_WDISP10): Define.
36727         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
36728         R_SPARC_SIZE32.
36729         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
36730         R_SPARC_SIZE64 and R_SPARC_H34.
36731
36732 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
36733
36734         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
36735         conditions and remove no longer applicable assertion.
36736
36737 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36738
36739         * bits/byteswap.h: Include <features.h>.
36740         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
36741         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
36742
36743 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
36744
36745         * bits/byteswap.h (__bswap_16): Removed.
36746         Include <bits/byteswap-16.h> to get __bswap_16.
36747         * sysdeps/i386/bits/byteswap.h: Likewise.
36748         * sysdeps/s390/bits/byteswap.h: Likewise.
36749         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36750         * bits/byteswap-16.h: New file.
36751         * sysdeps/i386/bits/byteswap-16.h: Likewise.
36752         * sysdeps/s390/bits/byteswap-16.h: Likewise.
36753         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
36754         * string/Makefile (headers): Add bits/byteswap-16.h.
36755
36756 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36757
36758         [BZ #13895]
36759         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
36760         extra indirection.
36761         * nss/Makefile (tests-static, tests): Add tst-nss-static.
36762         * nss/tst-nss-static.c: New.
36763
36764 2012-04-06  Robert Millan  <rmh@gnu.org>
36765
36766         [BZ #6486]
36767         * manual/llio.texi (File Position Primitive): lseek
36768         refers to WHENCE when it really means OFFSET.
36769
36770 2012-04-06  Andreas Jaeger  <aj@suse.de>
36771
36772         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
36773         strncmp declarations.
36774
36775         * abilist/libc.abilist: Add __poll and __ppoll.
36776
36777 2012-04-05  David S. Miller  <davem@davemloft.net>
36778
36779         * scripts/check-local-headers.sh: Accept a host triplet in the
36780         path matched by the exclude regexp.
36781
36782         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
36783         definition.
36784         * sysdeps/powerpc/powerpc32/dl-machine.h
36785         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
36786         * sysdeps/s390/s390-32/dl-machine.h
36787         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36788         * sysdeps/sparc/sparc32/dl-machine.h
36789         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36790         * sysdeps/sparc/sparc64/dl-machine.h
36791         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
36792
36793         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
36794         lazy binding.
36795         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
36796         undefined symbol errors.
36797
36798         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
36799         DT_NEEDED entries.
36800
36801 2012-04-05  Michael Matz  <matz@suse.de>
36802
36803         [BZ #13592]
36804         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
36805
36806 2012-04-05  Andreas Jaeger  <aj@suse.de>
36807
36808         [BZ #13908]
36809         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
36810         comment.
36811
36812 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36813
36814         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
36815         which ROUND is no valid rounding mode.
36816
36817 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36818
36819         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
36820         read again.
36821         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
36822
36823 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36824
36825         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
36826         an exception using FPU order intentionally.
36827
36828 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36829
36830         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
36831         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
36832         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
36833         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
36834
36835 2012-04-05  Simon Josefsson  <simon@josefsson.org>
36836
36837         [BZ #12340]
36838         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
36839         EINVAL when BUFLEN is too smal.
36840
36841 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
36842
36843         [BZ #13553]
36844         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
36845         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
36846
36847 2012-04-03  Andreas Jaeger  <aj@suse.de>
36848
36849         [BZ #13938]
36850         * manual/setjmp.texi (System V contexts): Fix sentence.
36851
36852         [BZ #13926]
36853         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
36854         New macro for this case.
36855         [!__GNUC__] (__bswap_64): New inline function for this case.
36856         * sysdeps/x86_64/bits/byteswap.h: Likewise.
36857         * bits/byteswap.h: Likewise.
36858         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
36859         ull, guard with __GLIBC_HAVE_LONG_LONG.
36860
36861         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
36862         __GLIBC_HAVE_LONG_LONG.
36863
36864         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
36865         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
36866
36867 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36868
36869         [BZ #13691]
36870         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
36871         inptr and inend, rather than using last_ch.
36872
36873 2012-04-02  David S. Miller  <davem@davemloft.net>
36874
36875         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
36876         * stdio-common/printf-parse.h (read_int): Change return type to
36877         'int', return -1 on INT_MAX overflow.
36878         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
36879         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
36880         overflows INT_MAX.  Check for overflow of in-format-string precision
36881         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
36882         SIZE_MAX not INT_MAX for integer overflow test.
36883         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
36884         skip the construct in the format string but do not record anything.
36885         * stdio-common/bug22.c: Adjust to test both width/prevision
36886         INT_MAX overflow as well as total length INT_MAX overflow.  Check
36887         explicitly for proper errno values.
36888
36889 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
36890
36891         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
36892         CHAR_MAX.
36893         * string/test-strcmp.c [! WIDE]: Likewise.
36894         * time/tst-mktime2.c: Likewise for INT_MAX.
36895         * string/test-string.h: #include <sys/param.h> for MIN.
36896
36897         * csu/init-first.c (__libc_init_first): Call __ctype_init.
36898         * sysdeps/i386/init-first.c (init): Likewise.
36899         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
36900         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
36901         * sysdeps/sh/init-first.c (init): Likewise.
36902
36903 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
36904
36905         * po/ru.po: Update from translation team.
36906         * po/vi.po: Likewise.
36907
36908 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
36909
36910         * resolv/nss_dns/dns-host.c: Merge copyright years.
36911
36912 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36913
36914         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
36915         Optimize memcpy with prefetch if
36916         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
36917         src, dst pointers have unequal 16 byte alignments.
36918
36919 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36920
36921         [BZ #13928]
36922         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
36923         from a CNAME entry and return the minimum ttl for the query.
36924         (gaih_getanswer_slice): Likewise.
36925
36926 2012-03-30  Jeff Law  <law@redhat.com>
36927
36928         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
36929         due to long keys.
36930         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
36931         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
36932
36933         * resolv/nss_dns/dns-host.c: Update copyright year.
36934
36935 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
36936
36937         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
36938         requests to save a system call.  Fix check that all bytes are sent.
36939
36940         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
36941         comments for sendmmsg.
36942
36943 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36944
36945         [BZ #13691]
36946         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
36947         with only 1 character between 0x0041 and 0x01b0.
36948         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
36949         * wcsmbs/tst-mbsnrtowcs.c: New file.
36950
36951 2012-03-29  David S. Miller  <davem@davemloft.net>
36952
36953         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
36954         small copies by hand.
36955
36956 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36957
36958         [BZ #13761]
36959         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
36960         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
36961         group memberships.
36962
36963 2012-03-28  David S. Miller  <davem@davemloft.net>
36964
36965         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
36966         that branches into memcpy.
36967         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
36968         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
36969         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
36970         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
36971         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
36972         bits.
36973         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
36974         implementation too.
36975         * sysdeps/sparc/mempcpy.S: New file.
36976
36977         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
36978         the IFUNC routine in the libc case.
36979         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36980
36981         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
36982         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
36983         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
36984         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
36985         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
36986         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
36987         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
36988         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
36989
36990         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
36991         loop to 256 bytes instead of 64 bytes and fix test signedness.
36992
36993         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
36994         * sysdeps/sparc/sparc32/Makefile: rather than here...
36995         * sysdeps/sparc/sparc64/Makefile: and here.
36996
36997 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
36998
36999         * malloc/mallocbug.c: Avoid warnings about unused variables.
37000
37001 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
37002
37003         [BZ #13760]
37004         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
37005         in the right place. Discard and retry query if response is
37006         larger than input buffer size.
37007
37008 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
37009
37010         [BZ #369]
37011         [BZ #2678]
37012         [BZ #3866]
37013         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
37014         x for large integer exponent.
37015         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
37016         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
37017         sign of result as needed afterwards.
37018         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
37019         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
37020         result for underflowing pow the same as for overflow.
37021         (__kernel_standard_l): Handle powl overflow and underflow here
37022         rather than calling __kernel_standard.
37023         * math/libm-test.inc (pow_test): Add more tests.
37024
37025         [BZ #3868]
37026         [BZ #13879]
37027         [BZ #13910]
37028         [BZ #13911]
37029         [BZ #13912]
37030         [BZ #13913]
37031         [BZ #13915]
37032         [BZ #13916]
37033         [BZ #13917]
37034         [BZ #13918]
37035         [BZ #13919]
37036         [BZ #13920]
37037         [BZ #13921]
37038         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
37039         * sysdeps/ieee754/k_standard.c: Include <float.h>.
37040         (__kernel_standard_l): New function.
37041         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
37042         __kernel_standard.
37043         * math/w_acosl.c (__acosl): Likewise.
37044         * math/w_asinl.c (__asinl): Likewise.
37045         * math/w_atan2l.c (__atan2l): Likewise.
37046         * math/w_atanhl.c (__atanhl): Likewise.
37047         * math/w_coshl.c (__coshl): Likewise.
37048         * math/w_exp10l.c (__exp10l): Likewise.
37049         * math/w_exp2l.c (__exp2l): Likewise.
37050         * math/w_fmodl.c (__fmodl): Likewise.
37051         * math/w_hypotl.c (__hypotl): Likewise.
37052         * math/w_j0l.c (__j0l, __y0l): Likewise.
37053         * math/w_j1l.c (__j1l, __y1l): Likewise.
37054         * math/w_jnl.c (__jnl, __ynl): Likewise.
37055         * math/w_lgammal.c (__lgammal): Likewise.
37056         * math/w_log10l.c (__log10l): Likewise.
37057         * math/w_log2l.c (__log2l): Likewise.
37058         * math/w_logl.c (__logl): Likewise.
37059         * math/w_powl.c (__powl): Likewise.
37060         * math/w_remainderl.c (__remainderl): Likewise.
37061         * math/w_scalbl.c (sysv_scalbl): Likewise.
37062         * math/w_sinhl.c (__sinhl): Likewise.
37063         * math/w_sqrtl.c (__sqrtl): Likewise.
37064         * math/w_tgammal.c (__tgammal): Likewise.
37065         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
37066         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
37067         * math/libm-test.inc (acos_test): Add more tests.
37068         (acosh_test): Likewise.
37069         (asin_test): Likewise.
37070         (atanh_test): Likewise.
37071         (exp_test): Likewise.
37072         (exp10_test): Likewise.
37073         (exp2_test): Likewise.
37074         (expm1_test): Likewise.
37075         (lgamma_test): Likewise.
37076         (log_test): Likewise.
37077         (log10_test): Likewise.
37078         (log1p_test): Likewise.
37079         (log2_test): Likewise.
37080         (pow_test): Do not allow some spurious overflow exceptions.
37081         (sqrt_test): Add more tests.
37082         (tgamma_test): Likewise.
37083         (y0_test): Likewise.
37084         (y1_test): Likewise.
37085         (yn_test): Likewise.
37086
37087 2012-03-27  Anton Blanchard  <anton@samba.org>
37088
37089         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
37090         MAP_HUGETLB.
37091         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
37092         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
37093         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
37094
37095 2012-03-27  David S. Miller  <davem@davemloft.net>
37096
37097         * conform/Makefile: Run run-conformtest.sh using $(BASH).
37098
37099         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
37100         have-as-vis3 check.
37101
37102 2012-03-27  Andreas Jaeger  <aj@suse.de>
37103
37104         * sysdeps/x86_64/elf/configure.in: Moved to ...
37105         * sysdeps/x86_64/configure.in: ... here.
37106         * sysdeps/x86_64/elf/start.S: Moved to ...
37107         * sysdeps/x86_64/start.S: ... here.
37108         * sysdeps/x86_64/elf/configure: Delete.
37109
37110         * sysdeps/x86_64/configure.in: Merge contents from
37111         sysdeps/i386/configure.in (without i686 check).
37112
37113         * sysdeps/i386/elf/Versions: Merge into ...
37114         * sysdeps/i386/Versions: ... this.
37115         * sysdeps/i386/elf/Versions: Delete file.
37116         * sysdeps/i386/elf/start.S: Moved to ...
37117         * sysdeps/i386/start.S: ...here.
37118         * sysdeps/i386/elf/configure.in: Merge into...
37119         * sysdeps/i386/configure.in: ...here.
37120         * sysdeps/i386/elf/configure.in: Delete file.
37121         * sysdeps/i386/elf/configure: Delete file.
37122
37123         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
37124         * debug/backtracesyms.c: ... here.
37125         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
37126         * debug/backtracesymsfd.c: ... here.
37127         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
37128         * sysdeps/generic/ifunc-sel.h: ... here.
37129
37130         * sysdeps/unix/i386/start.c: Delete file.
37131         * sysdeps/unix/sparc/start.c: Delete file.
37132         * sysdeps/unix/start.c: Delete file.
37133
37134         * sysdeps/sh/elf/configure.in: Moved to ...
37135         * sysdeps/sh/configure.in: ... here.
37136         * sysdeps/sh/elf/start.S: Moved to ...
37137         * sysdeps/sh/start.S: ... here.
37138         * sysdeps/sh/elf/configure: Delete file.
37139
37140         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
37141         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
37142         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
37143         * sysdeps/powerpc/powerpc64/entry.h: ... here.
37144         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
37145         * sysdeps/powerpc/powerpc64/start.S: here.
37146         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
37147         * sysdeps/powerpc/powerpc64/Makefile: ... this.
37148         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
37149         * sysdeps/powerpc/powerpc64/configure.in: ... this.
37150         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
37151
37152         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
37153         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
37154         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
37155         * sysdeps/powerpc/powerpc32/start.S: ... here.
37156         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
37157         * sysdeps/powerpc/powerpc32/configure.in: ... this.
37158         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
37159
37160         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
37161         * sysdeps/powerpc/ifunc-sel.h: ... here.
37162         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
37163         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
37164
37165         * sysdeps/sparc/elf/configure.in: Moved to ...
37166         * sysdeps/sparc/configure.in: ... here.
37167         * sysdeps/sparc/elf/configure: Delete file.
37168         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
37169         * sysdeps/sparc/sparc32/start.S: ... here.
37170         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
37171         * sysdeps/sparc/sparc64/start.S: ... here.
37172         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
37173         * sysdeps/sparc/sparc32/Makefile: ... this.
37174         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
37175         * sysdeps/sparc/sparc64/Makefile: ... this.
37176
37177         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
37178         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
37179         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
37180         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
37181         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
37182         * sysdeps/s390/s390-32/setjmp.S: ... here.
37183         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
37184         * sysdeps/s390/s390-32/configure.in: ... here.
37185         * sysdeps/s390/s390-32/elf/configure: Delete file.
37186         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
37187         * sysdeps/s390/s390-32/start.S: ... here.
37188
37189         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
37190         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
37191         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
37192         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
37193         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
37194         * sysdeps/s390/s390-64/setjmp.S: ... here.
37195         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
37196         * sysdeps/s390/s390-64/configure.in: ... here
37197         * sysdeps/s390/s390-64/elf/configure: Delete file.
37198         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
37199         * sysdeps/s390/s390-64/start.S: ... here.
37200         * sysdeps/s390/s390-64/elf/configure: Delete.
37201
37202         * configure.in: Remove support for elf directories in sysdeps.
37203
37204         * configure: Regenerated.
37205         * sysdeps/i386/configure: Regenerated.
37206         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37207         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37208         * sysdeps/s390/s390-32/configure: Regenerated.
37209         * sysdeps/s390/s390-64/configure: Regenerated.
37210         * sysdeps/sh/configure: Regenerated.
37211         * sysdeps/sparc/configure: Regenerated.
37212         * sysdeps/x86_64/configure: Regenerated.
37213
37214 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
37215
37216         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37217
37218         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
37219         denormal result into account.
37220
37221 2012-03-25  Roland McGrath  <roland@hack.frob.com>
37222
37223         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
37224         Reported by Allan McRae <allan@archlinux.org>.
37225
37226 2012-03-23  Jeff Law  <law@redhat.com>
37227
37228         * nss/getnssent.c (__nss_getent): Fix typo.
37229
37230 2012-03-23  David S. Miller  <davem@davemloft.net>
37231
37232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37233
37234 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
37235
37236         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
37237         to pad to uint64_t for each field.
37238         (dl_tls_index): Replace unsigned long with uint64_t.
37239
37240 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
37241         Paul Pluzhnikov  <ppluzhnikov@google.com>
37242
37243         [BZ #6528]
37244         * grp/Makefile (otherlibs): Don't set it.
37245         * inet/Makefile (otherlibs): Likewise.
37246         * login/Makefile (otherlibs): Likewise.
37247         * nscd/Makefile (otherlibs): Likewise.
37248         * posix/Makefile (otherlibs): Likewise.
37249         * pwd/Makefile (otherlibs): Likewise.
37250         * rt/Makefile (otherlibs): Likewise.
37251         * sunrpc/Makefile (otherlibs): Likewise.
37252         * nss/Makefile (otherlibs): Likewise.
37253         Add libnss_files to routines and static-only-routines.
37254         ($(objpfx)getent): Remove rule.
37255         * resolv/Makefile: Add libnss_dns and libresolv to routines and
37256         static-only-routines.
37257
37258 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37259
37260         [BZ #13892]
37261         * math/s_cexp.c: Include <float.h>.
37262         (__cexp): Handle exp result overflowing not necessarily
37263         overflowing both real and imaginary parts of result.
37264         * math/s_cexpf.c: Likewise.
37265         * math/s_cexpl.c: Likewise.
37266         * math/libm-test.inc (cexp_test): Add more tests.
37267         * sysdeps/i386/fpu/libm-test-ulps: Update.
37268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37269
37270 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37271
37272         * include/link.h (ELFW): New macro.
37273         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
37274         Replace ELF64_R_TYPE with ELFW(R_TYPE).
37275
37276 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37277
37278         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
37279         with uint64_t.
37280
37281 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37282
37283         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
37284         declaration.
37285         (struct La_x32_retval): Likewise.
37286
37287 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
37288
37289         * sysdeps/x86_64/preconfigure.in: New file.
37290         * sysdeps/x86_64/preconfigure: New generated file.
37291
37292 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
37293
37294         [BZ #13824]
37295         * math/e_exp2l.c: Include <float.h>.
37296         (__ieee754_exp2l): Handle overflow and underflow cases
37297         separately.  Only pass fractional part of argument to
37298         __ieee754_expl.
37299         * math/libm-test.inc (exp2_test): Add more tests.
37300
37301         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
37302         negating x to take absolute value.
37303         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
37304         Likewise.
37305         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
37306         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
37307         Likewise.
37308         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
37309         computing low part if x was negated.
37310         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
37311
37312 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37313
37314         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
37315         la_x32_gnu_pltexit.
37316         (pltexit): Cast int_retval to ptrdiff_t.
37317         * elf/tst-auditmod3b.c: Likewise.
37318         * elf/tst-auditmod4b.c: Likewise.
37319         * elf/tst-auditmod5b.c: Likewise.
37320         * elf/tst-auditmod6b.c: Likewise.
37321         * elf/tst-auditmod6c.c: Likewise.
37322         * elf/tst-auditmod7b.c: Likewise.
37323
37324         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
37325         and x32_gnu_pltexit.
37326
37327         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
37328         __ELF_NATIVE_CLASS.
37329         (La_x32_regs): New macro.
37330         (La_x32_retval): Likewise.
37331         (la_x32_gnu_pltenter): New function prototype.
37332         (la_x32_gnu_pltexit): Likewise.
37333
37334 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
37335
37336         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
37337         exponent.
37338
37339         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37340
37341         * configure.in (libc_cv_cc_nofma): Check for option to disable
37342         generation of FMA instructions.
37343         * configure: Regenerate.
37344         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
37345         * sysdeps/ieee754/dbl-64/Makefile: New file.
37346         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
37347         Remove brandred-fma4.
37348         (CFLAGS-brandred-fma4.c): Remove.
37349         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
37350         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
37351         define.
37352         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
37353         define.
37354
37355 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37356
37357         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
37358         LLONG_MAX != LONG_MAX.
37359         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37360         (_fitoa_word): Likewise.
37361         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
37362         LLONG_MAX != LONG_MAX.
37363         * stdio-common/_itowa.h: Include <_itoa.h>.
37364         (_itowa_word): Use _ITOA_WORD_TYPE on value.
37365         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
37366         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
37367         only if not defined.
37368         (_ITOA_WORD_TYPE): Likewise.
37369         (_itoa_word): Use _ITOA_WORD_TYPE on value.
37370         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
37371
37372 2012-03-21  David S. Miller  <davem@davemloft.net>
37373
37374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37375
37376 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
37377
37378         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
37379         of x86_64 when setting libc_cv_slibdir, libdir and
37380         libc_cv_localedir.
37381         * sysdeps/unix/sysv/linux/configure: Regenerated.
37382
37383 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37384
37385         * manual/lang.texi (Old Varargs): Remove section.
37386         (How Variadic): Update menu.
37387         (va_start): Do not mention varargs.h.
37388
37389 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37390             Joseph Myers  <joseph@codesourcery.com>
37391
37392         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
37393         link test.
37394         * configure: Regenerated.
37395
37396 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
37397
37398         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
37399         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
37400         conformtest.pl
37401
37402 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37403
37404         * NOTES: Remove.
37405         * Makefile (files-for-dist): Remove NOTES.
37406         (NOTES): Remove rule.
37407         * README: Don't refer to NOTES.
37408         * manual/creature.texi: Don't include macros.texi.
37409         * manual/intro.texi (creature.texi): Remove comment referring to
37410         NOTES.
37411
37412         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
37413         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
37414         * configure: Regenerated.
37415         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
37416         LIBC_TRY_CC_OPTION.
37417         (libc_cv_as_i686): Likewise.
37418         (libc_cv_cc_avx): Likewise.
37419         (libc_cv_cc_sse2avx): Likewise.
37420         (libc_cv_cc_fma4): Likewise.
37421         (libc_cv_cc_novzeroupper): Likewise.
37422         * sysdeps/i386/configure: Regenerated.
37423
37424         [BZ #13883]
37425         * sysdeps/i386/fpu/s_cexp.S: Remove.
37426         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37427         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37428         * math/libm-test.inc (cexp_test): Add more tests.
37429         * sysdeps/i386/fpu/libm-test-ulps: Update.
37430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37431
37432 2012-03-21  Allan McRae  <allan@archlinux.org>
37433
37434         * timezone/Makefile: Do not install iso3166.tab and zone.tab
37435
37436 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
37437
37438         [BZ #13871]
37439         * math/w_exp2.c: Do not include <float.h>.
37440         (o_threshold, u_threshold): Remove.
37441         (__exp2): Calculate result before checking finiteness and calling
37442         __kernel_standard.
37443         * math/w_exp2f.c: Likewise.
37444         * math/w_exp2l.c: Likewise.
37445         * math/libm-test.inc (exp2_test): Require overflow exception for
37446         1e6 input.
37447
37448         [BZ #3866]
37449         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
37450         range of signed 64-bit integers before using fistpll.  Remove
37451         checks for whether integers fit in mantissa bits.
37452         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
37453         the range of signed 32-bit integers before using fistpl.  Remove
37454         checks for whether integers fit in mantissa bits.
37455         * sysdeps/i386/fpu/e_powl.S (p64): New object.
37456         (__ieee754_powl): Test for y outside the range of signed 64-bit
37457         integers before using fistpll.  Reduce 64-bit values to 63-bit
37458         ones as needed.
37459         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
37460         divide-by-zero is raised for zero to large negative powers.
37461         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
37462         (__ieee754_powl): Test for y outside the range of signed 64-bit
37463         integers before using fistpll.  Reduce 64-bit values to 63-bit
37464         ones as needed.
37465         * math/libm-test.inc (pow_test): Add more tests.
37466
37467 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37468
37469         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
37470         <stdio-common/_itoa.h>.
37471         * debug/segfault.c: Likewise.
37472         * elf/dl-cache.c: Likewise.
37473         * elf/dl-minimal.c: Likewise.
37474         * elf/dl-misc.c: Likewise.
37475         * elf/dl-sysdep.c: Likewise.
37476         * elf/dl-version.c: Likewise.
37477         * elf/rtld.c: Likewise.
37478         * hurd/hurdsock.c: Likewise.
37479         * hurd/lookup-retry.c: Likewise.
37480         * malloc/malloc.c: Likewise.
37481         * malloc/mtrace.c: Likewise.
37482         * nscd/nscd_getgr_r.c: Likewise.
37483         * nscd/nscd_getpw_r.c: Likewise.
37484         * nscd/nscd_getserv_r.c: Likewise.
37485         * posix/getopt_init.c: Likewise.
37486         * posix/wordexp.c: Likewise.
37487         * stdio-common/_itoa.c: Likewise.
37488         * stdio-common/printf_fphex.c: Likewise.
37489         * stdio-common/vfprintf.c: Likewise.
37490         * string/_strerror.c: Likewise.
37491         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
37492         * sysdeps/i386/i686/hp-timing.h: Likewise.
37493         * sysdeps/mach/_strerror.c: Likewise.
37494         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
37495         * sysdeps/mach/hurd/sethostid.c: Likewise.
37496         * sysdeps/mach/hurd/xmknodat.c: Likewise.
37497         * sysdeps/mach/xpg-strerror.c: Likewise.
37498         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
37499         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37500         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
37501         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
37502         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37503         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
37504         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37505         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37506         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
37507         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
37508         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
37509         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
37510         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
37511         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
37512         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
37513         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
37514         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
37515         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
37516         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
37517         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
37518         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
37519
37520         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
37521
37522         * stdio-common/_itoa.h: Moved to ...
37523         * sysdeps/generic/_itoa.h: Here.
37524
37525         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
37526
37527         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
37528         instead of "_itoa.h" and "_itowa.h".
37529         * stdio-common/vfprintf.: Likewise.
37530
37531 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37532
37533         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
37534         <bits/wordsize.h>.
37535         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
37536         (__signbit): Likwise.
37537         (llrintf): Likwise.
37538         (llrint): Likwise.
37539
37540 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
37541
37542         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
37543         __WORDSIZE != 64.
37544
37545 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
37546
37547         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
37548         OVERFLOW_EXCEPTION_OK.
37549         * math/libm-test.inc ("Philosophy"): Update comment about
37550         exception testing.
37551         (OVERFLOW_EXCEPTION): Define.
37552         (OVERFLOW_EXCEPTION_OK): Likewise.
37553         (INVALID_EXCEPTION_OK): Renumber.
37554         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
37555         (IGNORE_ZERO_INF_SIGN): Likewise.
37556         (test_exceptions): Handle FE_OVERFLOW.
37557         (exp10_test): Expect overflow exceptions.
37558         (exp2_test): Likewise.
37559         (expm1_test): Likewise.
37560         (nextafter_test): Likewise.
37561         (pow_test): Likewise.
37562         (scalbn_test): Likewise.
37563         (scalbln_test): Likewise.
37564
37565 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37566
37567         * sysdeps/x86_64/bits/atomic.h
37568         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
37569         64bit integer.
37570         (atomic_exchange_acq): Likewise.
37571         (__arch_exchange_and_add_body): Likewise.
37572         (__arch_add_body): Likewise.
37573         (atomic_add_negative): Likewise.
37574         (atomic_add_zero): Likewise.
37575
37576 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37577
37578         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
37579         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
37580
37581 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37582
37583         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
37584         Check __x86_64__ instead of __WORDSIZE.
37585
37586 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37587
37588         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
37589
37590 2012-03-19  David S. Miller  <davem@davemloft.net>
37591
37592         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37593
37594         * sysdeps/sparc/fpu/fenv_private.h: New file.
37595         * sysdeps/sparc/fpu/math_private.h: Use it.
37596         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
37597         Remove.
37598         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
37599         (libc_feholdexcept_setroundl): Remove.
37600         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
37601         Remove.
37602         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
37603         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
37604
37605 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37606
37607         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
37608         int64_t instead of long int.
37609         (INSERT_WORDS64): Likwise.
37610
37611 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
37612
37613         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
37614         _Unwind_GetCFA return to _Unwind_Ptr first.
37615
37616 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
37617
37618         [BZ #13629]
37619         * math/s_clog.c: Include <float.h>.
37620         (__clog): Scale large or subnormal inputs.
37621         * math/s_clogf.c: Likewise.
37622         * math/s_clogl.c: Likewise.
37623         * math/s_clog10.c: Include <float.h>.
37624         (M_LOG10_2): Define.
37625         (__clog10): Scale large or subnormal inputs.
37626         * math/s_clog10f.c: Likewise.
37627         * math/s_clog10l.c: Likewise.
37628         * math/libm-test.inc (clog_test): Add more tests.
37629         (clog10_test): Likewise.
37630         * sysdeps/i386/fpu/libm-test-ulps: Update.
37631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37632
37633         [BZ #11451]
37634         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
37635         x and y.
37636         * math/libm-test.inc (atan2_test): Add another test.
37637
37638         * Makerules (common-objdir-compile): Remove.
37639         * sysdeps/unix/Makefile (config-generated): Do not add
37640         $(unix-generated) to variable.
37641         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
37642         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
37643         Remove rule.
37644         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
37645         Likewise.
37646         [generic bits/local_lim.h] (before-compile): Do not append to
37647         variable.
37648         [generic bits/local_lim.h] (common-generated): Likewise.
37649         [generic sys/param.h] (before-compile): Do not append to variable.
37650         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
37651         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
37652         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
37653         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
37654         include.
37655         [generic sys/param.h] (sys/param.h-includes): Remove variable.
37656         [generic sys/param.h] (sys/param.h-includes): Remove rule.
37657         [generic sys/param.h] ($(addprefix
37658         $(common-objpfx),$(sys/param.h-includes))): Likewise.
37659         [generic sys/param.h] (common-generated): Do not append to
37660         variable.
37661         [generic sys/param.h] (sysdep_headers): Likewise.
37662         [generic bits/errno.h] (before-compile): Do not append to
37663         variable.
37664         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
37665         rule.
37666         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
37667         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
37668         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
37669         [generic bits/errno.h] (common-generated): Do not append to
37670         variable.
37671         [generic bits/ioctls.h] (before-compile): Do not append to
37672         variable.
37673         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
37674         rule.
37675         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
37676         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
37677         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
37678         rule.
37679         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
37680         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
37681         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
37682         [generic bits/ioctls.h] (common-generated): Do not append to
37683         variable.
37684         [generic sys/syscall.h] (syscall.h): Remove variable.
37685         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
37686         rule.
37687         [generic sys/syscall.h] (before-compile): Do not append to
37688         variable.
37689         [generic sys/syscall.h] (common-generated): Likewise.
37690         * sysdeps/unix/errnos-tmpl.c: Remove file.
37691         * sysdeps/unix/errnos.awk: Likewise.
37692         * sysdeps/unix/ioctls-tmpl.c: Likewise.
37693         * sysdeps/unix/ioctls.awk: Likewise.
37694         * sysdeps/unix/mk-local_lim.c: Likewise.
37695         * sysdeps/unix/snarf-ioctls: Likewise.
37696
37697 2012-03-19  Richard Henderson  <rth@twiddle.net>
37698
37699         * sysdeps/i386/fpu/fenv_private.h: New file.
37700         * sysdeps/i386/fpu/math_private.h: Use it.
37701         (math_opt_barrier, math_force_eval): Remove.
37702         (libc_feholdexcept_setround_53bit): Remove.
37703         (libc_feupdateenv_53bit): Remove.
37704         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37705         (math_opt_barrier, math_force_eval): Remove.
37706         (libc_feholdexcept): Remove.
37707         (libc_feholdexcept_setround): Remove.
37708         (libc_fetestexcept, libc_fesetenv): Remove.
37709         (libc_feupdateenv_test): Remove.
37710         (libc_feupdateenv, libc_feholdsetround): Remove.
37711         (libc_feresetround): Remove.
37712
37713         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
37714         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
37715
37716         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
37717         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
37718         (libc_feupdateenv_testl): New.
37719         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
37720         (libc_feupdateenv_testf): New.
37721         (libc_feupdateenv): Use libc_feupdateenv_test.
37722         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
37723         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
37724
37725         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
37726         (libc_feholdsetroundf, libc_feholdsetroundl): New.
37727         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
37728         (libc_feresetround_noex): New.
37729         (libc_feresetround_noexf): New.
37730         (libc_feresetround_noexl): New.
37731         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
37732         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
37733         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
37734         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
37735         SET_RESTORE_ROUND.
37736         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
37737         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
37738         (__cos): Likewise.
37739         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
37740         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
37741         SET_RESTORE_ROUND_NOEX.
37742         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
37743         SET_RESTORE_ROUND_NOEXF.
37744         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
37745         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
37746         (libc_feholdsetroundf): New.
37747         (libc_feresetround, libc_feresetroundf): New.
37748
37749         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
37750         (libc_feholdexcept_setround_53bit): Convert from macro to function.
37751         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
37752
37753         * sysdeps/generic/math_private.h: Include <fenv.h>.
37754         (default_libc_feholdexcept): New.
37755         (default_libc_feholdexcept_setround): New.
37756         (default_libc_fesetenv, default_libc_feupdateenv): New.
37757         (libc_feholdexcept): Only define if undefined.
37758         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
37759         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
37760         (libc_feholdexcept_setroundl): Likewise.
37761         (libc_feholdexcept_setround_53bit): Likewise.
37762         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
37763         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
37764         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
37765         (libc_feupdateenv_53bit): Likewise.
37766         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
37767         (libc_feholdexcept): Convert from macro to inline function.
37768         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
37769         (libc_fesetenv, libc_feupdateenv): Likewise.
37770
37771         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
37772         not previously defined.
37773         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
37774         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
37775         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
37776         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
37777         * sysdeps/ieee754/flt-32/math_private.h: New file.
37778         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
37779         math_private.h below SET_FLOAT_WORD.
37780         (__isnan, __isinf_ns, __finite): Remove.
37781         (__isnanf, __isinf_nsf, __finitef): Remove.
37782
37783 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
37784
37785         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37786
37787 2012-03-17  David S. Miller  <davem@davemloft.net>
37788
37789         [BZ #6471]
37790         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
37791         for 2.16.
37792
37793 2012-03-16  David S. Miller  <davem@davemloft.net>
37794
37795         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
37796         warnings.
37797
37798         [BZ #6471]
37799         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
37800         properly.
37801         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
37802         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
37803         sysdep_routines when subdir is sysvipc.
37804         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
37805         __getshmlba helper.
37806
37807         * sysdeps/sparc/fpu/libm-test/ulps: Update.
37808
37809 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37810
37811         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
37812         [__LP64__].
37813
37814 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37815
37816         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
37817         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
37818         (__lround): Renamed to ...
37819         (__llround): This.  Replace long int with long long int.
37820         Define lround functions as aliases of llround functions.
37821         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
37822
37823 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37824
37825         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
37826         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
37827         adresses to uintptr_t.  Replace "long int" and "unsigned long
37828         int" with "greg_t" on va_arg.
37829
37830 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37831
37832         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
37833         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
37834
37835         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
37836         Move e_machine check before EI_CLASS check.  Handle x32
37837         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
37838         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
37839         SKIP_EM_IA_64 and include
37840         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
37841
37842         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
37843         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
37844         (add_system_dir): New macro.
37845
37846         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
37847         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
37848
37849 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37850
37851         [BZ #2551]
37852         [BZ #2552]
37853         [BZ #2553]
37854         [BZ #2554]
37855         [BZ #2562]
37856         [BZ #2563]
37857         [BZ #2565]
37858         [BZ #2566]
37859         [BZ #2576]
37860         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
37861         (y0): Likewise.
37862         * math/w_j0f.c (j0f): Likewise.
37863         (y0f): Likewise.
37864         * math/w_j0l.c (__j0l): Likewise.
37865         (__y0l): Likewise.
37866         * math/w_j1.c (j1): Likewise.
37867         (y1): Likewise.
37868         * math/w_j1f.c (j1f): Likewise.
37869         (y1f): Likewise.
37870         * math/w_j1l.c (__j1l): Likewise.
37871         (__y1l): Likewise.
37872         * math/w_jn.c (jn): Likewise.
37873         (yn): Likewise.
37874         * math/w_jnf.c (jnf): Likewise.
37875         (ynf): Likewise.
37876         * math/w_jnl.c (__jnl): Likewise.
37877         (__ynl): Likewise.
37878         * math/libm-test.inc (j0_test): Add more tests.
37879         (j1_test): Likewise.
37880         (jn_test): Likewise.  Add trailing semicolon to existing test.
37881         (y0_test): Likewise.
37882         (y1_test): Likewise.
37883         * sysdeps/i386/fpu/libm-test-ulps: Update.
37884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37885
37886         [BZ #13851]
37887         [BZ #13854]
37888         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
37889         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
37890         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
37891         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
37892         (__tanl): Set errno for infinite argument.
37893         * sysdeps/i386/fpu/mptan.c: Remove.
37894         * sysdeps/i386/fpu/s_tan.S: Likewise.
37895         * sysdeps/i386/fpu/s_tanl.S: Likewise.
37896         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
37897         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
37898         * math/libm-test.inc (tan_test): Add more tests and enable more
37899         tests for double and long double.
37900         * sysdeps/i386/fpu/libm-test-ulps: Update.
37901         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37902
37903 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
37904
37905         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
37906         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
37907
37908 2012-03-16  Roland McGrath  <roland@hack.frob.com>
37909
37910         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
37911         * configure.in: Use it for both main tree and add-ons.
37912         * configure: Regenerated.
37913
37914 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
37915
37916         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
37917
37918 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
37919
37920         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
37921         in comment.
37922
37923         [BZ #13851]
37924         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
37925         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
37926         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
37927         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
37928         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
37929         infinite argument.
37930         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
37931         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
37932         != 0 for prec == 2.
37933         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
37934         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
37935         * sysdeps/i386/fpu/s_cosl.S: Likewise.
37936         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
37937         * sysdeps/i386/fpu/s_sinl.S: Likewise.
37938         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
37939         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
37940         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
37941         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
37942         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
37943         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
37944         * math/libm-test.inc (cos_test): Add more tests and enable more
37945         tests for long double.
37946         (sin_test): Likewise.
37947         (sincos_test): Likewise.
37948         * sysdeps/i386/fpu/libm-test-ulps: Update.
37949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37950
37951 2012-03-16  David S. Miller  <davem@davemloft.net>
37952
37953         * sysdeps/sparc/fpu/math_private.h: New file.
37954
37955 2012-03-15  David S. Miller  <davem@davemloft.net>
37956
37957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
37958         file.
37959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
37960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
37961         file.
37962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
37963         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
37964         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
37965         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
37966         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
37967         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
37968         sysdep routines.
37969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
37970
37971         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
37972         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
37973
37974         * sysdeps/sparc/sparc-ifunc.h: New file.
37975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
37976         sparc-ifunc.h
37977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
37978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
37979         Likewise.
37980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
37981         Likewise.
37982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
37983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
37984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
37985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
37986         Likewise.
37987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
37988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
37989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
37990         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
37991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
37992         Likewise.
37993         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
37994         Likewise.
37995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
37996         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
37997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
37998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
37999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
38000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
38001         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
38002         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
38003         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
38004         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
38005         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
38006         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
38007         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
38008         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38009         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
38010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
38011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
38012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
38013         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
38014         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
38015         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
38016         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
38017         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
38018         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
38019
38020 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38021
38022         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
38023         scaling.
38024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38025
38026 2012-03-15  Andreas Jaeger  <aj@suse.de>
38027
38028         [BZ #13852]
38029         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
38030         ieee754/flt-32 implementation for sin, cos and sincos.
38031         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
38032         * sysdeps/i386/fpu/s_cosf.S: Likewise.
38033         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
38034         * sysdeps/i386/fpu/s_sinf.S: Likewise.
38035         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
38036         ieee754/flt-32 implementation for tan.
38037
38038         * math/libm-test.inc (cos_test): Enable some large input tests for
38039         float as well
38040         (sin_test): Likewise.
38041         (sincos_test): Likewise.
38042         (tan_test): Add tests for large input.
38043
38044         * sysdeps/i386/fpu/libm-test-ulps: Update.
38045
38046 2012-03-15  Andreas Jaeger  <aj@suse.de>
38047
38048         [BZ #13658]
38049         * math/libm-test.inc (cos_test): Add more test cases.
38050         (sin_test): Likewise.
38051         (sincos_test): Likewise.
38052
38053 2012-03-15  Andreas Jaeger  <aj@suse.de>
38054
38055         [BZ #13837]
38056         * math/libm-test.inc (cos_test): Add a test case for large input
38057         value.
38058         (sin_test): Likewise.
38059         (sincos_test): Likewise.
38060
38061 2012-03-15  Andreas Jaeger  <aj@suse.de>
38062             Joseph Myers  <joseph@codesourcery.com>
38063
38064         [BZ #13658]
38065         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
38066         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
38067         * sysdeps/i386/fpu/branred.c: Likewise.
38068         * sysdeps/i386/fpu/dosincos.c: Likewise.
38069         * sysdeps/i386/fpu/mpa.c: Likewise.
38070         * sysdeps/i386/fpu/s_cos.S: Likewise.
38071         * sysdeps/i386/fpu/s_sin.S: Likewise.
38072         * sysdeps/i386/fpu/s_sincos.S: Likewise.
38073         * sysdeps/i386/fpu/sincos32.c: Likewise.
38074
38075         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
38076         Define.
38077         (libc_feupdateenv_53bit): Define.
38078         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
38079         Define.
38080         (libc_feupdateenv_53bit): Define.
38081
38082         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
38083         53 bit (without extend i386 double precision).
38084
38085         * math/libm-test.inc (sincos_test): Add tests for large input.
38086         (sin): Likewise.
38087         (cos): Likewise.
38088
38089         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
38090
38091 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
38092
38093         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38094
38095 2012-03-15  David S. Miller  <davem@davemloft.net>
38096
38097         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
38098         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
38099         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
38100         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
38101         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
38102         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
38103         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
38104         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
38105         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
38106         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
38107         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
38108         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
38109         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
38110         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
38111         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
38112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
38113         file.
38114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
38115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
38116         file.
38117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
38118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
38119         file.
38120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
38121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
38122         file.
38123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
38124         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
38125         fmin/fmax sysdep routines.
38126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
38127
38128 2012-03-14  David S. Miller  <davem@davemloft.net>
38129
38130         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
38131         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
38132         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
38133         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
38134         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
38135         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
38136         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
38137         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
38138         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
38139         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
38140         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
38141         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
38142         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
38143         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
38144         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
38145         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
38146         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
38147         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
38148         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
38149         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
38150         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
38151         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
38152         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
38153         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
38154         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
38155         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
38156         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
38157         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
38158         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
38159         routines.
38160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
38161         file.
38162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
38163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
38164         file.
38165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
38166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
38167         file.
38168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
38169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
38170         file.
38171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
38172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
38173         file.
38174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
38175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
38176         file.
38177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
38178         file.
38179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
38180         file.
38181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
38182         file.
38183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
38184         New file.
38185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
38186         file.
38187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
38188         file.
38189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
38190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
38191         file.
38192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
38193         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
38194         file.
38195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
38196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
38197         file.
38198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
38199         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
38200         VIS3 routines.
38201
38202         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
38203         New file.
38204
38205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38206
38207         * sysdeps/sparc/configure.in: New file.
38208         * sysdeps/sparc/configure: Generate.
38209         * configure.in (libc_cv_sparc_as_vis3): Substitute.
38210         * configure: Regenerate.
38211         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
38212         * config.make.in (have-as-vis3): New.
38213         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
38214         available use -Av9d instead of -Av9a.
38215         * sysdeps/sparc/sparc64/Makefile: Likewise.
38216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
38217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
38218         New file.
38219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
38220         file.
38221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
38222         New file.
38223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
38224         file.
38225         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
38226         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
38227         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
38228         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
38229         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
38230
38231         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
38232         fzeros/fnegs to load 0x80000000 into a float register instead of
38233         using the stack.
38234         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
38235
38236 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38237
38238         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38239         bits/syscall.h.
38240         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
38241         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
38242         ($(inst_includedir)/bits/syscall.h): Remove rule.
38243         ($(objpfx)bits/syscall.d): Include instead of
38244         $(objpfx)syscall-list.d.
38245         (generated): Change syscall-list.h and syscall-list.d to
38246         bits/syscall.h and bits/syscall.d.
38247
38248 2012-03-14  Roland McGrath  <roland@hack.frob.com>
38249
38250         [BZ #13846]
38251         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
38252
38253 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
38254
38255         [BZ #13841]
38256         * math/s_csqrt.c: Include <float.h>.
38257         (__csqrt): Scale large or subnormal inputs.
38258         * math/s_csqrtf.c: Likewise.
38259         * math/s_csqrtl.c: Likewise.
38260         * math/libm-test.inc (csqrt_test): Add more tests.
38261         * sysdeps/i386/fpu/libm-test-ulps: Update.
38262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38263
38264         [BZ #13840]
38265         * math/libm-test.inc (hypot_test): Add more tests.
38266
38267 2012-03-13  David S. Miller  <davem@davemloft.net>
38268
38269         [BZ #13840]
38270         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
38271         double-precision for the calculation instead of scaling.
38272
38273 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
38274
38275         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
38276         manipulate bits before adding and subtracting TWO52[sx].
38277         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
38278         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
38279         Likewise.
38280         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
38281
38282 2012-03-13  David S. Miller  <davem@davemloft.net>
38283
38284         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
38285         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
38286         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
38287         rtld-global-offsets.h
38288         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38289
38290         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
38291         large parameters.
38292
38293         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
38294
38295         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
38296         'err' in the ifdef scope in which it is actually used.
38297
38298         * nss/nss_db/db-init.c: Include string.h
38299
38300 2012-03-12  David S. Miller  <davem@davemloft.net>
38301
38302         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
38303         masking out of the most significant byte of random value used.
38304         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38305         Fix coding style in previous change.
38306
38307         * sysdeps/unix/sysv/linux/kernel-features.h
38308         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
38309         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
38310         expression.
38311         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
38312         later.
38313
38314 2012-03-11  David S. Miller  <davem@davemloft.net>
38315
38316         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
38317         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
38318         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
38319         for 'resultvar' otherwise things get truncated on 64-bit.
38320
38321         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
38322         Fix masking out of the most significant byte of random value used.
38323
38324         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38325
38326 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
38327
38328         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38329
38330 2012-03-09  David S. Miller  <davem@davemloft.net>
38331
38332         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
38333         variables with appropriate CPP guards.
38334         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
38335         from the frame pointer, not the stack pointer.  Correct layout
38336         comments.  Fix test on resulting framesize and the management of
38337         the outregs buffer for pltexit.  Preserve floating point return
38338         values across _dl_call_pltexit call.
38339         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
38340         framesize and the management of the outregs buffer for pltexit.
38341         Preserve floating point return values across _dl_call_pltexit
38342         call.
38343         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
38344         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
38345         (la_sparc64_gnu_pltexit): New functions.
38346         (print_exit): Fix format string for return register value.
38347
38348 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
38349
38350         * sunrpc/Makefile (others): Add rpcgen.
38351         ($(objpfx)rpcgen): Remove special build rule and dependency on
38352         libc.
38353         * sunrpc/rpcgen.c: New file.
38354
38355 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
38356
38357         [BZ #13673]
38358         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
38359         * stdio-common/bug-vfprintf-nargs.c: Likewise.
38360         * sysdeps/i386/crti.S: Likewise.
38361         * sysdeps/i386/crtn.S: Likewise.
38362         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
38363         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
38364         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
38365         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
38366         * sysdeps/sh/crti.S: Likewise.
38367         * sysdeps/sh/crtn.S: Likewise.
38368         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38369
38370         [BZ #13673]
38371         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
38372         with URL.
38373         * locale/programs/locfile-kw.gperf: Likewise.
38374         * locale/programs/charmap-kw.h: Regenerated.
38375         * locale/programs/locfile-kw.h: Likewise.
38376
38377         [BZ #13673]
38378         * intl/plural.y: Replace FSF snail mail address with URL.
38379         * intl/plural.c: Regenerated.
38380
38381 2012-03-09  Richard Henderson  <rth@twiddle.net>
38382
38383         * include/math_private.h: Remove file.
38384         * math/math_private.h: Move file ...
38385         * sysdeps/generic/math_private.h: ... here.
38386
38387         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
38388         * sysdeps/powerpc/fpu/math_private.h: Likewise.
38389         * sysdeps/x86_64/fpu/math_private.h: Likewise.
38390
38391         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
38392         and <math_private.h>.
38393         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
38394         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
38395         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
38396         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
38397         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
38398         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
38399         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38400         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38401         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38402         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38403         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38404         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38405         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38406         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38407         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38408         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38409         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38410         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38411         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38412         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38413         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38414         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38415         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38416         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38417         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
38418         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38419         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38420         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38421         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38422         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
38423         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38424         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
38425         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
38426         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38427         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
38428         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
38429         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38430         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
38431         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
38432         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38433         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
38434         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
38435         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
38436         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
38437         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
38438         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
38439         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
38440         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
38441         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38442         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
38443         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
38444         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
38445         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
38446         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
38447         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
38448         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
38449         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38450         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
38451         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
38452         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
38453         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38454         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
38455         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38456         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
38457         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
38458         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38459         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38460         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38461         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
38462         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
38463         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
38464         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38465         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
38466         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38467         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
38468         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
38469         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
38470         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
38471         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
38472         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
38473         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
38474         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
38475         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
38476         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
38477         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38478         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
38479         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
38480         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
38481         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38482         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38483         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38484         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38485         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38486         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38487         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38488         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38489         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38490         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38491         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38492         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38493         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38494         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38495         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38496         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38497         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
38498         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38499         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38500         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38501         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
38502         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
38503         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
38504         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
38505         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38506         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
38507         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
38508         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38509         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
38510         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
38511         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
38512         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38513         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
38514         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
38515         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38516         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
38517         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
38518         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
38519         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38520         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
38521         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
38522         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
38523         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
38524         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38525         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
38526         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
38527         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
38528         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
38529         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
38530         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
38531         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
38532         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
38533         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38534         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
38535         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
38536         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
38537         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
38538         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
38539         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
38540         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
38541         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
38542         * sysdeps/ieee754/k_standard.c: Likewise.
38543         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38544         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38545         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38546         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38547         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38548         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38549         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38550         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38551         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38552         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38553         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38554         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38555         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38556         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38557         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38558         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38559         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
38560         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38561         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38562         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
38563         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
38564         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
38565         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
38566         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
38567         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
38568         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
38569         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
38570         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
38571         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
38572         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
38573         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
38574         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
38575         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
38576         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
38577         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
38578         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
38579         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
38580         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
38581         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
38582         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
38583         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
38584         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
38585         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
38586         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
38587         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
38588         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
38589         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
38590         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
38591         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
38592         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
38593         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
38594         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
38595         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
38596         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
38597         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
38598         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
38599         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
38600         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
38601         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
38602         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
38603         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
38604         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
38605         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
38606         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38607         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38608         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38609         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38610         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38611         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38612         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38613         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38614         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38615         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38616         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38617         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38618         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38619         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
38620         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38621         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38622         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
38623         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
38624         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
38625         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
38626         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
38627         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
38628         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
38629         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
38630         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
38631         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
38632         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
38633         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
38634         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
38635         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
38636         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
38637         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
38638         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
38639         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
38640         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
38641         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
38642         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
38643         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
38644         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
38645         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
38646         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
38647         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
38648         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
38649         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
38650         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
38651         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
38652         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
38653         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
38654         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
38655         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38656         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38657         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38658         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38659         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38660         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38661         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38662         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38663         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38664         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38665         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38666         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38667         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38668         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
38669         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
38670         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
38671         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
38672         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
38673         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
38674         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
38675         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
38676         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
38677         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
38678         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
38679         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
38680         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
38681         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
38682         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
38683         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
38684         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
38685         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
38686         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
38687         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
38688         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
38689         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
38690         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
38691         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
38692         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
38693         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
38694         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38695         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
38696         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
38697         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
38698         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
38699         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
38700         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
38701         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
38702         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
38703         * sysdeps/ieee754/s_lib_version.c: Likewise.
38704         * sysdeps/ieee754/s_matherr.c: Likewise.
38705         * sysdeps/ieee754/s_signgam.c: Likewise.
38706         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38707         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38708         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
38709         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
38710         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
38711         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38712         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
38713         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
38714         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
38715         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
38716         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
38717         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
38718         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
38719         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
38720         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
38721         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
38722         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
38723         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
38724         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
38725         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
38726         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
38727
38728 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38729
38730         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
38731         * sunrpc/rpc_main.c: Likewise.
38732         * sunrpc/rpc_svcout.c: Likewise.
38733
38734 2012-03-09  David S. Miller  <davem@davemloft.net>
38735
38736         * include/math_private.h: New file.
38737
38738 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
38739
38740         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
38741         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
38742         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
38743         from <bits/socket_type.h>.
38744         (enum __socket_type): Don't define here.
38745         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
38746         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38747         bits/socket_type.h.
38748
38749         [BZ #13566]
38750         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
38751         checking __USE_GNU.
38752
38753         * Makerules ($(inst_includedir)/%.h): New rule.
38754         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
38755         (install-others): Remove variable setting.
38756         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
38757
38758 2012-03-08  Richard Henderson  <rth@twiddle.net>
38759
38760         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
38761         from macro to inline function; merge with the
38762         !__LIBC_INTERNAL_MATH_INLINES version.
38763         (__ieee754_sqrtf): Likewise.
38764
38765         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
38766         to inline function.
38767         (__rintf, __floor, __floorf): Likewise.
38768
38769         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
38770         macro to inline function.
38771         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
38772
38773         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
38774         not <math/math_private.h>.
38775
38776 2012-03-08  David S. Miller  <davem@davemloft.net>
38777
38778         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
38779         copyright year.
38780         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
38781
38782 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
38783
38784         * resolv/gai_misc.c (handle_requests): Fix struct timespec
38785         normalization.
38786         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
38787         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
38788
38789 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
38790
38791         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
38792         be defined individually, they must be defined as a block.  Define
38793         S for printing a string instead of hidint the different by using a
38794         macro for adding the 'l'.
38795         * stdio-common/tst-fphex-wide.c: Adjust.
38796
38797 2012-03-07  Marek Polacek  <polacek@redhat.com>
38798
38799         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
38800
38801 2012-03-08  Marek Polacek  <polacek@redhat.com>
38802
38803         [BZ #13806]
38804         * stdio-common/Makefile (tests): Add tst-fphex-wide.
38805         * stdio-common/tst-fphex.c: Define a few macros to make the
38806         test reusable.  Use them.
38807         * stdio-common/tst-fphex-wide.c: New file.
38808
38809 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
38810
38811         [BZ #6911]
38812         * manual/macros.texi (gnusystems): New macro.
38813         (nongnusystems): Likewise.
38814         (gnulinuxhurdsystems): Likewise.
38815         (gnuhurdsystems): Likewise..
38816         (gnulinuxsystems): Likewise.
38817         * manual/charset.texi: Use new macros or @theglibc{} to refer to
38818         variants of the GNU system, not "GNU system".
38819         * manual/conf.texi: Likewise.
38820         * manual/errno.texi: Likewise.  Update example of errno macro
38821         expansion.
38822         * manual/filesys.texi: Likewise.
38823         (getumask): Document as specific to GNU/Hurd.
38824         * manual/install.texi: Likewise.  Reword some references to
38825         GNU/Linux.
38826         * manual/intro.texi: Likewise.
38827         * manual/io.texi: Likewise.
38828         (File Name Portability): Detail which constraints are inapplicable
38829         to all GNU systems and which are only inapplicable to GNU/Hurd.
38830         * manual/job.texi: Likewise.
38831         * manual/llio.texi: Likewise.
38832         (O_NOCTTY): Document as present on GNU/Linux.
38833         * manual/maint.texi: Likewise.
38834         * manual/memory.texi: Likewise.
38835         * manual/pattern.texi: Likewise.
38836         * manual/pipe.texi: Likewise.
38837         * manual/process.texi: Likewise.
38838         * manual/resource.texi: Likewise.
38839         (RUSAGE_CHILDREN): Remove statement about specifying a particular
38840         child on GNU/Hurd.
38841         * manual/setjmp.texi: Likewise.
38842         * manual/signal.texi: Likewise.
38843         * manual/startup.texi: Likewise.
38844         * manual/stdio.texi: Likewise.
38845         * manual/terminal.texi: Likewise.
38846         (ONLCR): Document as POSIX.
38847         (OXTABS): Document availability on GNU/Linux as XTABS.
38848         (ONOEOT): Document availability separately from other bits.
38849         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
38850         * manual/time.texi: Likewise.
38851         * manual/users.texi: Likewise.
38852         * INSTALL: Regenerated.
38853         * sysdeps/gnu/errlist.c: Regenerated.
38854
38855         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
38856         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
38857         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
38858         puts.
38859         * configure: Regenerated.
38860
38861 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
38862
38863         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
38864         default includes instead of AC_HEADER_CHECK.
38865         * sysdeps/i386/configure: Regenerated.
38866
38867         [BZ #10716]
38868         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
38869         * math/s_cacoshf.c (__cacoshf): Likewise.
38870         * math/s_cacoshl.c (__cacoshl): Likewise.
38871         * math/s_casinh.c (__casinh): Set signs of result from argument.
38872         * math/s_casinhf.c (__casinhf): Likewise.
38873         * math/s_casinhl.c (__casinhl): Likewise.
38874         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
38875         (casinh_test): Add more tests.
38876         * sysdeps/i386/fpu/libm-test-ulps: Update.
38877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38878
38879 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
38880
38881         * po/zh_TW.po: Update from translation team.
38882
38883         * login/Makefile (distribute): Remove variable.
38884         * catgets/Makefile: Likewise.
38885         * mach/Makefile: Likewise.
38886         * malloc/Makefile: Likewise.
38887         * misc/Makefile: Likewise.
38888         * iconv/Makefile: Likewise.
38889         * nscd/Makefile: Likewise.
38890         * hurd/Makefile: Likewise.
38891         * manual/Makefile: Likewise.
38892         * locale/Makefile: Likewise.
38893         * intl/Makefile: Likewise.
38894         * conform/Makefile: Likewise.
38895         * nss/Makefile: Likewise.
38896         * time/Makefile: Likewise.
38897         * soft-fp/Makefile: Likewise.
38898         * dirent/Makefile: Likewise.
38899         * gmon/Makefile: Likewise.
38900         * po/Makefile: Likewise.
38901         * rt/Makefile: Likewise.
38902         * socket/Makefile: Likewise.
38903         * math/Makefile: Likewise.
38904         * signal/Makefile: Likewise.
38905         * debug/Makefile: Likewise.
38906         * elf/Makefile: Likewise.
38907         * timezone/Makefile: Likewise.
38908         * stdlib/Makefile: Likewise.
38909         * iconvdata/Makefile: Likewise.
38910         * sunrpc/Makefile: Likewise.
38911         * io/Makefile: Likewise.
38912         * argp/Makefile: Likewise.
38913         * inet/Makefile: Likewise.
38914         * hesiod/Makefile: Likewise.
38915         * grp/Makefile: Likewise.
38916         * csu/Makefile: Likewise.
38917         * wctype/Makefile: Likewise.
38918         * crypt/Makefile: Likewise.
38919         * libio/Makefile: Likewise.
38920         * string/Makefile: Likewise.
38921         * nis/Makefile: Likewise.
38922         * resolv/Makefile: Likewise.
38923         * stdio-common/Makefile: Likewise.
38924         * wcsmbs/Makefile: Likewise.
38925         * dlfcn/Makefile: Likewise.
38926         * posix/Makefile: Likewise.
38927
38928         [BZ #6959]
38929         * timezone/Makefile: Don't install timezone files, just the programs
38930         and scripts.
38931
38932 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
38933
38934         * nss/databases.def: Add missing gshadow entry.
38935
38936         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
38937
38938 2012-03-06  Marek Polacek  <polacek@redhat.com>
38939
38940         [BZ #13726]
38941         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
38942         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
38943         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
38944         * stdio-common/tst-long-dbl-fphex.c: New file.
38945
38946 2012-03-06  David S. Miller  <davem@davemloft.net>
38947
38948         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
38949         (set_obp_int): New function.
38950         (get_obp_int): New function.
38951         (__get_clockfreq_via_dev_openprom): Likewise.
38952         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
38953         Avoid unused variable warnings on 'val' and use builtin_expect.
38954         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
38955         __builtin_expect.
38956         (INLINE_CLONE_SYSCALL): Likewise.
38957
38958 2012-03-05  David S. Miller  <davem@davemloft.net>
38959
38960         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38961
38962 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
38963
38964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38965
38966         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
38967         only for |x| >= 40.
38968         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38969
38970 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38971
38972         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
38973         Replace gettimeofday with __vdso_gettimeofday.
38974
38975         * sysdeps/unix/sysv/linux/x86_64/init-first.c
38976         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
38977         __vdso_clock_gettime and __vdso_getcpu.
38978
38979         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
38980         time with __vdso_time.
38981
38982 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38983
38984         * manual/lang.texi (size_t): Note types to which size_t may be
38985         equivalent with the GNU C Library, but do not describe when
38986         differences between them are significant.
38987
38988 2012-03-05  Andreas Jaeger  <aj@suse.de>
38989
38990         * sysdeps/i386/fpu/libm-test-ulps: Update.
38991
38992 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
38993
38994         [BZ #3976]
38995         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
38996         (__ieee754_pow): Save and restore rounding mode and use
38997         round-to-nearest for main computations.
38998         * math/libm-test.inc (pow_test_tonearest): New function.
38999         (pow_test_towardzero): Likewise.
39000         (pow_test_downward): Likewise.
39001         (pow_test_upward): Likewise.
39002         (main): Call the new functions.
39003         * sysdeps/i386/fpu/libm-test-ulps: Update.
39004         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39005
39006         [BZ #3976]
39007         * math/libm-test.inc (cosh_test_tonearest): New function.
39008         (cosh_test_towardzero): Likewise.
39009         (cosh_test_downward): Likewise.
39010         (cosh_test_upward): Likewise.
39011         (sinh_test_tonearest): Likewise.
39012         (sinh_test_towardzero): Likewise.
39013         (sinh_test_downward): Likewise.
39014         (sinh_test_upward): Likewise.
39015         (main): Call the new functions.
39016         * sysdeps/i386/fpu/libm-test-ulps: Update.
39017         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39018
39019 2012-03-05  Tom de Vries  <tom@codesourcery.com>
39020
39021         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
39022         default stack guard is set in last bytes.
39023         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
39024
39025 2012-03-05  Kees Cook  <keescook@chromium.org>
39026
39027         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
39028
39029         [BZ #13656]
39030         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
39031         possibly allocate from heap instead of stack.
39032         * stdio-common/bug-vfprintf-nargs.c: New file.
39033         * stdio-common/Makefile (tests): Add nargs overflow test.
39034
39035 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
39036
39037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39038
39039 2012-03-03  Marek Polacek  <polacek@redhat.com>
39040
39041         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
39042         * math/math_private.h: Likewise.
39043         * stdlib/tst-strtod.c: Likewise.
39044         * sysdeps/i386/i486/bits/atomic.h: Likewise.
39045         * sysdeps/x86_64/bits/atomic.h: Likewise.
39046
39047 2012-03-02  David S. Miller  <davem@davemloft.net>
39048
39049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
39050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
39051         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
39052         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
39053         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
39054         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
39055         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
39056         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
39057
39058 2012-03-02  Roland McGrath  <roland@hack.frob.com>
39059
39060         [BZ #13792]
39061         * manual/examples/README: New file, says the example source files
39062         can be used under GPL>=2.
39063         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
39064         line containing just "*/".
39065         * manual/examples/add.c: Add copyright header (GPL>=2).
39066         * manual/examples/argp-ex1.c: Likewise.
39067         * manual/examples/argp-ex2.c: Likewise.
39068         * manual/examples/argp-ex3.c: Likewise.
39069         * manual/examples/argp-ex4.c: Likewise.
39070         * manual/examples/atexit.c: Likewise.
39071         * manual/examples/db.c: Likewise.
39072         * manual/examples/dir.c: Likewise.
39073         * manual/examples/dir2.c: Likewise.
39074         * manual/examples/execinfo.c: Likewise.
39075         * manual/examples/filecli.c: Likewise.
39076         * manual/examples/filesrv.c: Likewise.
39077         * manual/examples/fmtmsgexpl.c: Likewise.
39078         * manual/examples/genpass.c: Likewise.
39079         * manual/examples/inetcli.c: Likewise.
39080         * manual/examples/inetsrv.c: Likewise.
39081         * manual/examples/isockad.c: Likewise.
39082         * manual/examples/longopt.c: Likewise.
39083         * manual/examples/memopen.c: Likewise.
39084         * manual/examples/memstrm.c: Likewise.
39085         * manual/examples/mkfsock.c: Likewise.
39086         * manual/examples/mkisock.c: Likewise.
39087         * manual/examples/mygetpass.c: Likewise.
39088         * manual/examples/pipe.c: Likewise.
39089         * manual/examples/popen.c: Likewise.
39090         * manual/examples/rprintf.c: Likewise.
39091         * manual/examples/search.c: Likewise.
39092         * manual/examples/select.c: Likewise.
39093         * manual/examples/setjmp.c: Likewise.
39094         * manual/examples/sigh1.c: Likewise.
39095         * manual/examples/sigusr.c: Likewise.
39096         * manual/examples/stpcpy.c: Likewise.
39097         * manual/examples/strdupa.c: Likewise.
39098         * manual/examples/strftim.c: Likewise.
39099         * manual/examples/strncat.c: Likewise.
39100         * manual/examples/subopt.c: Likewise.
39101         * manual/examples/swapcontext.c: Likewise.
39102         * manual/examples/termios.c: Likewise.
39103         * manual/examples/testopt.c: Likewise.
39104         * manual/examples/testpass.c: Likewise.
39105         * manual/examples/timeval_subtract.c: Likewise.
39106
39107         [BZ #13792]
39108         * manual/time.texi (Elapsed Time): Move timeval_subtract example
39109         function to ...
39110         * manual/timeval_subtract.c.texi: ... here, new file.
39111
39112 2012-03-02  David S. Miller  <davem@davemloft.net>
39113
39114         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
39115
39116 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
39117
39118         [BZ #3976]
39119         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
39120         (__sin): Save and restore rounding mode and use round-to-nearest
39121         for all computations.
39122         (__cos): Save and restore rounding mode and use round-to-nearest
39123         for all computations.
39124         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
39125         <fenv.h>.
39126         (tan): Save and restore rounding mode and use round-to-nearest for
39127         all computations.
39128         * math/libm-test.inc (cos_test_tonearest): New function.
39129         (cos_test_towardzero): Likewise.
39130         (cos_test_downward): Likewise.
39131         (cos_test_upward): Likewise.
39132         (sin_test_tonearest): Likewise.
39133         (sin_test_towardzero): Likewise.
39134         (sin_test_downward): Likewise.
39135         (sin_test_upward): Likewise.
39136         (tan_test_tonearest): Likewise.
39137         (tan_test_towardzero): Likewise.
39138         (tan_test_downward): Likewise.
39139         (tan_test_upward): Likewise.
39140         (main): Call the new functions.
39141         * sysdeps/i386/fpu/libm-test-ulps: Update.
39142         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39143
39144         [BZ #10135]
39145         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
39146         small n, then large n, before computing and testing k+n.
39147         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
39148         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
39149         Likewise.
39150         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
39151         Likewise.
39152         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
39153         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
39154         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
39155         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
39156         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
39157         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
39158         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
39159         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
39160         * math/libm-test.inc (scalbn_test): Add more tests.
39161         (scalbln_test): Likewise.
39162
39163         * manual/filesys.texi (mode_t): Describe constraints on size and
39164         signedness, not exact equivalence to a particular type.
39165         (ino_t): Likewise.
39166         (ino64_t): Likewise.
39167         (dev_t): Likewise.
39168         (nlink_t): Likewise.
39169         (blkcnt_t): Likewise.
39170         (blkcnt64_t): Likewise.
39171         * manual/llio.texi (off_t): Likewise.
39172
39173         [BZ #3976]
39174         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
39175         (__ieee754_exp): Save and restore rounding mode and use
39176         round-to-nearest for all computations.
39177         * math/libm-test.inc (exp_test_tonearest): New function.
39178         (exp_test_towardzero): Likewise.
39179         (exp_test_downward): Likewise.
39180         (exp_test_upward): Likewise.
39181         (main): Call the new functions.
39182         * sysdeps/i386/fpu/libm-test-ulps: Update.
39183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39184
39185 2012-03-01  Chris Demetriou  <cgd@google.com>
39186
39187         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
39188         have predictable order.
39189
39190 2012-03-01  David S. Miller  <davem@davemloft.net>
39191
39192         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
39193
39194         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
39195         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
39196         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
39197         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
39198
39199         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
39200         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
39201         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
39202         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
39203         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
39204         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
39205         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
39206         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
39207         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
39208
39209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39210
39211         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
39212         * sysdeps/sparc/fpu/libm-test-ulps: to here.
39213         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
39214
39215         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
39216         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
39217         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39218         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
39219         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
39220         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
39221         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
39222         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
39223         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39224         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
39225         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
39226         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39227         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
39228         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39229         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39230         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39231         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
39232         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
39233         * sysdeps/sparc/elf/configure: Regenerated.
39234
39235 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
39236
39237         * configure.in (AS, LD): Require binutils 2.20 or later.
39238         * configure: Regenerated.
39239         * manual/install.texi (Tools for Compilation): Give binutils 2.20
39240         as required minimum version.
39241         * INSTALL: Regenerated.
39242
39243         [BZ #2541]
39244         [BZ #4108]
39245         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
39246         before squaring exponent.
39247         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
39248         bottom long double and 27 bits of top long double before squaring
39249         exponent.
39250         * math/libm-test.inc (erfc_test): Add more tests.
39251         * sysdeps/i386/fpu/libm-test-ulps: Update.
39252         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39254
39255 2012-03-01  Kai Tietz  <ktietz@redhat.com>
39256
39257         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
39258         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
39259         containing bit-fields.
39260         * soft-fp/extended.h (_FP_UNION_E): Likewise.
39261         * soft-fp/single.h (_FP_UNION_S): Likewise.
39262         * soft-fp/double.h (_FP_UNION_D): Likewise.
39263
39264 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39265
39266         [BZ #13786]
39267         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
39268         not include ../strcmp.S.
39269         [USE_AS_STRNCASECMP_L]: Likewise.
39270         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
39271         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
39272         * sysdeps/i386/i686/multiarch/strncase_l-c.c
39273         (__strncasecmp_l_ia32): Define as alias to
39274         __strncasecmp_l_nonascii.
39275
39276         [BZ #5794]
39277         * math/libm-test.inc (expm1_test): Add test for bug 5794.
39278         * sysdeps/i386/fpu/libm-test-ulps: Update.
39279         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39280
39281         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
39282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39283
39284 2012-02-29  Jeff Law  <law@redhat.com>
39285
39286         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
39287         out of bounds read.
39288
39289 2012-02-29  Marek Polacek  <polacek@redhat.com>
39290
39291         [BZ #13706]
39292         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
39293         * elf/Makefile: Add rules to run tst-unused-dep.out.
39294
39295 2012-02-28  David S. Miller  <davem@davemloft.net>
39296
39297         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
39298         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
39299         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
39300         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
39301         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
39302         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
39303
39304 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
39305
39306         * math/libm-test.inc (llround_test): Move one test from
39307         lround_test.  Use TEST_f_L in moved test.
39308         (lround_test): Move misplaced test to llround_test.  Add testcase
39309         from bug 2561.
39310
39311 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
39312
39313         * sysdeps/x86_64/fpu/e_expf.S: New file.
39314         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
39315
39316 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
39317
39318         [BZ #13637]
39319         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
39320         of remain_len that may cause incomplete multi-byte character and
39321         false match.
39322         * posix/bug-regex33.c: New file.
39323         * posix/Makefile (tests): Add bug-regex33.
39324
39325 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
39326
39327         * manual/macros.texi: New file.
39328         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
39329         * manual/libc.texinfo: Include macros.texi.
39330         * manual/creatute.texi: Likewise.
39331         * manual/install.texi: Likewise.
39332         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
39333         @glibcadj{} in references to the GNU C Library.
39334         * manual/charset.texi: Likewise.
39335         * manual/conf.texi: Likewise.
39336         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
39337         when not using those macros.
39338         * manual/creature.texi: Likewise.
39339         * manual/crypt.texi: Likewise.
39340         * manual/errno.texi: Likewise.
39341         * manual/filesys.texi: Likewise.
39342         * manual/header.texi: Likewise.
39343         * manual/install.texi: Likewise.
39344         * manual/intro.texi: Likewise.
39345         * manual/io.texi: Likewise.
39346         * manual/job.texi: Likewise.
39347         * manual/lang.texi: Likewise.
39348         * manual/libc.texiinfo: Likewise.
39349         * manual/llio.texi: Likewise.
39350         * manual/locale.texi: Likewise.
39351         * manual/maint.texi: Likewise.
39352         * manual/math.texi: Likewise.
39353         * manual/memory.texi: Likewise.
39354         * manual/message.texi: Likewise.
39355         * manual/nss.texi: Likewise.
39356         * manual/pattern.texi: Likewise.
39357         * manual/process.texi: Likewise.
39358         * manual/resource.texi: Likewise.
39359         * manual/search.texi: Likewise.
39360         * manual/setjmp.texi: Likewise.
39361         * manual/signal.texi: Likewise.
39362         * manual/socket.texi: Likewise.
39363         * manual/startup.texi: Likewise.
39364         * manual/stdio.texi: Likewise.
39365         * manual/string.texi: Likewise.
39366         * manual/sysinfo.texi: Likewise.
39367         * manual/syslog.texi: Likewise.
39368         * manual/terminal.texi: Likewise.
39369         * manual/time.texi: Likewise.
39370         * manual/users.texi: Likewise.
39371         * INSTALL: Regenerated.
39372         * NOTES: Regenerated.
39373         * sysdeps/gnu/errlist.c: Regenerated.
39374
39375 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
39376
39377         * include/dirent.h: Include <dirstream.h> before
39378         <dirent/dirent.h>.
39379
39380 2012-02-28  David S. Miller  <davem@davemloft.net>
39381
39382         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
39383         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
39384         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
39385         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
39386
39387 2012-02-27  David S. Miller  <davem@davemloft.net>
39388
39389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
39390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
39391         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
39392         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
39393
39394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
39395         frame pointer instead of stack pointer relative arg slot.
39396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39397         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39398         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39399
39400 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
39401
39402         [BZ #3992]
39403         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
39404
39405 2012-02-27  David S. Miller  <davem@davemloft.net>
39406
39407         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
39408         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
39409         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
39410         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
39411         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
39412         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
39413         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
39414         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
39415
39416 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39417
39418         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
39419         later.  Allow versions 5-9.
39420         * configure: Regenerated.
39421         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
39422         required minimum version and 4.6 as recommended version.  Do not
39423         mention bugs in GCC 2.7 and 2.8.
39424         * INSTALL: Regenerated.
39425
39426 2012-02-27  David S. Miller  <davem@davemloft.net>
39427
39428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
39429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
39430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
39431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
39432         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
39433         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
39434         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
39435         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
39436
39437         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
39438         manipulate bits before adding and subtracting TWO112[sx].
39439         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
39440
39441 2012-02-27  Roland McGrath  <roland@hack.frob.com>
39442
39443         [BZ #13775]
39444         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
39445         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
39446         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
39447         being in POSIX, because they are in 1003.1-2008.
39448
39449         * rt/tst-aio.c: Include <fcntl.h>.
39450         * rt/tst-aio7.c: Likewise.
39451         * rt/tst-aio64.c: Likewise.
39452
39453         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
39454
39455 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
39456
39457         * manual/install.texi (--with-headers): Describe headers as
39458         interface headers, not private headers.
39459         (Specific advice for GNU/Linux systems): Describe use of headers
39460         from "make headers_install", not private headers from older
39461         kernels.
39462         * INSTALL: Regenerated.
39463         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
39464         Change to 2.6.19.
39465         * sysdeps/unix/sysv/linux/configure: Regenerated.
39466
39467         * manual/llio.texi (fclean): Remove documentation.
39468
39469         * manual/Makefile (libc-texi-generated): New variable.  Include
39470         version.texi.
39471         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
39472         $(libc-texi-generated), not duplicated list of files.
39473         (version.texi, stamp-version): New rules.
39474         (realclean): Remove $(libc-texi-generated), not individual files
39475         from that list.  Do not remove dir-add.texinfo.
39476         * manual/libc.texinfo: Comment out uses of edition numbers and
39477         references to printed manual.  Remove last-updated dates.
39478         (EDITION): Comment out.
39479         (ISBN): Likewise.
39480         (VERSION, UPDATED): Remove.
39481         (version.texi): Include.
39482
39483 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
39484
39485         * sysdeps/posix/spawni.c: Include <signal.h>.
39486         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
39487         * sysdeps/pthread/aio_fsync.c: Likewise.
39488
39489 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
39490
39491         * conform/Makefile (tests): Run only when not cross-compiling and
39492         when fast-check is not defined.
39493
39494         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
39495         * conform/data/limits.h-data: Fixes for POSIX2008.
39496         * conform/run-conformtest.sh: Run all tests.
39497         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
39498         headers.
39499         * include/bits/dlfcn.h: Likewise.
39500         * include/langinfo.h: Likewise.
39501         * include/monetary.h: Likewise.
39502         * include/sys/poll.h: Likewise.
39503
39504         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
39505         for __USE_GNU.
39506         * posix/spawn.h: Define __need_sigset_t.
39507         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
39508         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
39509         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
39510         to get sigevent_t only.
39511         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
39512         only for __USE_GNU.
39513         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39514         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
39515         process_vm_writev only for __USE_GNU.
39516         * termios/termios.h: Declare tcgetsid also for POSIX2008.
39517
39518         * conform/Makefile: For now ignore errors from run-conformtest.
39519         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
39520         POSIX to avoid namespace pollution.  Don't prepend headers.
39521         * conform/data/aio.h-data: Fixes for POSIX testing.
39522         * conform/data/fcntl.h-data: Likewise.
39523         * conform/data/glob.h-data: Likewise.
39524         * conform/data/grp.h-data: Likewise.
39525         * conform/data/pthread.h-data: Likewise.
39526         * conform/data/pwd.h-data: Likewise.
39527         * conform/data/signal.h-data: Likewise.
39528         * conform/data/spawn.h-data: Likewise.
39529         * conform/data/stdio.h-data: Likewise.
39530         * conform/data/stdlib.h-data: Likewise.
39531         * conform/data/stropts.h-data: Likewise.
39532         * conform/data/sys/mman.h-data: Likewise.
39533         * conform/data/sys/stat.h-data: Likewise.
39534         * conform/data/sys/types.h-data: Likewise.
39535         * conform/data/sys/wait.h-data: Likewise.
39536         * conform/data/time.h-data: Likewise.
39537         * conform/data/unistd.h-data: Likewise.
39538         * conform/data/utime.h-data: Likewise.
39539
39540         * io/sys/stat.h: fchmod was always in POSIX.
39541         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
39542         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
39543         * rt/aio.h: Define __need_timespec before including <time.h>.
39544         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
39545         struct.  Add forward declaration of pthread_attr_t and use it in
39546         sigevent.
39547         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
39548         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
39549         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
39550         always remove CLK_TCK definition.
39551
39552 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
39553
39554         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
39555
39556 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
39557
39558         * conform/run-conformtest.sh: New file.
39559         * conform/Makefile: Run run-conformtest for tests.
39560         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
39561         support.
39562
39563         * conform/data/uchar.h-data: New file.
39564         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
39565         * conform/data/arpa/inet.h-data: Likewise.
39566         * conform/data/assert.h-data: Likewise.
39567         * conform/data/complex.h-data: Likewise.
39568         * conform/data/cpio.h-data: Likewise.
39569         * conform/data/ctype.h-data: Likewise.
39570         * conform/data/dirent.h-data: Likewise.
39571         * conform/data/dlfcn.h-data: Likewise.
39572         * conform/data/errno.h-data: Likewise.
39573         * conform/data/fcntl.h-data: Likewise.
39574         * conform/data/float.h-data: Likewise.
39575         * conform/data/fmtmsg.h-data: Likewise.
39576         * conform/data/fnmatch.h-data: Likewise.
39577         * conform/data/ftw.h-data: Likewise.
39578         * conform/data/glob.h-data: Likewise.
39579         * conform/data/grp.h-data: Likewise.
39580         * conform/data/iconv.h-data: Likewise.
39581         * conform/data/inttypes.h-data: Likewise.
39582         * conform/data/langinfo.h-data: Likewise.
39583         * conform/data/libgen.h-data: Likewise.
39584         * conform/data/limits.h-data: Likewise.
39585         * conform/data/locale.h-data: Likewise.
39586         * conform/data/math.h-data: Likewise.
39587         * conform/data/monetary.h-data: Likewise.
39588         * conform/data/mqueue.h-data: Likewise.
39589         * conform/data/ndbm.h-data: Likewise.
39590         * conform/data/net/if.h-data: Likewise.
39591         * conform/data/netdb.h-data: Likewise.
39592         * conform/data/netinet/in.h-data: Likewise.
39593         * conform/data/nl_types.h-data: Likewise.
39594         * conform/data/poll.h-data: Likewise.
39595         * conform/data/pthread.h-data: Likewise.
39596         * conform/data/pwd.h-data: Likewise.
39597         * conform/data/regex.h-data: Likewise.
39598         * conform/data/sched.h-data: Likewise.
39599         * conform/data/search.h-data: Likewise.
39600         * conform/data/semaphore.h-data: Likewise.
39601         * conform/data/setjmp.h-data: Likewise.
39602         * conform/data/signal.h-data: Likewise.
39603         * conform/data/spawn.h-data: Likewise.
39604         * conform/data/stdarg.h-data: Likewise.
39605         * conform/data/stdio.h-data: Likewise.
39606         * conform/data/stdlib.h-data: Likewise.
39607         * conform/data/string.h-data: Likewise.
39608         * conform/data/strings.h-data: Likewise.
39609         * conform/data/stropts.h-data: Likewise.
39610         * conform/data/sys/ipc.h-data: Likewise.
39611         * conform/data/sys/mman.h-data: Likewise.
39612         * conform/data/sys/msg.h-data: Likewise.
39613         * conform/data/sys/resource.h-data: Likewise.
39614         * conform/data/sys/select.h-data: Likewise.
39615         * conform/data/sys/sem.h-data: Likewise.
39616         * conform/data/sys/shm.h-data: Likewise.
39617         * conform/data/sys/socket.h-data: Likewise.
39618         * conform/data/sys/stat.h-data: Likewise.
39619         * conform/data/sys/statvfs.h-data: Likewise.
39620         * conform/data/sys/time.h-data: Likewise.
39621         * conform/data/sys/timeb.h-data: Likewise.
39622         * conform/data/sys/times.h-data: Likewise.
39623         * conform/data/sys/types.h-data: Likewise.
39624         * conform/data/sys/uio.h-data: Likewise.
39625         * conform/data/sys/un.h-data: Likewise.
39626         * conform/data/sys/utsname.h-data: Likewise.
39627         * conform/data/sys/wait.h-data: Likewise.
39628         * conform/data/syslog.h-data: Likewise.
39629         * conform/data/tar.h-data: Likewise.
39630         * conform/data/termios.h-data: Likewise.
39631         * conform/data/utime.h-data: Likewise.
39632         * conform/data/utmpx.h-data: Likewise.
39633         * conform/data/varargs.h-data: Likewise.
39634         * conform/data/wchar.h-data: Likewise.
39635         * conform/data/wctype.h-data: Likewise.
39636         * conform/data/wordexp.h-data: Likewise.
39637
39638         * include/stropts.h: New file.
39639         * include/uchar.h: New file.
39640         * include/aio.h: Changes to allow conformtest.pl to use the headers.
39641         * include/assert.h: Likewise.
39642         * include/ctype.h: Likewise.
39643         * include/dirent.h: Likewise.
39644         * include/dlfcn.h: Likewise.
39645         * include/fcntl.h: Likewise.
39646         * include/fnmatch.h: Likewise.
39647         * include/glob.h: Likewise.
39648         * include/grp.h: Likewise.
39649         * include/libio.h: Likewise.
39650         * include/locale.h: Likewise.
39651         * include/math.h: Likewise.
39652         * include/net/if.h: Likewise.
39653         * include/netdb.h: Likewise.
39654         * include/netinet/in.h: Likewise.
39655         * include/pthread.h: Likewise.
39656         * include/pwd.h: Likewise.
39657         * include/regex.h: Likewise.
39658         * include/sched.h: Likewise.
39659         * include/search.h: Likewise.
39660         * include/setjmp.h: Likewise.
39661         * include/signal.h: Likewise.
39662         * include/stdio.h: Likewise.
39663         * include/stdlib.h: Likewise.
39664         * include/string.h: Likewise.
39665         * include/sys/cdefs.h: Likewise.
39666         * include/sys/mman.h: Likewise.
39667         * include/sys/msg.h: Likewise.
39668         * include/sys/resource.h: Likewise.
39669         * include/sys/select.h: Likewise.
39670         * include/sys/socket.h: Likewise.
39671         * include/sys/stat.h: Likewise.
39672         * include/sys/statvfs.h: Likewise.
39673         * include/sys/time.h: Likewise.
39674         * include/sys/times.h: Likewise.
39675         * include/sys/uio.h: Likewise.
39676         * include/sys/utsname.h: Likewise.
39677         * include/sys/wait.h: Likewise.
39678         * include/termios.h: Likewise.
39679         * include/time.h: Likewise.
39680         * include/ulimit.h: Likewise.
39681         * include/unistd.h: Likewise.
39682         * include/utime.h: Likewise.
39683         * include/wchar.h: Likewise.
39684         * include/wctype.h: Likewise.
39685         * include/wordexp.h: Likewise.
39686
39687         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
39688
39689         * time/time.h: TIME_UTC must be a macro.
39690         Make timespec_get available for ISO C11 only as well.
39691
39692 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
39693
39694         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
39695         Reported by Peng Haitao <penght@cn.fujitsu.com>.
39696
39697 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39698
39699         * configure.in: Use -o not -a in test for unsupported multi-arch.
39700
39701 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39702
39703         * manual/texinfo.tex: Update to version 2012-01-19.16.
39704
39705 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
39706
39707         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
39708
39709 2012-02-24  Roland McGrath  <roland@hack.frob.com>
39710
39711         [BZ #13738]
39712         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
39713         * manual/fdl-1.3.texi: New file.
39714         * manual/fdl-1.1.texi: File removed.
39715
39716         [BZ #13738]
39717         * manual/libc.texinfo (FDL_VERSION): New @set.
39718         Use it for mention of FDL in cover text.
39719         (Documentation License): Use it in @include file name.
39720
39721 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39722             Roland McGrath  <roland@hack.frob.com>
39723
39724         [BZ #5461]
39725         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
39726         (not LONG_LONG_MAX and LONG_LONG_MIN.
39727         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
39728         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
39729         name.
39730         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
39731
39732 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39733
39734         [BZ #2547]
39735         [BZ #11365]
39736         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
39737         manipulate bits before adding and subtracting TWO23[sx].
39738         * math/libm-test.inc (nearbyint_test): Add more tests.
39739
39740 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39741
39742         [BZ #2548]
39743         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
39744         bits before adding and subtracting TWO23[sx].
39745         * math/libm-test.inc (rint_test): Add more tests.
39746         (rint_test_tonearest): Likewise.
39747         (rint_test_towardzero): Likewise.
39748         (rint_test_downward): Likewise.
39749         (rint_test_upward: Likewise.
39750
39751 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39752
39753         [BZ #10110]
39754         * include/stdc-predef.h: New file.  Extracted from features.h.
39755         * include/features.h: Include stdc-predef.h.
39756         * Makefile (headers): Add stdc-predef.h.
39757         * CONFORMANCE (Compiler limitations): Update.
39758
39759 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
39760
39761         * manual/libc.texinfo (VERSION, UPDATED): Revert.
39762
39763 2012-02-21  David S. Miller  <davem@davemloft.net>
39764
39765         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
39766         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39767
39768 2012-02-20  David S. Miller  <davem@davemloft.net>
39769
39770         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
39771         using a normal save/restore sequence, rather than allocating a
39772         dummy stack frame just to store a frame pointer and restore.
39773         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39774
39775 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39776
39777         * manual/install.texi: Fix stray word in line-wrapped comment.
39778
39779 2012-02-20  David S. Miller  <davem@davemloft.net>
39780
39781         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
39782         both binutils and gcc support GOTDATA.
39783
39784         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
39785         "rd %pc" in the PIC register setup sequences.
39786
39787         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
39788         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
39789         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
39790         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
39791         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
39792         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
39793         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39794         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
39795         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
39796         (SYSCALL_ERROR_HANDLER): Likewise.
39797         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
39798         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
39799         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
39800         (SYSCALL_ERROR_HANDLER): Likewise.
39801
39802         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
39803         (HAVE_GCC_GOTDATA): New.
39804         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
39805         relocation support in both binutils and gcc.
39806         * sysdeps/sparc/elf/configure: Regenerate.
39807
39808         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
39809         * sysdeps/sparc/sparc32/elf/configure: Delete.
39810         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
39811         * sysdeps/sparc/sparc64/elf/configure: Delete.
39812         * sysdeps/sparc/elf/configure.in: New file.
39813         * sysdeps/sparc/elf/configure: Generate.
39814
39815         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
39816         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
39817         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
39818         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
39819         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
39820
39821 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39822
39823         * manual/install.texi: Do not mention specific glibc version
39824         numbers.
39825         * manual/libc.texinfo (VERSION, UPDATED): Update.
39826         (@copying): Use @copyright{} and range of years.
39827
39828 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
39829
39830         [BZ #13695]
39831         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
39832         [crti.S not in sysdirs] (generated): Do not append.
39833         [crti.S not in sysdirs] (omit-deps): Likewise.
39834         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
39835         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
39836         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
39837         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
39838         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
39839         Likewise.
39840         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
39841         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
39842         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
39843         * csu/defs.awk: Remove file.
39844         * sysdeps/generic/initfini.c: Likewise.
39845         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
39846         variable.
39847         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
39848         Likewise.
39849
39850 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39851
39852         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
39853         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
39854         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
39855         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
39856         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39857         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
39858         <bits/epoll.h>.
39859         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
39860         (__EPOLL_PACKED): Define to empty if not defined by
39861         <bits/epoll.h>.
39862         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
39863         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39864         bits/epoll.h.
39865
39866 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39867
39868         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
39869         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
39870         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
39871         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
39872         <bits/timerfd.h>.
39873         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
39874         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
39875         bits/timerfd.h.
39876
39877 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
39878
39879         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
39880         in C locale.
39881         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39882         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
39883         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
39884         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39885
39886 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
39887
39888         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39889         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
39890
39891 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
39892
39893         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
39894         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
39895         defined.
39896         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
39897         Likewise.
39898         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
39899         entry for 2.16.
39900
39901 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
39902
39903         * math/w_acos.c: Use non-signaling floating-point comparisons.
39904         * math/w_acosf.c: Likewise.
39905         * math/w_acosh.c: Likewise.
39906         * math/w_acoshf.c: Likewise.
39907         * math/w_acoshl.c: Likewise.
39908         * math/w_acosl.c: Likewise.
39909         * math/w_asin.c: Likewise.
39910         * math/w_asinf.c: Likewise.
39911         * math/w_asinl.c: Likewise.
39912         * math/w_atanh.c: Likewise.
39913         * math/w_atanhf.c: Likewise.
39914         * math/w_atanhl.c: Likewise.
39915         * math/w_exp2.c: Likewise.
39916         * math/w_exp2f.c: Likewise.
39917         * math/w_exp2l.c: Likewise.
39918         * math/w_j0.c: Likewise.
39919         * math/w_j0f.c: Likewise.
39920         * math/w_j0l.c: Likewise.
39921         * math/w_j1.c: Likewise.
39922         * math/w_j1f.c: Likewise.
39923         * math/w_j1l.c: Likewise.
39924         * math/w_jn.c: Likewise.
39925         * math/w_jnf.c: Likewise.
39926         * math/w_log.c: Likewise.
39927         * math/w_log10.c: Likewise.
39928         * math/w_log10f.c: Likewise.
39929         * math/w_log10l.c: Likewise.
39930         * math/w_log2.c: Likewise.
39931         * math/w_log2f.c: Likewise.
39932         * math/w_log2l.c: Likewise.
39933         * math/w_logf.c: Likewise.
39934         * math/w_logl.c: Likewise.
39935         * math/w_sqrt.c: Likewise.
39936         * math/w_sqrtf.c: Likewise.
39937         * math/w_sqrtl.c: Likewise.
39938         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39939         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
39940         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39941         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39942         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39943
39944 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39945
39946         [BZ #9739]
39947         * manual/string.texi (strnlen): Use correct parameter name in
39948         equivalent expression.
39949
39950 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39951
39952         [BZ #11174]
39953         * manual/users.texi (seteuid): Consistently use neweuid for
39954         argument name.
39955
39956 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
39957
39958         [BZ #13704]
39959         * manual/nss.texi (Services in the NSS configuration): Correct
39960         list of services in example configuration file.
39961
39962 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
39963
39964         [BZ #11322]
39965         * manual/arith.texi: Remove statements about negative zero
39966         behaving identically to zero.
39967
39968 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39969
39970         [BZ #5993]
39971         * manual/install.texi: Do not document upgrading from libc5.
39972
39973 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
39974
39975         [BZ #4596]
39976         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
39977
39978 2012-02-18  David S. Miller  <davem@davemloft.net>
39979
39980         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
39981         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
39982         %o7 across the call.
39983         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
39984         instead.
39985         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
39986         SETUP_PIC_REG_LEAF.
39987         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
39988         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
39989         * sysdeps/sparc/crtn.S: Likewise.
39990
39991 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
39992
39993         * aout/Makefile: Remove.
39994
39995 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
39996
39997         [BZ #13058]
39998         * manual/examples/argp-ex1.c (main): Format definition in GNU
39999         style.
40000         * manual/examples/argp-ex2.c (main): Likewise.
40001         * manual/examples/argp-ex3.c (main): Likewise.
40002         * manual/examples/argp-ex4.c (main): Likewise.
40003         * manual/examples/longopt.c (main): Use new-style prototype
40004         definition.
40005         * manual/examples/strncat.c (main): Specify return type and use
40006         (void) for arguments.
40007         * manual/examples/subopt.c (main): Use char **argv argument.
40008
40009 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40010
40011         [BZ #5077]
40012         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
40013         rounding modes.
40014
40015 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
40016
40017         [BZ #6907]
40018         * manual/string.texi (strchr): Change when strchrnul is
40019         recommended.
40020
40021 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
40022
40023         [BZ #174]
40024         * manual/locale.texi (setlocale): Document LOCPATH.
40025
40026 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40027
40028         [BZ #10210]
40029         * manual/process.texi (execle): Move @dots{} before last argument.
40030
40031 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
40032
40033         [BZ #12047]
40034         * manual/charset.texi (Generic Charset Conversion): Fix typo
40035         (LC_TYPE -> LC_CTYPE).
40036
40037 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
40038
40039         [BZ #5805]
40040         * manual/arith.texi (scalbn): Use @var{} on parameter names.
40041         (scalbnf): Likewise.
40042         (scalbnl): Likewise.
40043         (scalbln): Likewise.
40044         (scalblnf): Likewise.
40045         (scalblnl): Likewise.
40046         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
40047         (vwarnx): Likewise.
40048         (verr): Likewise.
40049         (verrx): Likewise.
40050         * manual/filesys.texi (telldir): Use braces around return type.
40051         * manual/llio.texi (mmap): Add space after comma.
40052         (mmap64): Likewise.
40053         * manual/math.texi (jn): Use @var{} on parameter names.
40054         (jnf): Likewise.
40055         (jnl): Likewise.
40056         (yn): Likewise.
40057         (ynf): Likewise.
40058         (ynl): Likewise.
40059         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
40060         line.
40061         * manual/resource.texi (ulimit): Use @dots{} instead of literal
40062         "...".
40063         (sched_get_priority_min): Remove semicolon on @deftypefun line.
40064         (sched_get_priority_max): Likewise.
40065         * manual/signal.texi (sigvec): Add space after comma.
40066         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
40067         names.
40068         (if_indextoname): Likewise.
40069         (if_freenameindex): Likewise.
40070         (sendto): Use ',' instead of '.' in prototype.
40071         * manual/startup.texi (syscall): Use @dots{} instead of literal
40072         "...".
40073         * manual/stdio.texi (__fpending): Separate initial words of
40074         paragraph from @deftypefun line.
40075         * manual/syslog.texi (syslog): Use @dots{} instead of literal
40076         "...".
40077         (vsyslog): Use @var{} on parameter names.
40078         * manual/terminal.texi (stty): Use @var{} on parameter names.
40079         * manual/users.texi (getutmp): Use @var{} on parameter names.
40080         (getutmpx): Likewise.
40081
40082 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40083
40084         [BZ #6884]
40085         * manual/stdio.texi (fopen): Fix typos in description of
40086         ",ccs=STRING".
40087
40088 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
40089
40090         [BZ #4026]
40091         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
40092         get clock_id definition.
40093
40094 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
40095
40096         [BZ #4822]
40097         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
40098         (madvise): Cast every argument to void on its own.
40099
40100 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40101
40102         [BZ #9902]
40103         * manual/startup.texi (Exit Status): Fix typo.
40104
40105 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
40106
40107         [BZ #10140]
40108         * manual/examples/argp-ex1.c: Include <stdlib.h>.
40109         * manual/examples/argp-ex2.c: Likewise.
40110         * manual/examples/argp-ex3.c: Likewise.
40111
40112 2012-02-16  Richard Henderson  <rth@redhat.com>
40113
40114         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
40115         * sysdeps/s390/s390-32/initfini.c: Remove.
40116         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
40117         * sysdeps/s390/s390-64/initfini.c: Remove.
40118
40119 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40120
40121         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
40122         compiler output for sysdeps/generic/initfini.c.
40123         * sysdeps/sh/elf/initfini.c: Remove file.
40124
40125 2012-02-16  David S. Miller  <davem@davemloft.net>
40126
40127         [BZ #11494]
40128         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
40129
40130         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
40131         * sysdeps/sparc/crti.S: New file.
40132         * sysdeps/sparc/crtn.S: New file.
40133         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
40134         * sysdeps/sparc/sparc64/Makefile: Likewise.
40135
40136 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
40137
40138         [BZ #3335]
40139         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
40140
40141 2012-02-15  Roland McGrath  <roland@hack.frob.com>
40142
40143         [BZ #4822]
40144         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
40145
40146         * mach/devstream.c (cookie_io_functions_t): Macro removed.
40147         (write, read, close): Likewise.
40148         Patch by Aurelien Jarno <aurelien@aurel32.net>.
40149
40150 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
40151
40152         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
40153         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
40154         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
40155         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
40156         <bits/signalfd.h>.
40157         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
40158         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40159         bits/signalfd.h.
40160
40161 2012-02-14  Marek Polacek  <polacek@redhat.com>
40162
40163         * sysdeps/x86_64/crti.S: New file.
40164         * sysdeps/x86_64/crtn.S: New file.
40165         * sysdeps/x86_64/elf/initfini.c: Remove file.
40166
40167 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40168
40169         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
40170         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
40171         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
40172         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
40173         <bits/inotify.h>.
40174         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
40175         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40176         bits/inotify.h.
40177
40178 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
40179
40180         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
40181         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
40182         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
40183         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
40184         <bits/eventfd.h>.
40185         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
40186         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40187         bits/eventfd.h.
40188
40189 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
40190
40191         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
40192         __feraiseexcept instead of feraiseexcept.
40193
40194         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
40195         nanosleep invocations.
40196         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
40197         strings, and add error checking for a nanosleep invocations.
40198
40199 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
40200
40201         Replace FSF snail mail address with URLs, as per GNU coding standards.
40202         Most of the snail mail addresses were wrong anyway, and omitting
40203         them makes the source code easier to maintain.  Almost all of the
40204         changes are to license notices and to locale LC_IDENTIFICATION
40205         addresses, except for this one:
40206         * manual/libc.texinfo: In "Published by", give the FSF's URL,
40207         not its snail mail address.
40208
40209 2012-02-09  Richard Henderson  <rth@twiddle.net>
40210
40211         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
40212         of kernel-features.h.
40213
40214         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
40215
40216 2012-02-08  Marek Polacek  <polacek@redhat.com>
40217
40218         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
40219         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
40220         * sysdeps/gnu/_G_config.h: Likewise.
40221         * sysdeps/generic/_G_config.h: Likewise.
40222
40223 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
40224
40225         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
40226         tests.
40227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40228
40229         * sysdeps/powerpc/powerpc32/crti.S: New file.
40230         * sysdeps/powerpc/powerpc32/crtn.S: New file.
40231         * sysdeps/powerpc/powerpc64/crti.S: New file.
40232         * sysdeps/powerpc/powerpc64/crtn.S: New file.
40233
40234         * Makeconfig (have-initfini): Don't set.
40235         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
40236         * configure.in (nopic_initfini): Don't substitute.
40237         * config.h.in (HAVE_INITFINI): Don't #undef.
40238         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
40239         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
40240
40241 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
40242
40243         Support crti.S and crtn.S provided directly by architectures.
40244         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
40245         [crti.S in sysdirs] (omit-deps): Likewise.
40246         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
40247         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
40248         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
40249         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
40250         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
40251         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
40252         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
40253         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
40254         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
40255         compiler output for sysdeps/generic/initfini.c.
40256         * sysdeps/i386/elf/Makefile: Remove file.
40257         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
40258
40259 2012-02-07  Marek Polacek  <polacek@redhat.com>
40260
40261         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
40262         * sysdeps/gnu/_G_config.h: Likewise.
40263         * sysdeps/mach/hurd/_G_config.h: Likewise.
40264
40265 2012-02-07  Marek Polacek  <polacek@redhat.com>
40266
40267         * math/Makefile (tests): Add tst-CMPLX2.
40268         * math/tst-CMPLX2.c: New file.
40269
40270 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
40271
40272         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40273
40274         * math/libm-test.inc (jn_test): Add missing L suffix.
40275
40276 2012-02-06  Marek Polacek  <polacek@redhat.com>
40277
40278         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
40279         * sysdeps/i386/fpu/e_powf.S: Likewise.
40280         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40281         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
40282         * sysdeps/i386/fpu/e_acosh.S: Likewise.
40283         * sysdeps/i386/fpu/e_pow.S: Likewise.
40284         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40285         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40286         * sysdeps/i386/fpu/s_expm1.S: Likewise.
40287         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40288         * sysdeps/i386/fpu/e_log2.S: Likewise.
40289         * sysdeps/i386/fpu/e_log2l.S: Likewise.
40290         * sysdeps/i386/fpu/e_scalb.S: Likewise.
40291         * sysdeps/i386/fpu/e_powl.S: Likewise.
40292         * sysdeps/i386/fpu/s_log1p.S: Likewise.
40293         * sysdeps/i386/fpu/e_log10f.S: Likewise.
40294         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40295         * sysdeps/i386/fpu/e_logl.S: Likewise.
40296         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40297         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
40298         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40299         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40300         * sysdeps/i386/fpu/e_log2f.S: Likewise.
40301         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40302         * sysdeps/i386/fpu/e_log.S: Likewise.
40303         * sysdeps/i386/fpu/s_cexp.S: Likewise.
40304         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40305         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
40306         * sysdeps/i386/fpu/e_logf.S: Likewise.
40307         * sysdeps/i386/fpu/e_log10l.S: Likewise.
40308         * sysdeps/i386/fpu/e_atanh.S: Likewise.
40309         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
40310         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40311         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
40312         * sysdeps/i386/fpu/e_log10.S: Likewise.
40313         * sysdeps/i386/fpu/s_frexp.S: Likewise.
40314         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40315         * sysdeps/i386/fpu/s_asinh.S: Likewise.
40316         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40317         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40318         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40319         * sysdeps/i386/asm-syntax.h: Likewise.
40320         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40321         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40322         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40323         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
40324         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
40325         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40326         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40327         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40328         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40329         * sysdeps/powerpc/sysdep.h: Likewise.
40330         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
40331         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40332
40333 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40334
40335         [BZ #411]
40336         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
40337
40338 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
40339
40340         * sysdeps/i386/sysdep.h: Include <features.h>.
40341         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
40342         version.
40343
40344 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
40345
40346         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
40347         Define.
40348         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
40349         LOAD_PIC_REG_STR.
40350
40351 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40352
40353         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
40354         (SETUP_PIC_REG): Use GET_PC_THUNK.
40355         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
40356         macro.
40357
40358 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40359
40360         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
40361         for non-PIC compilation.
40362         (SETUP_PIC_REG): Add .p2align directive.
40363         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
40364         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40365         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40366         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40367         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40368         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40369         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40370         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40371         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40372         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40373         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40374         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40375         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40376         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40377         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40378         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40379         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40380         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40381         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40382         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40383         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
40384         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40385         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40386         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40387         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40388         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40389         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40390         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40391         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40392         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40393         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40394         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40395         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40396         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40397         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40398         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40399         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40400         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40401         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40402         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40403         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40404
40405 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
40406
40407         * math/tst-CMPLX.c: Include <stdio.h>.
40408
40409 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
40410
40411         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
40412         float.
40413         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40414         * sysdeps/sparc/bits/mathdef.h: Likewise.
40415
40416 2012-01-31  Marek Polacek  <polacek@redhat.com>
40417
40418         * libio/libio.h: Don't define _PARAMS.
40419         * locale/programs/config.h: Don't define PARAMS.
40420         * stdlib/strtol_l.c: Likewise.
40421         (__strtol_l): Remove PARAMS from the prototype.
40422
40423 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
40424
40425         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
40426         names.  Just use the correct names.  Remove unnecessary wrapper
40427         functions.
40428         * malloc/arena.c: Likewise.
40429         * malloc/hooks.c: Likewise.
40430
40431         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
40432         ARENA_TEST says not to.  Simplify test for creation of a new arena.
40433         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
40434
40435 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
40436
40437         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
40438         into tail calls.
40439         (update_get_addr): New function.
40440         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
40441         GET_ADDR_MODULE parameter.
40442
40443 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40444
40445         * crypt/cert.c: Remove __STDC__ conditionals.
40446         * crypt/crypt-entry.c: Likewise.
40447         * crypt/crypt_util.c: Likewise.
40448         * libio/filedoalloc.c: Likewise.
40449         * libio/fileops.c: Likewise.
40450         * libio/genops.c: Likewise.
40451         * libio/iofclose.c: Likewise.
40452         * libio/iofdopen.c: Likewise.
40453         * libio/iofopen.c: Likewise.
40454         * libio/iofopen64.c: Likewise.
40455         * libio/iogetdelim.c: Likewise.
40456         * libio/iopopen.c: Likewise.
40457         * libio/obprintf.c: Likewise.
40458         * libio/oldfileops.c: Likewise.
40459         * libio/oldiofclose.c: Likewise.
40460         * libio/oldiofdopen.c: Likewise.
40461         * libio/oldiofopen.c: Likewise.
40462         * libio/oldiopopen.c: Likewise.
40463         * libio/wfiledoalloc.c: Likewise.
40464         * libio/wgenops.c: Likewise.
40465         * locale/programs/xmalloc.c: Likewise.
40466         * misc/syslog.c: Likewise.
40467         * stdio-common/xbug.c: Likewise.
40468         * string/memchr.c: Likewise.
40469         * string/memcmp.c: Likewise.
40470         * string/memrchr.c: Likewise.
40471         * string/rawmemchr.c: Likewise.
40472         * sysdeps/posix/getcwd.c: Likewise.
40473         * time/strftime_l.c: Likewise.
40474
40475 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
40476
40477         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
40478         * config.make.in (config-cflags-sse2avx): Define.
40479         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
40480         Fix typo.
40481
40482 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
40483
40484         * scripts/config.guess: Update from upstream config git repository.
40485         * scripts/config.sub: Likewise.
40486
40487 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
40488
40489         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
40490         (EM_NUM): Update.
40491         (R_TILEPRO_*, R_TILEGX_*): New macros.
40492
40493         * scripts/firstversions.awk: Fix bug in version range handling.
40494
40495         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
40496
40497         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
40498
40499         * include/sys/epoll.h: New file.
40500         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
40501         libc_hidden_def.
40502
40503 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
40504
40505         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
40506         Avoid unnecessary __WORDSIZE == 64 test.
40507         (fmaxf): Use VEX format if possible.
40508         (fmax): Likewise.
40509         (fminf): Likewise.
40510         (fmin): Likewise.
40511
40512         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
40513         * math/math_private.h: Remove libc_fegetround* and
40514         libc_fesetround*.
40515         * sysdeps/i386/configure.in: Check for -msse2avx.
40516         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
40517         also if SSE2AVX is defined.
40518         Remove libc_fegetround* and libc_fesetround*.
40519         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
40520         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
40521         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
40522         of HAS_YMM_USABLE.
40523         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40524         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40525         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40526         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40527         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40528
40529         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
40530
40531 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40532
40533         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
40534         size is not set.
40535         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
40536
40537 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
40538
40539         [BZ #13618]
40540         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
40541         relocation.
40542         * Makeconfig (libm): Define.
40543         * elf/Makefile: Add rules to build and run tst-relsort1.
40544         * elf/tst-relsort1.c: New file.
40545         * elf/tst-relsort1mod1.c: New file.
40546         * elf/tst-relsort1mod2.c: New file.
40547
40548 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
40549
40550         * math/s_ldexp.c: Remove __STDC__ conditionals.
40551         * math/s_ldexpf.c: Likewise.
40552         * math/s_ldexpl.c: Likewise.
40553         * math/s_nextafter.c: Likewise.
40554         * math/s_nexttowardf.c: Likewise.
40555         * math/s_significand.c: Likewise.
40556         * math/s_significandf.c: Likewise.
40557         * math/s_significandl.c: Likewise.
40558         * math/w_jnl.c: Likewise.
40559         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
40560         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
40561         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
40562         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
40563         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
40564         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
40565         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
40566         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
40567         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
40568         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
40569         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
40570         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40571         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
40572         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
40573         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
40574         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
40575         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
40576         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
40577         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
40578         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
40579         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
40580         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
40581         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
40582         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
40583         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
40584         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
40585         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
40586         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
40587         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
40588         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
40589         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
40590         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
40591         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
40592         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
40593         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
40594         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
40595         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
40596         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
40597         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
40598         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
40599         * sysdeps/ieee754/k_standard.c: Likewise.
40600         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
40601         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
40602         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
40603         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
40604         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
40605         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
40606         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
40607         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
40608         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
40609         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
40610         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
40611         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
40612         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
40613         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
40614         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
40615         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
40616         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
40617         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
40618         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
40619         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
40620         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
40621         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
40622         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
40623         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
40624         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
40625         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
40626         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
40627         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
40628         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40629         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
40630         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
40631         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
40632         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
40635         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
40636         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
40637         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
40640         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
40641         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
40643         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
40644         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
40648         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
40649         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
40650         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
40651         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
40652         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40653         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
40655         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
40656         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
40657         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
40658         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
40659         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
40660         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
40661         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
40662         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
40663         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
40664         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
40665         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
40666         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
40667         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
40668         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
40669         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
40670         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
40671         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
40672         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
40673         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
40674         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
40675         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
40676         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
40677         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
40678         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
40679         * sysdeps/ieee754/s_matherr.c: Likewise.
40680         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
40681         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
40682         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
40683         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
40684
40685 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40686
40687         * crypt/md5.h: Remove __STDC__ conditionals.
40688         * libio/libioP.h: Likewise.
40689         * locale/programs/config.h: Likewise.
40690         * sysdeps/generic/sysdep.h: Likewise.
40691         * sysdeps/i386/asm-syntax.h: Likewise.
40692         * sysdeps/s390/asm-syntax.h: Likewise.
40693         * sysdeps/unix/sysdep.h: Likewise.
40694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40696
40697 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
40698
40699         * libio/libio.h: Remove __STDC__ conditionals.
40700         * malloc/obstack.h: Likewise.
40701         * math/complex.h: Likewise.
40702         * math/math.h: Likewise.
40703         * sysdeps/generic/_G_config.h: Likewise.
40704         * sysdeps/gnu/_G_config.h: Likewise.
40705         * sysdeps/mach/hurd/_G_config.h: Likewise.
40706         * sysdeps/powerpc/bits/mathdef.h: Likewise.
40707         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
40708         * sysdeps/sparc/bits/mathdef.h: Likewise.
40709
40710 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
40711
40712         [BZ #13583]
40713         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
40714         Clean up HAS_* macros.
40715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
40716         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
40717         possible.
40718         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
40719         HAS_AVX.
40720         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40721         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40722         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40723         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40724         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40725
40726 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
40727
40728         * elf/tst-unique3.cc (gets): Remove declaration.
40729         * elf/tst-unique3lib.cc (gets): Likewise.
40730         * elf/tst-unique3lib2.cc (gets): Likewise.
40731         * elf/tst-unique4.cc (gets): Likewise.
40732
40733 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
40734
40735         * include/stdio.h: Add C++ protection.  Add gets declarations and
40736         definitions.
40737         * debug/tst-chk1.c: Don't declare gets here.
40738         * stdio-common/tst-gets.c: Likewise.
40739
40740 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40741
40742         * posix/glob: Remove directory.
40743
40744 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
40745
40746         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
40747
40748 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
40749
40750         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
40751         of the non-standard EPFNOSUPPORT.
40752
40753 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40754
40755         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
40756         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
40757         ANYWHERE set to 1 only on KERN_NO_SPACE error.
40758
40759 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
40760
40761         * wcsmbs/uchar.h: Test __STDC_VERSION__.
40762
40763 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
40764
40765         * nscd/aicache.c (addhstaiX): Do not cache negative results of
40766         transient errors.
40767         * nscd/grpcache.c (cache_addgr): Likewise.
40768         * nscd/hstcache.c (cache_addhst): Likewise.
40769         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40770         * nscd/pwdcache.c (cache_addpw): Likewise.
40771         * nscd/servicescache.c (cache_addserv): Likewise.
40772
40773 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
40774
40775         * malloc/malloc.c: Various cleanups.
40776         * malloc/hooks.c: Likewise.
40777
40778         * stdlib/Makefile (tests): Add bug-fmtmsg1.
40779         * stdlib/bug-fmtmsg1.c: New file.
40780
40781         * stdlib/fmtmsg.c (init): Add missing unlock.
40782         Patch by Peng Haitao <penght@cn.fujitsu.com>.
40783
40784 2012-01-12  Marek Polacek  <polacek@redhat.com>
40785
40786         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
40787         and _GNU_SOURCE.
40788
40789 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40790
40791         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
40792         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
40793         macro to ensure uniqueness of label name.
40794         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40795         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40796
40797 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
40798
40799         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
40800
40801         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
40802         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
40803         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
40804         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
40805
40806 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
40807
40808         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
40809
40810         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
40811         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
40812         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
40813
40814         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
40815
40816         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
40817         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
40818         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
40819         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
40820
40821         * math/bits/math-finite.h: Add ldexp support.
40822
40823 2012-01-10  Marek Polacek  <polacek@redhat.com>
40824
40825         * locale/programs/localedef.h (show_archive_content): Add noreturn
40826         attribute.
40827
40828 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
40829
40830         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
40831
40832 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40833
40834         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
40835
40836         * io/Makefile (headers): Add bits/poll2.h.
40837
40838 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
40839
40840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
40841         typo #include statement.
40842
40843 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40844
40845         * include/sys/cdefs.h: Define __attribute_alloc_size.
40846         * catgets/gencat.c: Add alloc_size attribute and apply consistently
40847         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
40848         * elf/pldd.c: Likewise.
40849         * iconv/iconv_charmap.c: Likewise.
40850         * iconv/iconvconfig.c: Likewise.
40851         * iconv/strtab.c: Likewise.
40852         * locale/programs/locale.c: Likewise.
40853         * locale/programs/localedef.h: Likewise.
40854         * locale/programs/simple-hash.c: Likewise.
40855         * nscd/nscd.h: Likewise.
40856         * nss/makedb.c: Likewise.
40857         * sysdeps/generic/ldconfig.h: Likewise.
40858         * locale/programs/localedef.c: Remove xmalloc prototype.
40859         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
40860
40861 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
40862
40863         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
40864         appropriate.
40865
40866 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
40867
40868         * math/Makefile (tests): Add tst-CMPLX.
40869         * math/tst-CMPLX.c: New file.
40870
40871         * math/complex.h (CMPLXL): Fix typo.
40872
40873         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
40874         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
40875         GLIBC_2.16.
40876         * debug/tst-chk1.c: Add poll and ppoll tests.
40877         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
40878         * include/sys/poll.h: Add hidden proto for ppoll.
40879         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
40880         * sysdeps/mach/hurd/ppoll.c: Likewise.
40881         * io/ppoll.c: Likewise.
40882         * debug/poll_chk.c: New file.
40883         * debug/ppoll_chk.c: New file.
40884         * include/bits/poll2.h: New file.
40885         * io/bits/poll2.h: New file.
40886
40887         [BZ #1350]
40888         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
40889
40890         * configure.in: static is always set to yes.  Remove.
40891         * config.make.in: Don't set build-static.
40892         * Makeconfig: Remove use of build-static.
40893         * dlfcn/Makefile: Likewise.
40894         * elf/Makefile: Likewise.
40895         * math/Makefile: Likewise.
40896         * misc/Makefile: Likewise.
40897         * nptl/Makefile: Likewise.
40898         * sysdeps/mach/hurd/Makefile: Likewise.
40899
40900         * configure.in: PWD_P is not used anymore.
40901         * config.make.in: Remove PWD_P entry.
40902
40903         * configure.in: Remove last remnants of RANLIB.
40904         No need to check for signed size_t anymore.
40905         Don't set libc_commonpagesize and libc_relro_required here for Alpha
40906         and IA-64.
40907         Remove __builtin_expect test because we require at least gcc 3.4.
40908         * aclocal.m4: Likewise.
40909
40910         * wcsmbs/mbrtoc16.c: Implement using towc function.
40911         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
40912         * wcsmbs/wcsmbsload.c: Likewise.
40913         * iconv/gconv_simple.c: Likewise.
40914         * iconv/gconv_int.h: Likewise.
40915         * iconv/gconv_builtin.h: Likewise.
40916         * iconv/iconv_prog.c: Remove CHAR16 handling.
40917
40918         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
40919
40920         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
40921
40922         * configure.in: Remove --with-elf and --enable-bounded options.
40923         Dont set base_machine for ia64.  More non-ELF conditions removed.
40924         Remove testing and setting of leading underscore information.
40925         * config.make.in (build-bounded): Set to no.
40926         * config.h.in: Remove NO_UNDERSCORES entry.
40927         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
40928         them.
40929         * csu/start.c: Remove !NO_UNDERSCORE code.
40930         * locale/localeinfo.h: Likewise.
40931         * sysdeps/generic/machine-gmon.h: Likewise.
40932         * sysdeps/generic/sysdep.h: Likewise.
40933         * sysdeps/i386/sysdep.h: Likewise.
40934         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
40935         * sysdeps/mach/sysdep.h: Likewise.
40936         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40937         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40938         * sysdeps/sh/sysdep.h: Likewise.
40939         * sysdeps/sparc/sparc32/alloca.S: Likewise.
40940         * sysdeps/unix/i386/sysdep.S: Likewise.
40941         * sysdeps/unix/sparc/start.c: Likewise.
40942         * sysdeps/unix/sparc/sysdep.S: Likewise.
40943         * sysdeps/unix/sparc/sysdep.h: Likewise.
40944         * sysdeps/unix/start.c: Likewise.
40945         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40946         * sysdeps/x86_64/sysdep.h: Likewise.
40947
40948 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
40949
40950         [BZ #13553]
40951         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
40952         for non-gcc.
40953         * argp/argp-fmtstream.h: Use const instead __const.
40954         * argp/argp.h: Likewise.
40955         * assert/assert.h: Likewise.
40956         * bits/fenv.h: Likewise.
40957         * bits/sched.h: Likewise.
40958         * bits/sigset.h: Likewise.
40959         * bits/sigthread.h: Likewise.
40960         * catgets/nl_types.h: Likewise.
40961         * conform/data/pthread.h-data: Likewise.
40962         * crypt/crypt-private.h: Likewise.
40963         * crypt/crypt.h: Likewise.
40964         * crypt/crypt_util.c: Likewise.
40965         * ctype/ctype.h: Likewise.
40966         * debug/execinfo.h: Likewise.
40967         * debug/mbsnrtowcs_chk.c: Likewise.
40968         * debug/mbsrtowcs_chk.c: Likewise.
40969         * debug/wcsnrtombs_chk.c: Likewise.
40970         * debug/wcsrtombs_chk.c: Likewise.
40971         * debug/wcstombs_chk.c: Likewise.
40972         * dirent/dirent.h: Likewise.
40973         * dlfcn/dlfcn.h: Likewise.
40974         * elf/neededtest4.c: Likewise.
40975         * grp/grp.h: Likewise.
40976         * gshadow/gshadow.h: Likewise.
40977         * iconv/gconv.h: Likewise.
40978         * iconv/gconv_int.h: Likewise.
40979         * iconv/gconv_simple.c: Likewise.
40980         * iconv/iconv.h: Likewise.
40981         * iconv/loop.c: Likewise.
40982         * iconv/skeleton.c: Likewise.
40983         * include/aio.h: Likewise.
40984         * include/aliases.h: Likewise.
40985         * include/argz.h: Likewise.
40986         * include/arpa/inet.h: Likewise.
40987         * include/assert.h: Likewise.
40988         * include/dirent.h: Likewise.
40989         * include/dlfcn.h: Likewise.
40990         * include/execinfo.h: Likewise.
40991         * include/fcntl.h: Likewise.
40992         * include/fenv.h: Likewise.
40993         * include/glob.h: Likewise.
40994         * include/grp.h: Likewise.
40995         * include/libintl.h: Likewise.
40996         * include/mntent.h: Likewise.
40997         * include/netdb.h: Likewise.
40998         * include/pwd.h: Likewise.
40999         * include/rpc/netdb.h: Likewise.
41000         * include/sched.h: Likewise.
41001         * include/search.h: Likewise.
41002         * include/shadow.h: Likewise.
41003         * include/signal.h: Likewise.
41004         * include/stdio.h: Likewise.
41005         * include/stdlib.h: Likewise.
41006         * include/string.h: Likewise.
41007         * include/sys/socket.h: Likewise.
41008         * include/sys/stat.h: Likewise.
41009         * include/sys/statfs.h: Likewise.
41010         * include/sys/statvfs.h: Likewise.
41011         * include/sys/syslog.h: Likewise.
41012         * include/sys/time.h: Likewise.
41013         * include/sys/uio.h: Likewise.
41014         * include/time.h: Likewise.
41015         * include/unistd.h: Likewise.
41016         * include/utmp.h: Likewise.
41017         * include/wchar.h: Likewise.
41018         * include/wctype.h: Likewise.
41019         * inet/aliases.h: Likewise.
41020         * inet/arpa/inet.h: Likewise.
41021         * inet/netinet/ether.h: Likewise.
41022         * inet/netinet/in.h: Likewise.
41023         * intl/libintl.h: Likewise.
41024         * io/bits/fcntl2.h: Likewise.
41025         * io/fcntl.h: Likewise.
41026         * io/ftw.h: Likewise.
41027         * io/sys/poll.h: Likewise.
41028         * io/sys/stat.h: Likewise.
41029         * io/sys/statfs.h: Likewise.
41030         * io/sys/statvfs.h: Likewise.
41031         * io/utime.h: Likewise.
41032         * libio/bits/stdio.h: Likewise.
41033         * libio/bits/stdio2.h: Likewise.
41034         * libio/libio.h: Likewise.
41035         * libio/libioP.h: Likewise.
41036         * libio/stdio.h: Likewise.
41037         * locale/lc-ctype.c: Likewise.
41038         * locale/locale.h: Likewise.
41039         * login/utmp.h: Likewise.
41040         * malloc/arena.c: Likewise.
41041         * malloc/malloc.c: Likewise.
41042         * malloc/malloc.h: Likewise.
41043         * malloc/mcheck.c: Likewise.
41044         * malloc/mtrace.c: Likewise.
41045         * math/bits/mathcalls.h: Likewise.
41046         * math/fenv.h: Likewise.
41047         * math/math_private.h: Likewise.
41048         * misc/bits/error.h: Likewise.
41049         * misc/bits/syslog.h: Likewise.
41050         * misc/err.h: Likewise.
41051         * misc/error.h: Likewise.
41052         * misc/fstab.h: Likewise.
41053         * misc/mntent.h: Likewise.
41054         * misc/regexp.h: Likewise.
41055         * misc/search.h: Likewise.
41056         * misc/sgtty.h: Likewise.
41057         * misc/sys/mman.h: Likewise.
41058         * misc/sys/syslog.h: Likewise.
41059         * misc/sys/uio.h: Likewise.
41060         * misc/sys/xattr.h: Likewise.
41061         * misc/ttyent.h: Likewise.
41062         * nis/rpcsvc/ypclnt.h: Likewise.
41063         * nss/nss.h: Likewise.
41064         * posix/bits/unistd.h: Likewise.
41065         * posix/fnmatch.h: Likewise.
41066         * posix/glob.h: Likewise.
41067         * posix/sched.h: Likewise.
41068         * posix/spawn.h: Likewise.
41069         * posix/sys/wait.h: Likewise.
41070         * posix/unistd.h: Likewise.
41071         * posix/wordexp.h: Likewise.
41072         * pwd/pwd.h: Likewise.
41073         * resolv/netdb.h: Likewise.
41074         * resource/sys/resource.h: Likewise.
41075         * rt/aio.h: Likewise.
41076         * rt/bits/mqueue2.h: Likewise.
41077         * rt/mqueue.h: Likewise.
41078         * shadow/shadow.h: Likewise.
41079         * signal/signal.h: Likewise.
41080         * socket/send.c: Likewise.
41081         * socket/sendto.c: Likewise.
41082         * socket/sys/socket.h: Likewise.
41083         * stdio-common/printf.h: Likewise.
41084         * stdlib/bits/stdlib.h: Likewise.
41085         * stdlib/fmtmsg.h: Likewise.
41086         * stdlib/monetary.h: Likewise.
41087         * stdlib/stdlib.h: Likewise.
41088         * stdlib/ucontext.h: Likewise.
41089         * streams/stropts.h: Likewise.
41090         * string/argz.h: Likewise.
41091         * string/bits/string2.h: Likewise.
41092         * string/string.h: Likewise.
41093         * string/strings.h: Likewise.
41094         * sunrpc/rpc/auth.h: Likewise.
41095         * sunrpc/rpc/auth_des.h: Likewise.
41096         * sunrpc/rpc/clnt.h: Likewise.
41097         * sunrpc/rpc/netdb.h: Likewise.
41098         * sunrpc/rpc/pmap_clnt.h: Likewise.
41099         * sunrpc/rpc/xdr.h: Likewise.
41100         * sysdeps/generic/inttypes.h: Likewise.
41101         * sysdeps/generic/net/if.h: Likewise.
41102         * sysdeps/generic/sys/swap.h: Likewise.
41103         * sysdeps/gnu/net/if.h: Likewise.
41104         * sysdeps/gnu/utmpx.h: Likewise.
41105         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
41106         * sysdeps/i386/i486/bits/string.h: Likewise.
41107         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
41108         * sysdeps/s390/bits/string.h: Likewise.
41109         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
41110         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
41111         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
41112         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
41113         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
41114         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
41115         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
41116         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
41117         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
41118         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
41119         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
41120         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
41121         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
41122         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
41123         * sysdeps/unix/sysv/linux/readv.c: Likewise.
41124         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
41125         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
41126         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41127         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
41128         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
41129         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41130         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
41131         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
41132         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
41133         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
41134         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
41135         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
41136         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41137         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
41138         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
41139         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
41140         * sysvipc/sys/ipc.h: Likewise.
41141         * sysvipc/sys/msg.h: Likewise.
41142         * sysvipc/sys/sem.h: Likewise.
41143         * sysvipc/sys/shm.h: Likewise.
41144         * termios/termios.h: Likewise.
41145         * time/sys/time.h: Likewise.
41146         * time/time.h: Likewise.
41147         * wcsmbs/bits/wchar2.h: Likewise.
41148         * wcsmbs/uchar.h: Likewise.
41149         * wcsmbs/wchar.h: Likewise.
41150         * wctype/wctype.h: Likewise.
41151
41152         [BZ #13551]
41153         * Makeconfig: Remove all but ELF support including AIX support.
41154         * Makerules: Likewise.
41155         * config.h.in: Likewise.
41156         * config.make.in: Likewise.
41157         * configure: Likewise.
41158         * configure.in: Likewise.
41159         * csu/Makefile: Likewise.
41160         * csu/version.c: Likewise.
41161         * debug/Makefile: Likewise.
41162         * dlfcn/Makefile: Likewise.
41163         * elf/Makefile: Likewise.
41164         * extra-lib.mk: Likewise.
41165         * iconv/Makefile: Likewise.
41166         * include/libc-symbols.h: Likewise.
41167         * include/shlib-compat.h: Likewise.
41168         * resolv/Makefile: Likewise.
41169         * resolv/res_libc.c: Likewise.
41170         * rt/Makefile: Likewise.
41171         * sysdeps/i386/asm-syntax.h: Likewise.
41172         * sysdeps/i386/sysdep.h: Likewise.
41173         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
41174         * sysdeps/mach/sysdep.h: Likewise.
41175         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
41176         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
41177         * sysdeps/s390/asm-syntax.h: Likewise.
41178         * sysdeps/s390/s390-32/sysdep.h: Likewise.
41179         * sysdeps/s390/s390-64/sysdep.h: Likewise.
41180         * sysdeps/sh/sysdep.h: Likewise.
41181         * sysdeps/unix/sparc/sysdep.h: Likewise.
41182         * sysdeps/wordsize-32/divdi3.c: Likewise.
41183         * sysdeps/x86_64/sysdep.h: Likewise.
41184
41185         * argp/Versions: Remove _argp_unlock_xxx.
41186
41187         [BZ #13559]
41188         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
41189         * abilist/libBrokenLocale.abilist: Likewise.
41190         * abilist/libanl.abilist: Likewise.
41191         * abilist/libc.abilist: Likewise.
41192         * abilist/libcrypt.abilist: Likewise.
41193         * abilist/libdl.abilist: Likewise.
41194         * abilist/libm.abilist: Likewise.
41195         * abilist/libnsl.abilist: Likewise.
41196         * abilist/libpthread.abilist: Likewise.
41197         * abilist/libresolv.abilist: Likewise.
41198         * abilist/librt.abilist: Likewise.
41199         * abilist/libthread_db.abilist: Likewise.
41200         * abilist/libutil.abilist: Likewise.
41201         * abilist/libnss_db.abilist: New file.
41202
41203         * scripts/abilist.awk: Add support for indirect functions.
41204
41205         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
41206
41207         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
41208
41209         * shlib-versions: Remove entries for ports architectures.
41210
41211         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
41212         files in ports.
41213         * elf/stackguard-macros.h: Remove support for IA-64.
41214         * elf/tst-auditmod1.c: Likewise.
41215         * sysdeps/generic/ldsodefs.h: Likewise.
41216
41217         * sysdeps/unix/sysv/linux/configure.in: Ports should define
41218         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
41219         configure files.
41220
41221         [BZ #13552]
41222         * configure.in: Remove --enable-omitfp support.
41223         * FAQ.in: Adjust.
41224         * config.make.in: Likewise.
41225         * Makeconfig: Likewise.
41226         * manual/install.texi: Likewise.
41227
41228         In case anyone cares, the IA-64 architecture could move to ports.
41229         * sysdeps/ia64/*: Removed.
41230         * sysdeps/unix/sysv/linux/ia64/*: Removed.
41231         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
41232
41233         [BZ #13555]
41234         * configure.in: Remove entries for unsupported architectures.
41235
41236         [BZ #13533]
41237         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
41238         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
41239         routines.
41240         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
41241         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
41242         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
41243         fall back to using wcrtomb.
41244         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
41245         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
41246         renaming.
41247         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
41248         * wcsmbs/tst-c16c32-1.c: New file.
41249
41250         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
41251         local variable.
41252
41253         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
41254
41255         * elf/tst-unique3.cc: Add explicit declaration of gets.
41256         * elf/tst-unique3lib.cc: Likewise.
41257         * elf/tst-unique3lib2.cc: Likewise.
41258         * elf/tst-unique4.cc: Likewise.
41259
41260         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
41261
41262 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
41263
41264         [BZ #13566]
41265         * assert/assert.h (static_assert): Don't define for C++.
41266         * libio/stdio.h (gets): Do declare for C++ <= C++11.
41267         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
41268
41269 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
41270
41271         * iconv/loop.c (single loop): Fix assertion in storing of
41272         remaining bytes.
41273
41274         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
41275
41276 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
41277
41278         * posix/getconf.c: Update copyright year.
41279         * nss/getent.c: Likewise.
41280         * nss/makedb.c: Likewise.
41281         * iconv/iconvconfig.c: Likewise.
41282         * iconv/iconv_prog.c: Likewise.
41283         * elf/ldconfig.c: Likewise.
41284         * elf/pldd.c: Likewise.
41285         * elf/sotruss.ksh: Likewise.
41286         * catgets/gencat.c: Likewise.
41287         * csu/version.c: Likewise.
41288         * elf/ldd.bash.in: Likewise.
41289         * elf/sprof.c (print_version): Likewise.
41290         * locale/programs/locale.c: Likewise.
41291         * locale/programs/localedef.c: Likewise.
41292         * login/programs/pt_chown.c: Likewise.
41293         * nscd/nscd.c (print_version): Likewise.
41294         * debug/xtrace.sh: Likewise.
41295         * malloc/memusage.sh: Likewise.
41296         * malloc/mtrace.pl: Likewise.
41297         * debug/catchsegv.sh: Likewise.
41298
41299 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
41300
41301         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
41302         pure attribute.
41303
41304 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
41305
41306         [BZ #13533]
41307         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
41308         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
41309         transformations.
41310         * iconv/gconv_int.h: Likewise.
41311         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
41312         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
41313         from libc for GLIBC_2.16.
41314         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
41315         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
41316         * wcsmbs/uchar.h: Really define mbstate_t.
41317         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
41318         * wcsmbs/c16rtomb.c: New file.
41319         * wcsmbs/mbrtoc16.c: New file.
41320         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
41321         for C/POSIX locale.
41322         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
41323         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
41324
41325         * wcsmbs/wchar.h: Add missing __restrict.
41326
41327 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41328
41329         [BZ #13532]
41330         * time/Makefile (routines): Add timespec_get.
41331         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
41332         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
41333         timespec for ISO C11.
41334         * time/timespec_get.c: New file.
41335         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
41336         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
41337
41338         [BZ #13531]
41339         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
41340         * stdlib/stdlib.h: Declare aligned_alloc.
41341         * Versions.def: Add GLIBC_2.16 for libc.
41342         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
41343
41344         [BZ 13527]
41345         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
41346         ISO C11.
41347
41348         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
41349         code.
41350
41351         [BZ #13528]
41352         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
41353
41354         [BZ #13529]
41355         * assert/assert.h (static_assert): Define.
41356
41357         * version.h: Update for 2.16 development version.
41358
41359         [BZ #13526]
41360         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
41361         _ISOC11_SOURCE.
41362
41363         * version.h (RELEASE): Bump for 2.15 release.
41364         * include/features.h (__GLIBC_MINOR__): Bump to 15.
41365
41366         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
41367         Patch by Marek Polacek <mpolacek@redhat.com>.
41368
41369         * bits/byteswap.h: Protect long long constants with __extension__.
41370         * sysdeps/i386/bits/byteswap.h: Likewise.
41371         * sysdeps/ia64/bits/byteswap.h: Likewise.
41372         * sysdeps/s390/bits/byteswap.h: Likewise.
41373         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41374
41375 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41376
41377         [BZ #13540]
41378         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
41379         destination buffer.
41380         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
41381
41382 2011-12-23  Marek Polacek  <polacek@redhat.com>
41383
41384         * elf/dl-addr.c (determine_info): Add inline keyword.
41385         * elf/tst-auditmod4b.c (check_avx): Likewise.
41386         * elf/tst-auditmod6b.c (check_avx): Likewise.
41387         * elf/tst-auditmod6c.c (check_avx): Likewise.
41388         * elf/tst-auditmod7b.c (check_avx): Likewise.
41389
41390 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
41391
41392         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
41393         !__SSE_MATH__.
41394
41395 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41396
41397         [BZ #13540]
41398         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
41399         processing for last bytes.
41400
41401 2011-08-06  Bruno Haible  <bruno@clisp.org>
41402
41403         [BZ #13061]
41404         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
41405         U+0385, not to U+1FEE.
41406
41407         [BZ #13062]
41408         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
41409         entry for U+00A5 U+0301.
41410
41411 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41412
41413         [BZ #13166]
41414         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
41415         buffer for the output is too small.
41416
41417         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
41418         optimization.
41419
41420         [BZ #13185]
41421         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
41422         SSE flags if possible.
41423
41424 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41425
41426         [BZ #13540]
41427         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
41428         processing for last bytes.
41429
41430 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
41431
41432         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
41433         (syscall-list-default-options, syscall-list-default-condition)
41434         (syscall-list-includes): Define.
41435         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
41436         list of ABIs and options and #if conditions for each ABI.  Do not
41437         handle common syscalls between ABIs specially.
41438         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
41439         Remove.
41440         (syscall-list-variants, syscall-list-32bit-options)
41441         (syscall-list-32bit-condition, syscall-list-64bit-options)
41442         (syscall-list-64bit-condition): Define.
41443         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
41444         (syscall-list-variants, syscall-list-32bit-options)
41445         (syscall-list-32bit-condition, syscall-list-64bit-options)
41446         (syscall-list-64bit-condition): Define.
41447         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
41448         Remove.
41449         (syscall-list-variants, syscall-list-32bit-options)
41450         (syscall-list-32bit-condition, syscall-list-64bit-options)
41451         (syscall-list-64bit-condition): Define.
41452         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
41453         Remove.
41454         (syscall-list-variants, syscall-list-32bit-options)
41455         (syscall-list-32bit-condition, syscall-list-64bit-options)
41456         (syscall-list-64bit-condition): Define.
41457
41458 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
41459
41460         * locale/iso-639.def: Add brx entry.
41461
41462         [BZ #13328]
41463         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
41464         Proposed by Mariusz_Cukr <marcukr@op.pl>.
41465
41466         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
41467         __feraiseexcept_renamed.
41468
41469 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41470
41471         [BZ #13538]
41472         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
41473         EPOLLET with unsigned values.
41474         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
41475         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
41476
41477         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
41478         to large cancellation.
41479         * math/s_cacoshf.c: Likewise.
41480         * math/s_cacoshl.c: Likewise.
41481
41482 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
41483
41484         [BZ #13305]
41485         [BZ #12786]
41486         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
41487         * math/s_cacoshf.c: Likewise.
41488         * math/s_cacoshl.c: Likewise.
41489
41490 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
41491
41492         [BZ #13439]
41493         * iconv/gconv.h: Define __GCONV_SWAP.
41494         * iconvdata/unicode.c: The swap bit must be stored in __flags.
41495         * iconvdata/utf-16.c: Likewise.
41496         * iconvdata/utf-32.c: Likewise.
41497
41498 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41499
41500         [BZ #13524]
41501         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
41502         numerator after shifting it by one limb.
41503
41504 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
41505
41506         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
41507         under [__USE_EXTERN_INLINES].
41508
41509 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41510
41511         [BZ #13446]
41512         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
41513
41514 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41515
41516         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
41517         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
41518         optimized code.
41519         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
41520         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
41521         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
41522         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
41523         for strncasecmp/strncasecmp_l compilation.
41524         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
41525         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
41526
41527 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
41528
41529         [BZ #13484]
41530         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
41531         of __asm__.
41532
41533 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
41534
41535         [BZ #13506]
41536         * time/tzfile.c (__tzfile_read): Check values from file header.
41537
41538 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
41539
41540         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
41541         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
41542         * powerpc/powerpc32/dl-start.S: Likewise.
41543         * powerpc/powerpc32/elf/start.S: Likewise.
41544         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
41545         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
41546         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
41547         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
41548         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
41549         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
41550         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
41551         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
41552         * powerpc/powerpc32/fpu/s_round.S: Likewise.
41553         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
41554         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
41555         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
41556         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
41557         * powerpc/powerpc32/memset.S: Likewise.
41558         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
41559         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
41560         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
41561         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
41562         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
41563         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
41564         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
41565         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
41566         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
41567         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
41568         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
41569         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
41570         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
41571
41572 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41573
41574         * math/libm-test.inc: Added more nearbyint tests.
41575         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
41576         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
41577         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
41578         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
41579
41580 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
41581
41582         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
41583         FD_CLOEXEC.
41584
41585 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41586
41587         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
41588         Add wcscpy-ssse3 wcscpy-c.
41589         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
41590         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
41591         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
41592         * sysdeps/x86_64/wcschr.S: New file.
41593         * sysdeps/x86_64/wcsrchr.S: New file.
41594         * string/test-strcmp.c: Remove checking of wcscmp function for
41595         wrong alignments.
41596         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
41597         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
41598         wcsrchr-sse2 wcsrchr-c.
41599         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
41600         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
41601         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
41602         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
41603         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
41604         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
41605         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
41606         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
41607         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
41608         * wcsmbc/wcschr.c (WCSCHR): New macro.
41609
41610 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41611
41612         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
41613         * wcsmbs/test-wcsrchr.c: New file.
41614         * string/test-strrchr.c: Add wcsrchr support.
41615         (WIDE): New macro.
41616         * wcsmbs/test-wcscpy.c: New file.
41617         * string/test-strcpy.c: Add wcscpy support.
41618         (WIDE): New macro.
41619
41620 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
41621
41622         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
41623         the inner loop.
41624
41625 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
41626
41627         [BZ #13472]
41628         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
41629
41630 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
41631
41632         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
41633         Minor optimizations.
41634
41635         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
41636         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
41637         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
41638
41639 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
41640
41641         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
41642         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
41643         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
41644         for gcc to avoid warnings.
41645         * inet/Makefile (tests): Add tst-checks.
41646         * inet/tst-checks.c: New file.
41647
41648         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
41649         warning.
41650
41651         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
41652         __wmemcmp_sse2.
41653
41654         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
41655         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
41656
41657         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
41658
41659 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
41660
41661         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
41662         problem.
41663
41664         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
41665
41666 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
41667
41668         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
41669         conditional on GCC version.
41670         (__arch_compare_and_exchange_val_8_acq)
41671         (__arch_compare_and_exchange_val_16_acq)
41672         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
41673         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
41674         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
41675
41676 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
41677
41678         * sysdeps/sh/backtrace.c: New file.
41679
41680 2011-12-02  Andreas Schwab  <schwab@redhat.com>
41681
41682         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
41683         parenthesis.
41684
41685 2011-12-01  Andreas Schwab  <schwab@redhat.com>
41686
41687         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
41688         falling back to utime.
41689
41690 2011-11-30  Andreas Schwab  <schwab@redhat.com>
41691
41692         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
41693         expectations for float.
41694
41695 2011-11-29  Andreas Schwab  <schwab@redhat.com>
41696
41697         * locale/weight.h (findidx): Add parameter len.
41698         * locale/weightwc.h (findidx): Likewise.
41699         * posix/fnmatch_loop.c (FCT): Adjust caller.
41700         * posix/regcomp.c (build_equiv_class): Likewise.
41701         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
41702         * posix/regexec.c (check_node_accept_bytes): Likewise.
41703         * string/strcoll_l.c (STRCOLL): Likewise.
41704         * string/strxfrm_l.c (STRXFRM): Likewise.
41705
41706 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
41707
41708         * Makefile.in: Remove CVSOPT handling.
41709         * configure.in: Remove use of AC_REVISION.
41710         * iconvdata/Makefile (distribute): No need to filter out CVS.
41711         * scripts/list-sources.sh: Remove CVS, subversion and monotone
41712         handling.
41713
41714 2011-11-16  Andreas Schwab  <schwab@redhat.com>
41715
41716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
41717         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
41718         [USE_AS_STRNCASECMP_L]: Likewise.
41719         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
41720         NO_TLS_DIRECT_SEG_REFS.
41721         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
41722         Fix argument offsets for non-PIC.
41723         [USE_AS_STRNCASECMP_L]: Likewise.
41724         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
41725         NO_TLS_DIRECT_SEG_REFS.
41726
41727 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41728
41729         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
41730         O_CLOEXEC.
41731         * locale/loadlocale.c (_nl_load_locale): Likewise.
41732
41733 2011-11-15  Andreas Schwab  <schwab@redhat.com>
41734
41735         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
41736         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
41737         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
41738         (SYSCALL_GETTIME): Set errno on error.
41739
41740         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
41741         count references to noai6ai_cached.
41742
41743 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
41744
41745         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
41746
41747         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
41748         FD_CLOEXEC for /proc/self/maps.
41749
41750         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
41751         FD_CLOEXEC for /proc/meminfo.
41752
41753         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
41754         gai.conf.
41755
41756         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
41757         FD_CLOEXEC for given file.
41758
41759         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
41760
41761         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
41762         FD_CLOEXEC for /etc/hosts.
41763         (_gethtent): Likewise.
41764
41765         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
41766
41767         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
41768         cancellation and set FD_CLOEXEC for /etc/netgroup.
41769
41770         * nss/nss_files/files-key.c (search): Don't allow cancellation when
41771         reading /etc/publickey.
41772
41773         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
41774         allow cancellation when reading /etc/group.
41775
41776         * nss/nss_files/files-alias.c (internal_setent): Don't allow
41777         cancellation.
41778         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
41779
41780         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
41781         when using data file.
41782
41783         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
41784
41785         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
41786         (write_nis_obj): Use "c" and "e" in fopen.
41787
41788         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
41789
41790         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
41791
41792         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
41793
41794         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
41795
41796         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
41797         locale.alias.
41798
41799         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
41800
41801         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
41802
41803         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
41804
41805         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
41806         file parsing and set FD_CLOEXEC.
41807
41808 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41809
41810         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
41811
41812 2011-11-14  Andreas Schwab  <schwab@redhat.com>
41813
41814         * malloc/arena.c (arena_get2): Don't call reused_arena when
41815         _int_new_arena failed.
41816
41817 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
41818
41819         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
41820         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
41821         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
41822         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
41823         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
41824         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
41825         to compile strcasecmp and strncasecmp.
41826         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
41827         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
41828
41829         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
41830
41831 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
41832
41833         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
41834         locale-defines.sym to gen-as-const-headers.
41835         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
41836         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
41837         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
41838         to compile strcasecmp and strncasecmp.
41839         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
41840         strcasecmp_l and strncasecmp_l.
41841         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
41842         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
41843         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
41844         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
41845         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
41846         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
41847         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
41848         * sysdeps/i386/i686/multiarch/strncase.S: New file.
41849         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
41850         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
41851         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
41852
41853 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
41854
41855         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
41856         result of SYSDEP_GETTIME_CPU to retval.
41857         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
41858         parameter list to macro.  Remove trailing semicolon.  Adjust users.
41859
41860         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
41861         variable.
41862
41863         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
41864         mantissa words.
41865         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
41866
41867         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
41868         from unused variable.
41869
41870         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
41871         DWARF definitions.
41872         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
41873         for assembling.
41874
41875         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
41876         over namespaces.
41877
41878         * sunrpc/rpc_prot.c (rejected): Fix case value.
41879
41880         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
41881         unsigned long long int to avoid warnings in shift.
41882
41883         * posix/regex_internal.c (re_string_reconstruct): Actually use result
41884         of use of trans.
41885         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
41886         variable tmp.
41887
41888         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
41889         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
41890         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
41891
41892         * nis/nis_table.c (nis_list): Use variable of correct type for
41893         result of __follow_path call.
41894
41895 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41896
41897         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
41898         of math functions ceil, trunc, floor, round, and sqrt, when
41899         avaliable on the platform.
41900         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
41901         name clash.
41902         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41903         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41904         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41905
41906 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
41907
41908         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
41909         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
41910
41911 2011-11-11  Roland McGrath  <roland@hack.frob.com>
41912
41913         * include/unistd.h: Fix __readlink return type.
41914         Reported by Chris Metcalf <cmetcalf@tilera.com>.
41915
41916 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
41917
41918         * stdlib/ucontext.h: Undo last change for makecontext.
41919
41920 2011-11-11  Andreas Schwab  <schwab@redhat.com>
41921
41922         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
41923
41924         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
41925         * setjmp/setjmp.h: Mark functions as non-leaf.
41926         * setjmp/bits/setjmp2.h: Likewise.
41927         * stdlib/ucontext.h: Likewise.
41928
41929 2011-11-10  Andreas Schwab  <schwab@redhat.com>
41930
41931         * malloc/arena.c (_int_new_arena): Don't increment narenas.
41932         (reused_arena): Don't check arena limit.
41933         (arena_get2): Atomically check arena limit.
41934
41935 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
41936
41937         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
41938         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
41939
41940         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
41941         instructions.
41942
41943 2011-11-07  Andreas Schwab  <schwab@redhat.com>
41944
41945         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
41946         handler when locking.
41947
41948         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
41949         Fix size of allocated buffer.
41950
41951 2011-11-04  Andreas Schwab  <schwab@redhat.com>
41952
41953         [BZ #10103]
41954         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
41955         declarations for long double functions.
41956         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
41957
41958         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
41959
41960 2011-11-03  Andreas Schwab  <schwab@redhat.com>
41961
41962         * nscd/nscd.c (main): Don't start AVC thread until credentials are
41963         installed.
41964
41965         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
41966         is disabled.
41967
41968 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41969
41970         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
41971
41972 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
41973
41974         * include/alloca.h (stackinfo_alloca_round): Define.
41975         (extend_alloca): Use it.
41976         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
41977         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
41978         here.
41979
41980         * scripts/check-local-headers.sh: Ignore libaudit.h.
41981
41982         * nscd/Makefile (extra-objs): Make recursively expanded.
41983
41984 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
41985
41986         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
41987         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
41988
41989         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
41990         * posix/tst-rfc3484-2.c: Likewise.
41991         * posix/tst-rfc3484-3.c: Likewise.
41992
41993         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
41994         process_vm_writev.
41995         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
41996         process_vm_writev.
41997         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
41998         process_vm_writev from libc using GLIBC_2.15 version.
41999
42000         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
42001
42002 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
42003
42004         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
42005         stack usage.
42006
42007 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
42008
42009         [BZ #13367]
42010         * nss/getent.c (initgroups_keys): Show error message in case no group
42011         names are given.
42012
42013         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
42014         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
42015         __bump_nl_timestamp.
42016         * nscd/connections (nscd_init): When host database is served open
42017         netlink socket and request notification about configuration changes.
42018         (main_loop_poll): Track netlink file descriptor and bump timestamp
42019         in case data becomes available.
42020         (main_loop_epoll): Likewise.
42021         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
42022         (database_pers_head): Add extra_data fileds.
42023         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
42024         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
42025         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
42026         Adjust caller.
42027         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
42028         in6ai data, call __free_in6ai.
42029         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
42030         Add -DHAVE_NETLINK.
42031         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
42032         interface information.  Reuse previous data if netlink timestamp
42033         is not changed.
42034         (__bump_nl_timestamp): New function.
42035         (__free_in6ai): New function.
42036
42037 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
42038
42039         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
42040         close_not_cancel_no_status here.
42041         (__check_pf): Reorganize code a bit to not call close twice if OOM.
42042
42043 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42044
42045         [BZ #13276]
42046         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
42047         return value.
42048
42049         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
42050         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
42051         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
42052
42053 2011-07-03  Andreas Jaeger  <aj@suse.de>
42054
42055         [BZ #10709]
42056         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
42057         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
42058         * math/libm-test.inc (sin_test): Add test case.
42059
42060 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
42061
42062         [BZ #13337]
42063         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
42064         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42065
42066         * elf/chroot_canon.c (chroot_canon): Cleanups.
42067
42068         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
42069
42070         [BZ #13335]
42071         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
42072         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
42073
42074         * string/test-strchr.c: Make usable for strchrnul testing.
42075         * string/test-strchrnul.c: New file.
42076         * string/Makefile (strop-tests): Add strchrnul.
42077
42078         * po/it.po: Update from translation team.
42079         * po/es.po: Likewise.
42080
42081 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
42082
42083         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
42084         the three constants needed as parameters.  Drop the others.
42085         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
42086         __m128i_strloadu_tolower.
42087         Create and initialize variable zero and use it in all the places
42088         where _mm_setzero_si128 was used.
42089
42090         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
42091         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
42092         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
42093         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
42094         anymore.
42095         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
42096         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
42097         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
42098         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
42099         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
42100         __mpranred, __mptan.
42101         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
42102         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
42103         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
42104         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
42105         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
42106         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
42107         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
42108         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
42109         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
42110
42111 2011-10-28  Andreas Schwab  <schwab@redhat.com>
42112
42113         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
42114         redefine if SHARED.
42115         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
42116
42117         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
42118         wide char related routines to wcsmbs subdir.
42119
42120 2011-10-27  Andreas Schwab  <schwab@redhat.com>
42121
42122         [BZ #13344]
42123         * misc/sys/cdefs.h (__THROWNL): Define.
42124         * posix/unistd.h: Use __THREADNL instead of __THREAD
42125         for memory synchronization functions.
42126
42127 2011-10-26  Roland McGrath  <roland@hack.frob.com>
42128
42129         [BZ #13349]
42130         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
42131         doesn't exist.
42132         * manual/stdio.texi (Obstack Streams): Node removed.
42133
42134 2011-10-26  Andreas Schwab  <schwab@redhat.com>
42135
42136         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
42137         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42138         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42139
42140         * math/math_private.h (math_force_eval): Allow non-addressable
42141         arguments.
42142         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
42143
42144 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42145
42146         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
42147         file is not needed.
42148
42149         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
42150         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
42151         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
42152         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
42153         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
42154         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
42155         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
42156         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
42157         Add AVX variants.
42158         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
42159         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
42160         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
42161         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
42162         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
42163         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
42164         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
42165         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
42166         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
42167         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
42168         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
42169         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
42170         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
42171         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
42172         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
42173         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
42174         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
42175         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
42176         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
42177
42178         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
42179         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
42180
42181         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
42182         place.  Use VEX encoding when compiling for AVX.
42183
42184 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42185
42186         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
42187         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
42188
42189         * string/test-strchr.c (do_test): Don't generate NUL bytes.
42190
42191 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42192
42193         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
42194         useless if() expression.
42195         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42196         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
42197         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
42198         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42199         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
42200         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
42201         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42202         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42203         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
42204         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42205         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
42206         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42207         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
42208         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42209         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
42210         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
42211         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
42212         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
42213         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
42214
42215         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
42216
42217 2011-10-25  Andreas Schwab  <schwab@redhat.com>
42218
42219         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
42220         condition.
42221         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42222
42223 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
42224
42225         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
42226         .text section.  Avoid duplicate constants.
42227         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
42228         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42229         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42230         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42231         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42232         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42233         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42234         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42235         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
42236         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
42237         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
42238         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
42239         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
42240         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
42241         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
42242         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
42243         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
42244         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
42245         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
42246         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42247         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
42248         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
42249         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
42250         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
42251         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
42252         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
42253         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
42254         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
42255         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
42256         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
42257         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
42258         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
42259         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
42260         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
42261         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
42262         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
42263         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
42264         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
42265         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
42266         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
42267         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
42268         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
42269         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
42270         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
42271         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
42272
42273 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
42274
42275         * sysdeps/x86_64/dla.h: Move to ...
42276         * sysdeps/x86_64/fpu/dla.h: ...here.
42277         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
42278         situations.  Use __builtin_fma only for gcc 4.6 and up.
42279
42280         * config.make.in: Add have-mfma4 entry.
42281         * configure.in: Substitute libc_cv_cc_fma4.
42282         * math/Makefile (dbl-only-routines): Add sincostab.
42283         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
42284         Use __sincostab not sincos.
42285         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
42286         name is a macro.
42287         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42288         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42289         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42290         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
42291         using __copysign.
42292         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
42293         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
42294         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
42295         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
42296         and __inv.
42297         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
42298         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
42299         __copysign.
42300         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
42301         define aliases when function name is a macro.
42302         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
42303         sysdeps/ieee754/dbl-64/sincos.tbl.
42304         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
42305         fma4-enabled routines.
42306         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
42307         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
42308         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
42309         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
42310         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
42311         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
42312         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
42313         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
42314         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
42315         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
42316         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
42317         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
42318         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
42319         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
42320         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
42321         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
42322         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
42323         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
42324         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
42325         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
42326         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
42327         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
42328         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
42329         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
42330         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
42331         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
42332         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
42333         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
42334         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
42335         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
42336
42337         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
42338         rename.
42339         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42340         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42341         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42342         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42343         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42344         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42345         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42346         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42347
42348 2011-10-24  Andreas Schwab  <schwab@redhat.com>
42349
42350         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
42351
42352 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42353
42354         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
42355
42356         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
42357         prediction.
42358         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
42359
42360         * string/strnlen.c: Don't define STRNLEN, reverse logic.
42361         Remove unused variable magic_bits.
42362         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
42363
42364         * string/strnlen.c: Define and use STRNLEN macro.
42365         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
42366         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
42367         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
42368         * wcsmbs/wcslen.c: Define and use WCSLEN.
42369         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
42370         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
42371         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
42372         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
42373         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
42374         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
42375         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42376
42377 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42378
42379         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42380         strnlen-sse2-no-bsf.
42381         Rename strlen-no-bsf to strlen-sse2-no-bsf.
42382         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
42383         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
42384         Add strnlen support.
42385         (USE_AS_STRNLEN): New macro.
42386         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
42387         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
42388         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
42389         * sysdeps/x86_64/wcslen.S: New file.
42390
42391 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
42392
42393         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42394         XMM-moves are used for copying on small sizes.
42395
42396 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42397
42398         * wcsmbs/Makefile (strop-tests): Add wcschr.
42399         * wcsmbs/test-wcschr.c: New file.
42400         * string/test-strchr.c: Update.
42401         Add wcschr support.
42402         (WIDE): New macro.
42403
42404 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42405
42406         * wcsmbs/Makefile (strop-tests): Add wcslen.
42407         * wcsmbs/test-wcslen.c: New file.
42408         * string/test-strlen.c: Update.
42409         Add wcslen support.
42410         (WIDE): New macro.
42411
42412 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42413
42414         * po/it.po: Update from translation team.
42415
42416 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42417
42418         * sysdeps/x86_64/wcscmp.S: Update.
42419         Fix wrong comparison semantics.
42420         wcscmp shall use signed comparison not unsigned.
42421         Don't use substraction to avoid overflow bug.
42422         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42423         * wcsmbc/wcscmp.c: Likewise.
42424         * string/test-strcmp.c: Likewise.
42425         Add new tests to check cases with negative values.
42426
42427 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
42428
42429         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
42430         * sysdeps/x86_64/dla.h: ...here.  New file.
42431         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
42432         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42433         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42434         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42435         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42436         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
42437         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42438         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42439         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42440
42441 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
42442
42443         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
42444         __ynl_finite aliases.
42445
42446 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42447
42448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42449
42450         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
42451         define DLA_FMA.
42452         [DLA_FMA] (EMULV): Use DLA_FMA.
42453         [DLA_FMA] (MUL12): Use EMULV.
42454         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
42455         that are not needed.
42456         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
42457         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42458         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42459         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
42460         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
42461         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
42462         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
42463
42464 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
42465
42466         * math/s_nan.c: Undef __nan.
42467         * math/s_nanf.c: Undef __nanf.
42468         * math/s_nanl.c: Undef __nanl.
42469         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
42470         "math_private.h".
42471
42472 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
42473
42474         * math/s_catan.c: Add branch predictions.
42475         * math/s_catanf.c: Likewise.
42476         * math/s_catanh.c: Likewise.
42477         * math/s_catanhf.c: Likewise.
42478         * math/s_catanhl.c: Likewise.
42479         * math/s_catanl.c: Likewise.
42480         * math/s_cexp.c: Likewise.
42481         * math/s_cexpf.c: Likewise.
42482         * math/s_cexpl.c: Likewise.
42483         * math/s_clog.c: Likewise.
42484         * math/s_clog10.c: Likewise.
42485         * math/s_clog10f.c: Likewise.
42486         * math/s_clog10l.c: Likewise.
42487         * math/s_clogf.c: Likewise.
42488         * math/s_clogl.c: Likewise.
42489         * math/s_csqrt.c: Likewise.
42490         * math/s_csqrtf.c: Likewise.
42491         * math/s_csqrtl.c: Likewise.
42492         * math/s_ctanf.c: Likewise.
42493         * math/s_ctanh.c: Likewise.
42494         * math/s_ctanhf.c: Likewise.
42495         * math/s_ctanhl.c: Likewise.
42496         * math/s_ctanl.c: Likewise.
42497
42498         * math/math_private.h: Define __nan, __nanf, __nanl.
42499         * math/s_cacosh.c: Include <math_private.h>.
42500         * math/s_cacoshl.c: Likewise.
42501         * math/s_casinh.c: Likewise.
42502         * math/s_casinhf.c: Likewise.
42503         * math/s_casinhl.c: Likewise.
42504         * math/s_ccos.c: Rely entire on ccosh.
42505         * math/s_ccosf.c: Rely entire on ccoshf.
42506         * math/s_ccosl.c: Rely entirely on ccoshl.
42507         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
42508         Remove tests for FE_INVALID.
42509         * math/s_ccoshf.c: Likewise.
42510         * math/s_ccoshl.c: Likewise.
42511         * math/s_csin.c: Likewise.
42512         * math/s_csinf.c: Likewise.
42513         * math/s_csinh.c Likewise.
42514         * math/s_csinhf.c: Likewise.
42515         * math/s_csinhl.c: Likewise.
42516         * math/s_csinl.c: Likewise.
42517         * math/s_ctan.c: Likewise.
42518         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
42519         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
42520         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
42521
42522 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
42523
42524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
42525         compilation problems.
42526
42527         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
42528         __builtin_expect.
42529
42530 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
42531
42532         * sysdeps/i386/configure.in: Test for -mfma4 option.
42533         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
42534         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
42535         COMMON_CPUID_INDEX_80000001.
42536         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
42537         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
42538         use it if FMA3 is not supported.
42539         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
42540
42541         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
42542         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42543
42544 2011-10-20  Andreas Schwab  <schwab@redhat.com>
42545
42546         [BZ #12892]
42547         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
42548         it would create a cycle with a link time dependency.
42549
42550 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
42551
42552         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
42553         instruction.
42554         * string/Makefile (strop-tests): Add rawmemchr.
42555         * string/test-rawmemchr.c: New file.
42556
42557         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
42558         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
42559         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
42560         when compiling str{,n}casecmp and when AVX is available.  Hook up
42561         new optimized code in initializers.
42562
42563 2011-10-19  Andreas Schwab  <schwab@redhat.com>
42564
42565         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
42566         __feraiseexcept instead of feraiseexcept.
42567
42568 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
42569
42570         * math/math_private.h: Define defaults for libc_fetestexcept and
42571         libc_feupdateenv.
42572         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
42573         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
42574         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
42575         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42576         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
42577         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42578         libc_fetestexcept and libc_feupdateenv.
42579
42580         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
42581         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
42582         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
42583         * sysdeps/x86_64/fpu/math_private.h: Define special version of
42584         libc_feholdexcept_setround.
42585
42586         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
42587         Add s_nearbyint-c and s_nearbyintf-c.
42588         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
42589         nearbyintf inlines.
42590         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
42591         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
42592         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
42593         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
42594
42595         * math/math_private.h: Define defaults for libc_fegetround,
42596         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
42597         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
42598         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
42599         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
42600         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
42601         standard functions.
42602         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42603         Remove comments and hacks for old compiler versions.
42604         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
42605         libc_fegetround, libc_fesetround, libc_feholdexcept, and
42606         libc_feholdexceptl.
42607
42608 2011-10-18  Andreas Schwab  <schwab@redhat.com>
42609
42610         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
42611         (__feraiseexcept_renamed): Add __NTH.
42612         (feraiseexcept): Add __NTH.  Rename local variables to fix
42613         namespace violations.
42614
42615 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
42616
42617         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
42618
42619         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
42620
42621         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
42622         recently added interfaces.
42623         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
42624
42625         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
42626         about macro parameter expansion.
42627
42628         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
42629         __NO_MATH_INLINES is defined.  Cleanups.
42630
42631         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
42632         and __floorf is target has SSE4.1.
42633         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
42634         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
42635         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
42636         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
42637
42638         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
42639         name.
42640         (floorf): Likewise.
42641
42642         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
42643
42644 2011-10-17  Andreas Schwab  <schwab@redhat.com>
42645
42646         * misc/sys/cdefs.h: Fix last change.
42647
42648         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
42649         database lookup.
42650
42651 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
42652
42653         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
42654
42655         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
42656         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
42657         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
42658         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
42659         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
42660         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
42661         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
42662         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
42663         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
42664         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
42665         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
42666         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
42667         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
42668         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
42669         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
42670         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
42671         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
42672         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
42673         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
42674         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
42675         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
42676         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
42677
42678         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
42679         ceil, ceilf, floor, floorf.
42680
42681         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
42682         Perform IRELATIVE relocations last.
42683
42684         * elf/do-rel.h: Add another parameter nrelative, replacing the
42685         local variable with the same name.  Change name of the function
42686         to end in Rel or Rela (uppercase).
42687         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
42688         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
42689         elf_dynamic_do_##reloc function.
42690
42691 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42692
42693         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
42694         is sufficient, at least on modern CPUs.
42695
42696         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
42697
42698         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
42699         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
42700
42701         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
42702         __expl_finite.
42703         * math/bits/math-finite.h: Add entries for exp.
42704         * math/e_expl.c: Add __*_finite alias.
42705         * sysdeps/i386/fpu/e_exp.S: Likewise.
42706         * sysdeps/i386/fpu/e_expf.S: Likewise.
42707         * sysdeps/i386/fpu/e_expl.c: Likewise.
42708         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
42709         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
42710         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
42711         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
42712         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
42713         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
42714         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
42715
42716         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
42717         is sufficient, at least on modern CPUs.
42718
42719         * ctype/ctype-info.c (__ctype_init): Define.
42720         * include/ctype.h (__ctype_init): Declare.
42721         (__ctype_b_loc): The variable is always initialized.
42722         (__ctype_toupper_loc): Likewise.
42723         (__ctype_tolower_loc): Likewise.
42724         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
42725         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
42726
42727 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
42728
42729         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
42730
42731         * configure.in: Also look in $cxxmachine/include for C++ system
42732         headers.
42733
42734 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42735
42736         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
42737         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
42738         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
42739         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
42740         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
42741         (USE_AS_WMEMCMP): New macro.
42742         Fixing indents.
42743         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
42744         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
42745         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
42746         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
42747         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42748         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
42749         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
42750         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
42751         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
42752         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
42753         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
42754         (USE_AS_WMEMCMP): New macro.
42755         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
42756         * sysdeps/string/test-memcmp.c: Update.
42757         Fix simple_wmemcmp.
42758         Add new tests.
42759         * wcsmbs/wmemcmp.c: Update.
42760         (WMEMCMP): New macro.
42761         Fix overflow bug.
42762
42763 2011-10-12  Andreas Jaeger  <aj@suse.de>
42764
42765         [BZ #13268]
42766         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
42767
42768 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
42769
42770         * libio/iofwide.c (do_length): Avoid warning.
42771
42772         * ctype/ctype.h (__isctype_f): Add missing __THROW.
42773
42774 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
42775
42776         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
42777
42778         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
42779         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
42780         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
42781         * sysdeps/i386/i686/fpu/e_log.S: New file.
42782         * sysdeps/i386/i686/fpu/e_logf.S: New file.
42783         * sysdeps/i386/i686/fpu/e_logl.S: New file.
42784
42785         * ctype/ctype.h: Add support for inlined isXXX functions when
42786         compiling C++ code.
42787
42788 2011-10-14  Andreas Schwab  <schwab@redhat.com>
42789
42790         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42791
42792         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
42793
42794 2011-10-13  Roland McGrath  <roland@hack.frob.com>
42795
42796         [BZ #13291]
42797         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
42798
42799 2011-10-13  Andreas Schwab  <schwab@redhat.com>
42800
42801         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
42802         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
42803         feraiseexcept.
42804
42805         * sysdeps/x86_64/memrchr.S: Check for zero size.
42806
42807         * string/stratcliff.c: Add memrchr tests.
42808
42809 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42810
42811         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42812         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
42813         rawmemchr-sse2 rawmemchr-sse2-bsf.
42814         * sysdeps/i386/i686/multiarch/memchr.S: New file.
42815         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
42816         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
42817         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
42818         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
42819         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
42820         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
42821         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
42822         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
42823         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
42824         * string/memrchr.c (MEMRCHR): New macro.
42825
42826 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
42827
42828         Add integration with gcc's -ffinite-math-only and optimize wrapper
42829         functions in libm.
42830         * Versions.def: Define GLIBC_2.15 version for libm.
42831         * math/Makefile (headers): Add bits/math-finite.h.
42832         * math/bits/math-finite.h: New file.
42833         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
42834         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
42835         * math/e_acoshl.c: Add __*_finite alias.
42836         * math/e_acosl.c: Likewise.
42837         * math/e_asinl.c: Likewise.
42838         * math/e_atan2l.c: Likewise.
42839         * math/e_atanhl.c: Likewise.
42840         * math/e_coshl.c: Likewise.
42841         * math/e_exp10.c: Likewise.
42842         * math/e_exp10f.c: Likewise.
42843         * math/e_exp10l.c: Likewise.
42844         * math/e_exp2l.c: Likewise.
42845         * math/e_fmodl.c: Likewise.
42846         * math/e_gammal_r.c: Likewise.
42847         * math/e_hypotl.c: Likewise.
42848         * math/e_j0l.c: Likewise.
42849         * math/e_j1l.c: Likewise.
42850         * math/e_jnl.c: Likewise.
42851         * math/e_lgammal_r.c: Likewise.
42852         * math/e_log10l.c: Likewise.
42853         * math/e_log2l.c: Likewise.
42854         * math/e_logl.c: Likewise.
42855         * math/e_powl.c: Likewise.
42856         * math/e_sinhl.c: Likewise.
42857         * math/e_sqrtl.c: Likewise.
42858         * math/e_scalb.c: Completely rewritten and optimized.
42859         * math/e_scalbf.c: Likewise.
42860         * math/e_scalbl.c: Likewise.
42861         * math/w_acos.c: Likewise.
42862         * math/w_acosf.c: Likewise.
42863         * math/w_acosl.c: Likewise.
42864         * math/w_acosh.c: Likewise.
42865         * math/w_acoshf.c: Likewise.
42866         * math/w_acoshl.c: Likewise.
42867         * math/w_asin.c: Likewise.
42868         * math/w_asinf.c: Likewise.
42869         * math/w_asinl.c: Likewise.
42870         * math/w_atan2.c: Likewise.
42871         * math/w_atan2f.c: Likewise.
42872         * math/w_atan2l.c: Likewise.
42873         * math/w_atanh.c: Likewise.
42874         * math/w_atanhf.c: Likewise.
42875         * math/w_atanhl.c: Likewise.
42876         * math/w_exp10.c: Likewise.
42877         * math/w_exp10f.c: Likewise.
42878         * math/w_exp10l.c: Likewise.
42879         * math/w_fmod.c: Likewise.
42880         * math/w_fmodf.c: Likewise.
42881         * math/w_fmodl.c: Likewise.
42882         * math/w_j0.c: Likewise.
42883         * math/w_j0f.c: Likewise.
42884         * math/w_j0l.c: Likewise.
42885         * math/w_j1.c: Likewise.
42886         * math/w_j1f.c: Likewise.
42887         * math/w_j1l.c: Likewise.
42888         * math/w_jn.c: Likewise.
42889         * math/w_jnf.c: Likewise.
42890         * math/w_log.c: Likewise.
42891         * math/w_logf.c: Likewise.
42892         * math/w_logl.c: Likewise.
42893         * math/w_log10.c: Likewise.
42894         * math/w_log10f.c: Likewise.
42895         * math/w_log10l.c: Likewise.
42896         * math/w_log2.c: Likewise.
42897         * math/w_log2f.c: Likewise.
42898         * math/w_log2l.c: Likewise.
42899         * math/w_pow.c: Likewise.
42900         * math/w_powf.c: Likewise.
42901         * math/w_powl.c: Likewise.
42902         * math/w_remainder.c: Likewise.
42903         * math/w_remainderf.c: Likewise.
42904         * math/w_remainderl.c: Likewise.
42905         * math/w_scalb.c: Likewise.
42906         * math/w_scalbf.c: Likewise.
42907         * math/w_scalbl.c: Likewise.
42908         * math/w_sqrt.c: Likewise.
42909         * math/w_sqrtf.c: Likewise.
42910         * math/w_sqrtl.c: Likewise.
42911         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
42912         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
42913         used.
42914         * math/math_private.h: Declare __kernel_standard_f.
42915         * math/w_cosh.c: Remove cruft and optimize a bit.
42916         * math/w_coshf.c: Likewise.
42917         * math/w_coshl.c: Likewise.
42918         * math/w_exp2.c: Likewise.
42919         * math/w_exp2f.c: Likewise.
42920         * math/w_exp2l.c: Likewise.
42921         * math/w_hypot.c: Likewise.
42922         * math/w_hypotf.c: Likewise.
42923         * math/w_hypotl.c: Likewise.
42924         * math/w_lgamma.c: Likewise.
42925         * math/w_lgamma_r.c: Likewise.
42926         * math/w_lgammaf.c: Likewise.
42927         * math/w_lgammaf_r.c: Likewise.
42928         * math/w_lgammal.c: Likewise.
42929         * math/w_lgammal_r.c: Likewise.
42930         * math/w_sinh.c: Likewise.
42931         * math/w_sinhf.c: Likewise.
42932         * math/w_sinhl.c: Likewise.
42933         * math/w_tgamma.c: Likewise.
42934         * math/w_tgammaf.c: Likewise.
42935         * math/w_tgammal.c: Likewise.
42936         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
42937         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
42938         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
42939         Minor optimizations.  Pretty printing.  Remove cruft.
42940         * sysdeps/i386/fpu/e_acosf.S: Likewise.
42941         * sysdeps/i386/fpu/e_acosh.S: Likewise.
42942         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
42943         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
42944         * sysdeps/i386/fpu/e_acosl.c: Likewise.
42945         * sysdeps/i386/fpu/e_asin.S: Likewise.
42946         * sysdeps/i386/fpu/e_asinf.S: Likewise.
42947         * sysdeps/i386/fpu/e_atan2.S: Likewise.
42948         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
42949         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
42950         * sysdeps/i386/fpu/e_atanh.S: Likewise.
42951         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
42952         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
42953         * sysdeps/i386/fpu/e_exp10.S: Likewise.
42954         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
42955         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
42956         * sysdeps/i386/fpu/e_exp2.S: Likewise.
42957         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
42958         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
42959         * sysdeps/i386/fpu/e_fmod.S: Likewise.
42960         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
42961         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
42962         * sysdeps/i386/fpu/e_hypot.S: Likewise.
42963         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
42964         * sysdeps/i386/fpu/e_log.S: Likewise.
42965         * sysdeps/i386/fpu/e_log10.S: Likewise.
42966         * sysdeps/i386/fpu/e_log10f.S: Likewise.
42967         * sysdeps/i386/fpu/e_log10l.S: Likewise.
42968         * sysdeps/i386/fpu/e_log2.S: Likewise.
42969         * sysdeps/i386/fpu/e_log2f.S: Likewise.
42970         * sysdeps/i386/fpu/e_log2l.S: Likewise.
42971         * sysdeps/i386/fpu/e_logf.S: Likewise.
42972         * sysdeps/i386/fpu/e_logl.S: Likewise.
42973         * sysdeps/i386/fpu/e_pow.S: Likewise.
42974         * sysdeps/i386/fpu/e_powf.S: Likewise.
42975         * sysdeps/i386/fpu/e_powl.S: Likewise.
42976         * sysdeps/i386/fpu/e_remainder.S: Likewise.
42977         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
42978         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
42979         * sysdeps/i386/fpu/e_scalb.S: Likewise.
42980         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
42981         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
42982         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
42983         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
42984         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
42985         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
42986         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
42987         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
42988         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
42989         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
42990         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
42991         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
42992         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
42993         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
42994         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
42995         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
42996         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
42997         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
42998         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
42999         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43000         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43001         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43002         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43003         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43004         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43005         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43006         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43007         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43008         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43009         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43010         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43011         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
43012         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43013         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
43014         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43015         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43016         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43017         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43018         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43019         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43020         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43021         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43022         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43023         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43024         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43025         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43026         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43027         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43028         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43029         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43030         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43031         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43032         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43033         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43034         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
43035         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43036         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43037         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43038         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43039         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43040         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43041         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43042         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43043         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43044         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43045         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43046         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43047         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43048         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43049         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43050         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43051         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43052         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43053         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
43054         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43055         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43056         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43057         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43058         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43059         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43060         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43061         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
43062         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43063         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43064         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43065         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43066         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43067         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
43068         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43069         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43070         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43071         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43072         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43073         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43074         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43075         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43076         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43077         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43078         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
43079         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
43080         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
43081         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
43082         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
43083         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
43084         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
43085         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
43086         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
43087         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
43088         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
43089         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
43090         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
43091         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
43092         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43093         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
43094         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
43095         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
43096         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
43097         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
43098         (__isnanf): Likewise.
43099         (__isinf_ns): Likewise.
43100         (__isinf_nsf): Likewise.
43101         (__finite): Likewise.
43102         (__finitef): Likewise.
43103         (__ieee754_sqrt): Define as macro.
43104         (__ieee754_sqrtf): Define as macro.
43105         (__ieee754_sqrtl): Define as macro.
43106         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
43107         inlined copy.
43108         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
43109         __FINITE_MATH_ONLY__ consistent.
43110         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
43111
43112 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
43113
43114         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
43115         of rawmemchr.
43116
43117         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
43118
43119 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
43120
43121         * po/ja.po: Update from translation team.
43122
43123 2011-10-08  Roland McGrath  <roland@hack.frob.com>
43124
43125         * locale/programs/locarchive.c (prepare_address_space): New function.
43126         (create_archive, enlarge_archive, open_archive): Use it.
43127
43128         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
43129         inside [SHARED], where it is used.
43130
43131         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
43132
43133         * nss/getent.c (netgroup_keys): Remove unused variable.
43134         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43135
43136 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
43137
43138         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
43139         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
43140         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
43141         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
43142         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
43143         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
43144         * math/Makefile (libm-calls): Add s_isinf_ns.
43145         * math/divtc3.c: Use __isinf_nsl instead of isinf.
43146         * math/multc3.c: Likewise.
43147         * math/s_casin.c: Likewise.
43148         * math/s_casinf.c: Likewise.
43149         * math/s_casinl.c: Likewise.
43150         * math/s_ccos.c: Likewise.
43151         * math/s_ccosf.c: Likewise.
43152         * math/s_ccosl.c: Likewise.
43153         * math/s_ctan.c: Likewise.
43154         * math/s_ctanf.c: Likewise.
43155         * math/s_ctanh.c: Likewise.
43156         * math/s_ctanhf.c: Likewise.
43157         * math/s_ctanhl.c: Likewise.
43158         * math/s_ctanl.c: Likewise.
43159         * math/w_fmod.c: Likewise.
43160         * math/w_fmodf.c: Likewise.
43161         * math/w_fmodl.c: Likewise.
43162         * math/w_remainder.c: Likewise.
43163         * math/w_remainderf.c: Likewise.
43164         * math/w_remainderl.c: Likewise.
43165         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
43166         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
43167         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
43168         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
43169         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
43170         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
43171         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
43172         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
43173
43174         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
43175         of the number.
43176         * stdio-common/printf_fphex.c: Likewise.
43177         * stdio-common/printf_size.c: Likewise.
43178
43179         * math/e_exp10.c: Include math_private.h using <...> not "...".
43180         * math/e_exp10f.c: Likewise.
43181         * math/e_exp10l.c: Likewise.
43182         * math/e_exp2l.c: Likewise.
43183         * math/e_j0l.c: Likewise.
43184         * math/e_j1l.c: Likewise.
43185         * math/e_jnl.c: Likewise.
43186         * math/e_lgammal_r.c: Likewise.
43187         * math/e_rem_pio2l.c: Likewise.
43188         * math/e_scalb.c: Likewise.
43189         * math/e_scalbf.c: Likewise.
43190         * math/e_scalbl.c: Likewise.
43191         * math/k_cosl.c: Likewise.
43192         * math/k_sinl.c: Likewise.
43193         * math/k_tanl.c: Likewise.
43194         * math/s_cacoshf.c: Likewise.
43195         * math/s_catan.c: Likewise.
43196         * math/s_catanf.c: Likewise.
43197         * math/s_catanh.c: Likewise.
43198         * math/s_catanhf.c: Likewise.
43199         * math/s_catanhl.c: Likewise.
43200         * math/s_catanl.c: Likewise.
43201         * math/s_ccosh.c: Likewise.
43202         * math/s_ccoshf.c: Likewise.
43203         * math/s_ccoshl.c: Likewise.
43204         * math/s_cexp.c: Likewise.
43205         * math/s_cexpf.c: Likewise.
43206         * math/s_cexpl.c: Likewise.
43207         * math/s_clog.c: Likewise.
43208         * math/s_clog10.c: Likewise.
43209         * math/s_clog10f.c: Likewise.
43210         * math/s_clog10l.c: Likewise.
43211         * math/s_clogf.c: Likewise.
43212         * math/s_clogl.c: Likewise.
43213         * math/s_csin.c: Likewise.
43214         * math/s_csinf.c: Likewise.
43215         * math/s_csinh.c: Likewise.
43216         * math/s_csinhf.c: Likewise.
43217         * math/s_csinhl.c: Likewise.
43218         * math/s_csinl.c: Likewise.
43219         * math/s_csqrt.c: Likewise.
43220         * math/s_csqrtf.c: Likewise.
43221         * math/s_csqrtl.c: Likewise.
43222         * math/s_ctan.c: Likewise.
43223         * math/s_ctanf.c: Likewise.
43224         * math/s_ctanh.c: Likewise.
43225         * math/s_ctanhf.c: Likewise.
43226         * math/s_ctanhl.c: Likewise.
43227         * math/s_ctanl.c: Likewise.
43228         * math/s_ldexp.c: Likewise.
43229         * math/s_ldexpf.c: Likewise.
43230         * math/s_ldexpl.c: Likewise.
43231         * math/s_significand.c: Likewise.
43232         * math/s_significandf.c: Likewise.
43233         * math/s_significandl.c: Likewise.
43234         * math/w_acos.c: Likewise.
43235         * math/w_acosf.c: Likewise.
43236         * math/w_acosh.c: Likewise.
43237         * math/w_acoshf.c: Likewise.
43238         * math/w_acoshl.c: Likewise.
43239         * math/w_acosl.c: Likewise.
43240         * math/w_asin.c: Likewise.
43241         * math/w_asinf.c: Likewise.
43242         * math/w_asinl.c: Likewise.
43243         * math/w_atan2.c: Likewise.
43244         * math/w_atan2f.c: Likewise.
43245         * math/w_atan2l.c: Likewise.
43246         * math/w_atanh.c: Likewise.
43247         * math/w_atanhf.c: Likewise.
43248         * math/w_atanhl.c: Likewise.
43249         * math/w_cosh.c: Likewise.
43250         * math/w_coshf.c: Likewise.
43251         * math/w_coshl.c: Likewise.
43252         * math/w_dremf.c: Likewise.
43253         * math/w_exp10.c: Likewise.
43254         * math/w_exp10f.c: Likewise.
43255         * math/w_exp10l.c: Likewise.
43256         * math/w_exp2.c: Likewise.
43257         * math/w_exp2f.c: Likewise.
43258         * math/w_fmod.c: Likewise.
43259         * math/w_fmodf.c: Likewise.
43260         * math/w_fmodl.c: Likewise.
43261         * math/w_hypot.c: Likewise.
43262         * math/w_hypotf.c: Likewise.
43263         * math/w_hypotl.c: Likewise.
43264         * math/w_j0.c: Likewise.
43265         * math/w_j0f.c: Likewise.
43266         * math/w_j0l.c: Likewise.
43267         * math/w_j1.c: Likewise.
43268         * math/w_j1f.c: Likewise.
43269         * math/w_j1l.c: Likewise.
43270         * math/w_jn.c: Likewise.
43271         * math/w_jnf.c: Likewise.
43272         * math/w_jnl.c: Likewise.
43273         * math/w_lgamma.c: Likewise.
43274         * math/w_lgamma_r.c: Likewise.
43275         * math/w_lgammaf.c: Likewise.
43276         * math/w_lgammaf_r.c: Likewise.
43277         * math/w_lgammal.c: Likewise.
43278         * math/w_lgammal_r.c: Likewise.
43279         * math/w_log.c: Likewise.
43280         * math/w_log10.c: Likewise.
43281         * math/w_log10f.c: Likewise.
43282         * math/w_log10l.c: Likewise.
43283         * math/w_log2.c: Likewise.
43284         * math/w_log2f.c: Likewise.
43285         * math/w_log2l.c: Likewise.
43286         * math/w_logf.c: Likewise.
43287         * math/w_logl.c: Likewise.
43288         * math/w_pow.c: Likewise.
43289         * math/w_powf.c: Likewise.
43290         * math/w_powl.c: Likewise.
43291         * math/w_remainder.c: Likewise.
43292         * math/w_remainderf.c: Likewise.
43293         * math/w_remainderl.c: Likewise.
43294         * math/w_scalb.c: Likewise.
43295         * math/w_scalbf.c: Likewise.
43296         * math/w_scalbl.c: Likewise.
43297         * math/w_sinh.c: Likewise.
43298         * math/w_sinhf.c: Likewise.
43299         * math/w_sinhl.c: Likewise.
43300         * math/w_sqrt.c: Likewise.
43301         * math/w_sqrtf.c: Likewise.
43302         * math/w_sqrtl.c: Likewise.
43303         * math/w_tgamma.c: Likewise.
43304         * math/w_tgammaf.c: Likewise.
43305         * math/w_tgammal.c: Likewise.
43306
43307         * po/ja.po: Update from translation team.
43308
43309 2011-09-29  Andreas Jaeger  <aj@suse.de>
43310
43311         [BZ #13179]
43312         * sunrpc/netname.c (netname2host): Fix logic.
43313
43314         [BZ #6779]
43315         [BZ #6783]
43316         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
43317         correctly.
43318         * math/w_remainder.c (__remainder): Likewise.
43319         * math/w_remainderf.c (__remainderf): Likewise.
43320         * math/libm-test.inc (remainder_test): Add test cases.
43321
43322 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43323
43324         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
43325         sdiv_qrnnd.
43326
43327 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43328
43329         * string/test-memcmp.c: Avoid unncessary #defines.
43330         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
43331
43332 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43333
43334         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
43335         Use new sse2 version for core i3 - i7 as it's faster
43336         than sse42 version.
43337         (bit_Prefer_PMINUB_for_stringop): New.
43338         * sysdeps/x86_64/rawmemchr.S: Update.
43339         Replace with faster SSE2 version.
43340         * sysdeps/x86_64/memrchr.S: New file.
43341         * sysdeps/x86_64/memchr.S: Update.
43342         Replace with faster SSE2 version.
43343
43344 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
43345
43346         * elf/dl-load.c (lose): Add cast to avoid warning.
43347
43348 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
43349
43350         * po/ca.po: Update from translation team.
43351
43352         * inet/getnetgrent_r.c: Hook up nscd.
43353         * nscd/Makefile (routines): Add nscd_netgroup.
43354         (nscd-modules): Add netgroupcache.
43355         (CFLAGS-netgroupcache.c): Define.
43356         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
43357         (cache_search): Add const to second parameter.
43358         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
43359         INNETGR.
43360         (dbs): Add netgrdb entry.
43361         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
43362         (verify_persistent_db): Handle netgrdb.
43363         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
43364         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
43365         GETFDNETGR.
43366         (netgroup_response_header): Define.
43367         (innetgroup_response_header): Define.
43368         (datahead): Add netgroup_response_header and innetgroup_response_header
43369         elements.
43370         * nscd/nscd.conf: Add entries for netgroup cache.
43371         * nscd/nscd.h (dbtype): Add netgrdb.
43372         (_PATH_NSCD_NETGROUP_DB): Define.
43373         (netgroup_iov_disabled): Declare.
43374         (xmalloc, xcalloc, xrealloc): Move declarations here.
43375         (cache_search): Adjust prototype.
43376         Add netgroup-related prototypes.
43377         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
43378         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
43379         (__nscd_innetgr): Declare.
43380         * nscd/selinux.c (perms): Use access_vector_t as element type and
43381         add netgroup-related initializers.
43382         * nscd/netgroupcache.c: New file.
43383         * nscd/nscd_netgroup.c: New file.
43384         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
43385         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
43386         For four parameters use innetgr.
43387         * nss/nss_files/files-init.c: Add definition and callback for netgr.
43388         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
43389         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
43390         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
43391
43392         * nscd/connections.c (register_traced_file): Don't register file
43393         for disabled databases.
43394
43395 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
43396
43397         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
43398
43399         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
43400         from tree and freeing node.
43401
43402 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
43403
43404         * nss/nsswitch.c (__nss_database_lookup): Handle
43405         nss_parse_service_list out of memory case.
43406
43407 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
43408
43409         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
43410         out of memory case.
43411
43412 2011-10-04  Andreas Schwab  <schwab@redhat.com>
43413
43414         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
43415         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
43416         pass it down.
43417         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
43418         elf_machine_rela, elf_machine_lazy_rel.
43419         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
43420         (ELF_DYNAMIC_DO_REL): Likewise.
43421         (ELF_DYNAMIC_DO_RELA): Likewise.
43422         (ELF_DYNAMIC_RELOCATE): Likewise.
43423         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
43424         to ELF_DYNAMIC_DO_REL.
43425         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
43426         (dl_main): In trace mode always set __RTLD_NOIFUNC.
43427         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
43428         elf_machine_rela.
43429         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
43430         skip_ifunc, don't call ifunc function if non-zero.
43431         (elf_machine_rela): Likewise.
43432         (elf_machine_lazy_rel): Likewise.
43433         (elf_machine_lazy_rela): Likewise.
43434         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
43435         (elf_machine_lazy_rel): Likewise.
43436         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
43437         Likewise.
43438         (elf_machine_lazy_rel): Likewise.
43439         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43440         Likewise.
43441         (elf_machine_lazy_rel): Likewise.
43442         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
43443         (elf_machine_lazy_rel): Likewise.
43444         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
43445         (elf_machine_lazy_rel): Likewise.
43446         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
43447         (elf_machine_lazy_rel): Likewise.
43448         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
43449         (elf_machine_lazy_rel): Likewise.
43450         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
43451         (elf_machine_lazy_rel): Likewise.
43452         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
43453         (elf_machine_lazy_rel): Likewise.
43454
43455 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
43456
43457         * nss/nss_files/files-init.c (_nss_files_init): Use static
43458         initialization for all the *_traced_file variables.
43459
43460 2011-09-28  Andreas Schwab  <schwab@redhat.com>
43461
43462         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43463
43464 2011-09-27  Roland McGrath  <roland@hack.frob.com>
43465
43466         [BZ #13226]
43467         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
43468
43469 2011-09-27  Andreas Schwab  <schwab@redhat.com>
43470
43471         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
43472         Reread the line before reparsing it.
43473
43474 2011-09-26  Andreas Schwab  <schwab@redhat.com>
43475
43476         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
43477
43478 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
43479             Maxim Kuvyrkov  <maxim@codesourcery.com>
43480             Joseph Myers  <joseph@codesourcery.com>
43481
43482         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
43483         if needed for __stack_chk_guard.
43484
43485 2011-09-19  Roland McGrath  <roland@hack.frob.com>
43486
43487         * sysdeps/posix/spawni.c (script_execute): Always define it.
43488         It will be optimized away if unused.
43489         (maybe_script_execute): New function.
43490         (__spawni): Call it.
43491
43492         * Makerules: Don't include tls.make.
43493         (config-tls): Always set to thread.
43494         * tls.make.c: File removed.
43495
43496 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
43497
43498         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
43499         * config.make.in (CPPFLAGS-config): New substituted variable.
43500
43501 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43502
43503         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
43504
43505         [BZ #13192]
43506         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
43507         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
43508
43509 2011-09-15  Roland McGrath  <roland@hack.frob.com>
43510
43511         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
43512         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
43513         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43514         (CALL_FAIL): Likewise.
43515         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
43516         (CALL_FAIL): Macro removed.
43517         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
43518
43519 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
43520
43521         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
43522         for __FINITE_MATH_ONLY__ == 1.
43523
43524 2011-09-15  Andreas Schwab  <schwab@redhat.com>
43525
43526         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
43527         __ieee754_sqrt instead of sqrt.
43528         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
43529         __ieee754_sqrtf instead of sqrtf.
43530         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
43531         __floorf instead of floorf.
43532         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
43533         __floorf, __truncf instead of floorf, truncf.
43534
43535 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
43536
43537         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
43538
43539         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
43540         __extern_always_inline.
43541         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
43542         32-bit.
43543
43544 2011-09-14  Andreas Schwab  <schwab@redhat.com>
43545
43546         * elf/rtld.c (dl_main): Also relocate in dependency order when
43547         doing symbol dependency testing.
43548
43549 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
43550
43551         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43552         Always define `refsym'.
43553
43554 2011-09-13  Andreas Schwab  <schwab@redhat.com>
43555
43556         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
43557         (__FD_ELT): Renamed from __FDELT.
43558         * misc/bits/select2.h (__FD_ELT): Likewise.
43559         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
43560         __FD_MASK instead of __FDELT, __FDMASK.
43561         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43562         Likewise.
43563         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
43564         Likewise.
43565
43566         * elf/Makefile (gen-ldd): Fix pattern.
43567
43568         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
43569         (init_tls): Likewise.
43570
43571 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
43572
43573         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
43574
43575 2011-09-12  Andreas Schwab  <schwab@redhat.com>
43576
43577         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
43578         `struct cmsghdr *' instead of `void *'.
43579         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
43580         Likewise.
43581
43582 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
43583
43584         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
43585         if non-absolute.
43586         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
43587         ldd_rewrite_script.
43588
43589 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
43590
43591         * configure.in: Remove --with-tls option.
43592         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
43593         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
43594         out in case it is missing.
43595         * sysdeps/ia64/elf/configure.in: Likewise.
43596         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
43597         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
43598         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
43599         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
43600         * sysdeps/sh/elf/configure.in: Likewise.
43601         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
43602         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
43603         * sysdeps/x86_64/elf/configure.in: Likewise.
43604         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
43605         * sysdeps/mach/hurd/tls.h: Likewise.
43606
43607         [BZ #13067]
43608         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
43609
43610         [BZ #13090]
43611         * configure.in: Fix use of AC_INIT.
43612
43613         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
43614
43615 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
43616
43617         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
43618         __set_errno.
43619         * malloc/hooks.c: Likewise.
43620
43621         [BZ #11929]
43622         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
43623         variables statically.
43624         (narenas): Initialize.
43625         (list_lock): Initialize.
43626         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
43627         initializtion of main_arena and list_lock.  Small cleanups.
43628         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
43629         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
43630         Add initializers to main_arena and mp_.
43631         (malloc_state): Remove pagesize member.  Change all users to use
43632         GLRO(dl_pagesize).
43633
43634         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
43635         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
43636         is always initialized.
43637
43638         * malloc/malloc.c: Removed unused configurations and dead code.
43639         * malloc/arena.c: Likewise.
43640         * malloc/hooks.c: Likewise.
43641         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
43642
43643         * include/tls.h: Removed.  USE___THREAD must always be defined.
43644         * bits/libc-tsd.h: Don't handle !USE___THREAD.
43645         * elf/dl-libc.c: Likewise.
43646         * elf/dl-tsd.c: Likewise.
43647         * include/errno.h: Likewise.
43648         * include/netdb.h: Likewise.
43649         * include/resolv.h: Likewise.
43650         * inet/herrno-loc.c: Likewise.
43651         * inet/herrno.c: Likewise.
43652         * malloc/arena.c: Likewise.
43653         * malloc/hooks.c: Likewise.
43654         * malloc/malloc.c: Likewise.
43655         * resolv/res-state.c: Likewise.
43656         * resolv/res_libc.c: Likewise.
43657         * sysdeps/i386/dl-machine.h: Likewise.
43658         * sysdeps/ia64/dl-machine.h: Likewise.
43659         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
43660         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
43661         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
43662         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
43663         * sysdeps/sh/dl-machine.h: Likewise.
43664         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
43665         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
43666         * sysdeps/unix/i386/sysdep.S: Likewise.
43667         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43668         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
43669         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
43670         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43671         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
43672         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43673         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43674         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43675         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43676         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43677         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43678         * sysdeps/x86_64/dl-machine.h: Likewise.
43679         * tls.make.c: Likewise.
43680
43681         * configure.in: Remove --with-__thread option.  Make tests for
43682         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
43683         tls_model attribute fail if no support is available.  Remove
43684         USE_IN_LIBIO.
43685         * Makeconfig: Adjust for dropped configure option.  All features are
43686         now mandatory.
43687         * Makerules: Likewise.
43688         * Versions.def: Likewise.
43689         * argp/argp-fmtstream.c: Likewise.
43690         * argp/argp-fmtstream.h: Likewise.
43691         * argp/argp-help.c: Likewise.
43692         * assert/assert.c: Likewise.
43693         * config.h.in: Likewise.
43694         * config.make.in: Likewise.
43695         * configure: Likewise.
43696         * configure.in: Likewise.
43697         * csu/Versions: Likewise.
43698         * csu/init.c: Likewise.
43699         * elf/tst-audit2.c: Likewise.
43700         * elf/tst-tls10.c: Likewise.
43701         * elf/tst-tls10.h: Likewise.
43702         * elf/tst-tls11.c: Likewise.
43703         * elf/tst-tls12.c: Likewise.
43704         * elf/tst-tls14.c: Likewise.
43705         * elf/tst-tlsmod11.c: Likewise.
43706         * elf/tst-tlsmod12.c: Likewise.
43707         * elf/tst-tlsmod13.c: Likewise.
43708         * elf/tst-tlsmod13a.c: Likewise.
43709         * elf/tst-tlsmod14a.c: Likewise.
43710         * elf/tst-tlsmod15b.c: Likewise.
43711         * elf/tst-tlsmod16a.c: Likewise.
43712         * elf/tst-tlsmod16b.c: Likewise.
43713         * elf/tst-tlsmod7.c: Likewise.
43714         * elf/tst-tlsmod8.c: Likewise.
43715         * elf/tst-tlsmod9.c: Likewise.
43716         * gmon/gmon.c: Likewise.
43717         * grp/fgetgrent_r.c: Likewise.
43718         * grp/putgrent.c: Likewise.
43719         * hurd/fopenport.c: Likewise.
43720         * include/libc-symbols.h: Likewise.
43721         * include/tls.h: Likewise.
43722         * intl/gettextP.h: Likewise.
43723         * intl/loadinfo.h: Likewise.
43724         * locale/global-locale.c: Likewise.
43725         * locale/localeinfo.h: Likewise.
43726         * mach/devstream.c: Likewise.
43727         * malloc/arena.c: Likewise.
43728         * malloc/set-freeres.c: Likewise.
43729         * misc/err.c: Likewise.
43730         * misc/getttyent.c: Likewise.
43731         * misc/mntent_r.c: Likewise.
43732         * posix/getopt.c: Likewise.
43733         * posix/wordexp.c: Likewise.
43734         * pwd/fgetpwent_r.c: Likewise.
43735         * resolv/Versions: Likewise.
43736         * resolv/res_hconf.c: Likewise.
43737         * shadow/fgetspent_r.c: Likewise.
43738         * shadow/putspent.c: Likewise.
43739         * stdio-common/printf_fphex.c: Likewise.
43740         * stdio-common/tmpfile.c: Likewise.
43741         * stdlib/abort.c: Likewise.
43742         * stdlib/fmtmsg.c: Likewise.
43743         * sunrpc/auth_unix.c: Likewise.
43744         * sunrpc/clnt_perr.c: Likewise.
43745         * sunrpc/clnt_tcp.c: Likewise.
43746         * sunrpc/clnt_udp.c: Likewise.
43747         * sunrpc/clnt_unix.c: Likewise.
43748         * sunrpc/openchild.c: Likewise.
43749         * sunrpc/svc_simple.c: Likewise.
43750         * sunrpc/svc_tcp.c: Likewise.
43751         * sunrpc/svc_udp.c: Likewise.
43752         * sunrpc/svc_unix.c: Likewise.
43753         * sunrpc/xdr.c: Likewise.
43754         * sunrpc/xdr_array.c: Likewise.
43755         * sunrpc/xdr_rec.c: Likewise.
43756         * sunrpc/xdr_ref.c: Likewise.
43757         * sunrpc/xdr_stdio.c: Likewise.
43758
43759 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43760
43761         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
43762
43763 2011-07-03  Andreas Jaeger  <aj@suse.de>
43764
43765         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
43766         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
43767         regenerate with gen-libm-tests.pl.
43768
43769 2010-05-12  Petr Baudis  <pasky@suse.cz>
43770
43771         [BZ #11589]
43772         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
43773         around j0() zero points by switching to j1().
43774         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43775         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43777         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43778
43779 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43780
43781         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
43782         instead of 0.
43783         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
43784         instead of 0.
43785         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43786         Patch in part by Pavel Roskin <proski@gnu.org>.
43787
43788         [BZ #13138]
43789         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
43790         realloc.
43791         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
43792         Free memory block if necessary.
43793
43794         [BZ #12847]
43795         * libio/genops.c (INTDEF): For string streams the _lock pointer can
43796         be NULL.  Don't lock in this case.
43797
43798 2011-09-09  Roland McGrath  <roland@hack.frob.com>
43799
43800         * elf/elf.h (ELFOSABI_GNU): New macro.
43801         (ELFOSABI_LINUX): Define to that.
43802
43803 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
43804
43805         * string/strncat.c (strncat): Undef the symbol in case it has been
43806         defined in bits/string.h.
43807
43808 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
43809
43810         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
43811
43812         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
43813         link map.
43814
43815 2011-08-17  Andreas Jaeger  <aj@suse.de>
43816
43817         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
43818
43819 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
43820             Ian Lance Taylor  <iant@google.com>
43821
43822         * math/libm-test.inc (lround_test): New testcase.
43823         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
43824
43825 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
43826
43827         * Makefile: Remove support for automatic cvs check-ins.
43828         * Makerules: Likewise.
43829         * config.make.in: Likewise.
43830         * configure.in: Likewise.
43831         * intl/Makefile: Likewise.
43832         * locale/Makefile: Likewise.
43833         * po/Makefile: Likewise.
43834         * posix/Makefile: Likewise.
43835         * sysdeps/gnu/Makefile: Likewise.
43836         * sysdeps/mach/hurd/Makefile: Likewise.
43837         * sysdeps/sparc/sparc32/Makefile: Likewise.
43838
43839         [BZ #13118]
43840         * posix/Makefile (bug-regex32-ENV): Define.
43841         Patch by John Stanley <jpsinthemix@verizon.net>.
43842
43843         * misc/Makefile (headers): Add bits/select2.h.
43844         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
43845         * misc/bits/select2.h: New file.
43846         * include/bits/select2.h: New file.
43847         * debug/Makefile (routines): Add fdelt_chk.
43848         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
43849         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
43850         FD_ISSET.
43851         * debug/fdelt_chk.c: New file.
43852
43853         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
43854         * wcsmbs/test-wmemcmp.c: Likewise.
43855         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
43856         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
43857
43858 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43859
43860         * string/Makefile (strop-tests): Add memcmp.
43861         * string/test-wmemcmp.c: New file.
43862         * string/test-memcmp.c: Add wmemcmp support.
43863
43864 2011-09-08  Roland McGrath  <roland@hack.frob.com>
43865
43866         [BZ #13153]
43867         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
43868         2011-07-19 change.
43869
43870         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
43871         garbage value in a __mach_port_mod_refs call in the cases of the
43872         task-self and thread-self ports.
43873
43874 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43875
43876         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
43877
43878 2011-09-08  Andreas Schwab  <schwab@redhat.com>
43879
43880         * elf/dl-load.c (lose): Check for non-null L.
43881
43882 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43883
43884         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
43885
43886         * elf/dl-libc.c (dlerror_run): Pass back error code from
43887         dl_catch_error.
43888
43889         [BZ #13123]
43890         * elf/dl-load.c (lose): Free l_origin if it is valid.
43891
43892         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
43893         names.
43894         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
43895         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43896         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43897         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43898         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
43899         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
43900
43901 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43902
43903         * sysdeps/powerpc/fpu/e_hypot.c: New file.
43904         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
43905         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
43906         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
43907         * sysdeps/powerpc/fpu/k_cosf.c: New file.
43908         * sysdeps/powerpc/fpu/k_sinf.c: New file.
43909         * sysdeps/powerpc/fpu/s_cosf.c: New file.
43910         * sysdeps/powerpc/fpu/s_sinf.c: New file.
43911         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
43912         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
43913
43914 2011-08-15  Alan Modra  <amodra@gmail.com>
43915
43916         [BZ #13092]
43917         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
43918         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
43919         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
43920         ppc_mcount to static-only-routines.
43921         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
43922         __mcount_internal.
43923         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
43924         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
43925
43926 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
43927
43928         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
43929         for finite and infinity parameters.
43930
43931 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
43932
43933         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
43934         and add nop instructions for throughput optimization.
43935         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
43936
43937 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
43938
43939         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
43940         aligned copy for power7 with vector-scalar instructions.
43941         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
43942
43943 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
43944
43945         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
43946         AVX check.
43947
43948 2011-09-07  Andreas Schwab  <schwab@redhat.com>
43949
43950         [BZ #13144]
43951         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
43952         last change.
43953
43954 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
43955
43956         * sysdeps/unix/sysv/linux/x86_64/init-first.c
43957         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
43958         syscall wrapper around clock_gettime in __vdso_clock_gettime.
43959         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
43960         clock_gettime.
43961
43962 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43963
43964         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
43965         Forgot to demangle the pointer.
43966
43967         * sysdeps/i386/sysdep.h: Define atom_text_section.
43968         * sysdeps/x86_64/sysdep.h: Likewise.
43969         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
43970         section with atom_text_section.
43971         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
43972         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
43973         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
43974         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43975         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
43976
43977         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
43978         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
43979         already be defined.  Change to take two parameters and don't assign
43980         result to variable.  Adjust all users.
43981         Define INTERNAL_GETTIME if not already defined.
43982         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
43983         call.
43984         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
43985         HAVE_CLOCK_GETTIME_VSYSCALL.
43986         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
43987
43988         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
43989         gettimeofday vsyscall, just use time.
43990
43991 2011-09-06  Andreas Schwab  <schwab@redhat.com>
43992
43993         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
43994         <errno.h>.
43995
43996 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
43997
43998         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
43999         syscall on x86-64.
44000         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
44001         syscall.
44002         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
44003         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
44004         syscall if possible.
44005
44006 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44007
44008         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
44009         e_ident.  Don't pass to find_mapsXX.
44010         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
44011
44012 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44013
44014         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44015         strchr-sse2-no-bsf strrchr-sse2-no-bsf
44016         * sysdeps/x86_64/multiarch/strchr.S: Update.
44017         Check bit_slow_BSF bit.
44018         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
44019         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
44020         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
44021
44022 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44023
44024         [BZ #13134]
44025         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
44026         before glibc 2.15.
44027         (tryshell): Define.
44028         (__spawni): Change last parameter to be flag.  Test
44029         SPAWN_XFLAGS_USE_PATH flag to use path or not.
44030         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
44031         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
44032         * posix/spawni.c: Likewise.
44033         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
44034         * posix/spawnp.c: Likewise.  Change normal version to use
44035         SPAWN_XFLAGS_USE_PATH.
44036         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
44037         SPAWN_XFLAGS_TRY_SHELL.
44038
44039         [BZ #13150]
44040         * posix/glob.h: Remove gcc 1.x support.
44041
44042         [BZ #13068]
44043         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
44044
44045 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44046
44047         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44048         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
44049         strrchr-sse2-bsf
44050         * sysdeps/i386/i686/multiarch/strchr.S: New file.
44051         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
44052         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
44053         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
44054         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
44055         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
44056
44057 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44058
44059         * sysdeps/x86_64/wcscmp.S: New file.
44060
44061         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
44062         wcscmp-c wcscmp-sse2
44063         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
44064         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
44065         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
44066         * wcsmbs/wcscmp.c: Allow renaming.
44067
44068 2011-09-05  David S. Miller  <davem@davemloft.net>
44069
44070         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
44071         stack slot, rather than the struct return pointer slot.
44072         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
44073         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
44074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
44075         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
44076
44077 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
44078
44079         * po/ja.po: Update from translation team.
44080
44081         [BZ #13144]
44082         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
44083         kernel in 64-bit binaries.
44084
44085 2011-09-01  David S. Miller  <davem@davemloft.net>
44086
44087         * elf/elf.h (HWCAP_SPARC_*): Move to..
44088         * sysdeps/sparc/sysdep.h: this new file and add new values.
44089         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
44090         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
44091         _DL_HWCAP_COUNT to 24.
44092         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
44093         entries.
44094         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
44095         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
44096         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
44097         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
44098         instead of magic constants.
44099         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44100
44101 2011-08-31  David S. Miller  <davem@davemloft.net>
44102
44103         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
44104         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
44105         Reimplement to do errno handling inline.
44106         (SYSCALL_ERROR_HANDLER): New macro.
44107         (__SYSCALL_STRING): Do not do errno handling in asm.
44108         (__CLONE_SYSCALL_STRING): Delete.
44109         (__INTERNAL_SYSCALL_STRING): Delete.
44110         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
44111         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
44112         (PSEUDO): Reimplement to do errno handling inline.
44113         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
44114         (SYSCALL_ERROR_HANDLER): New macro.
44115         (__SYSCALL_STRING): Do not do errno handling in asm.
44116         (__CLONE_SYSCALL_STRING): Delete.
44117         (__INTERNAL_SYSCALL_STRING): Delete.
44118         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
44119         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
44120         i386.
44121         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
44122         (inline_syscall*): Add 'err' argument.
44123         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
44124         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
44125         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
44126         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
44127
44128         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
44129         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44130
44131 2011-08-30  Andreas Schwab  <schwab@redhat.com>
44132
44133         * elf/rtld.c (dl_main): Relocate objects in dependency order.
44134
44135 2011-08-29  Jiri Olsa <jolsa@redhat.com>
44136
44137         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
44138         directive.
44139
44140 2011-08-24  David S. Miller  <davem@davemloft.net>
44141
44142         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
44143
44144 2011-08-24  Andreas Schwab  <schwab@redhat.com>
44145
44146         * elf/Makefile: Add rules to build and run unload8 test.
44147         * elf/unload8.c: New file.
44148         * elf/unload8mod1.c: New file.
44149         * elf/unload8mod1x.c: New file.
44150         * elf/unload8mod2.c: New file.
44151         * elf/unload8mod3.c: New file.
44152
44153         * elf/dl-close.c (_dl_close_worker): Reset private search list if
44154         it wasn't used.
44155
44156 2011-08-23  David S. Miller  <davem@davemloft.net>
44157
44158         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
44159         subtract stack bias.
44160         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
44161         %sp not %fp in calculations.
44162         (_JMPBUF_UNWINDS_ADJ): Likewise.
44163
44164         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
44165         (aio_suspend): Call it to force an exception region around the
44166         AIO_MISC_WAIT() invocation.
44167
44168 2011-08-23  Andreas Schwab  <schwab@redhat.com>
44169
44170         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
44171         backslash.
44172
44173 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
44174
44175         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
44176         protection macro.
44177         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
44178         and <dl-machine.h>.
44179         (Elf64_FuncDesc): Remove.
44180
44181 2011-08-22  David S. Miller  <davem@davemloft.net>
44182
44183         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
44184         sigaltstack check, add missing cfi directives.
44185         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
44186         missing cfi directives, and sigaltstack handling.
44187
44188 2011-08-16  Andreas Schwab  <schwab@redhat.com>
44189
44190         [BZ #11724]
44191         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
44192         object is seen twice.
44193         * elf/dl-fini.c (_dl_sort_fini): Likewise.
44194
44195         * elf/Makefile (distribute): Add tst-initorder2.c.
44196         (tests): Add tst-initorder2.
44197         (modules-names): Add tst-initorder2a tst-initorder2b
44198         tst-initorder2c tst-initorder2d.  Add rules to build them.
44199         ($(objpfx)tst-initorder2.out): New rule.
44200         * elf/tst-initorder2.c: New file.
44201         * elf/tst-initorder2.exp: New file.
44202
44203 2011-08-22  Andreas Schwab  <schwab@redhat.com>
44204
44205         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
44206
44207         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
44208         dependencies back to end of function.
44209
44210         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44211         $(elfobjdir)/ld.so.
44212
44213 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
44214
44215         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
44216         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
44217         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
44218         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
44219         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
44220         of __vdso_gettimeofday.
44221         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
44222         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
44223         attribute_hidden.
44224         (_libc_vdso_platform_setup): Remove initialization of
44225         __vdso_gettimeofday and __vdso_time.
44226
44227 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44228
44229         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
44230         and fgetc_unlocked.
44231         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
44232         getc_unlocked.
44233
44234         * elf/dl-open.c (add_to_global): Report additions to the global scope
44235         for LD_DEBUG=scopes.
44236         (dl_open_worker): Also print scope of newly loaded dependencies.
44237         (_dl_show_scope): Indicate if there is no scope.
44238
44239         [BZ #13114]
44240         * stdio-common/Makefile (tests): Add bug24.
44241         * stdio-common/bug24.c: New file.
44242
44243 2011-08-19  Andreas Jaeger  <aj@suse.de>
44244
44245         [BZ #13114]
44246         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
44247         non-existant file when using close-on-exec mode.
44248
44249 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
44250
44251         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
44252         the very first instruction.
44253
44254         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
44255         the CFI state in the end.
44256         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
44257         inclusion of dl-trampoline.h.
44258         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
44259
44260 2011-08-19  Andreas Schwab  <schwab@redhat.com>
44261
44262         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
44263         expectations for long double.
44264
44265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
44266         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
44267
44268 2011-08-14  David S. Miller  <davem@davemloft.net>
44269
44270         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
44271         artificual limit depends upon the system page size.
44272
44273 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44274
44275         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
44276         * resolv/Makefile: Define CFLAGS-libresolv.
44277
44278 2011-08-17  Andreas Schwab  <schwab@redhat.com>
44279
44280         * nss/makedb.c (compute_tables): Make variables used in nested
44281         function static.
44282
44283 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
44284
44285         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
44286         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
44287         if buffer was too small.
44288
44289         * elf/pldd.c (main): Attach to all threads in the process.
44290         Rewrite /proc handling to use *at functions.
44291
44292 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
44293
44294         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
44295         specifies first scope to show.
44296         (dl_open_worker): Update callers.  Move printing scope of new
44297         object to before the relocation.
44298         * elf/rtld.c (dl_main): Update _dl_show_scope call.
44299         * sysdeps/generic/ldsodefs.h: Update declaration.
44300
44301         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
44302         string for the scope number.
44303
44304 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
44305
44306         * nscd/servicescache.c (cache_addserv): Make sure written is always
44307         initialized.
44308
44309 2011-08-14  Roland McGrath  <roland@hack.frob.com>
44310
44311         * sysdeps/i386/i486/bits/atomic.h
44312         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
44313         statement expression, so as to suppress "set but not used" warning.
44314         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
44315
44316         * string/strncat.c (STRNCAT): Use prototype definition.
44317
44318         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
44319         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
44320         -Iprograms here.
44321         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
44322         (localedef-modules): Add localedef.
44323         (locale-modules): Add locale.
44324
44325         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
44326         * elf/rtld.c (dl_main): Invert order of assignment in last change,
44327         to avoid a warning.
44328
44329 2011-08-14  David S. Miller  <davem@davemloft.net>
44330
44331         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
44332         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
44333
44334 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
44335
44336         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
44337         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
44338         * elf/rtld.c (dl_main): Set l_name of vDSO.
44339         Call _dl_show_scope when DL_DEBUG_SCOPES.
44340         (process_dl_debug): Recognize scopes flag and also set it for all.
44341         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
44342         Declare _dl_show_scope.
44343
44344         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
44345         (do_dlopen): Pass caller_dlopen to dl_open.
44346         (__libc_dlopen_mode): Initialize caller_dlopen.
44347
44348         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
44349         of libc.  Make tolower call locale-independent.  Optimize a bit by
44350         using isdigit instead of isalnum.
44351         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
44352
44353 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
44354
44355         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
44356         was a dependency or dynamically loaded.
44357
44358 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
44359
44360         * intl/l10nflist.c: Allow architecture-specific pop function.
44361         * sysdeps/x86_64/l10nflist.c: New file.
44362
44363         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
44364         classification.
44365
44366 2011-08-10  Andreas Schwab  <schwab@redhat.com>
44367
44368         * include/dirent.h: Add libc_hidden_proto for scandirat and
44369         scandirat64.  Don't declare __scandirat64.
44370         * dirent/scandirat.c: Add libc_hidden_def.
44371         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
44372         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
44373
44374 2011-08-10  David S. Miller  <davem@davemloft.net>
44375
44376         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
44377         enum.
44378         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44379         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44380         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44381
44382 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
44383
44384         * Versions.def [libc]: Add GLIBC_2.15.
44385         * dirent/Makefile (routines): Add scandirat and scandirat64.
44386         * dirent/Versions [libc]: Export scandirat and scandirat64 for
44387         GLIBC_2.15.
44388         * dirent/dirent.h: Declare scandirat and scandirat64.
44389         * dirent/scandirat.c: New file.
44390         * dirent/scandirat64.c: New file.
44391         * sysdeps/wordsize-64/scandirat.c: New file.
44392         * sysdeps/wordsize-64/scandirat64.c: New file.
44393         * dirent/opendir.c: Define opendirat.
44394         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
44395         using scandirat.
44396         * dirent/scandir64.c: Adjust for scandir.c change.
44397         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
44398         __scandirat64, and __scandir_cancel_handler.
44399         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
44400         additional parameter and use openat instead of open (outside of ld.so).
44401         Add new __opendir as wrapper around __opendirat.
44402         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
44403         here without requiring old scandirat implementation.
44404
44405 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
44406
44407         * dirent/scandir.c (cancel_handler): Renamed to
44408         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
44409         defined.  Adjust users.
44410         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
44411         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
44412
44413 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
44414
44415         * string/test-string.h (IMPL): Use __STRING to expand name and then
44416         stringify it.
44417
44418         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
44419         of cleanups.
44420
44421 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44422
44423         * string/Makefile: Update.
44424         (strop-tests): Append strncat.
44425         * string/test-wcscmp.c: New file.
44426         New comprehensive test for wcscmp.
44427         * string/test-strcmp.c: Update.
44428         (WIDE): New define.
44429
44430 2011-07-22  Andreas Schwab  <schwab@redhat.com>
44431
44432         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
44433         line.
44434
44435 2011-07-26  Andreas Schwab  <schwab@redhat.com>
44436
44437         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
44438         encoding to ACE if AI_IDN.
44439
44440 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
44441
44442         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
44443         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
44444
44445 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44446
44447         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
44448         Fix overflow bug in strncat.
44449         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
44450
44451         * string/test-strncat.c: Update.
44452         Add new tests for checking overflow bugs.
44453
44454 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44455
44456         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44457         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
44458         * sysdeps/i386/i686/multiarch/strcat.S: New file.
44459         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
44460         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
44461         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
44462         * sysdeps/i386/i686/multiarch/strncat.S: New file.
44463         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
44464         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
44465
44466         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
44467         (USE_AS_STRCAT): Define.
44468         Add strcat and strncat support.
44469         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
44470
44471 2011-07-25  Andreas Schwab  <schwab@redhat.com>
44472
44473         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
44474         __n bigger than INT_MAX+1.
44475         (__strncmp_g): Likewise.
44476
44477 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
44478
44479         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
44480         * libio/stido.h: Likewise.
44481
44482         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
44483         (AF_NFC): Define.
44484         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
44485         (AF_NFC): Define.
44486
44487         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
44488         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
44489         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
44490         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
44491         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
44492
44493         [BZ #13021]
44494         * scripts/test-installation.pl: Don't expect libnss_test1 to be
44495         installed.
44496
44497         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
44498         typo.
44499         (_dl_x86_64_save_sse): Likewise.
44500
44501 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
44502
44503         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
44504         OSXSAVE.
44505         (_dl_x86_64_save_sse): Likewise.
44506
44507         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
44508
44509         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
44510
44511 2011-07-21  Andreas Schwab  <schwab@redhat.com>
44512
44513         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
44514         change.
44515         (_dl_x86_64_save_sse): Use correct AVX check.
44516
44517 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
44518
44519         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
44520         bug in strncpy/strncat.
44521         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
44522
44523 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
44524
44525         * string/tester.c (test_strcat): Add tests for different alignments
44526         of source and destination.
44527         (test_strncat): Likewise.
44528
44529 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44530
44531         [BZ #12852]
44532         * posix/glob.c (glob): Check passed in values before using them in
44533         expressions to avoid some overflows.
44534         (glob_in_dir): Likewise.
44535
44536         [BZ #13007]
44537         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
44538         check for AVX enablement so that we don't crash with old kernels and
44539         new hardware.
44540         * elf/tst-audit4.c: Add same checks here.
44541         * elf/tst-audit6.c: Likewise.
44542
44543         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
44544
44545 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
44546
44547         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
44548
44549 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
44550
44551         * po/cs.po: Update from translation team.
44552         * po/bg.po: Likewise.
44553
44554 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
44555
44556         * misc/sys/cdefs.h: Add support for const attribute.
44557         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
44558         to gnu_dev_{major,minor,makedev} functions.
44559
44560 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
44561
44562         * intl/dcigettext.c (get_output_charset): Add missing bracket.
44563
44564 2011-07-20  Andreas Schwab  <schwab@redhat.com>
44565
44566         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
44567         strlen results.
44568
44569 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44570
44571         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
44572         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
44573         register in order to avoid conflicts with the soft frame pointer
44574         being held in r11 when necessary.
44575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
44576         (INTERNAL_VSYSCALL_NCS): Likewise.
44577
44578 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
44579
44580         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
44581         * elf/dl-fini.c (_dl_fini): Adjust caller.
44582         * elf/dl-close.c (_dl_close_worker): Likewise.
44583         * sysdeps/generic/ldsodefs.h: Adjust declaration.
44584
44585 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44586
44587         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
44588         "aux_cache->nlibs < 0".
44589
44590         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
44591         in the reload-count case.
44592
44593 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
44594
44595         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44596         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
44597         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
44598         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
44599         * sysdeps/x86_64/multiarch/strcat.S: New file.
44600         * sysdeps/x86_64/multiarch/strncat.S: New file.
44601         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
44602         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
44603         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
44604         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
44605         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
44606         (USE_AS_STRCAT): Define.
44607         Add strcat and strncat support.
44608         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
44609         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
44610         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
44611         * string/strncat.c: Update.
44612         (USE_AS_STRNCAT): Define.
44613         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44614         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
44615         and i7.
44616         * sysdeps/x86_64/multiarch/init-arch.h
44617         (bit_Prefer_PMINUB_for_stringop): New.
44618         (index_Prefer_PMINUB_for_stringop): Likewise.
44619         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
44620         bit_Prefer_PMINUB_for_stringop.
44621
44622 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44623
44624         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
44625         buffer64.
44626         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
44627         of casting of buffer.
44628         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
44629         buffer32 and buffer64.
44630         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
44631         writes instead of casting of buffer.
44632         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
44633         buffer32.
44634         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
44635         casting of buffer.
44636
44637 2011-07-19  Andreas Schwab  <schwab@redhat.com>
44638
44639         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
44640
44641 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
44642
44643         * nscd/nscd.c (termination_handler): Don't do anything for a database
44644         if it has not yet been initialized.
44645
44646 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44647
44648         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44649
44650 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
44651
44652         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
44653
44654 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
44655
44656         * po/nl.po: Update from translation team.
44657         * po/sv.po: Likewise.
44658
44659 2011-07-16  Roland McGrath  <roland@hack.frob.com>
44660
44661         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
44662         now disallowed by GCC.
44663
44664         * configure.in (use-default-link): Default to yes if a test -shared
44665         link meets our qualifications.
44666         * configure: Regenerated.
44667
44668         * config.make.in (output-format): New variable.
44669         * configure.in: Check for ld --print-output-format support.
44670         * configure: Regenerated.
44671         * Makerules ($(common-objpfx)format.lds)
44672         [$(output-format) != unknown]: Just use $(output-format),
44673         instead of the linker-script munging.
44674
44675 2011-07-14  Roland McGrath  <roland@hack.frob.com>
44676
44677         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
44678         of $(common-objpfx)shlib.lds.
44679         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
44680
44681         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
44682         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
44683
44684         * configure.in (-z relro check): Adjust test code to add a large
44685         writable data section after it.
44686         * configure: Regenerated.
44687
44688 2011-07-11  Roland McGrath  <roland@hack.frob.com>
44689
44690         * configure.in (-z relro check): Fix test code to make the variable
44691         truly const.
44692         * configure: Regenerated.
44693
44694 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
44695
44696         * nscd/nscd.h (struct traced_file): Define.
44697         (struct database_dyn): Remove inotify_descr, reset_res, and filename
44698         elements.  Add traced_files.
44699         (inotify_fd): Declare.
44700         (register_traced_file): Declare.
44701         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
44702         (inotify_fd): Export.
44703         (resolv_conf_descr): Remove.
44704         (nscd_init): Move inotify descriptor creation to main.
44705         Don't register files for notification here.
44706         (register_traced_file): New function.
44707         (invalidate_cache): Don't use reset_res to determine whether to call
44708         res_init, go through the list of registered files.
44709         (main_loop_poll): The inotify descriptors are now stored in the
44710         structures for the traced files.
44711         (main_loop_epoll): Likewise
44712         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
44713         to __nss_disable_nscd.
44714         * nscd/cache.c (prune_cache): There is no single inotify descriptor
44715         for a database anymore.  Check the records for all the registered
44716         files instead.
44717         * nss/Makefile (libnss_files-routines): Add files-init.
44718         (libnss_db-routines): Add db-init.
44719         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
44720         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
44721         * nss/nss_db/db-init.c: New file.
44722         * nss/nss_files/files-init.c: New file.
44723         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
44724         __nss_lookup_function.
44725         (__nss_lookup_function): Call nss_load_library.
44726         (nss_load_all_libraries): New function.
44727         (__nss_disable_nscd): Take parameter with callback function for files
44728         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
44729         used for the cached services.
44730         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
44731         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
44732         options for features to all the files in nscd.
44733
44734         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
44735
44736 2011-07-10  Roland McGrath  <roland@hack.frob.com>
44737
44738         * csu/elf-init.c (__libc_csu_init): Comment typo.
44739
44740 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
44741
44742         * po/pl.po: Update from translation team.
44743         * po/ja.po: Likewise.
44744         * po/ru.po: Likewise.
44745         * po/ko.po: Likewise.
44746         * po/fr.po: Likewise.
44747
44748 2011-07-09  Roland McGrath  <roland@hack.frob.com>
44749
44750         * configure.in (.ctors/.dtors header and trailer check):
44751         Use an empirical test on a built program.
44752         * configure: Regenerated.
44753
44754         * configure.in (-z relro check): Use an empirical test on a built DSO.
44755         Detect, but do not require, on ia64.
44756         * configure: Regenerated.
44757
44758         * configure.in (READELF): Find it with AC_CHECK_TOOL.
44759         Update tests that use readelf to use $READELF instead.
44760         * configure: Regenerated.
44761
44762 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
44763
44764         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
44765         if the result is not used.
44766
44767 2011-07-05  Andreas Jaeger  <aj@suse.de>
44768
44769         [BZ#9696]
44770         * stdlib/tst-strtod.c: Add testcase.
44771
44772 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
44773
44774         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
44775         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
44776         The latter has a higher limit.  Take additional parameter to pass to
44777         the new function.
44778         (__pathconf): Pass file to __statfs_link_max.
44779         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
44780         __statfs_link_max.
44781         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
44782         __statfs_link_max.
44783
44784         [BZ #12868]
44785         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
44786         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44787         Handle Lustre.
44788         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
44789         (__statfs_filesize_max): Likewise.
44790         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
44791
44792 2011-07-05  Andreas Jaeger  <aj@suse.de>
44793
44794         * resolv/res_comp.c (dn_skipname): Remove unused variable.
44795
44796 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
44797
44798         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
44799         `status' variable.
44800         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
44801         Likewise.
44802
44803 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
44804
44805         * Makefile (strop-tests): Add strncat.
44806         * string/test-strncat.c: New file.
44807
44808 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
44809
44810         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
44811
44812 2011-06-21  Andreas Jaeger  <aj@suse.de>
44813
44814         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
44815         Copy rule from iconvdata/Makefile.
44816
44817 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44818
44819         [BZ #12922]
44820         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
44821         but no long options are defined, just return 'W'.
44822
44823 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
44824
44825         [BZ #9696]
44826         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
44827
44828 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
44829
44830         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
44831         netgroups to read.
44832         (innetgr): Likewise.
44833
44834 2011-07-05  Roland McGrath  <roland@hack.frob.com>
44835
44836         * config.make.in (install_root): Default to $(DESTDIR).
44837
44838 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
44839
44840         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
44841
44842 2011-07-02  Roland McGrath  <roland@hack.frob.com>
44843
44844         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
44845
44846         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
44847         containing directory rather than embedding absolute directory names.
44848
44849         * scripts/check-local-headers.sh: Rewritten using awk.
44850         Match by word, not by line.  Print error messages for matches.
44851         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
44852
44853         * Makerules [shlib-lds-flags empty]:
44854         ($(common-objpfx)libc_pic.opts): New target.
44855         ($(common-objpfx)libc_pic.os.clean): New target.
44856         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
44857
44858         * config.make.in (OBJCOPY): New variable.
44859         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
44860         * configure: Regenerated.
44861
44862         * config.make.in (use-default-link): New variable.
44863         * configure.in (use_default_link): Grok --with-default-link to set it.
44864         * configure: Regenerated.
44865         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
44866         (shlib-lds, shlib-lds-flags): Define to empty.
44867
44868         * Makerules (shlib-lds): New variable.
44869         (shlib-lds-flags): New variable.
44870         (build-shlib, build-moduile, build-module-asneeded): Use it.
44871         ($(common-objpfx)libc.so): Use $(shlib-lds).
44872         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
44873         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
44874
44875         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
44876         DT_FLAGS/DT_FLAGS_1 with zero flags.
44877
44878         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
44879         linker script munging.
44880
44881 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
44882
44883         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
44884         as 128-bit value.
44885         * crypt/sha512.c (sha512_process_block): Perform total addition using
44886         128-bit if possible.
44887         (__sha512_finish_ctx): Likewise.
44888         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
44889         as 64-bit value.
44890         * crypt/sha256.c (SWAP64): Define.
44891         (sha256_process_block): Perform total addition using 64-bit if
44892         possible.
44893         (__sha256_finish_ctx): Likewise.
44894
44895 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
44896
44897         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
44898         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44899         * nscd/hstcache.c (cache_addhst): Likewise.
44900         * nscd/grpcache.c (cache_addgr): Likewise.
44901         * nscd/aicache.c (addhstaiX): Likewise
44902         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
44903
44904 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
44905
44906         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
44907         * nscd/initgrcache.c (addinitgroupsX): Likewise.
44908         * nscd/hstcache.c (cache_addhst): Likewise.
44909         * nscd/grpcache.c (cache_addgr): Likewise.
44910         * nscd/aicache.c (addhstaiX): Likewise
44911
44912 2011-07-01  Andreas Schwab  <schwab@redhat.com>
44913
44914         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
44915         domain only when needed.
44916
44917 2011-06-30  Andreas Schwab  <schwab@redhat.com>
44918
44919         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
44920         is always restored.
44921
44922 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
44923
44924         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
44925         are re-adding the entry.
44926         * nscd/servicescache.c (cache_addserv): Likewise.
44927
44928 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
44929
44930         * sysdeps/generic/dl-irel.h: fix protection against multiple
44931         inclusions.
44932         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
44933
44934 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
44935
44936         [BZ #12935]
44937         * malloc/memusage.sh: Fix quoting in message.
44938         * debug/xtrace.sh: Likewise.
44939
44940         * configure.in: Remove support for --experimental-malloc option, make
44941         it the default.
44942         * config.make.in: Likewise.
44943         * malloc/Makefile: Likewise.
44944
44945 2011-06-27  Andreas Schwab  <schwab@redhat.com>
44946
44947         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
44948         two-byte characters.
44949
44950 2011-06-27  Roland McGrath  <roland@hack.frob.com>
44951
44952         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
44953         AC_CACHE_CHECK invocation.
44954         * configure: Regenerated.
44955
44956         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
44957
44958 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
44959
44960         [BZ #12350]
44961         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
44962         bit from old_res_options.
44963
44964         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
44965
44966         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
44967         value type for setfct.
44968
44969 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
44970
44971         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
44972         __gettimeofday instead of gettimeofday.
44973
44974 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
44975
44976         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
44977
44978 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
44979
44980         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
44981
44982         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
44983         info.
44984
44985 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
44986
44987         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44988         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
44989         strcpy-sse2-unaligned strncpy-sse2-unaligned
44990         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
44991         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
44992         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
44993         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
44994         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
44995         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
44996         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
44997         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
44998         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
44999         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
45000         (STRCPY): Support SSE2 and SSSE3 versions.
45001
45002 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
45003
45004         [BZ #12874]
45005         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
45006         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
45007         kernels which artificially limit size of requests.
45008
45009 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
45010
45011         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
45012         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
45013         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
45014         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
45015         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
45016         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
45017         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
45018         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
45019         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
45020         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
45021         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
45022         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
45023         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
45024         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
45025         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
45026         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45027         Enable unaligned load optimization for Intel Core i3, i5 and i7
45028         processors.
45029         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
45030         Define.
45031         (index_Fast_Unaligned_Load): Define.
45032         (HAS_FAST_UNALIGNED_LOAD): Define.
45033
45034 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
45035
45036         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
45037
45038 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45039
45040         [BZ #12907]
45041         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
45042         until it is clear that the information is realy needed.
45043         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
45044
45045 2011-06-22  Andreas Schwab  <schwab@redhat.com>
45046
45047         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
45048
45049 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
45050
45051         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
45052         /sys/devices/system/cpu/online if it is usable.
45053
45054         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
45055         reading the information from the /proc filesystem to once a second.
45056
45057 2011-06-21  Andreas Jaeger  <aj@suse.de>
45058
45059         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
45060         NULL after inclusion of kernel headers.
45061
45062 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
45063
45064         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
45065         calls to internal_setent.
45066
45067         [BZ #12885]
45068         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
45069         addresses using gethostbyname4_r ignore IPv4 addresses.
45070
45071         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
45072         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
45073
45074         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
45075
45076 2011-06-20  David S. Miller  <davem@davemloft.net>
45077
45078         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
45079         inclusions.
45080         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
45081
45082         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
45083         (elf_irel): Use it.
45084         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
45085         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
45086         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
45087         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
45088         * sysdeps/x86_64/dl-irel.h: Likewise.
45089
45090         * elf/dl-runtime.c: Use elf_ifunc_invoke.
45091         * elf/dl-sym.c: Likewise.
45092
45093 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45094
45095         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
45096         need to dereference resplen2.
45097
45098 2011-06-14  Andreas Schwab  <schwab@redhat.com>
45099
45100         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
45101
45102 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
45103
45104         * Makeconfig: Define vardbdir and inst_vardbdir.
45105         * nss/Makefile: Add rules to install db-Makefile.
45106
45107         * nss/nss_db/db-XXX.c: Cleanup.
45108
45109         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
45110         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
45111         GLIBC_PRIVATE.
45112         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
45113         * nss/makedb.c: Implement -g option to specify that value strings
45114         are generated and should not be added to table iterated over for
45115         get*ent calls.
45116         * nss/nss_db/db-initgroups.c: New file.
45117
45118         * nss/getent.c: Add support for initgroups lookups through getgrouplist
45119         interface.
45120
45121         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
45122         (internal_getgrouplist): Adjust to name change.
45123         Update use_initgroups_entry if this is not the first call.
45124         * nss/databases.def: Add initgroups entry.
45125
45126         * nss/makedb.c (compute_tables): Check result of multiple hash table
45127         sizes to minimize maximum chain length.
45128
45129 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
45130
45131         * Versions.def: Add entry for libnss_db.
45132         * shlib-versions: Likewise.
45133         * nss/Makefile: Add rules to build libnss_db.
45134         * nss/Versions: Add libnss_db information.  Organize libnss_files
45135         entries better.
45136         * nss/db-Makefile: Add gshadow support.  Change rules for the new
45137         makedb progra.  Some minor improvements to generate smaller files.
45138         * nss/nss_db/nss_db.h: Move NSS database header data structures to
45139         here from...
45140         * nss/makedb.c: ...here.
45141         Improve database format to be smaller and require less memory at
45142         runtime.
45143         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
45144         db anymore.
45145         * nss/nss_db/db-netgrp.c: Likewise.
45146         * nss/nss_db/db-open.c: Likewise.
45147         * nss/nss_files/flies-XXX.x: Adjust comments.
45148         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
45149         * nss/nss_files/files-grp.c: Likewise.
45150         * nss/nss_files/files-hosts.c: Likewise.
45151         * nss/nss_files/files-network.c: Likewise.
45152         * nss/nss_files/files-proto.c: Likewise.
45153         * nss/nss_files/files-pwd.c: Likewise.
45154         * nss/nss_files/files-rpc.c: Likewise.
45155         * nss/nss_files/files-service.c: Likewise.
45156         * nss/nss_files/files-sgrp.c: Likewise.
45157         * nss/nss_files/files-spwd.c: Likewise.
45158         * nss/nss_db/db-alias.c: Removed.
45159         * nss/nss_db/dummy-db.h: Removed.
45160
45161 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
45162
45163         * nss/makedb.c: Rewritten to not use database library.
45164         * nss/Makefile: Update to build new makedb program.
45165
45166 2011-06-14  Andreas Jaeger  <aj@suse.de>
45167
45168         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
45169         memset declaration.
45170
45171 2011-06-10  Andreas Schwab  <schwab@redhat.com>
45172
45173         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
45174         tmpbuf.
45175
45176 2011-06-10  Roland McGrath  <roland@hack.frob.com>
45177
45178         * Makerules (shlib.lds): Fail if the linker script comes out empty.
45179         * elf/Makefile ($(objpfx)ld.so): Likewise.
45180
45181         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
45182         Don't list ld.so twice in dependencies.
45183
45184         * posix/bug-regex31.c: Include <stdlib.h>.
45185
45186         * nscd/hstcache.c (cache_addhst): Remove unused variable.
45187
45188         * nis/nss_compat/compat-spwd.c
45189         (getspent_next_nss_netgr): Remove unused variable.
45190         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
45191
45192         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
45193         nonmembers" output to use the right array.
45194
45195         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
45196
45197         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
45198
45199         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
45200         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
45201         * catgets/gencat.c (read_input_file): Likewise.
45202         * locale/programs/locarchive.c (enlarge_archive): Likewise.
45203
45204         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
45205         variable definition inside #if's controlling its use.
45206
45207         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
45208
45209         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
45210
45211         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
45212
45213         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
45214         unreachable code.
45215
45216         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
45217
45218         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
45219         * configure: Regenerated.
45220
45221         * Makerules: Revert last change.
45222         * elf/Makefile: Likewise.
45223
45224 2011-06-09  Roland McGrath  <roland@hack.frob.com>
45225
45226         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
45227         * elf/Makefile ($(objpfx)librtld.os): Likewise.
45228         (reloc-link): Likewise.
45229
45230 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
45231
45232         * elf/Makefile: Add rules to build pldd.
45233         * elf/pldd.c: New file.
45234         * elf/pldd-xx.c: New file.
45235
45236 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
45237
45238         * version.h: Update for 2.15 development version.
45239
45240 2011-06-07  David S. Miller  <davem@davemloft.net>
45241
45242         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
45243         ifuncs.
45244         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
45245         elf_machine_lazy_rel): Likewise.
45246         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
45247         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
45248         elf_machine_lazy_rel): Likewise.
45249         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
45250         dl_hwcap via passed in argument.
45251         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
45252         Likewise.
45253
45254 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45255
45256         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
45257
45258 2011-06-06  Roland McGrath  <roland@hack.frob.com>
45259
45260         [BZ #12849]
45261         * manual/fdl-1.1.texi: New file, verbatim from:
45262         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
45263         * manual/lgpl-2.1.texi: New file, verbatim from:
45264         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
45265         * manual/Makefile (licenses): New variable, list those new file names.
45266         (texis): Use it.
45267         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
45268
45269         * manual/fdl.texi: File removed.
45270         * manual/lesser.texi: File removed.
45271         * manual/libc.texinfo (Copying, Documentation License):
45272         Use new @include file names, put @appendix directive before @include.
45273
45274 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
45275
45276         [BZ #12841]
45277         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
45278         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
45279         (mq_open): Add __NTH.
45280
45281 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
45282
45283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45284         Assume Intel Core i3/i5/i7 processor if AVX is available.
45285
45286 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45287
45288         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45289         typo.
45290
45291 2011-05-31  Andreas Schwab  <schwab@redhat.com>
45292
45293         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
45294         memory.  Use alloca_account.  Fix memory leak when retrying.
45295
45296 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
45297
45298         * version.h (RELEASE): Bump for 2.14 release.
45299         * include/features.h (__GLIBC_MINOR__): Bump to 14.
45300
45301         * config.make.in (RANLIB): Remove entry.
45302
45303 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
45304
45305         * po/Makefile (po-sed-cmd): Add ksh to extensions.
45306         (libc.pot): Work around missing support for .ksh extension in xgettext.
45307
45308         [BZ #12684]
45309         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
45310         if both request failed.
45311         (send_dg): In case of server errors clear resplen or *resplen2.
45312
45313         [BZ #12454]
45314         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
45315         when there are multiple maps.
45316         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
45317         (_dl_fini): Remove test here.
45318
45319         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
45320
45321 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
45322
45323         [BZ #12350]
45324         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
45325         bit from old_res_options.
45326         (gaih_inet): Likewise.
45327
45328         [BZ #11099]
45329         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
45330         as signed.
45331
45332         * resolv/res_init.c (res_setoptions): Make the code more compact.
45333
45334         [BZ #11558]
45335         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
45336         set RES_USEVC.
45337
45338         [BZ #11634]
45339         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
45340
45341         * malloc/malloc.h: Mark malloc hook variables as deprecated.
45342
45343         [BZ #11781]
45344         * malloc/malloc.h: Declare malloc hook variables as volatile.
45345
45346         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
45347         in last patch.
45348
45349         [BZ #11799]
45350         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
45351         raise in the comment.
45352         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
45353         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
45354         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
45355
45356 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
45357
45358         [BZ #12811]
45359         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
45360         grow the buffers more if it already has to be sufficient.
45361         (build_wcs_upper_buffer): Likewise.
45362         * posix/regexec.c (check_matching): Likewise.
45363         (clean_state_log_if_needed): Likewise.
45364         (extend_buffers): Don't enlarge buffers beyond size of the input
45365         buffer.
45366         Patches mostly by Emil Wojak <emil@wojak.eu>.
45367         * posix/bug-regex32.c: New file.
45368         * posix/Makefile (tests): Add bug-regex32.
45369
45370         * locale/findlocale.c (_nl_find_locale): Return right away if
45371         _nl_explode_name failed.
45372         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
45373
45374         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
45375
45376         * debug/xtrace.sh: Unify messages.
45377         * malloc/memusage.sh: Likewise.
45378
45379         [BZ #12813]
45380         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
45381         time symbol from vDSO.  Substitute with vsyscall if not available.
45382         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
45383         __vdso_time.
45384
45385         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
45386         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
45387         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
45388         Add sendmmsg and internal_sendmmsg.
45389         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
45390         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
45391         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
45392
45393         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
45394         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
45395         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
45396
45397 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
45398
45399         [BZ #12813]
45400         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
45401         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
45402         available.
45403         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
45404         __vdso_getcpu.
45405
45406         [BZ #12814]
45407         * iconvdata/Makefile (tests): Add bug-iconv9.
45408         * iconvdata/bug-iconv9.c: New file.
45409
45410 2011-05-27  Andreas Schwab  <schwab@redhat.com>
45411
45412         [BZ #12814]
45413         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
45414
45415 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
45416
45417         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45418         (struct user_regs_struct): Change intcs field back to cs.
45419
45420 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
45421
45422         * po/ja.po: Update from translation team.
45423
45424 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
45425
45426         [BZ #12795]
45427         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
45428         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
45429
45430 2011-05-20  Andreas Schwab  <schwab@redhat.com>
45431
45432         * stdlib/longlong.h: Update from GCC.
45433
45434 2011-05-23  Andreas Schwab  <schwab@redhat.com>
45435
45436         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
45437         parameter name.
45438         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
45439         Add parameter name.
45440         (__sysconf): Pass it down.
45441
45442 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
45443
45444         [BZ #12671]
45445         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
45446         some situations.
45447         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
45448         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
45449         add in in __libc_use_alloca calls.  Adjust callers.
45450         (glob): Use malloc in some situations.
45451
45452         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
45453         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
45454         pltexit.
45455
45456 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
45457
45458         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
45459         and CLOCK_BOOTTIME_ALARM.
45460
45461         [BZ #12782]
45462         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
45463         is returned.
45464
45465         * string/_strerror.c (__strerror_r): Print negative errors as signed
45466         numbers.
45467
45468         [BZ #12777]
45469         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
45470         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
45471         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
45472
45473         * configure.in: Fix typo in redirection and correct removal of test
45474         files in two cases.
45475
45476         [BZ #12788]
45477         * locale/setlocale.c (new_composite_name): Fix test to check for
45478         identical name of all categories.
45479
45480         [BZ #12792]
45481         * libio/filedoalloc.c (local_isatty): New function.
45482         (_IO_file_doallocate): Use local_isatty.
45483         * stdio-common/perror.c (perror): In case a new stream is used
45484         forward the stream error.
45485         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
45486         error flag.
45487
45488 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
45489
45490         [BZ #11869]
45491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
45492         alloca.
45493         * include/alloca.h (extend_alloca_account): Define.
45494
45495         [BZ #11857]
45496         * posix/regex.h: Fix comments with documentation of user-accessible
45497         fields after compilation and describe correct free'ing of pattern
45498         after re_compile_pattern.
45499         Patch by Reuben Thomas <rrt@sc3d.org>.
45500
45501 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
45502
45503         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
45504         and -mno-altivec to prevent the compiler from using Altivec and/or
45505         VSX instructions when the corresponding registers are not available.
45506
45507 2011-05-19  Andreas Schwab  <schwab@redhat.com>
45508
45509         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
45510
45511 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
45512
45513         * libio/freopen.c (freopen): Use __dup2, not dup2.
45514         * libio/freopen64.c (freopen64): Likewise.
45515
45516 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
45517
45518         [BZ #12775]
45519         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
45520         * math/Makefile (tests): Add test-powl.
45521         (CFLAGS-test-powl.c): Define.
45522         * math/test-powl.c: New file.
45523
45524 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45525
45526         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
45527
45528 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
45529
45530         [BZ #11837]
45531         * iconvdata/gb18030.c: Update to GB18020-2005.
45532
45533 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
45534
45535         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
45536         RE_SYNTAX_POSIX_AWK): Update to match recent development.
45537         Patch by Aharon Robbins <arnold@skeeve.com>.
45538
45539         [BZ #11892]
45540         * stdlib/putenv.c (putenv): Don't always create copy of the variable
45541         on the stack.
45542
45543         [BZ #11895]
45544         * misc/pselect.c (__pselect): Handle timeout value errors hidden
45545         through underflows.
45546
45547         [BZ #12766]
45548         * misc/error.c (error_at_line): Ensure file_name and old_file_name
45549         point to strings before performing equality test for error_one_per_line
45550         mode.
45551
45552         [BZ #11697]
45553         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
45554
45555         [BZ #11820]
45556         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
45557         (struct user_fpregs_struct): Avoid __uint*_t types.
45558
45559         [BZ #6420]
45560         * malloc/mtrace.c (tr_where): Add additional parameter to point to
45561         symbol info.  Use it instead of calling _dl_addr locally.
45562         (lock_and_info): New function.
45563         (tr_freehook): Call lock_and_info and pass symbol info as additional
45564         parameter to tr_where.
45565         (tr_mallochook): Likewise.
45566         (tr_reallochook): Likewise.
45567         (tr_memalignhook): Likewise.
45568
45569         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
45570         used and couldn't be at all thread-safe.
45571
45572 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
45573
45574         * libio/freopen.c (freopen): Don't close old file descriptor
45575         before the new one is opened.  Instead dup the new file descriptor
45576         to the old one after the new stream is created.
45577         * libio/freopen64.c (freopen64): Likewise.
45578         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
45579         * libio/fileops.c (_IO_new_file_close_it): Handle new
45580         _IO_FLAGS2_NOCLOSE flag.
45581         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
45582         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
45583         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
45584         _IO_FLAGS2_NOCLOSE flag.
45585         * include/unistd.h: Add hidden_proto for dup3.
45586         Define __have_dup3.
45587         * io/dup3.c: Define hidden symbol.
45588         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
45589
45590         [BZ #7101]
45591         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
45592         when an incomplete long option is used.
45593         * posix/tst-getopt_long1.c: New file.
45594         * posix/Makefile (tests): Add tst-getopt_long1.
45595
45596         [BZ #10138]
45597         * scripts/config.guess: Update from autoconf-2.68.
45598         * scripts/config.sub: Likewise.
45599
45600         [BZ #10157]
45601         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
45602         tests into ...
45603         (has_cpuclock): ...this.  New function.
45604         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
45605         macro here based on has_cpuclock code.
45606
45607         [BZ #10149]
45608         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45609         First byte (not low byte) is now always NUL.
45610         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
45611
45612         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45613         Use non-cancelable interfaces.
45614
45615         [BZ #9809]
45616         * locale/iso-639.def: Add entry for Sorani.
45617
45618         [BZ #11901]
45619         * include/stdlib.h: Move include protection to the right place.
45620         Define abort_msg_s.  Declare __abort_msg with it.
45621         * stdlib/abort.c (__abort_msg): Adjust type.
45622         * assert/assert.c (__assert_fail_base): New function.  Majority
45623         of code from __assert_fail.  Allocate memory for __abort_msg with
45624         mmap.
45625         (__assert_fail): Now call __assert_fail_base.
45626         * assert/assert-perr.c: Remove bulk of implementation.  Use
45627         __assert_fail_base.
45628         * include/assert.hL Declare __assert_fail_base.
45629         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
45630         mmap.
45631         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
45632
45633 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
45634
45635         [BZ #11952]
45636         [BZ #12453]
45637         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
45638         until all modules are registered in the DTV.
45639         * elf/Makefile: Add rules to build and run tst-tls19.
45640         * elf/tst-tls19.c: New file.
45641         * elf/tst-tls19mod1.c: New file.
45642         * elf/tst-tls19mod2.c: New file.
45643         * elf/tst-tls19mod3.c: New file.
45644         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
45645
45646         [BZ #12083]
45647         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
45648         correctly.
45649
45650         [BZ #12601]
45651         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
45652         two-byte sequence errors.
45653         * iconvdata/Makefile (tests): Add bug-iconv8.
45654         * iconvdata/bug-iconv8.c: New file.
45655
45656         [BZ #12626]
45657         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
45658         buf2 definition.
45659
45660         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
45661
45662         [BZ #12432]
45663         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
45664         (dummy_getcfa): New function.
45665         (init): Get _Unwind_GetCFA address, use dummy if not found.
45666         (backtrace_helper): In recursion check, also check whether CFA changes.
45667         (__backtrace): Completely initialize arg.
45668
45669         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
45670         storing incomplete byte sequence in state object.  Avoid testing for
45671         guaranteed too small input if we know there is enough data available.
45672
45673 2011-05-11  Andreas Schwab  <schwab@redhat.com>
45674
45675         * Makeconfig (+link-pie): Indent.
45676         * Rules (binaries-pie): Define if $(have-fpie) and
45677         $(build-shared).
45678         (binaries-shared): Also filter out $(binaries-pie).
45679         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
45680         * nscd/Makefile (others-pie): Add nscd.
45681         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
45682         ($(objpfx)nscd): Remove command override.
45683         * login/Makefile (others-pie): Add pt_chown.
45684         ($(objpfx)pt_chown): Remove command override.
45685         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
45686         remove command overrides.
45687
45688 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
45689
45690         * libio/tst_putwc.c: Fix error messages.
45691
45692         [BZ #12724]
45693         * libio/fileops.c (_IO_new_file_close_it): Always flush when
45694         currently writing and seek to current position when not.
45695         * libio/Makefile (tests): Add bug-fclose1.
45696         * libio/bug-fclose1.c: New file.
45697
45698 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
45699
45700         [BZ #12511]
45701         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
45702         don't set DF_1_NODELETE here.
45703         (do_lookup_x): When entering new entry test for copy relocation
45704         and if necessary set DF_1_NODELETE flag.
45705         * elf/tst-unique4.cc: New file.
45706         * elf/tst-unique4.h: New file.
45707         * elf/tst-unique4lib.cc: New file.
45708         * elf/Makefile: Add rules to build and run tst-unique4.
45709         Patch by Piotr Bury <pbury@goahead.com>.
45710
45711 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
45712
45713         [BZ #12052]
45714         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
45715
45716         [BZ #12625]
45717         * misc/mntent_r.c (addmntent): Flush the stream after the output
45718
45719         [BZ #12393]
45720         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
45721         (is_trusted_path_normalize): Skip initial colon.  Append slash
45722         to empty buffer.  Duplicate is_trusted_path code but allow
45723         constructed patch to be prefix.
45724         (is_dst): Allow $ORIGIN followed by /.
45725         (_dl_dst_substitute): Correct clearing of check_for_trusted.
45726         Correct testing of result of is_trusted_path_normalize
45727         (decompose_rpath): Fix warning.
45728
45729 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
45730
45731         [BZ #11257]
45732         * grp/initgroups.c (internal_getgrouplist): When we found the service
45733         list through the initgroups entry in nsswitch.conf do not always
45734         continue on a successful lookup.  Don't always use the
45735         __nss_group_database value if it is set.
45736         * nss/nsswitch.conf (initgroups): Change action for successful db
45737         lookup to continue for compatibility.
45738
45739 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
45740
45741         [BZ #11532]
45742         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
45743         and CP774 modules.
45744         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
45745         and CP774 modules.
45746         * iconvdata/tst-tables.sh: Likewise.
45747         * iconvdata/cp770.c: New file.
45748         * iconvdata/cp771.c: New file.
45749         * iconvdata/cp772.c: New file.
45750         * iconvdata/cp773.c: New file.
45751         * iconvdata/cp774.c: New file.
45752         * iconvdata/testdata/CP770: New file.
45753         * iconvdata/testdata/CP770..UTF8: New file.
45754         * iconvdata/testdata/CP771: New file.
45755         * iconvdata/testdata/CP771..UTF8: New file.
45756         * iconvdata/testdata/CP772: New file.
45757         * iconvdata/testdata/CP772..UTF8: New file.
45758         * iconvdata/testdata/CP773: New file.
45759         * iconvdata/testdata/CP773..UTF8: New file.
45760         * iconvdata/testdata/CP774: New file.
45761         * iconvdata/testdata/CP774..UTF8: New file.
45762
45763         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
45764         END CHARMAP line.
45765         * iconvdata/gen-8bit-gap.sh: Likewise.
45766         * iconvdata/gen-8bit.sh: Likewise.
45767
45768         * locale/iso-639.def: Add ary entry.
45769
45770         [BZ #11258]
45771         * locale/C-translit.h.in: Add U20A1 transliteration.
45772
45773         [BZ #12178]
45774         * locale/iso-639.def: Add wae entry.
45775         Patch by Kevin Bortis <bortis@translate-wae.ch>.
45776
45777         [BZ #12545]
45778         * locale/programs/localedef.c (construct_output_path): Use ssize_t
45779         for n.
45780
45781         [BZ #12711]
45782         * locale/C-translit.h.in: Add entry for U20B9.
45783         Patch by pravin.d.s@gmail.com.
45784
45785 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
45786
45787         [BZ #12713]
45788         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
45789         ENAMETOOLONG use generic getcwd.
45790         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
45791         in rtld.  Use *stat64.
45792         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
45793         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
45794         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
45795         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
45796         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
45797         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
45798         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
45799         __fstatat64 macros.
45800         * include/dirent.h: Add libc_hidden_proto for rewinddir.
45801         * dirent/rewinddir.c: Add libc_hidden_def.
45802         * sysdeps/mach/hurd/rewinddir.c: Likewise.
45803         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
45804
45805         * include/dirent.h (__alloc_dir): Add flags parameter.
45806         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
45807         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
45808         __alloc_dir.
45809         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
45810         from fdopendir if O_CLOEXEC is already set.
45811
45812 2011-03-15  Alan Modra  <amodra@gmail.com>
45813
45814         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
45815         l_tls_firstbyte_offset non-zero.  Save padding offset in
45816         l_tls_firstbyte_offset for later use.
45817         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
45818         freeing static tls block.
45819
45820 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
45821
45822         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
45823         where #ifdef was intended.  The intent is to prevent ARG_MAX from
45824         being defined by the kernel headers.
45825
45826 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
45827
45828         [BZ #12734]
45829         * resolv/resolv.h: Define RES_NOTLDQUERY.
45830         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
45831         no-tld-query and set RES_NOTLDQUERY.
45832         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
45833         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
45834         modern BIND to search name as TLD unless forbidden.
45835
45836 2011-05-07  Petr Baudis  <pasky@suse.cz>
45837             Ulrich Drepper  <drepper@gmail.com>
45838
45839         [BZ #12393]
45840         * elf/dl-load.c (fillin_rpath): Move trusted path check...
45841         (is_trusted_path): ...to here.
45842         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
45843         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
45844         using is_trusted_path_normalize() in setuid scripts.
45845
45846 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45847
45848         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
45849         __BEGIN/__END_DECLS.
45850
45851 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
45852
45853         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
45854         NSS_STATUS_NOTFOUND if no record was found.
45855
45856 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45857
45858         * sunrpc/Makefile (headers): Add rpc/netdb.h.
45859         (headers-not-in-tirpc): Remove rpc/netdb.h
45860         * resolv/netdb.h: Revert last change.
45861
45862 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
45863
45864         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
45865         circular dependency between libgcc.a and libc.a.
45866
45867 2011-05-05  Andreas Schwab  <schwab@redhat.com>
45868
45869         * resolv/netdb.h: Don't include <rpc/netdb.h>.
45870         * nis/Makefile: Don't install rpcsvc/*.
45871         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
45872         instead of <rpc/types.h>.
45873         (MAXHOSTNAMELEN): Define.
45874
45875 2011-05-03  Andreas Schwab  <schwab@redhat.com>
45876
45877         * elf/ldconfig.c (add_dir): Don't crash on empty path.
45878
45879 2011-04-28  Maciej Babinski  <mbabinski@google.com>
45880
45881         [BZ #12714]
45882         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
45883         gethostbyname4_r when IPv6 results are possible.
45884
45885 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
45886
45887         [BZ #12723]
45888         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
45889         _PC_PIPE_BUF handling.
45890
45891 2011-04-30  Bruno Haible  <bruno@clisp.org>
45892
45893         [BZ #12717]
45894         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
45895         * resolv/netdb.h (getnameinfo): Change type of flags parameter
45896         to 'int'.
45897         * inet/getnameinfo.c (getnameinfo): Likewise.
45898
45899 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
45900
45901         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
45902         to groups setting in database lookup.
45903         * nss/nsswitch.conf: Add initgroups entry.
45904
45905 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
45906
45907         [BZ #12685]
45908         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
45909         mode string.
45910         Patch by Eric Blake <eblake@redhat.com>.
45911
45912 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
45913
45914         * sunrpc/Makefile (need-export-routines): Add svc_run.
45915         (routines): Remove svc_run.
45916         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
45917         * sunrpc/clnt_perr.c (clnt_perrno): Export.
45918         * sunrpc/svc_run.c (svc_run): Likewise.
45919         * sunrpc/svc_udp.c (svcudp_create): Likewise.
45920
45921 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
45922
45923         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
45924         problem in reallocation in last patch.
45925
45926 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
45927
45928         * sunrpc/Makefile: Move inclusion of Rules.
45929
45930 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45931
45932         * nss/nss_files/files-initgroups.c: New file.
45933         * nss/Makefile (libnss_files-routines): Add files-initgroups.
45934         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
45935         _nss_files_initgroups_dyn.
45936
45937 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
45938
45939         * elf/elf.h (R_ARM_IRELATIVE): Define.
45940
45941 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
45942
45943         * po/ru.po: Update from translation team.
45944
45945 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45946
45947         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
45948         dependencies.
45949
45950 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
45951
45952         [BZ #12653]
45953         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
45954         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
45955         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45956         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45957         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45958
45959 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
45960
45961         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
45962         differing bytes.
45963         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45964         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45965         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45966
45967 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
45968
45969         [BZ #12420]
45970         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
45971         storing it.
45972         * stdlib/bug-getcontext.c: New file.
45973         * stdlib/Makefile: Add rules to build and run bug-getcontext.
45974
45975 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45976
45977         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
45978         instructions into .machine "z9-109".
45979         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
45980         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
45981
45982 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45983
45984         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
45985         between environment variables and auxiliary vector.
45986
45987 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
45988
45989         * Makefile: Add rules to build linkobj/libc.so.
45990         * include/libc-symbols.h: Define libc_hidden_nolink.
45991         * include/rpc/auth.h: Mark functions which are to be hidden.
45992         * include/rpc/auth_des.h: Likewise.
45993         * include/rpc/auth_unix.h: Likewise.
45994         * include/rpc/clnt.h: Likewise.
45995         * include/rpc/des_crypt.h: Likewise.
45996         * include/rpc/key_prot.h: Likewise.
45997         * include/rpc/pmap_clnt.h: Likewise.
45998         * include/rpc/pmap_prot.h: Likewise.
45999         * include/rpc/pmap_rmt.h: Likewise.
46000         * include/rpc/rpc_msg.h: Likewise.
46001         * include/rpc/svc.h: Likewise.
46002         * include/rpc/svc_auth.h: Likewise.
46003         * include/rpc/xdr.h: Likewise.
46004         * nis/Makefile: Link all DSOs against linkobj/libc.so.
46005         * nss/Makefile: Likewise.
46006         * sunrpc/Makefile: Don't install headers.  Build library with normal
46007         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
46008         * sunrpc/auth_des.c: Hide exported symbols by default, export some
46009         for the compat linking library.  Remove use of INTDEF/INTUSE.
46010         * sunrpc/auth_none.c: Likewise.
46011         * sunrpc/auth_unix.c: Likewise.
46012         * sunrpc/authdes_prot.c: Likewise.
46013         * sunrpc/authuxprot.c: Likewise.
46014         * sunrpc/clnt_gen.c: Likewise.
46015         * sunrpc/clnt_perr.c: Likewise.
46016         * sunrpc/clnt_raw.c: Likewise.
46017         * sunrpc/clnt_simp.c: Likewise.
46018         * sunrpc/clnt_tcp.c: Likewise.
46019         * sunrpc/clnt_udp.c: Likewise.
46020         * sunrpc/clnt_unix.c: Likewise.
46021         * sunrpc/des_crypt.c: Likewise.
46022         * sunrpc/des_soft.c: Likewise.
46023         * sunrpc/get_myaddr.c: Likewise.
46024         * sunrpc/key_call.c: Likewise.
46025         * sunrpc/key_prot.c: Likewise.
46026         * sunrpc/netname.c: Likewise.
46027         * sunrpc/pm_getmaps.c: Likewise.
46028         * sunrpc/pm_getport.c: Likewise.
46029         * sunrpc/pmap_clnt.c: Likewise.
46030         * sunrpc/pmap_prot.c: Likewise.
46031         * sunrpc/pmap_prot2.c: Likewise.
46032         * sunrpc/pmap_rmt.c: Likewise.
46033         * sunrpc/publickey.c: Likewise.
46034         * sunrpc/rpc_cmsg.c: Likewise.
46035         * sunrpc/rpc_common.c: Likewise.
46036         * sunrpc/rpc_dtable.c: Likewise.
46037         * sunrpc/rpc_prot.c: Likewise.
46038         * sunrpc/rpc_thread.c: Likewise.
46039         * sunrpc/rtime.c: Likewise.
46040         * sunrpc/svc.c: Likewise.
46041         * sunrpc/svc_auth.c: Likewise.
46042         * sunrpc/svc_authux.c: Likewise.
46043         * sunrpc/svc_raw.c: Likewise.
46044         * sunrpc/svc_run.c: Likewise.
46045         * sunrpc/svc_simple.c: Likewise.
46046         * sunrpc/svc_tcp.c: Likewise.
46047         * sunrpc/svc_udp.c: Likewise.
46048         * sunrpc/svc_unix.c: Likewise.
46049         * sunrpc/svcauth_des.c: Likewise.
46050         * sunrpc/xcrypt.c: Likewise.
46051         * sunrpc/xdr.c: Likewise.
46052         * sunrpc/xdr_array.c: Likewise.
46053         * sunrpc/xdr_float.c: Likewise.
46054         * sunrpc/xdr_intXX_t.c: Likewise.
46055         * sunrpc/xdr_mem.c: Likewise.
46056         * sunrpc/xdr_rec.c: Likewise.
46057         * sunrpc/xdr_ref.c: Likewise.
46058         * sunrpc/xdr_sizeof.c: Likewise.
46059         * sunrpc/xdr_stdio.c: Likewise.
46060
46061 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
46062
46063         [BZ #12650]
46064         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
46065         * sysdeps/ia64/dl-tls.h: Likewise.
46066         * sysdeps/powerpc/dl-tls.h: Likewise.
46067         * sysdeps/s390/dl-tls.h: Likewise.
46068         * sysdeps/sh/dl-tls.h: Likewise.
46069         * sysdeps/sparc/dl-tls.h: Likewise.
46070         * sysdeps/x86_64/dl-tls.h: Likewise.
46071         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
46072
46073 2011-03-14  Andreas Schwab  <schwab@redhat.com>
46074
46075         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
46076         rpath element also skip the following colon.
46077         (expand_dynamic_string_token): Add is_path parameter and pass
46078         down to DL_DST_REQUIRED and _dl_dst_substitute.
46079         (decompose_rpath): Call expand_dynamic_string_token with
46080         non-zero is_path.  Ignore empty rpaths.
46081         (_dl_map_object_from_fd): Call expand_dynamic_string_token
46082         with zero is_path.
46083
46084 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
46085
46086         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
46087         Make cancelable.
46088
46089 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
46090
46091         [BZ #12655]
46092         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
46093         Patch by Filipe David Manana <fdmanana@apache.org>.
46094
46095 2011-04-07  Andreas Schwab  <schwab@redhat.com>
46096
46097         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
46098         Maintain aligned stack.
46099         (CHECK_RSP): Remove unused macro.
46100
46101 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
46102
46103         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
46104         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
46105
46106 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
46107
46108         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
46109
46110         * include/features.h: Mention __USE_XOPEN2K8 in comment.
46111
46112 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
46113
46114         [BZ #12518]
46115         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
46116         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
46117         * sysdeps/x86_64/memmove.c: New file.
46118         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
46119         (memcpy): Renamed to ...
46120         (__new_memcpy): This.
46121         (memcpy): Provide GLIBC_2_14 memcpy.
46122         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
46123         (memcpy): Provide GLIBC_2_2_5 memcpy.
46124
46125 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46126
46127         [BZ #12631]
46128         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
46129
46130 2011-03-30  Andreas Schwab  <schwab@redhat.com>
46131
46132         * misc/syncfs.c: New file.
46133         * misc/Makefile (routines): Add syncfs.
46134         * posix/unistd.h: Declare syncfs.
46135         * sysdeps/unix/syscalls.list: Add syncfs.
46136
46137 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46138
46139         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
46140         open_by_handle_at.
46141         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46142         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46143         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46144         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46145         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46146         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
46147         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46148
46149 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46150
46151         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
46152         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46153         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
46154         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46155         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46156         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46157         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46158
46159         * io/Makefile: Compile fallocate.c, fallocate64.c, and
46160         sync_file_range.c with -fexceptions.
46161         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
46162         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
46163         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
46164         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
46165         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
46166         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
46167         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
46168         sync_file_range as cancellation point
46169         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
46170         now a wrapper around __call_sync_file_range with cancellation handling.
46171         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
46172         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
46173         function name to __call_sync_file_range.
46174         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
46175         Add call_sync_file_range.
46176
46177 2011-04-01  Andreas Schwab  <schwab@redhat.com>
46178
46179         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46180         bits/timex.h.
46181
46182 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
46183
46184         * iconv/iconv.h: Fix typo in comment.
46185         * io/fcntl.h: Likewise.
46186         * libio/stdio.h: Likewise.
46187         * posix/spawn.h: Likewise.
46188         * posix/unistd.h: Likewise.
46189         * stdlib/stdlib.h: Likewise.
46190         * time/time.h: Likewise.
46191         * wcsmbs/wchar.h: Likewise.
46192
46193         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
46194         open_by_handle): Add.
46195         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
46196         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
46197         Augment a few comments.
46198         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
46199         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46200         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46201         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46202         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46203         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
46204         open_by_handle.
46205
46206         * io/fcntl.h (AT_EMPTY_PATH): Define.
46207
46208 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
46209
46210         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
46211         * sysdeps/unix/sysv/linux/bits/time.h: New file.
46212         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
46213         to...
46214         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
46215         * Versions.def: Add GLIBC_2.14.
46216         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
46217         Export.
46218
46219 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
46220
46221         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
46222         round counter.
46223         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46224
46225 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46226
46227         [BZ #12597]
46228         * string/test-strncmp.c (do_page_test): New function.
46229         (check2): Likewise.
46230         (test_main): Call check2.
46231         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
46232
46233 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
46234
46235         [BZ #12587]
46236         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
46237         Handle cache information in CPU leaf 4.
46238         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
46239
46240 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
46241
46242         [BZ #12583]
46243         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
46244         character representation.
46245         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
46246
46247 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
46248
46249         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
46250         END(__isnan) to END(__isnanf) to match function entry point/label
46251         EALIGN(__isnanf,...).
46252
46253 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
46254
46255         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
46256
46257 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
46258
46259         [BZ #12510]
46260         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
46261         copy from the symbol referenced in the relocation to initialize the
46262         used variable.
46263         Patch by Piotr Bury <pbury@goahead.com>.
46264         * elf/Makefile: Add rules to build and tst-unique3.
46265         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
46266         * elf/tst-unique3.cc: New file.
46267         * elf/tst-unique3.h: New file.
46268         * elf/tst-unique3lib.cc: New file.
46269         * elf/tst-unique3lib2.cc: New file.
46270
46271         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
46272
46273 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
46274
46275         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
46276         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
46277         to _start.
46278
46279 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
46280
46281         * elf/dl-load.c (_dl_map_object): If we are looking for the first
46282         to-be-loaded object along a path to loader is ld.so.
46283
46284 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46285             Ulrich Drepper  <drepper@gmail.com>
46286
46287         * sysdeps/x86_64/memset.S: After aligning destination, code
46288         branches to different locations depending on the value of
46289         misalignment, when multiarch is enabled. Fix this.
46290
46291 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
46292
46293         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
46294         Set _x86_64_preferred_memory_instruction for AMD processsors.
46295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46296         Set bit_Prefer_SSE_for_memop for AMD processors.
46297
46298 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
46299
46300         * libio/fmemopen.c (fmemopen): Optimize a bit.
46301
46302 2011-03-03  Andreas Schwab  <schwab@redhat.com>
46303
46304         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
46305
46306 2011-03-03  Roland McGrath  <roland@redhat.com>
46307
46308         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
46309
46310 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
46311
46312         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
46313         __bzero_ultra1 instead of __memset_ultra1.
46314
46315 2011-02-23  Andreas Schwab  <schwab@redhat.com>
46316             Ulrich Drepper  <drepper@gmail.com>
46317
46318         [BZ #12509]
46319         * include/link.h (struct link_map): Add l_orig_initfini.
46320         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
46321         returning unsuccessfully.
46322         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
46323         close of a file loaded at startup, restore the original l_initfini
46324         list.
46325         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
46326         list, store the pointer.
46327         * elf/Makefile ($(objpfx)noload-mem): New rule.
46328         (noload-ENV): Define.
46329         (tests): Add $(objpfx)noload-mem.
46330         * elf/noload.c: Include <memcheck.h>.
46331         (main): Call mtrace.  Close all opened handles.
46332
46333 2011-02-17  Andreas Schwab  <schwab@redhat.com>
46334
46335         [BZ #12454]
46336         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
46337         dependencies are missing.
46338
46339 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46340
46341         Fix __if_freereq crash: Unlike the generic version which uses free,
46342         Hurd needs munmap.
46343         * sysdeps/mach/hurd/ifreq.h: New file.
46344
46345 2011-01-27  Petr Baudis  <pasky@suse.cz>
46346             Ulrich Drepper  <drepper@gmail.com>
46347
46348         [BZ 12445]#
46349         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
46350         to extend_alloca().
46351         * stdio-common/bug23.c: New file.
46352         * stdio-common/Makefile (tests): Add bug23.
46353
46354 2010-09-28  Andreas Schwab  <schwab@redhat.com>
46355             Ulrich Drepper  <drepper@gmail.com>
46356
46357         [BZ #12489]
46358         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
46359         before performing relro protection.  At old place add assertion
46360         to make sure nothing changed.
46361
46362 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
46363             Glauber de Oliveira Costa  <glommer@gmail.com>
46364
46365         * elf/elf.h: Add new ARM TLS relocs.
46366
46367 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
46368
46369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
46370         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
46371         cast from r3.
46372         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
46373         'tests' variable.
46374         * sysdeps/wordsize-64/tst-writev.c: New file.
46375
46376 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
46377
46378         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
46379         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
46380         insns in _dl_start to prevent a TOC reference before relocs are
46381         resolved.
46382
46383 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
46384
46385         [BZ #12469]
46386         * Makeconfig: Remove RANLIB definition.
46387         * Makerules: Don't use RANLIB.
46388         * aclocal.m4: Remove ranlib test.
46389         * configure.in: No need to check for ranlib.
46390         * elf/rtld-Rules: Don't use RANLIB.
46391
46392 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46393
46394         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
46395         protection macro.
46396         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
46397         inclusion protection macro.
46398
46399         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
46400         SIGRTMIN and SIGRTMAX and print information in that case only when
46401         SIGRTMIN is defined.
46402
46403 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
46404
46405         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
46406         arginfo fn returning -1.
46407
46408         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
46409         and thousands string is zero terminated.
46410
46411 2011-02-03  Andreas Schwab  <schwab@redhat.com>
46412
46413         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
46414         sysdeps/unix/sysv/linux/bits/socket.h.
46415
46416 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46417
46418         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
46419         (__CPU_COUNT): Remove old macros.
46420         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
46421         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
46422         (__CPU_ALLOC, __CPU_FREE): Add macros.
46423         (__sched_cpualloc, __sched_cpufree): Add declarations.
46424
46425 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
46426
46427         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
46428         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
46429         * nscd/aicache.c (addhstaiX): Return timeout of added value.
46430         (readdhstai): Return value of addhstaiX call.
46431         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
46432         (addgrbyX): Return value returned by cache_addgr.
46433         (readdgrbyname): Return value returned by addgrbyX.
46434         (readdgrbygid): Likewise.
46435         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
46436         (addpwbyX): Return value returned by cache_addpw.
46437         (readdpwbyname): Return value returned by addhstbyX.
46438         (readdpwbyuid): Likewise.
46439         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
46440         (addservbyX): Return value returned by cache_addserv.
46441         (readdservbyname): Return value returned by addservbyX:
46442         (readdservbyport): Likewise.
46443         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
46444         (addhstbyX): Return value returned by cache_addhst.
46445         (readdhstbyname): Return value returned by addhstbyX.
46446         (readdhstbyaddr): Likewise.
46447         (readdhstbynamev6): Likewise.
46448         (readdhstbyaddrv6): Likewise.
46449         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
46450         (readdinitgroups): Return value returned by addinitgroupsX.
46451         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
46452         (prune_cache): Keep track of timeout value of re-added entries.
46453         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
46454         * nscd/nscd.h: Adjust prototypes of readd* functions.
46455
46456 2011-02-04  Roland McGrath  <roland@redhat.com>
46457
46458         * nis/nis_server.c (nis_servstate): Use the right name for 0.
46459         (nis_stats): Likewise.
46460         * nis/nis_modify.c (nis_modify): Likewise.
46461         * nis/nis_remove.c (nis_remove): Likewise.
46462         * nis/nis_add.c (nis_add): Likewise.
46463
46464         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
46465
46466         * posix/fnmatch_loop.c: Add some consts.
46467
46468         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
46469
46470 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
46471
46472         [BZ #12460]
46473         * config.make.in (config-cflags-novzeroupper): Define.
46474         * configure.in: Substitute libc_cv_cc_novzeroupper.
46475         * elf/Makefile (AVX-CFLAGS): Define.
46476         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
46477         (CFLAGS-tst-auditmod4a.c): Likewise.
46478         (CFLAGS-tst-auditmod4b.c): Likewise.
46479         (CFLAGS-tst-auditmod6b.c): Likewise.
46480         (CFLAGS-tst-auditmod6c.c): Likewise.
46481         (CFLAGS-tst-auditmod7b.c): Likewise.
46482         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
46483
46484 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
46485
46486         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
46487         function to the callback.
46488         Patch partly by Jiri Olsa <jolsa@redhat.com>.
46489
46490 2011-02-02  Andreas Schwab  <schwab@redhat.com>
46491
46492         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
46493         of errno.
46494
46495 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
46496
46497         [BZ #11724]
46498         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
46499         of constructors.
46500         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
46501         of destructors.
46502         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
46503
46504         [BZ #11724]
46505         * elf/Makefile: Add rules to build and run new test.
46506         * elf/tst-initorder.c: New file.
46507         * elf/tst-initorder.exp: New file.
46508         * elf/tst-initordera1.c: New file.
46509         * elf/tst-initordera2.c: New file.
46510         * elf/tst-initordera3.c: New file.
46511         * elf/tst-initordera4.c: New file.
46512         * elf/tst-initorderb1.c: New file.
46513         * elf/tst-initorderb2.c: New file.
46514         * elf/tst-order-a1.c: New file.
46515         * elf/tst-order-a2.c: New file.
46516         * elf/tst-order-a3.c: New file.
46517         * elf/tst-order-a4.c: New file.
46518         * elf/tst-order-b1.c: New file.
46519         * elf/tst-order-b2.c: New file.
46520         * elf/tst-order-main.c: New file.
46521         New test case by George Gensure <werkt0@gmail.com>.
46522
46523 2010-10-01  Andreas Schwab  <schwab@redhat.com>
46524
46525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
46526         decoding ACE if AI_CANONIDN.
46527
46528 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
46529
46530         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
46531
46532 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
46533
46534         * version.h (RELEASE): Bump for 2.13 release.
46535         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
46536
46537         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
46538
46539         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
46540         MADV_NOHUGEPAGE.
46541         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
46542         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
46543         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46544         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46545         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46546         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46547
46548         * posix/getconf.c: Update copyright year.
46549         * catgets/gencat.c: Likewise.
46550         * csu/version.c: Likewise.
46551         * debug/catchsegv.sh: Likewise.
46552         * debug/xtrace.sh: Likewise.
46553         * elf/ldconfig.c: Likewise.
46554         * elf/ldd.bash.in: Likewise.
46555         * elf/sprof.c (print_version): Likewise.
46556         * iconv/iconv_prog.c: Likewise.
46557         * iconv/iconvconfig.c: Likewise.
46558         * locale/programs/locale.c: Likewise.
46559         * locale/programs/localedef.c: Likewise.
46560         * malloc/memusage.sh: Likewise.
46561         * malloc/mtrace.pl: Likewise.
46562         * nscd/nscd.c (print_version): Likewise.
46563         * nss/getent.c: Likewise.
46564
46565         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
46566         PF_CAIF, and PF_ALG.
46567         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46568
46569 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
46570
46571         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
46572         (modules-names): Use them.
46573         (ifunc-test-modules, ifunc-pie-tests): Define.
46574         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
46575         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
46576         (test-extras): Likewise.
46577         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
46578         $(compile-command.c).
46579         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
46580         (all-built-dso): Define.
46581         (check-textrel.out, check-execstack.out): Depend on it.
46582
46583         * configure.in: Don't override --enable-multi-arch.
46584
46585 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
46586
46587         [BZ #6812]
46588         * nscd/hstcache.c (tryagain): Define.
46589         (cache_addhst): Return tryagain not notfound for temporary errors.
46590         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
46591         failed.
46592
46593 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
46594
46595         [BZ #10563]
46596         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
46597         to make the syscall.
46598         * sysdeps/unix/sysv/linux/setgroups.c: New file.
46599
46600         [BZ #12378]
46601         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
46602         and fall back to matching as normal character if the string ends before
46603         the matching ']' is found.  This is what POSIX requires.
46604         * posix/testfnm.c: Adjust test result.
46605         * posix/globtest.sh: Adjust test result.  Add new test.
46606         * posix/tst-fnmatch.input: Likewise.
46607         * posix/tst-fnmatch2.c: Add new test.
46608
46609 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
46610
46611         * elf/Makefile (check-execstack): Revert last change.  Depend on
46612         check-execstack.h.
46613         (check-execstack.h): New target.
46614         (generated): Add check-execstack.h.
46615         * elf/check-execstack.c: Include "check-execstack.h".
46616         (main): Revert last change.
46617         (handle_file): Return zero if GNU_STACK is absent and
46618         DEFAULT_STACK_PERMS doesn't include PF_X.
46619
46620 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
46621
46622         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
46623         in child fails because the descriptor is already closed.
46624         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
46625         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
46626         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
46627
46628         [BZ #12397]
46629         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
46630         syscall.
46631
46632         [BZ #10484]
46633         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
46634         temporary buffer used to handle multi lookups locally.
46635         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
46636
46637 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46638
46639         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
46640         loader is ld.so.
46641
46642 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
46643
46644         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
46645         alignment for SSE2.
46646
46647 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
46648
46649         [BZ #12394]
46650         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
46651         characters.  When rounding increased number of integer digits recompute
46652         number of groups.
46653         * stdio-common/tst-grouping.c: New file.
46654         * stdio-common/Makefile: Add rules to build and run tst-grouping.
46655
46656 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
46657
46658         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
46659         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
46660
46661         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
46662         void.
46663         * bits/select.h: Likewise.
46664
46665 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
46666
46667         * po/ja.po: Update from translation team.
46668
46669 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
46670
46671         [BZ #11155]
46672         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
46673         implementation just like for lxstat, fxstatat, et al.
46674
46675 2010-12-27  Jim Meyering  <meyering@redhat.com>
46676
46677         [BZ #12348]
46678         * posix/regexec.c (build_trtable): Return failure indication upon
46679         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
46680
46681 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
46682
46683         [BZ #12201]
46684         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
46685         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
46686         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
46687         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
46688
46689         [BZ #12207]
46690         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
46691
46692         [BZ #12204]
46693         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
46694         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
46695
46696 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
46697
46698         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
46699         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
46700         script has SORT_BY_INIT_PRIORITY.
46701         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
46702         NO_CTORS_DTORS_SECTIONS is defined.
46703         * elf/soinit.c: Likewise.
46704         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
46705         NO_CTORS_DTORS_SECTIONS is defined.
46706         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
46707         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
46708         * sysdeps/sh/init-first.c: Likewise.
46709         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
46710
46711 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
46712
46713         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
46714         always use the slow path.
46715
46716 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
46717
46718         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
46719         similar rule which adds the sysdep directories to the header search in
46720         order to pick up the correct platform stackinfo.h.
46721         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
46722         perform test if it is, otherwise return successfully without testing.
46723         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
46724         DEFAULT_STACK_PERMS define in stackinfo.h.
46725         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
46726         defined in stackinfo.h.
46727         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
46728         DEFAULT_STACK_PERMS defined in stackinfo.h.
46729         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
46730         * sysdeps/ia64/stackinfo.h: Likewise.
46731         * sysdeps/s390/stackinfo.h: Likewise.
46732         * sysdeps/sh/stackinfo.h: Likewise.
46733         * sysdeps/sparc/stackinfo.h: Likewise.
46734         * sysdeps/x86_64/stackinfo.h: Likewise.
46735         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
46736         PF_X for powerpc64.  Retain PF_X for powerpc32.
46737
46738 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
46739
46740         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
46741         accurately.
46742         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
46743         GETDENTS_64BIT_ALIGNED.
46744
46745 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
46746
46747         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
46748
46749 2010-12-10  Andreas Schwab  <schwab@redhat.com>
46750
46751         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
46752         _GNU_SOURCE.
46753
46754         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
46755         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
46756         Remove __restrict.
46757         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
46758         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
46759
46760 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
46761
46762         [BZ #11655]
46763         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
46764         are initialized.
46765
46766 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
46767
46768         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
46769
46770 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
46771
46772         * po/it.po: Update from translation team.
46773
46774 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
46775
46776         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
46777         unused codes.
46778
46779 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
46780
46781         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
46782
46783 2010-11-24  Andreas Schwab  <schwab@redhat.com>
46784
46785         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
46786         specially.
46787         (gaih_getanswer_slice): Likewise.
46788
46789 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
46790
46791         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
46792
46793 2010-05-31  Petr Baudis  <pasky@suse.cz>
46794
46795         [BZ #11149]
46796         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
46797         silently even in the chroot mode.
46798
46799 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
46800
46801         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
46802         last patch a bit.  Pretty printing
46803
46804 2010-05-31  Petr Baudis <pasky@suse.cz>
46805
46806         [BZ #10085]
46807         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
46808         initialization of skip_initgroups_dyn.
46809
46810 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
46811
46812         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
46813         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
46814
46815 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
46816
46817         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
46818
46819 2010-11-11  Andreas Schwab  <schwab@redhat.com>
46820
46821         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
46822         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
46823         (tst-fnmatch-ENV): Set MALLOC_TRACE.
46824         ($(objpfx)tst-fnmatch-mem): New rule.
46825         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
46826         * posix/tst-fnmatch.c (main): Call mtrace.
46827
46828 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
46829
46830         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46831         Support Intel processor model 6 and model 0x2c.
46832
46833 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
46834
46835         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
46836           signed comparison.
46837
46838 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
46839
46840         [BZ #12205]
46841         * string/test-strncasecmp.c (check_result): New function.
46842         (do_one_test): Use it.
46843         (check1): New function.
46844         (test_main): Use it.
46845         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
46846         Support strcasecmp and strncasecmp.
46847
46848 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
46849
46850         [BZ #12194]
46851         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
46852         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46853
46854 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
46855
46856         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
46857         IFUNC support.
46858         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46859         memset-x86-64.
46860         * sysdeps/x86_64/multiarch/bzero.S: New file.
46861         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
46862         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
46863         * sysdeps/x86_64/multiarch/memset.S: New file.
46864         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
46865         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46866         Set bit_Prefer_SSE_for_memop for Intel processors.
46867         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
46868         Define.
46869         (index_Prefer_SSE_for_memop): Define.
46870         (HAS_PREFER_SSE_FOR_MEMOP): Define.
46871
46872 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
46873
46874         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
46875         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
46876
46877 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
46878
46879         [BZ #12191]
46880         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46881         (__x86_64_raw_data_cache_size_half): Likewise.
46882         (__x86_64_raw_shared_cache_size): Likewise.
46883         (__x86_64_raw_shared_cache_size_half): Likewise.
46884
46885         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
46886         (__x86_64_raw_data_cache_size_half): Likewise.
46887         (__x86_64_raw_shared_cache_size): Likewise.
46888         (__x86_64_raw_shared_cache_size_half): Likewise.
46889         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
46890         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
46891         and __x86_64_raw_shared_cache_size_half.  Round
46892         __x86_64_data_cache_size_half, __x86_64_data_cache_size
46893         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
46894         to multiple of 256 bytes.
46895
46896 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
46897
46898         [BZ #12167]
46899         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
46900         of inacessible symlinks.  Verify result of symlink before returning it.
46901         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
46902         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
46903
46904 2010-10-28  Erich Ritz  <erichritz@gmail.com>
46905
46906         * math/math.h (isinf): Fix typo in comment.
46907
46908 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
46909
46910         * po/da.po: Update from translation team.
46911
46912 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
46913
46914         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
46915         is added to the list.
46916
46917 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46918             Ulrich Drepper  <drepper@gmail.com>
46919
46920         * elf/dl-object.c (_dl_new_object): Don't append the new object to
46921         the global list here.  Move code to...
46922         (_dl_add_to_namespace_list): ...here.  New function.
46923         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
46924         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
46925         * elf/dl-load.c (lose): Don't remove the element from the list.
46926         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
46927         (_dl_map_object): Likewise.
46928
46929 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
46930
46931         [BZ #12159]
46932         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
46933         into all bytes of SSE register.
46934         Patch by Richard Li <richardpku@gmail.com>.
46935
46936 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
46937
46938         [BZ #12140]
46939         * malloc/malloc.c (_int_free): Fill correct number of bytes when
46940         perturbing.
46941
46942 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
46943
46944         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
46945         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
46946         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
46947         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
46948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
46949         submachine.
46950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
46951
46952 2010-10-22  Andreas Schwab  <schwab@redhat.com>
46953
46954         * include/dlfcn.h (__RTLD_SECURE): Define.
46955         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
46956         mode & __RTLD_SECURE instead.
46957         (open_path): Rename preloaded parameter to secure.
46958         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
46959         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
46960         * elf/dl-deps.c (openaux): Likewise.
46961         * elf/rtld.c (struct map_args): Remove is_preloaded.
46962         (map_doit): Don't use it.
46963         (dl_main): Likewise.
46964         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
46965         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
46966
46967 2010-09-09  Andreas Schwab  <schwab@redhat.com>
46968
46969         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
46970         (sysd-rules-targets): Remove duplicates.
46971         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
46972         rtld-%.$o dependency.
46973
46974 2010-10-18  Andreas Schwab  <schwab@redhat.com>
46975
46976         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
46977         _dl_map_object do it.
46978
46979 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
46980
46981         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
46982         fast fma builtins, define the macros in the C99 standard.
46983         (FP_FAST_FMAF): Likewise.
46984         (FP_FAST_FMAL): Likewise.
46985         * sysdeps/x86_64/bits/mathdef.h: Likewise.
46986
46987         * bits/mathdef.h: Update copyright year.
46988         * sysdeps/powerpc/bits/mathdef.h: Likewise.
46989
46990 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
46991
46992         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
46993         builtins, define the macros in the C99 standard.
46994         (FP_FAST_FMAF): Likewise.
46995         (FP_FAST_FMAL): Likewise.
46996         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
46997         multiply/add.
46998         (FP_FAST_FMAF): Likewise.
46999
47000 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
47001
47002         [BZ #3268]
47003         * math/libm-test.inc (fma_test): Some new testcases.
47004         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
47005         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
47006         y and infinite z.  Do multiplication by C already in long double.
47007         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
47008         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
47009         y and infinite z.  Do bitwise or of inexact bit into u.d.
47010         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
47011         * sysdeps/i386/fpu/s_fmaf.S: Removed.
47012         * sysdeps/i386/fpu/s_fma.S: Removed.
47013         * sysdeps/i386/fpu/s_fmal.S: Removed.
47014
47015 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
47016
47017         [BZ #3268]
47018         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
47019         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
47020         computation is not scheduled after fetestexcept.  Fix value
47021         of minimum denormal long double.
47022
47023 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
47024
47025         [BZ #3268]
47026         * math/libm-test.inc (fma_test): Add some more tests.
47027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
47028         correctly.
47029
47030 2010-10-15  Andreas Schwab  <schwab@redhat.com>
47031
47032         * scripts/data/localplt-s390-linux-gnu.data: New file.
47033         * scripts/data/localplt-s390x-linux-gnu.data: New file.
47034
47035 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
47036
47037         [BZ #3268]
47038         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
47039         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
47040         instead of dbl-64.
47041         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
47042         inlines.
47043         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
47044         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
47045         if one of x and y is very large and the other is subnormal.
47046         * sysdeps/s390/fpu/s_fmaf.c: New file.
47047         * sysdeps/s390/fpu/s_fma.c: New file.
47048         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
47049         * sysdeps/powerpc/fpu/s_fma.S: New file.
47050         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
47051         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
47052         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
47053
47054 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
47055
47056         [BZ #3268]
47057         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
47058         fma tests.
47059         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
47060         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
47061         * sysdeps/i386/i686/multiarch/s_fma.c: Include
47062         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
47063         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
47064         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
47065         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
47066
47067 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
47068
47069         [BZ #12078]
47070         * posix/regcomp.c (parse_branch): One more memory leak plugged.
47071         * posix/bug-regex31.input: Add test case.
47072
47073 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47074
47075         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
47076         * posix/bug-regex31.input: New file.
47077
47078         [BZ #12078]
47079         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
47080         (parse_sub_exp): Fix last change, use postorder.
47081
47082         * posix/bug-regex31.c: New file.
47083         * posix/Makefile: Add rules to build and run bug-regex31.
47084
47085         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
47086
47087         [BZ #12078]
47088         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
47089
47090         [BZ #12108]
47091         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
47092         to have entries in sys_siglist.
47093
47094         [BZ #12093]
47095         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
47096         be NULL.
47097
47098 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
47099
47100         [BZ #3268]
47101         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
47102         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
47103         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
47104         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
47105         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47106         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
47107         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
47108         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
47109         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
47110         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
47111         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
47112         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
47113         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
47114         * math/ftestexcept.c (fetestexcept): Likewise.
47115         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
47116         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
47117         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
47118         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
47119         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
47120         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
47121         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
47122
47123 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
47124
47125         [BZ #12107]
47126         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
47127         newline.
47128
47129 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
47130
47131         * string/bug-strstr1.c: New file.
47132         * string/Makefile: Add rules to build and run bug-strstr1.
47133
47134 2010-10-05  Eric Blake  <eblake@redhat.com>
47135
47136         [BZ #12092]
47137         * string/str-two-way.h (two_way_long_needle): Always clear memory
47138         when skipping input due to the shift table.
47139
47140 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
47141
47142         [BZ #12005]
47143         * malloc/mcheck.c: Handle large requests.
47144
47145         [BZ #12077]
47146         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
47147         for strncmp and strncasecmp.
47148         * string/stratcliff.c: Add tests for strcmp and strncmp.
47149         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
47150
47151 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
47152
47153         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
47154         __set_fpscr.
47155
47156 2010-09-30  Andreas Jaeger  <aj@suse.de>
47157
47158         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
47159         (CGROUP_SUPER_MAGIC): Define.
47160         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47161         Handle btrfs and cgroup file systems.
47162         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
47163         Likewise.
47164
47165 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
47166
47167         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
47168         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
47169
47170 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47171
47172         [BZ #12067]
47173         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
47174         trying to locate the ELF header.
47175
47176 2010-09-27  Andreas Schwab  <schwab@redhat.com>
47177
47178         [BZ #11611]
47179         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
47180         Mask out sign-bit copies when constructing f_fsid.
47181
47182 2010-09-24  Petr Baudis <pasky@suse.cz>
47183
47184         * debug/stack_chk_fail_local.c: Add missing licence exception.
47185         * debug/warning-nop.c: Likewise.
47186
47187 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
47188
47189         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
47190         implementing getdents64 using getdents syscall, set d_type if
47191         __ASSUME_GETDENTS32_D_TYPE.
47192
47193 2010-09-16  Andreas Schwab  <schwab@redhat.com>
47194
47195         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
47196         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
47197
47198 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
47199
47200         [BZ #12037]
47201         * posix/unistd.h: Undo change of feature selection for ftruncate from
47202         2010-01-11.
47203
47204 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
47205
47206         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
47207         detection.
47208
47209 2010-09-20  Andreas Schwab  <schwab@redhat.com>
47210
47211         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
47212         fanotify_mark.
47213         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47214
47215 2010-09-14  Andreas Schwab  <schwab@redhat.com>
47216
47217         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
47218         variables after CHECK_SP call.
47219         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
47220
47221 2010-09-13  Andreas Schwab  <schwab@redhat.com>
47222             Ulrich Drepper  <drepper@redhat.com>
47223
47224         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
47225         re-relocationg ld.so.
47226         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
47227         _dl_init_paths call.
47228         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
47229         here anymore.
47230
47231 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
47232
47233         * resolv/res_init.c (__res_vinit): Count the default server we added.
47234
47235 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
47236             Ulrich Drepper  <drepper@redhat.com>
47237
47238         [BZ #11968]
47239         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
47240         (____longjmp_chk): Use %ebx for saving value across system call.
47241         Add unwind info.
47242
47243 2010-09-06  Andreas Schwab  <schwab@redhat.com>
47244
47245         * manual/Makefile: Don't mix pattern rules with normal rules.
47246
47247 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
47248
47249         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
47250         operation.
47251         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
47252         * libio/iofopncook.c (_IO_cookie_init): Likewise.
47253         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
47254         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
47255         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
47256         Likewise.
47257
47258 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
47259
47260         [BZ #11979]
47261         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
47262         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
47263
47264 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
47265
47266         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
47267         * sysdeps/x86_64/addmul_1.S: Likewise.
47268         * sysdeps/x86_64/lshift.S: Likewise.
47269         * sysdeps/x86_64/mul_1.S: Likewise.
47270         * sysdeps/x86_64/rshift.S: Likewise.
47271         * sysdeps/x86_64/sub_n.S: Likewise.
47272         * sysdeps/x86_64/submul_1.S: Likewise.
47273
47274 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47275
47276         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
47277         Define __sched_param instead of SCHED_* and sched_param when
47278         <bits/sched.h> is included with __need_schedparam defined.
47279         * bits/sched.h [__need_schedparam]
47280         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
47281         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
47282         (__defined_schedparam): Define to 1.
47283         (__sched_param): New structure, identical to sched_param.
47284         (__need_schedparam): Undefine.
47285
47286 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
47287
47288         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
47289         (epoll_create1): Declare.
47290
47291         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
47292
47293 2010-08-31  Andreas Schwab  <schwab@redhat.com>
47294
47295         [BZ #7066]
47296         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
47297         shifting retval into place.
47298
47299 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
47300
47301         * nis/rpcsvc/nis.h: Update copyright notice.
47302         * nis/rpcsvc/nis.x: Likewise.
47303         * nis/rpcsvc/nis_callback.h: Likewise.
47304         * nis/rpcsvc/nis_callback.x: Likewise.
47305         * nis/rpcsvc/nis_object.x: Likewise.
47306         * nis/rpcsvc/nis_tags.h: Likewise.
47307         * nis/rpcsvc/yp.h: Likewise.
47308         * nis/rpcsvc/yp.x: Likewise.
47309         * nis/rpcsvc/ypupd.h: Likewise.
47310         * nis/yp_xdr.c: Likewise.
47311         * nis/ypupdate_xdr.c: Likewise.
47312
47313         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
47314         mainly the body of pmap_getport.  Add parameters to specify timeouts.
47315         (pmap_getport): Use __libc_rpc_getport.
47316         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
47317         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
47318         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
47319
47320 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
47321
47322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
47323         fanotify_mark.
47324
47325 2010-08-27  Roland McGrath  <roland@redhat.com>
47326
47327         * sysdeps/i386/i686/multiarch/Makefile
47328         (CFLAGS-varshift.c): New variable.
47329
47330 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
47331
47332         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
47333         * sysdeps/i386/i686/multiarch/varshift.c: New file.
47334
47335         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
47336
47337         * sysdeps/x86_64/strlen.S: Minimal code improvement.
47338
47339 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
47340
47341         * sysdeps/x86_64/strlen.S: Unroll the loop.
47342         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47343         strlen-sse2 strlen-sse2-bsf.
47344         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
47345         __strlen_no_bsf if bit_Slow_BSF is set.
47346         (__strlen_sse42): Removed.
47347         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
47348         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
47349
47350 2010-08-25  Roland McGrath  <roland@redhat.com>
47351
47352         * sysdeps/x86_64/multiarch/varshift.S: File removed.
47353         * sysdeps/x86_64/multiarch/varshift.c: New file.
47354         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
47355         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
47356         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
47357         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
47358
47359 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
47360
47361         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47362         strlen-sse2 strlen-sse2-bsf.
47363         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
47364         __strlen_sse2_bsf if bit_Slow_BSF is unset.
47365         (__strlen_sse2): Removed.
47366         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
47367         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
47368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47369         bit_Slow_BSF for Atom.
47370         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
47371         (index_Slow_BSF): Define.
47372         (HAS_SLOW_BSF): Define.
47373
47374 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
47375
47376         [BZ #10851]
47377         * resolv/res_init.c (__res_vinit): When no server address at all
47378         is given default to loopback.
47379
47380 2010-08-24  Roland McGrath  <roland@redhat.com>
47381
47382         * configure.in: Remove config-name.h generation.
47383         * configure: Regenerated.
47384         * config-name.in: File removed.
47385         * scripts/config-uname.sh: New file.
47386         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
47387         ($(objdir)config-name.h): New target.
47388
47389         * sunrpc/rpc_parse.h: Avoid nested comment.
47390
47391 2010-08-24  Richard Henderson  <rth@redhat.com>
47392             Ulrich Drepper  <drepper@redhat.com>
47393             H.J. Lu  <hongjiu.lu@intel.com>
47394
47395         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
47396         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
47397         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
47398         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
47399         _mm_alignr_epi8 with _mm_loadu_si128.
47400         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
47401         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
47402         (__m128i_shift_right): Removed.
47403         * sysdeps/i386/i686/multiarch/varshift.h: New file.
47404         * sysdeps/i386/i686/multiarch/varshift.S: New file.
47405         * sysdeps/x86_64/multiarch/varshift.h: New file.
47406         * sysdeps/x86_64/multiarch/varshift.S: New file.
47407
47408 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
47409
47410         * configure.in: Move assembler checks to before sysdep dir checking.
47411
47412 2010-08-20  Petr Baudis  <pasky@suse.cz>
47413
47414         * LICENSES: Sync the sunrpc license.
47415
47416 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
47417
47418         * sunrpc/auth_des.c: Update copyright notice once again.
47419         * sunrpc/auth_none.c: Likewise.
47420         * sunrpc/auth_unix.c: Likewise.
47421         * sunrpc/authdes_prot.c: Likewise.
47422         * sunrpc/authuxprot.c: Likewise.
47423         * sunrpc/bindrsvprt.c: Likewise.
47424         * sunrpc/clnt_gen.c: Likewise.
47425         * sunrpc/clnt_perr.c: Likewise.
47426         * sunrpc/clnt_raw.c: Likewise.
47427         * sunrpc/clnt_simp.c: Likewise.
47428         * sunrpc/clnt_tcp.c: Likewise.
47429         * sunrpc/clnt_udp.c: Likewise.
47430         * sunrpc/clnt_unix.c: Likewise.
47431         * sunrpc/des_crypt.c: Likewise.
47432         * sunrpc/des_soft.c: Likewise.
47433         * sunrpc/get_myaddr.c: Likewise.
47434         * sunrpc/getrpcport.c: Likewise.
47435         * sunrpc/key_call.c: Likewise.
47436         * sunrpc/key_prot.c: Likewise.
47437         * sunrpc/openchild.c: Likewise.
47438         * sunrpc/pm_getmaps.c: Likewise.
47439         * sunrpc/pm_getport.c: Likewise.
47440         * sunrpc/pmap_clnt.c: Likewise.
47441         * sunrpc/pmap_prot.c: Likewise.
47442         * sunrpc/pmap_prot2.c: Likewise.
47443         * sunrpc/pmap_rmt.c: Likewise.
47444         * sunrpc/rpc/auth.h: Likewise.
47445         * sunrpc/rpc/auth_unix.h: Likewise.
47446         * sunrpc/rpc/clnt.h: Likewise.
47447         * sunrpc/rpc/des_crypt.h: Likewise.
47448         * sunrpc/rpc/key_prot.h: Likewise.
47449         * sunrpc/rpc/netdb.h: Likewise.
47450         * sunrpc/rpc/pmap_clnt.h: Likewise.
47451         * sunrpc/rpc/pmap_prot.h: Likewise.
47452         * sunrpc/rpc/pmap_rmt.h: Likewise.
47453         * sunrpc/rpc/rpc.h: Likewise.
47454         * sunrpc/rpc/rpc_des.h: Likewise.
47455         * sunrpc/rpc/rpc_msg.h: Likewise.
47456         * sunrpc/rpc/svc.h: Likewise.
47457         * sunrpc/rpc/svc_auth.h: Likewise.
47458         * sunrpc/rpc/types.h: Likewise.
47459         * sunrpc/rpc/xdr.h: Likewise.
47460         * sunrpc/rpc_clntout.c: Likewise.
47461         * sunrpc/rpc_cmsg.c: Likewise.
47462         * sunrpc/rpc_common.c: Likewise.
47463         * sunrpc/rpc_cout.c: Likewise.
47464         * sunrpc/rpc_dtable.c: Likewise.
47465         * sunrpc/rpc_hout.c: Likewise.
47466         * sunrpc/rpc_main.c: Likewise.
47467         * sunrpc/rpc_parse.c: Likewise.
47468         * sunrpc/rpc_parse.h: Likewise.
47469         * sunrpc/rpc_prot.c: Likewise.
47470         * sunrpc/rpc_sample.c: Likewise.
47471         * sunrpc/rpc_scan.c: Likewise.
47472         * sunrpc/rpc_scan.h: Likewise.
47473         * sunrpc/rpc_svcout.c: Likewise.
47474         * sunrpc/rpc_tblout.c: Likewise.
47475         * sunrpc/rpc_util.c: Likewise.
47476         * sunrpc/rpc_util.h: Likewise.
47477         * sunrpc/rpcinfo.c: Likewise.
47478         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
47479         * sunrpc/rpcsvc/key_prot.x: Likewise.
47480         * sunrpc/rpcsvc/klm_prot.x: Likewise.
47481         * sunrpc/rpcsvc/mount.x: Likewise.
47482         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
47483         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
47484         * sunrpc/rpcsvc/rex.x: Likewise.
47485         * sunrpc/rpcsvc/rstat.x: Likewise.
47486         * sunrpc/rpcsvc/rusers.x: Likewise.
47487         * sunrpc/rpcsvc/sm_inter.x: Likewise.
47488         * sunrpc/rpcsvc/spray.x: Likewise.
47489         * sunrpc/rpcsvc/yppasswd.x: Likewise.
47490         * sunrpc/rtime.c: Likewise.
47491         * sunrpc/svc.c: Likewise.
47492         * sunrpc/svc_auth.c: Likewise.
47493         * sunrpc/svc_authux.c: Likewise.
47494         * sunrpc/svc_raw.c: Likewise.
47495         * sunrpc/svc_run.c: Likewise.
47496         * sunrpc/svc_simple.c: Likewise.
47497         * sunrpc/svc_tcp.c: Likewise.
47498         * sunrpc/svc_udp.c: Likewise.
47499         * sunrpc/svc_unix.c: Likewise.
47500         * sunrpc/svcauth_des.c: Likewise.
47501         * sunrpc/xcrypt.c: Likewise.
47502         * sunrpc/xdr.c: Likewise.
47503         * sunrpc/xdr_array.c: Likewise.
47504         * sunrpc/xdr_float.c: Likewise.
47505         * sunrpc/xdr_mem.c: Likewise.
47506         * sunrpc/xdr_rec.c: Likewise.
47507         * sunrpc/xdr_ref.c: Likewise.
47508         * sunrpc/xdr_sizeof.c: Likewise.
47509         * sunrpc/xdr_stdio.c: Likewise.
47510
47511         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
47512         handling.
47513
47514 2010-08-19  Andreas Schwab  <schwab@redhat.com>
47515
47516         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
47517
47518 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
47519
47520         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
47521         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
47522         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
47523         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
47524         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
47525         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
47526         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
47527         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
47528         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
47529         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
47530         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
47531         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
47532         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
47533         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
47534
47535 2010-07-26  Anton Blanchard  <anton@samba.org>
47536
47537         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
47538         * malloc/arena.c (heap_trim): Likewise.
47539
47540 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
47541
47542         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
47543         here.  Not...
47544         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
47545         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
47546
47547 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
47548
47549         * sysdeps/i386/elf/Makefile: New file.
47550
47551 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47552
47553         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
47554         from fanotify_init.
47555         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
47556         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47557
47558 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
47559
47560         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
47561         of strncasecmp_l.
47562         * sysdeps/multiarch/strcmp.S: Likewise.
47563
47564 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
47565
47566         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47567         strncase_l-nonascii.
47568         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47569         Add strncase_l-ssse3.
47570         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
47571         * sysdeps/x86_64/strcmp.S: Likewise.
47572         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
47573         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
47574         * sysdeps/x86_64/strncase.S: New file.
47575         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
47576         * sysdeps/x86_64/strncase_l.S: New file.
47577         * string/Makefile (strop-tests): Add strncasecmp.
47578         * string/test-strncasecmp.c: New file.
47579
47580         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
47581         warning.
47582
47583         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
47584         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
47585
47586 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
47587
47588         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
47589
47590 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
47591
47592         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
47593         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
47594         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
47595
47596 2010-05-01  Alan Modra  <amodra@gmail.com>
47597
47598         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
47599         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
47600         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
47601         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
47602         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
47603         tidying.  Don't tail-call __sigjmp_save for static lib.
47604         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
47605         save location.
47606         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
47607         (CALL_MCOUNT): Add eh info, and nop after bl.
47608         (TAIL_CALL_SYSCALL_ERROR): New macro.
47609         (PSEUDO_RET): Use it.
47610         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
47611         Correct save location of integer regs and cr.
47612         (_dl_profile_resolve): Correct cr save location.  Delete nops
47613         after bl when SHARED.  Reduce cfi size a little by better
47614         placement of cfi directives.
47615         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
47616         make a stack frame.  Instead use parm save area as a temp.
47617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
47618         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
47619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
47620         Don't make a stack frame for parent, use parm save area.
47621         Increase child stack frame to 112 bytes.  Don't save unused reg,
47622         and adjust reg usage.  Set up cfi on error recovery and
47623         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
47624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
47625         (__makecontext): Add dummy nop after jump to exit.
47626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
47627         Use correct parm save area and cr save, reduce stack frame.
47628         Correct cfi for possible PSEUDO_RET frame setup.
47629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
47630         Branch to local label emitted by PSEUDO_RET rather than
47631         __syscall_error.
47632
47633 2010-08-12  Andreas Schwab  <schwab@redhat.com>
47634
47635         [BZ #11904]
47636         * locale/programs/locale.c (print_assignment): New function.
47637         (show_locale_vars): Use it.
47638
47639 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
47640
47641         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
47642         field.
47643         (struct statfs64): Likewise.
47644         (_STATFS_F_FLAGS): Define.
47645         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
47646         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
47647         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
47648         (ST_VALID): Define locally.
47649         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
47650         __statvfs_getflags, use the provided value.
47651         * sysdeps/unix/sysv/linux/kernel-features.h: Define
47652         __ASSUME_STATFS_F_FLAGS.
47653
47654         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
47655
47656         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
47657         Add sys/fanotify.h.
47658         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
47659         fanotify_mask for GLIBC_2.13.
47660         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
47661         fanotify_init and fanotify_mark.
47662         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
47663         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
47664
47665         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
47666         Add prlimit.
47667         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
47668         prlimit64 for GLIBC_2.13.
47669         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
47670         prlimit64.
47671         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
47672         syscall.
47673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
47674         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
47675         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
47676         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
47677         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
47678         add prlimit alias.
47679         * sysdeps/unix/sysv/linux/prlimit.c: New file.
47680
47681         [BZ #11903]
47682         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
47683         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
47684
47685         * nss/Makefile: Add rules to build and run tst-nss-test1.
47686         * shlib-versions: Add entry for libnss_test1.
47687         * nss/nss_test1.c: New file.
47688         * nss/tst-nss-test1.c: New file.
47689
47690         * nss/nsswitch.c (__nss_database_custom): Define new variable.
47691         (__nss_configure_lookup): Set appropriate entry in
47692         __nss_configure_lookup to true.
47693         * nss/nsswitch.h: Define enum with indeces of databases in
47694         databases and __nss_database_custom arrays.  Declare
47695         __nss_database_custom.
47696         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
47697         to avoid using nscd when custom rules are installed.
47698         * nss/getXXbyYY_r.c: Likewise.
47699         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47700
47701         * nss/nss_files/files-parse.c: Whitespace fixes.
47702
47703 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
47704
47705         [BZ #11883]
47706         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
47707         * posix/fnmatch_loop.c: Likewise.
47708
47709 2010-07-17  Andi Kleen  <ak@linux.intel.com>
47710
47711         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
47712         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
47713         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
47714         * Versions.def [GLIBC_2.13]: Add.
47715
47716 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
47717
47718         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47719         Also fail if tpwd after pwuid call is NULL.
47720
47721 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47722
47723         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
47724         when converting to ms.
47725
47726 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47727
47728         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
47729         EOPNOTSUPP errors with ENOTTY.
47730         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
47731         EOPNOTSUPP errors with ENOTTY.
47732
47733 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
47734
47735         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
47736         Add strcasecmp_l-ssse3.
47737         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
47738         strcasecmp.
47739         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
47740         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
47741         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
47742
47743 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
47744
47745         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
47746
47747         * string/Makefile (strop-tests): Add strcasecmp.
47748         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
47749         strcasecmp_l-nonascii.
47750         (gen-as-const-headers): Add locale-defines.sym.
47751         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
47752         * sysdeps/x86_64/strcasecmp.S: New file.
47753         * sysdeps/x86_64/strcasecmp_l.S: New file.
47754         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
47755         * sysdeps/x86_64/locale-defines.sym: New file.
47756         * string/test-strcasecmp.c: New file.
47757
47758         * string/test-strcasestr.c: Test both ends of the range of characters.
47759         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
47760
47761 2010-07-29  Roland McGrath  <roland@redhat.com>
47762
47763         [BZ #11856]
47764         * manual/locale.texi (Yes-or-No Questions): Fix example code.
47765
47766 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
47767
47768         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
47769         for ld.so.
47770
47771 2010-07-27  Andreas Schwab  <schwab@redhat.com>
47772
47773         * manual/memory.texi (Malloc Tunable Parameters): Document
47774         M_PERTURB.
47775
47776 2010-07-26  Roland McGrath  <roland@redhat.com>
47777
47778         [BZ #11840]
47779         * configure.in (-fgnu89-inline check): Set and substitute
47780         gnu89_inline, not libc_cv_gnu89_inline.
47781         * configure: Regenerated.
47782         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
47783
47784 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
47785
47786         * string/test-strnlen.c: New file.
47787         * string/Makefile (strop-tests): Add strnlen.
47788         * string/tester.c (test_strnlen): Add a few more test cases.
47789         * string/tst-strlen.c: Better error reporting.
47790
47791         * sysdeps/x86_64/strnlen.S: New file.
47792
47793 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
47794
47795         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
47796         lower-latency instructions.
47797
47798 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
47799
47800         * string/test-strcasestr.c: New file.
47801         * string/test-strstr.c: New file.
47802         * string/Makefile (strop-tests): Add strstr and strcasestr.
47803         * string/str-two-way.h: Don't undefine MAX.
47804         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
47805
47806 2010-07-21  Andreas Schwab  <schwab@redhat.com>
47807
47808         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47809         strcasestr-nonascii.
47810         (CFLAGS-strcasestr-nonascii.c): Define.
47811         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
47812         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
47813         Remove unused attribute.
47814
47815 2010-07-20  Roland McGrath  <roland@redhat.com>
47816
47817         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
47818         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
47819         ld.so.cache was broken.  With it, there is no way to disable dsocaps
47820         like LD_HWCAP_MASK can disable hwcaps.
47821
47822 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
47823
47824         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
47825
47826 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
47827
47828         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
47829         call in strcasestr.
47830         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
47831         __strcasestr_sse42_nonascii.
47832         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
47833         strcasestr-nonascii.c.
47834         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
47835
47836 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
47837
47838         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
47839         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
47840         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
47841         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
47842
47843 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
47844
47845         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
47846         fcntl.
47847
47848 2010-07-06  Andreas Schwab  <schwab@redhat.com>
47849
47850         [BZ #11577]
47851         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
47852         dl_signal_cerror.
47853
47854 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
47855
47856         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
47857         _PC_PIPE_BUF using F_GETPIPE_SZ.
47858
47859 2010-07-05  Roland McGrath  <roland@redhat.com>
47860
47861         * manual/arith.texi (Rounding Functions): Fix rint description
47862         implicit in round description.
47863
47864 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
47865
47866         * elf/Makefile: Fix linking for a few tests to make recent linker
47867         happy.
47868
47869 2010-06-30  Andreas Schwab  <schwab@redhat.com>
47870
47871         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
47872         $(common-objpfx)libc_nonshared.a.
47873
47874 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
47875
47876         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
47877         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
47878         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47879         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47880         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
47881         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
47882         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47883         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
47885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
47886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
47887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
47888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
47889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
47890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
47891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
47892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
47893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
47894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
47895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
47896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
47897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
47898         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
47899         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
47900         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
47901         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
47902         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
47903         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
47904         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
47905         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
47906         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
47907         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
47908         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
47909         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
47910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
47911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
47912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
47913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
47914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
47915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
47916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
47917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
47918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
47919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
47920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
47921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
47922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
47923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
47924
47925 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
47926
47927         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
47928         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
47929         * string/memmove.c (memmove): Renamed to ...
47930         (MEMMOVE): ...this.  Default to memmove.
47931         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
47932         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
47933         (END_CHK): Define.
47934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47935         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
47936         mempcpy-ssse3-back memmove-ssse3-back.
47937         * sysdeps/x86_64/multiarch/bcopy.S: New file .
47938         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
47939         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
47940         * sysdeps/x86_64/multiarch/memcpy.S: New file.
47941         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
47942         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
47943         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
47944         * sysdeps/x86_64/multiarch/memmove.c: New file.
47945         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
47946         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
47947         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
47948         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
47949         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
47950         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
47951         Define.
47952         (index_Fast_Copy_Backward): Define.
47953         (HAS_ARCH_FEATURE): Define.
47954         (HAS_FAST_REP_STRING): Define.
47955         (HAS_FAST_COPY_BACKWARD): Define.
47956
47957 2010-06-21  Andreas Schwab  <schwab@redhat.com>
47958
47959         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
47960         Restore proper fallback handling.
47961
47962 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
47963
47964         [BZ #11701]
47965         * posix/group_member.c (__group_member): Correct checking loop.
47966
47967         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
47968         OOM in getpwuid_r correctly.  Return error number when the caller
47969         should return, otherwise -1.
47970         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
47971         call returning > 0 value.
47972         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
47973
47974 2010-06-07  Andreas Schwab  <schwab@redhat.com>
47975
47976         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
47977         libc_nonshared.a from targets in modules-names.
47978
47979 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
47980
47981         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
47982         requires it.
47983
47984 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
47985
47986         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
47987         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
47988         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
47989         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
47990
47991 2010-06-02  Andreas Schwab  <schwab@redhat.com>
47992
47993         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
47994
47995 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
47996
47997         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
47998         and F_GETPIPE_SZ.
47999         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
48000         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
48001         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
48002         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
48003         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
48004         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
48005
48006 2010-06-14  Roland McGrath  <roland@redhat.com>
48007
48008         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
48009
48010 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
48011
48012         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
48013         __REDIRECT followed by __THROW.
48014         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
48015         * posix/getopt.h (getopt): Likewise.
48016
48017 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
48018
48019         * hurd/lookup-at.c (__file_name_lookup_at): Accept
48020         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
48021         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
48022         in AT_FLAGS.
48023         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
48024         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
48025
48026 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
48027
48028         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
48029
48030 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
48031
48032         [BZ #11640]
48033         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
48034         Properly check family and model.
48035
48036 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
48037
48038         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
48039
48040 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
48041
48042         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
48043
48044 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
48045
48046         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
48047         symbol reference.
48048
48049 2010-05-19  Andreas Schwab  <schwab@redhat.com>
48050
48051         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
48052         symbol reference.
48053
48054 2010-05-21  Andreas Schwab  <schwab@redhat.com>
48055
48056         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
48057         and internal_recvmmsg.
48058         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
48059         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
48060         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
48061         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
48062
48063         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
48064         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
48065         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
48066
48067 2010-05-20  Andreas Schwab  <schwab@redhat.com>
48068
48069         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
48070
48071 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
48072
48073         POWER7 optimizations.
48074         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
48075         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
48076
48077 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
48078
48079         * version.h: Update for 2.13 development version.
48080
48081 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
48082
48083         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
48084         exceptions.  Return 0.
48085
48086 2010-05-07  Roland McGrath  <roland@redhat.com>
48087
48088         * elf/ldconfig.c (main): Add a const.
48089
48090 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
48091
48092         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
48093         (args_options): Add no-idn option.
48094         (ahosts_keys_int): Add idn_flags to ai_flags.
48095         (parse_option): Handle 'i' option to clear idn_flags.
48096
48097         * malloc/malloc.c (_int_free): Possible race in the most recently
48098         added check.  Only act on the data if no current modification
48099         happened.
48100
48101 See ChangeLog.17 for earlier changes.