71f866024a14331fb97bcda37e4bb1ad35095474
[platform/upstream/glibc.git] / ChangeLog
1 2014-06-23  Roland McGrath  <roland@hack.frob.com>
2
3         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
4         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
5         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
12         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
13         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
14         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
15         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
16         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
17         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
18         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
19         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
20         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
21         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
22         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
23         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
24         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
25         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
26         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
27         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
28         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
29         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
30         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
31
32 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
33
34         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
35         (FALLOC_FL_COLLAPSE_RANGE): New macro.
36         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
37         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
38         (IPV6_PMTUDISC_INTERFACE): Likewise.
39         (IPV6_PMTUDISC_OMIT): Likewise.
40
41 2014-06-23  Andreas Schwab  <schwab@suse.de>
42
43         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
44         Remove unused errout label.
45
46 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47
48         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49         macro: hardware supports Vector Crypto instructions.
50
51 2014-06-23  Will Newton  <will.newton@linaro.org>
52
53         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
54         rather than __builtin_expect.
55
56         * elf/dl-lookup.c (undefined_msg): Remove variable.
57         (_dl_lookup_symbol_x): Replace undefined_msg with string
58         literal.
59
60         * elf/dl-lookup.c (do_lookup_unique): New function.
61         (do_lookup_x): Move STB_GNU_UNIQUE handling code
62         to a separate function.
63
64 2014-06-23  Andreas Schwab  <schwab@suse.de>
65
66         [BZ #17079]
67         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
68         before reading the next line.
69
70 2014-06-23  Will Newton  <will.newton@linaro.org>
71
72         * test-skeleton.c (signal_handler): Use printf and %m
73         rather than perror.  Use printf rather than fprintf to
74         stderr.  Use puts rather than fputs to stderr.
75         (main): Likewise.
76
77 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
78
79         * nscd/nscd.c (thread_info_t): Remove typedef.
80         (thread_info): Remove variable.
81
82 2014-06-21  Allan McRae  <allan@archlinux.org>
83
84         * NEWS: Mention CVE-2014-4043.
85
86 2014-06-20  Roland McGrath  <roland@hack.frob.com>
87
88         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
89         * nptl/smp.h: ... here.
90
91         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
92
93         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
94         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
95         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
96         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
97
98         * nptl/allocatestack.c: Include <stack-aliasing.h>.
99         * nptl/stack-aliasing.h: New file.
100         * sysdeps/i386/i686/stack-aliasing.h: New file.
101         * sysdeps/i386/i686/nptl/Makefile: File removed.
102         * sysdeps/x86_64/stack-aliasing.h: New file.
103         * sysdeps/x86_64/nptl/Makefile
104         (CFLAGS-pthread_create.c): Variable removed.
105
106         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
107         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
108         old file.
109         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
110         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
111         old file.
112
113 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
114
115         * sysdeps/unix/sysv/linux/arm/kernel-features.h
116         (__ASSUME_SIGFRAME_V2): Remove macro.
117         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
118         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
119         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
120         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
121         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
122         Declare as function.  Remove conditional macro definitions.
123         (__default_rt_sa_restorer): Likewise.
124         (__default_sa_restorer_v1): Remove declaration.
125         (__default_sa_restorer_v2): Likewise.
126         (__default_rt_sa_restorer_v1): Likewise.
127         (__default_rt_sa_restorer_v2): Likewise.
128         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
129         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
130         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
131
132 2014-06-20  Roland McGrath  <roland@hack.frob.com>
133
134         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
135         (libpthread-routines): Add sysdep.
136         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
137         * sysdeps/unix/sysv/linux/sparc/Versions
138         (libpthread: GLIBC_2.3.3): New version set.
139         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
140         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
141         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
142         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
143         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
144         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
145         Moved ...
146         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
147         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
148         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
149         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
150         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
151         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
152         * sysdeps/sparc/nptl/sem_init.c: ... here.
153         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
154         * sysdeps/sparc/nptl/sem_post.c: ... here.
155         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
156         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
157         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
158         * sysdeps/sparc/nptl/sem_wait.c: ... here.
159         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
160         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
161         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
162         (libpthread-routines): Add cpu_relax.
163         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
164         File removed.
165         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
166         (librt: GLIBC_2.3.3): New version set.
167         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
168         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
169         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
170         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
171         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
172         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
173         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
174         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
175         Moved ...
176         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
177         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
178         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
179         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
180         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
181         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
182         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
183         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
184         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
186         Moved ...
187         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
188         Update #include.
189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
190         Moved ...
191         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
192         Update #include.
193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
194         Moved ...
195         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
196         Update #include.
197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
198         Moved ...
199         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
200         Update #include.
201         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
202         Moved ...
203         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
204         Update #include.
205         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
206         Moved ...
207         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
208         Update #include.
209         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
210         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
211         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
212         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
213         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
214         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
215         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
216         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
217         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
218         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
219         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
220         Moved ...
221         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
223         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
225         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
226
227 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
228
229         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
230         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
231         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
232         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
233         * nscd/nscd.c: Likewise.
234         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
235         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
236         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
237         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
238
239         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
240         <kernel-features.h>.
241         (init_mq_netlink): Remove conditional have_sock_cloexec
242         definitions.  Remove code conditional on have_sock_cloexec < 0.
243         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
244         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
245         * sysdeps/unix/sysv/linux/opensock.c: Do not include
246         <kernel-features.h>.
247         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
248         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
249
250 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
251
252         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
253         Add tests for memset_chk and memset.
254
255         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
256         with AVX2_Usable.
257
258 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
259
260         [BZ #16046]
261         * elf/tst-dl-iter-static.c: New file.
262         * elf/Makefile (tests-static): Add tst-dl-iter-static.
263
264         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
265         error.
266
267 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
268
269         * sysdeps/unix/sysv/linux/kernel-features.h
270         (__ASSUME_F_GETOWN_EX): Remove macro.
271         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
272         <kernel-features.h>.
273         (miss_F_GETOWN_EX): Remove variable or macro.
274         (do_fcntl): Do not check miss_F_GETOWN_EX.
275         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
276
277         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
278         Remove macro.
279         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
280         [!__ASSUME_AT_RANDOM]: Remove conditional code.
281         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
282
283         * sysdeps/unix/sysv/linux/kernel-features.h
284         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
285         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
286         [ADJ_OFFSET_SS_READ]: Make code unconditional.
287         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
288
289 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
290
291         [BZ #17075]
292         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
293         Fix calculation of the symbol's value.
294         * sysdeps/arm/tst-armtlsdescloc.c: New file.
295         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
296         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
297         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
298         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
299         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
300         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
301         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
302         (modules-names): Add `tst-armtlsdescmod',
303         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
304         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
305         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
306         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
307         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
308         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
309         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
310         ($(objpfx)tst-armtlsdescloc): New dependency.
311         ($(objpfx)tst-armtlsdescextnow): Likewise.
312         ($(objpfx)tst-armtlsdescextlazy): Likewise.
313         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
314         TLS scheme support.
315         * sysdeps/arm/configure: Regenerate.
316
317 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
318
319         * include/fcntl.h (__atfct_seterrno): Remove prototype.
320         (__atfct_seterrno_2): Likewise.
321         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
322         <kernel-features.h>.
323         (__ASSUME_ATFCTS): Do not undefine and redefine.
324         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
325         (__have_atfcts): Remove conditional definition.
326         (__fxstatat([__NR_fstatat64]: Make code unconditional.
327         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
328         unreachable if [__ASSUME_ATFCTS].
329         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
330         not undefine and redefine.
331         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
332         <kernel-features.h>.
333         (faccessat) [__NR_faccessat]: Make code unconditional.
334         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
335         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
336         <kernel-features.h>.
337         (fchmodat) [__NR_fchmodat]: Make code unconditional.
338         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
339         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
340         <kernel-features.h>.
341         (fchownat) [__NR_fchownat]: Make code unconditional.
342         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
343         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
344         <kernel-features.h>.
345         (futimesat) [__NR_futimesat]: Make code unconditional.
346         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
347         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
348         <kernel-features.h>.
349         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
350         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
351         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
352         <kernel-features.h>.
353         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
354         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
355         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
356         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
357         <kernel-features.h>.
358         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
359         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
360         * sysdeps/unix/sysv/linux/linkat.c: Do not include
361         <kernel-features.h>.
362         (linkat) [__NR_linkat]: Make code unconditional.
363         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
364         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
365         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
366         <kernel-features.h>.
367         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
368         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
369         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
370         <kernel-features.h>.
371         (mkdirat) [__NR_mkdirat]: Make code unconditional.
372         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
373         * sysdeps/unix/sysv/linux/openat.c: Do not include
374         <kernel-features.h>.
375         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
376         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
377         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
378         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
379         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
380         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
381         <kernel-features.h>.
382         (readlinkat) [__NR_readlinkat]: Make code unconditional.
383         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
384         result of INLINE_SYSCALL directly, not via int variable.
385         * sysdeps/unix/sysv/linux/renameat.c: Do not include
386         <kernel-features.h>.
387         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
388         (renameat) [__NR_renameat]: Make code unconditional.
389         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
390         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
391         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
392         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
393         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
394         (__ASSUME_ATFCTS): Do not undefine and redefine.
395         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
396         <kernel-features.h>.
397         (symlinkat) [__NR_symlinkat]: Make code unconditional.
398         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
399         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
400         <kernel-features.h>.
401         (unlinkat) [__NR_unlinkat]: Make code unconditional.
402         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
403         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
404         (__ASSUME_ATFCTS): Do not undefine and redefine.
405         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
406         <kernel-features.h>.
407         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
408         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
409         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
410         <kernel-features.h>.
411         (__xmknodat) [__NR_mknodat]: Make code unconditional.
412         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
413
414 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
415
416         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
417
418 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
419
420         [BZ #17069]
421         * posix/regcomp.c (parse_reg_exp): Deallocate partially
422         constructed tree before returning error.
423         * posix/bug-regexp36.c: Expand test case.
424
425 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
426
427         [BZ #6803]
428         * math/libm-test.inc (scalbln_test_date):
429         Add errno expectations.
430         * math/w_scalblnf.c: New File.
431         Add wrapper which checks for setting errno to ERANGE.
432         Add weak_alias for corresponding scalbln function.
433         * math/w_scalbln.c: Likewise.
434         * math/w_scalblnl.c: Likewise.
435         * math/Makefile (libm-calls): Add w_scalbln.
436         * sysdeps/ieee754/flt-32/s_scalblnf.c:
437         Remove weak_alias for corresponding scalbln function.
438         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
439         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
440         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
441         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
442         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
443         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
444         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
445         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
446         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
447         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
448         Remove long_double_symbol for scalblnl function in libm, libc.
449         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
450         Add wrapper which checks for setting errno to ERANGE.
451         Add long_double_symbol for scalblnl function in libm, libc.
452         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
453         Remove long_double_symbol for scalblnl in libm.
454         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
455         Add wrapper which checks for setting errno to ERANGE.
456         Add long_double_symbol for scalblnl function in libm.
457         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
458         Do not use wrapper because of own implementation.
459
460 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
461
462         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
463         3 bytes for __pad1 for x32.
464         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
465
466 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
467             H.J. Lu  <hongjiu.lu@intel.com>
468
469         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
470         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
471         * sysdeps/x86_64/multiarch/memset.S: Likewise.
472         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
473         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
474
475 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
476
477         [BZ #17069]
478         * posix/regcomp.c (parse_expression): Deallocate partially
479         constructed tree before returning error.
480         * posix/Makefile.c (tests): Add bug-regex36.
481         (generated): Add bug-regex36.mtrace.
482         (tests-special): Add $(objpfx)bug-regex36-mem.out
483         (bug-regex36-ENV): New variable.
484         ($(objpfx)bug-regex36-mem.out): New rule.
485         * posix/bug-regex36.c: New file.
486
487 2014-06-19  Will Newton  <will.newton@linaro.org>
488
489         * malloc/malloc.c (systrim): If extra is zero then return
490         early.
491
492 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
493
494         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
495
496 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
497
498         * sysdeps/aarch64/strchr.S: New file.
499
500 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
501
502         [BZ #17022]
503         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
504         from arguments -2 or below.
505         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
506         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
507
508 2014-06-18  Andreas Schwab  <schwab@suse.de>
509
510         [BZ #17062]
511         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
512         of a bracket expr not to run off the end of the string.
513         * posix/Makefile (tests): Add tst-fnmatch3.
514         * posix/tst-fnmatch3.c: New file.
515
516 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
517
518         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
519         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
520         [$(cross-compiling) = no]: Likewise.
521         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
522         [$(cross-compiling) = no]: Likewise.
523
524 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
525
526         [BZ #17031]
527         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
528         double, adjusted for any remainder from the high double.
529         * math/libm-test.inc (nearbyint): Add tests.
530         (rint): Likewise.
531
532 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
533
534         * nptl/sysdeps/powerpc/Makefile: Moved ...
535         * sysdeps/powerpc/nptl/Makefile: ... here.
536         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
537         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
538         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
539         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
540         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
541         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
542         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
543         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
544         * nptl/sysdeps/powerpc/tls.h: Moved ...
545         * sysdeps/powerpc/nptl/tls.h: ... here.
546
547 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
548
549         [BZ #16681]
550         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
551         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
552         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
553         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
554         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
555         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
556         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
557         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
558         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
559
560 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
561
562         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
563
564 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
565
566         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
567         defined operator.
568
569         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
570         $TIMEOUTFACTOR.
571
572 2014-06-16  Florian Weimer  <fweimer@redhat.com>
573
574         [BZ #17058]
575         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
576         non-executed part of the test.
577
578 2014-06-16  Andreas Schwab  <schwab@suse.de>
579
580         * string/bits/string2.h (strdup, strndup): Update feature guard.
581
582 2014-06-14  David S. Miller  <davem@davemloft.net>
583
584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
585
586 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
587
588         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
589         that was previously under [RESET_PID].
590         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
591
592         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
593         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
594         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
595         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
596         (__libc_vfork): New strong alias.
597         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
598
599 2014-06-14 Andi Kleen  <ak@linux.intel.com>
600
601         * sysdeps/generic/elide.h: New file.
602
603 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
604
605         * Makefile (installed-headers): Adjust path of pthread.h header.
606
607 2014-06-13  Roland McGrath  <roland@hack.frob.com>
608
609         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
610         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
611         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
612         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
613
614         * nptl/sysdeps/s390/Makefile: Moved ...
615         * sysdeps/s390/nptl/Makefile: ... here.
616         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
617         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
618         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
619         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
620         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
621         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
622         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
623         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
624         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
625         * sysdeps/s390/nptl/pthreaddef.h: ... here.
626         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
627         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
628         * nptl/sysdeps/s390/tls.h: Moved ...
629         * sysdeps/s390/nptl/tls.h: ... here.
630
631         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
632         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
633
634 2014-06-13  David S. Miller  <davem@davemloft.net>
635
636         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
638         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
639         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
640         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
642         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
643         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
644         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
645         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
646         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
647         Remove RESET_PID cpp guards.
648         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
649         Remove RESET_PID cpp guards.
650         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
651
652 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
653
654         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
655         __sp to uintptr_t.
656
657 2014-06-13  Andi Kleen  <ak@linux.intel.com>
658
659         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
660         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
661         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
662         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
663         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
664         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
665         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
666         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
667         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
668         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
669         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
670         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
671         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
672         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
673         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
674         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
675         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
676         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
677         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
678         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
679
680         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
681         (pthread_rwlock_rdlock): Add elision.
682         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
683         (pthread_rwlock_wrlock): Add elision.
684         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
685         (pthread_rwlock_trywrlock): Add elision.
686         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
687         (pthread_rwlock_tryrdlock): Add elision.
688         * nptl/pthread_rwlock_unlock.c: Include elide.h.
689         (pthread_rwlock_tryrdlock): Add elision unlock.
690         * nptl/sysdeps/pthread/pthread.h:
691         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
692         (PTHREAD_RWLOCK_INITIALIZER,
693         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
694         Handle new elision field.
695         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
696         * sysdeps/arm/nptl/bits/pthreadtypes.h
697         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
698         * sysdeps/sh/nptl/bits/pthreadtypes.h
699         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
700         * sysdeps/tile/nptl/bits/pthreadtypes.h
701         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
702         * sysdeps/a/nptl/bits/pthreadtypes.h
703         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
704         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
705         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
706         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
707         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
708         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
709         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
710         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
711         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
712         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
713         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
714         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
715         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
716         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
717         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
718         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
719         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
720         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
721         (elision_init): Set try_xbegin to zero when no RTM.
722         * sysdeps/x86/nptl/bits/pthreadtypes.h
723         (pthread_rwlock_t): Change __pad1 to __rwelision.
724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
725
726 2014-06-13  Andi Kleen  <ak@linux.intel.com>
727
728         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
729         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
730         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
731         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
732
733 2014-06-13  Meador Inge  <meadori@codesourcery.com>
734
735         [BZ #16996]
736         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
737         that the cached result has been set before returning it.
738
739 2014-06-12  Roland McGrath  <roland@hack.frob.com>
740
741         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
742         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
743         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
744         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
745         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
746         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
747
748         * nptl/sysdeps/sparc/Makefile: Moved ...
749         * sysdeps/sparc/nptl/Makefile: ... here.
750         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
751         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
752         * nptl/sysdeps/sparc/tls.h: Moved ...
753         * sysdeps/sparc/nptl/tls.h: ... here.
754         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
755         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
756         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
757         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
758         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
759         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
760         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
761         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
762         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
763         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
764         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
765         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
766         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
767         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
768         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
769         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
770         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
771         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
772         Update #include.
773         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
774         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
775         Update #include.
776         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
777         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
778         Update #include.
779         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
780         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
781         Update #include.
782
783         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
784
785         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
786         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
787
788         * sysdeps/pthread/posix-timer.h: Include <list.h>.
789         (struct list_links): Type removed.
790         (struct thread_node, struct timer_node): Replace struct list_links
791         with struct list_head.
792         (list_unlink_ip): Likewise.
793         * sysdeps/pthread/timer_routines.c
794         (timer_free_list, thread_free_list, thread_active_list): Likewise.
795         (list_append, list_insbefore): Likewise.
796         (list_init): Function removed.
797         (thread_init, init_module): Use INIT_LIST_HEAD instead.
798         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
799         * sysdeps/pthread/Makefile: ... here, new file.
800
801         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
802         * sysdeps/nptl/Implies: ... here.
803         * sysdeps/unix/sysv/linux/Implies: Add nptl.
804         * nptl/sysdeps/pthread/list.h: Moved ...
805         * include/list.h: ... here.
806         * nptl/sysdeps/pthread/createthread.c: Moved ...
807         * nptl/createthread.c: ... here.
808         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
809         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
810         * nptl/pt-longjmp.c: ... here.
811         * nptl/sysdeps/pthread/Makefile: Moved ...
812         * sysdeps/nptl/Makefile: ... here.
813         * nptl/sysdeps/pthread/Subdirs: Moved ...
814         * sysdeps/nptl/Subdirs: ... here.
815         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
816         * sysdeps/nptl/aio_misc.h: ... here.
817         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
818         * sysdeps/nptl/bits/libc-lock.h: ... here.
819         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
820         * sysdeps/nptl/bits/libc-lockP.h: ... here.
821         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
822         * sysdeps/nptl/bits/stdio-lock.h: ... here.
823         * nptl/sysdeps/pthread/configure: Moved ...
824         * sysdeps/nptl/configure: ... here.
825         * nptl/sysdeps/pthread/configure.ac: Moved ...
826         * sysdeps/nptl/configure.ac: ... here.
827         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
828         * sysdeps/nptl/gai_misc.h: ... here.
829         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
830         * sysdeps/nptl/librt-cancellation.c: ... here.
831         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
832         * sysdeps/nptl/malloc-machine.h: ... here.
833         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
834         * sysdeps/nptl/pthread-functions.h: ... here.
835         * nptl/sysdeps/pthread/pthread.h: Moved ...
836         * sysdeps/nptl/pthread.h: ... here.
837         * nptl/sysdeps/pthread/setxid.h: Moved ...
838         * sysdeps/nptl/setxid.h: ... here.
839         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
840         * sysdeps/nptl/sigfillset.c: ... here.
841         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
842         * sysdeps/nptl/tcb-offsets.h: ... here.
843         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
844         * sysdeps/nptl/tst-mqueue8x.c: ... here.
845         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
846         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
847         * nptl/sysdeps/pthread/allocalim.h: Moved ...
848         * sysdeps/pthread/allocalim.h: ... here.
849         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
850         * sysdeps/pthread/bits/sigthread.h: ... here.
851         * nptl/sysdeps/pthread/flockfile.c: Moved ...
852         * sysdeps/pthread/flockfile.c: ... here.
853         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
854         * sysdeps/pthread/ftrylockfile.c: ... here.
855         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
856         * sysdeps/pthread/funlockfile.c: ... here.
857         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
858         * sysdeps/pthread/posix-timer.h: ... here.
859         * nptl/sysdeps/pthread/timer_create.c: Moved ...
860         * sysdeps/pthread/timer_create.c: ... here.
861         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
862         * sysdeps/pthread/timer_delete.c: ... here.
863         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
864         * sysdeps/pthread/timer_getoverr.c: ... here.
865         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
866         * sysdeps/pthread/timer_gettime.c: ... here.
867         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
868         * sysdeps/pthread/timer_routines.c: ... here.
869         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
870         * sysdeps/pthread/timer_settime.c: ... here.
871         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
872         * sysdeps/pthread/tst-timer.c: ... here.
873         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
874         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
875
876         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
877         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
878
879         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
880         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
881         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
882         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
883         Update #include target.
884         * nptl/sysdeps/i386/i686/Makefile: Moved ...
885         * sysdeps/i386/i686/nptl/Makefile: ... here.
886         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
887         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
888         Update #include target.
889         * nptl/sysdeps/i386/i686/tls.h: Moved ...
890         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
891         * nptl/sysdeps/i386/Makefile: Moved ...
892         * sysdeps/i386/nptl/Makefile: ... here.
893         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
894         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
895         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
896         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
897         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
898         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
899         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
900         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
901         * sysdeps/i386/nptl/pthreaddef.h: ... here.
902         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
903         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
904         * nptl/sysdeps/i386/tls.h: Moved ...
905         * sysdeps/i386/nptl/tls.h: ... here.
906
907         * sysdeps/sh/Makefile [$(subdir) = csu]
908         (gen-as-const-headers): Add tcb-offsets.sym.
909         * nptl/sysdeps/sh/Makefile: File removed.
910         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
911         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
912         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
913         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
914         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
915         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
916         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
917         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
918         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
919         * sysdeps/sh/nptl/pthreaddef.h: ... here.
920         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
921         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
922         * nptl/sysdeps/sh/tls.h: Moved ...
923         * sysdeps/sh/nptl/tls.h: ... here.
924         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
925         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
926         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
927         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
928         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
929         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
930         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
931         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
932         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
933         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
934         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
935         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
936         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
937         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
938         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
939         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
940         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
941         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
942         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
943         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
944         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
945         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
946         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
947         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
948         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
949         Moved ...
950         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
951         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
952         Moved ...
953         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
954         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
955         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
956         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
957         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
958         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
959         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
960         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
961         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
962         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
963         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
964         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
965         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
966         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
967         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
968         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
969         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
970         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
971         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
972
973 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
974
975         * posix/spawn_faction_addopen.c: Include string.h.
976
977 2014-06-11  Roland McGrath  <roland@hack.frob.com>
978
979         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
980         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
981         * nptl/sysdeps/x86_64/Makefile: Moved ...
982         * sysdeps/x86_64/nptl/Makefile: ... here.
983         * nptl/sysdeps/x86_64/configure: Moved ...
984         * sysdeps/x86_64/nptl/configure: ... here.
985         * nptl/sysdeps/x86_64/configure.ac: Moved ...
986         * sysdeps/x86_64/nptl/configure.ac: ... here.
987         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
988         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
989         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
990         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
991         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
992         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
993         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
994         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
995         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
996         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
997         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
998         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
999         * nptl/sysdeps/x86_64/tls.h: Moved ...
1000         * sysdeps/x86_64/nptl/tls.h: ... here.
1001         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
1002         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
1003         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
1004         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
1005
1006         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
1007
1008 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1009
1010         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1011
1012 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
1013
1014         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
1015         type.
1016         [POSIX] (off_t): Likewise.
1017         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
1018         [POSIX] (S_ISBLK): Require macro.
1019         [POSIX] (S_ISCHR): Likewise.
1020         [POSIX] (S_ISDIR): Likewise.
1021         [POSIX] (S_ISFIFO): Likewise.
1022         [POSIX] (S_ISREG): Likewise.
1023         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
1024         optional-macro.
1025         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
1026         type.
1027         [POSIX] (time_t): Likewise.
1028         [POSIX] (timer_t): Likewise.
1029
1030 2014-06-11  Florian Weimer  <fweimer@redhat.com>
1031
1032         [BZ #17048]
1033         * posix/spawn_int.h (struct __spawn_action): Make the path string
1034         non-const to support deallocation.
1035         * posix/spawn_faction_addopen.c
1036         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
1037         * posix/spawn_faction_destroy.c
1038         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
1039         path in all spawn_do_open actions.
1040         * posix/tst-spawn.c (do_test): Exercise the copy operation in
1041         posix_spawn_file_actions_addopen.
1042
1043 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
1044
1045         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
1046         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
1047         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
1048         conditional code always true.
1049         (__libc_vfork): New alias.
1050
1051 2014-06-11  Roland McGrath  <roland@hack.frob.com>
1052
1053         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1054         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
1055
1056         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
1057
1058         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1059         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
1060
1061         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
1062         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
1063
1064         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1065         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
1066
1067 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1068
1069         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
1070         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
1071         multiarch strcmp for PPC64.
1072         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
1073         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
1074         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
1075         multiarch optimizations.
1076         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1077         (__libc_ifunc_impl_list): Likewise.
1078
1079 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
1080
1081         * benchtests/scripts/validate_benchout.py: New script.
1082         * benchtests/Makefile (bench-func): Call it.
1083         * benchtests/scripts/benchout.schema.json: New file.
1084
1085 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
1086
1087         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
1088         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
1089         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
1090         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
1091         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
1092         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
1093         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
1094         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
1095         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
1096         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
1097         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
1098         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
1099         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
1100         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
1101         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
1102         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
1103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
1104         Moved ...
1105         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
1106         ... here.
1107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
1108         Moved ...
1109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
1110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
1111         Moved ...
1112         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
1113         ... here.
1114         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
1115         Moved ...
1116         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
1117         ... here.
1118         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
1119         Moved ...
1120         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
1121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
1122         Moved ...
1123         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
1124         ... here.
1125         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
1126         Moved ...
1127         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
1128         ... here.
1129         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
1130         Moved ...
1131         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
1132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
1133         Moved ...
1134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
1135         ... here.
1136         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
1137         Moved ...
1138         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
1139         ... here.
1140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
1141         Moved ...
1142         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
1143         ... here.
1144         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
1145         Moved ...
1146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
1147         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
1148         Moved ...
1149         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
1150         ... here.
1151         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
1152         Moved ...
1153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
1154         ... here.
1155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
1156         Moved ...
1157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
1158         ... here.
1159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
1160         Moved ...
1161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
1162         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
1163         Moved ...
1164         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
1165         ... here.
1166         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
1167         Moved ...
1168         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
1169         ... here.
1170         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
1171         Moved ...
1172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
1173         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
1174         Moved ...
1175         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
1176         ... here.
1177         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
1178         Moved ...
1179         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
1180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
1181         Moved ...
1182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
1183         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
1184         Moved ...
1185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
1186         ... here.
1187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
1188         Moved ...
1189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
1190         ... here.
1191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
1192         Moved ...
1193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
1194         ... here.
1195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
1196         Moved ...
1197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
1198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
1199         Moved ...
1200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
1201         ... here.
1202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
1203         Moved ...
1204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
1205         ... here.
1206         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
1207         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
1208         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
1209         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
1210         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
1211         Moved ...
1212         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
1213         ... here.
1214         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
1215         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
1216         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
1217         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
1218         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
1219         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
1220         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
1221         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
1222         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
1223         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
1224         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
1225         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
1226         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
1227         Moved ...
1228         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
1229         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
1230         Moved ...
1231         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
1232         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
1233         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
1234         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
1235         Moved ...
1236         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
1237         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
1238         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
1239         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
1240         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
1241         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
1242         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
1243
1244 2014-06-10  Wilco  <wdijkstr@arm.com>
1245
1246         * math/test-fenv-return.c: New file.
1247         * math/Makefile: Add new test test-fenv-return.
1248
1249 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
1250
1251         [BZ #17042]
1252         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
1253         when x - 1 is zero.
1254         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
1255         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
1256         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
1257         0.0L for an argument of 1.0L.
1258         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
1259         Likewise.
1260         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
1261         value when x - 1 is zero.
1262         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
1263         * sysdeps/i386/fpu/libm-test-ulps: Update.
1264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1265
1266 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
1267
1268         [BZ #15119]
1269         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
1270
1271 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1272
1273         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
1274         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
1275
1276 2014-06-09  Roland McGrath  <roland@hack.frob.com>
1277
1278         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1279         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
1280
1281         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1282         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
1283
1284         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1285         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
1286
1287         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
1288         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
1289
1290         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
1291         if not already defined.
1292         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
1293         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
1294         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
1295         (TLS_INIT_TP): Use it.
1296         (TLS_DEFINE_INIT_TP): New macro.
1297         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
1298
1299 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
1300
1301         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
1302         constant.
1303         [POSIX] (IXANY): Likewise.
1304         [POSIX] (OLCUC): Likewise.
1305         [POSIX || POSIX2008] (CBAUD): Do not allow.
1306         [POSIX || POSIX2008] (DEFECHO): Likewise.
1307         [POSIX || POSIX2008] (ECHOCTL): Likewise.
1308         [POSIX || POSIX2008] (ECHOKE): Likewise.
1309         [POSIX || POSIX2008] (ECHOPRT): Likewise.
1310         [POSIX || POSIX2008] (EXTA): Likewise.
1311         [POSIX || POSIX2008] (EXTB): Likewise.
1312         [POSIX || POSIX2008] (FLUSHO): Likewise.
1313         [POSIX || POSIX2008] (LOBLK): Likewise.
1314         [POSIX || POSIX2008] (PENDIN): Likewise.
1315         [POSIX || POSIX2008] (SWTCH): Likewise.
1316         [POSIX || POSIX2008] (VDISCARD): Likewise.
1317         [POSIX || POSIX2008] (VDSUSP): Likewise.
1318         [POSIX || POSIX2008] (VLNEXT): Likewise.
1319         [POSIX || POSIX2008] (VREPRINT): Likewise.
1320         [POSIX || POSIX2008] (VSTATUS): Likewise.
1321         [POSIX || POSIX2008] (VWERASE): Likewise.
1322         (B*): Change to B[0123456789]*.
1323         * conform/data/time.h-data [POSIX || UNIX98]
1324         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
1325         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
1326         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
1327         [POSIX] (tm_*): Do not allow.
1328
1329 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
1330
1331         * Makefile (install): Don't set LANGUAGE.
1332         * Makefile.in (install): Likewise.
1333         * assert/Makefile (test-assert-ENV): Remove variable.
1334         (test-assert-perr-ENV): Likewise.
1335         * elf/Makefile (neededtest4-ENV): Likewise.
1336         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
1337         [$(cross-compiling) = no]: Don't set LANGUAGE.
1338         * io/ftwtest-sh (LANG): Remove variable.
1339         * libio/Makefile (tst-widetext-ENV): Likewise.
1340         * manual/install.texi (Running make install): Don't refer to
1341         environment settings for make install.
1342         * INSTALL: Regenerated.
1343         * nptl/tst-tls6.sh: Don't set LANG.
1344         * posix/globtest.sh (LANG): Remove variable.
1345         * string/Makefile (tester-ENV): Likewise.
1346         (inl-tester-ENV): Likewise.
1347         (noinl-tester-ENV): Likewise.
1348         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
1349         [$(cross-compiling) = no]: Don't set LANGUAGE.
1350         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
1351         without explicit environment settings.
1352
1353 2014-06-06  Roland McGrath  <roland@hack.frob.com>
1354
1355         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
1356         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
1357         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
1358         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
1359
1360 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
1361
1362         * crypt/crypt-private.h [DOS]: Add some includes taken from the
1363         other files in the crypt directory.
1364         * crypt/crypt.c: Remove duplicate includes.
1365         * crypt/crypt-entry.c: Likewise.
1366         * crypt/crypt_util.c: Likewise.
1367
1368 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
1369
1370         * Makeconfig (run-program-env): New variable.
1371         (run-program-prefix-before-env): Likewise.
1372         (run-program-prefix-after-env): Likewise.
1373         (run-program-prefix): Define in terms of new variables.
1374         (built-program-cmd-before-env): New variable.
1375         (built-program-cmd-after-env): Likewise.
1376         (built-program-cmd): Define in terms of new variables.
1377         (test-program-prefix-before-env): New variable.
1378         (test-program-prefix-after-env): Likewise.
1379         (test-program-prefix): Define in terms of new variables.
1380         (test-program-cmd-before-env): New variable.
1381         (test-program-cmd-after-env): Likewise.
1382         (test-program-cmd): Define in terms of new variables.
1383         * Rules (make-test-out): Use $(run-program-env).
1384         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
1385         (help): Do not mention environment variables.  Mention
1386         --timeoutfactor option.
1387         (timeoutfactor): New variable.
1388         (blacklist_exports): Remove function.
1389         (exports): Remove variable.
1390         (command): Do not include ${exports}.
1391         * manual/install.texi (Configuring and compiling): Do not mention
1392         test wrappers preserving environment variables.  Mention that last
1393         assignment to a variable must take precedence.
1394         * INSTALL: Regenerated.
1395         * benchtests/Makefile (run-bench): Use $(run-program-env).
1396         * catgets/Makefile ($(objpfx)test1.cat): Use
1397         $(built-program-cmd-before-env), $(run-program-env) and
1398         $(built-program-cmd-after-env).
1399         ($(objpfx)test2.cat): Do not specify environment variables
1400         explicitly.
1401         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
1402         $(run-program-env) and $(built-program-cmd-after-env).
1403         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
1404         $(run-program-env) and $(test-program-cmd-after-env).
1405         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
1406         explicitly.
1407         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
1408         run_program_env and test_program_cmd_after_env arguments.
1409         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
1410         * elf/tst-pathopt.sh: Use run_program_env argument.
1411         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
1412         $(test-wrapper-env) and $(run-program-env).
1413         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
1414         run_program_env arguments.
1415         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
1416         * intl/Makefile ($(objpfx)tst-gettext.out): Use
1417         $(test-program-prefix-before-env), $(run-program-env) and
1418         $(test-program-prefix-after-env).
1419         ($(objpfx)tst-gettext2.out): Likewise.
1420         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
1421         run_program_env and test_program_prefix_after_env arguments.
1422         * intl/tst-gettext2.sh: Likewise.
1423         * intl/tst-gettext4.sh: Do not set environment variables
1424         explicitly.
1425         * intl/tst-gettext6.sh: Likewise.
1426         * intl/tst-translit.sh: Likewise.
1427         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
1428         $(test-program-prefix-before-env), $(run-program-env) and
1429         $(test-program-prefix-after-env).
1430         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
1431         run_program_env and test_program_prefix_after_env arguments.
1432         * math/Makefile (run-regen-ulps): Use $(run-program-env).
1433         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
1434         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
1435         explicitly with each use of ${test_wrapper_env}.
1436         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
1437         $(test-program-prefix-before-env), $(run-program-env) and
1438         $(test-program-prefix-after-env).
1439         * posix/tst-getconf.sh: Do not set environment variables
1440         explicitly.
1441         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
1442         run_program_env and test_program_prefix_after_env arguments.
1443         * stdio-common/tst-printf.sh: Do not set environment variables
1444         explicitly.
1445         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
1446         $(test-program-prefix-before-env), $(run-program-env) and
1447         $(test-program-prefix-after-env).
1448         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
1449         run_program_env and test_program_prefix_after_env arguments.
1450         Split $test calls into $test_pre and $test.
1451         * timezone/Makefile (build-testdata): Use
1452         $(built-program-cmd-before-env), $(run-program-env) and
1453         $(built-program-cmd-after-env).
1454
1455 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1456
1457         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
1458         strlen for non SHARED builds.
1459
1460 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
1461
1462         * nptl/allocatestack.c (check_list): Inlined function...
1463         (__reclaim_stacks): ... here.
1464
1465 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1466
1467         [BZ #15698]
1468         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
1469         memory overrun.
1470
1471 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
1472
1473         * Rules (make-test-out): Include
1474         LOCPATH=$(common-objpfx)localedata in default environment.
1475         * debug/Makefile (tst-chk1-ENV): Remove variable.
1476         (tst-chk2-ENV): Likewise.
1477         (tst-chk3-ENV): Likewise.
1478         (tst-chk4-ENV): Likewise.
1479         (tst-chk5-ENV): Likewise.
1480         (tst-chk6-ENV): Likewise.
1481         (tst-lfschk1-ENV): Likewise.
1482         (tst-lfschk2-ENV): Likewise.
1483         (tst-lfschk3-ENV): Likewise.
1484         (tst-lfschk4-ENV): Likewise.
1485         (tst-lfschk5-ENV): Likewise.
1486         (tst-lfschk6-ENV): Likewise.
1487         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
1488         (tst-iconv7-ENV): Likewise.
1489         * intl/Makefile (LOCPATH-ENV): Likewise.
1490         (tst-codeset-ENV): Likewise.
1491         (tst-gettext3-ENV): Likewise.
1492         (tst-gettext5-ENV): Likewise.
1493         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
1494         (tst-fopenloc-ENV): Likewise.
1495         (tst-fgetws-ENV): Remove variable.
1496         (tst-ungetwc1-ENV): Likewise.
1497         (tst-ungetwc2-ENV): Likewise.
1498         (bug-ungetwc2-ENV): Likewise.
1499         (tst-swscanf-ENV): Likewise.
1500         (bug-ftell-ENV): Likewise.
1501         (tst-fgetwc-ENV): Likewise.
1502         (tst-fseek-ENV): Likewise.
1503         (tst-ftell-partial-wide-ENV): Likewise.
1504         (tst-ftell-active-handler-ENV): Likewise.
1505         (tst-ftell-append-ENV): Likewise.
1506         * posix/Makefile (tst-fnmatch-ENV): Likewise.
1507         (tst-regexloc-ENV): Likewise.
1508         (bug-regex1-ENV): Likewise.
1509         (tst-regex-ENV): Likewise.
1510         (tst-regex2-ENV): Likewise.
1511         (bug-regex5-ENV): Likewise.
1512         (bug-regex6-ENV): Likewise.
1513         (bug-regex17-ENV): Likewise.
1514         (bug-regex18-ENV): Likewise.
1515         (bug-regex19-ENV): Likewise.
1516         (bug-regex20-ENV): Likewise.
1517         (bug-regex22-ENV): Likewise.
1518         (bug-regex23-ENV): Likewise.
1519         (bug-regex25-ENV): Likewise.
1520         (bug-regex26-ENV): Likewise.
1521         (bug-regex30-ENV): Likewise.
1522         (bug-regex32-ENV): Likewise.
1523         (bug-regex33-ENV): Likewise.
1524         (bug-regex34-ENV): Likewise.
1525         (bug-regex35-ENV): Likewise.
1526         (tst-rxspencer-ENV): Likewise.
1527         (tst-rxspencer-no-utf8-ENV): Likewise.
1528         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
1529         (tst-sscanf-ENV): Likewise.
1530         (tst-swprintf-ENV): Likewise.
1531         (tst-swscanf-ENV): Likewise.
1532         (test-vfprintf-ENV): Likewise.
1533         (scanf13-ENV): Likewise.
1534         (bug14-ENV): Likewise.
1535         (tst-grouping-ENV): Likewise.
1536         * stdlib/Makefile (tst-strtod-ENV): Likewise.
1537         (tst-strtod3-ENV): Likewise.
1538         (tst-strtod4-ENV): Likewise.
1539         (tst-strtod5-ENV): Likewise.
1540         (testmb2-ENV): Likewise./
1541         * string/Makefile (tst-strxfrm-ENV): Likewise.
1542         (tst-strxfrm2-ENV): Likewise.
1543         (bug-strcoll1-ENV): Likewise.
1544         (test-strcasecmp-ENV): Likewise.
1545         (test-strncasecmp-ENV): Likewise.
1546         * time/Makefile (tst-strptime-ENV): Likewise.
1547         (tst-ftime_l-ENV): Likewise.
1548         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
1549         (tst-mbrtowc-ENV): Likewise.
1550         (tst-wcrtomb-ENV): Likewise.
1551         (tst-mbrtowc2-ENV): Likewise.
1552         (tst-c16c32-1-ENV): Likewise.
1553         (tst-mbsnrtowcs-ENV): Likewise.
1554
1555 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
1556
1557         * manual/resource.texi (How to get information about the memory
1558         subsystem?): Fix typo.
1559         Reported by Peon de la Parra Ivan <peon@keba.com>
1560
1561 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
1562
1563         [BZ #16882]
1564         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
1565         (pthread_spin_lock): Branch out of spin loop to proper location.
1566         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
1567         (pthread_spin_lock): Likewise.
1568
1569         * nptl/tst-spin4.c: New test.
1570         * nptl/Makefile (tests): Add tst-spin4.
1571
1572 2014-06-03  Andreas Schwab  <schwab@suse.de>
1573
1574         [BZ #15946]
1575         * resolv/res_send.c (send_dg): Reload file descriptor after
1576         calling reopen.
1577
1578 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
1579
1580         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1581
1582 2014-06-03  Richard Henderson  <rth@redhat.com>
1583
1584         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
1585         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
1586         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
1587         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
1588         in the SAVE_PID block.
1589         (__libc_vfork): New alias.
1590         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
1591
1592         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
1593         child in registers, not on the stack.  Remove RESET_PID conditionals.
1594         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
1595
1596 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1597
1598         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1599
1600 2014-06-03  Wilco  <wdijkstr@arm.com>
1601
1602         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
1603         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
1604         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1605         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
1606         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
1607         Likewise.
1608
1609 2014-06-03  Wilco  <wdijkstr@arm.com>
1610
1611         * sysdeps/aarch64/fpu/math_private.h
1612         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
1613         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
1614         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
1615         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
1616         Fix declarations.
1617
1618 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
1619
1620         * crypt/crypt-private.h: Include ufc-crypt.h.
1621         (__b64_from_24bit): Declare extern.
1622         * crypt/crypt_util.c(__b64_from_24bit): New function.
1623         (b64t): New static const variable.
1624         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
1625         (b64t): Remove variable.
1626         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
1627         * crypt/sha256-crypt.c: Include crypt-private.h.
1628         (b64t): Remove variable.
1629         (__sha256_crypt_r): Remove b64_from_24bit and replace
1630         with __b64_from_24bit.
1631         * crypt/sha512-crypt.c: Likewise.
1632
1633 2014-06-02  Roland McGrath  <roland@hack.frob.com>
1634
1635         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
1636         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
1637         Label the code __libc_vfork rather than __vfork.
1638         [!NOT_IN_libc] (vfork): Define as weak alias.
1639         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
1640         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
1641         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
1642
1643 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1644
1645         * malloc/malloc.c (malloc_info): Fix format specifier for
1646         n_mmaps.
1647
1648 2014-06-02  Wilco  <wdijkstr@arm.com>
1649
1650         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
1651         FPCR write.
1652
1653 2014-06-02  Wilco  <wdijkstr@arm.com>
1654
1655         [BZ #17009]
1656         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
1657         Rewrite to reduce FPCR/FPSR accesses.
1658
1659 2014-06-01  David S. Miller  <davem@davemloft.net>
1660
1661         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1662
1663 2014-05-31  David S. Miller  <davem@davemloft.net>
1664
1665         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
1666         to occur in round to nearest mode when |x| >= 2.0
1667
1668 2014-05-30  Richard Henderson  <rth@twiddle.net>
1669
1670         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
1671         (PSEUDO_RET_NOERRNO): Remove.
1672         (ret): Don't redefine.
1673         (ret_NOERRNO): Define in terms of ret.
1674         (ret_ERRVAL): Likewise.
1675
1676         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
1677         use of PSEUDO_RET; perform the error check directly.
1678
1679 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
1680
1681         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
1682         with __int128_t.
1683
1684 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1685
1686         * malloc/malloc (malloc_info): Fix formatting.
1687
1688 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1689             Roland McGrath  <roland@hack.frob.com>
1690
1691         * malloc/malloc (malloc_info): Also print mmapped statistics.
1692
1693 2014-05-30  Roland McGrath  <roland@hack.frob.com>
1694
1695         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
1696         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
1697
1698 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
1699
1700         * malloc/malloc.c (malloc_info): Inline mi_arena.
1701
1702 2014-05-29  Richard Henderson  <rth@twiddle.net>
1703
1704         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
1705         Remove comma before expanding ASM_ARGS_##nr.
1706         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
1707         Make _x0 a strict output; make _x8 a strict input; adjust expansion
1708         of ASM_ARGS_##nr.
1709         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
1710         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
1711         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
1712         (ASM_ARGS_1): Add leading comma.
1713
1714         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
1715         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
1716         to __errno_location.
1717         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
1718         Remove the expected plt for __errno_location.
1719
1720         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1721         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
1722         call to __read_tp.
1723
1724         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1725         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
1726         it and break it down.
1727         (DOCARGS_0, DOCARGS_1): Do nothing.
1728         (DOCARGS_2): Update to store into the new stack frame.
1729         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
1730         (UNDOCARGS_1): Update to restore from the new stack frame.
1731         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
1732         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
1733
1734         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1735         (SINGLE_THREAD_P): New parameter for result regno.
1736         (PSEUDO): Update to match; use cbz instead of beq.
1737
1738         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1739         Use ENTRY to define the _nocancel entry point.  Share the syscall
1740         and syscall error check paths with the cancel path.
1741         (PSEUDO_END): New.
1742
1743         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
1744         whitespace; tabs before and after asm mnemonics.
1745
1746 2014-05-29  Eric Wong  <normalperson@yhbt.net>
1747
1748         [BZ #15132]
1749         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
1750         Call fstat64 or stat64 internally, depending on arguments passed.
1751         Replace stat buffer argument with file descriptor argument.
1752         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
1753         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
1754         Pass fd to __internal_statvfs instead of calling fstat64.
1755         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
1756         Pass fd to __internal_statvfs64 instead of calling fstat64.
1757         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
1758         Pass -1 to __internal_statvfs instead of calling stat64.
1759         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
1760         Pass -1 to __internal_statvfs64 instead of calling stat64.
1761
1762 2014-05-28  Roland McGrath  <roland@hack.frob.com>
1763
1764         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
1765         that was previously under [RESET_PID].
1766         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
1767
1768         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
1769         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
1770
1771 2014-05-27  Roland McGrath  <roland@hack.frob.com>
1772
1773         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
1774
1775         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
1776         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
1777
1778 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
1779
1780         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
1781
1782 2014-05-27  Andreas Schwab  <schwab@suse.de>
1783
1784         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
1785         TLS_INIT_TP macro.
1786         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
1787         * elf/rtld.c (init_tls, dl_main): Likewise.
1788         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
1789         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
1790         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
1791         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
1792         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
1793         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
1794         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
1795         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
1796         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
1797         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
1798         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
1799         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
1800         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
1801         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
1802         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
1803         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
1804         * sysdeps/generic/tls.h: Update description.
1805
1806 2014-05-27  Will Newton  <will.newton@linaro.org>
1807
1808         [BZ #16990]
1809         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
1810         and restore r2 rather than just restoring.
1811
1812 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1813
1814         [BZ #16724]
1815         * libio/tst-ftell-append.c: New test case.
1816         * libio/Makefile (tests): Add test case.
1817         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
1818         append mode.
1819         * libio/wfileops.c (do_ftell_wide): Likewise.
1820
1821 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1822
1823         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1824
1825         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
1826         ...
1827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
1828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1829         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
1830         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
1831         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
1832         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
1833         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
1834         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
1835         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
1836         Moved ...
1837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
1838         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
1839         Moved ...
1840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
1841         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
1842         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
1843         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
1844         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
1845         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
1846         ...
1847         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
1848         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
1849         Moved ...
1850         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
1851         here.
1852         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
1853         ...
1854         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
1855         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
1856         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
1857
1858         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
1859         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
1860         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
1861         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
1862
1863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
1864         merge into ...
1865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
1866         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
1867         ...
1868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
1869         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
1870         ...
1871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
1872         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
1873         Moved ...
1874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
1875         here.
1876         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
1877         Moved ...
1878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
1879         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
1880         Moved ...
1881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
1882
1883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
1884         conditional [RESET_PID].
1885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
1886         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
1887         removed.
1888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
1889         removed.
1890
1891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
1892         <tcb-offsets.h>.
1893         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
1894         (__libc_vfork): New strong alias.
1895         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
1896         removed.
1897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
1898         Removed.
1899
1900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
1901         <tcb-offsets.h>.
1902         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
1903         (__libc_vfork): New strong alias.
1904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
1905         removed.
1906         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
1907         removed.
1908
1909 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
1910
1911         * malloc/malloc.c (mi_arena): New function.
1912         (malloc_info): Remove nested function mi_arena. Call non-nosted
1913         function mi_arena.
1914
1915 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1916
1917         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
1918         by insrwi.
1919         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
1920         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
1921         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
1922         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
1923         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
1924         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
1925         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
1926
1927 2014-05-26  Andreas Schwab  <schwab@suse.de>
1928
1929         [BZ #16984]
1930         * locale/programs/repertoire.c (repertoire_read): Add slash
1931         between I18NPATH element and file name.
1932         * locale/programs/locfile.c (locfile_read): Likewise.
1933
1934 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1935
1936         * nptl/pthread_mutexattr_settype.c
1937         (__pthread_mutexattr_settype):
1938         Disable lock elision for PTHREAD_MUTEX_NORMAL.
1939
1940 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
1941
1942         * nptl/tst-mutex5 (do_test):
1943         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
1944
1945 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1946
1947         * benchtests/README: Document 'init' directive.
1948         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
1949         BENCH_INIT.
1950         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
1951         (parse_file): Recognize 'init' directive.
1952
1953 2014-05-26  Kyle McMartin  <kyle@redhat.com>
1954
1955         [BZ #16796]
1956         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
1957         alignment of struct pthread.
1958
1959 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
1960
1961         [BZ #16878]
1962         * nscd/netgroupcache.c (addgetnetgrentX): Look for
1963         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1964         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
1965         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
1966
1967 2014-05-25  Richard Henderson  <rth@twiddle.net>
1968
1969         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
1970         (SINGLE_THREAD_P_PIC): Remove.
1971         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
1972         (SINGLE_THREAD_P_PIC): Remove.
1973
1974         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
1975         branch to syscall error ...
1976         (PSEUDO): ... here.
1977         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
1978         from __local_syscall_error to .Lsyscall_error.
1979         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
1980         (SYSCALL_ERROR): Update label name.
1981
1982         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
1983         Do not use DOARGS/UNDOARGS.
1984         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
1985         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
1986         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
1987         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
1988         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
1989
1990         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
1991         block comment.
1992
1993         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
1994         define if !NOT_IN_libc.
1995         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
1996         define with non-default symbol versions.
1997
1998 2014-05-23  Richard Henderson  <rth@twiddle.net>
1999
2000         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
2001         (vfork, __vfork): Define via compat_symbol.
2002
2003         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
2004         [!HAVE_IFUNC] (vfork_compat): Remove.
2005         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
2006
2007 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2008
2009         [BZ #16978]
2010         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
2011         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
2012         variable.
2013
2014 2014-05-23  Richard Henderson  <rth@twiddle.net>
2015
2016         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
2017         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
2018         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
2019         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
2020
2021         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
2022         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
2023         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
2024         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
2025         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
2026         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
2027         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
2028         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
2029         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
2030         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
2031         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
2032         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
2033         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
2034         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
2035         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
2036         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
2037         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
2038         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
2039         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
2040         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
2041         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
2042         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
2043         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
2044         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
2045         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
2046         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
2047         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
2048         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
2049         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
2050         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
2051         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
2052         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
2053         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
2054         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
2055         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
2056         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
2057         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
2058         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
2059         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
2060         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
2061         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
2062         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
2063         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
2064         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
2065         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
2066         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
2067         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
2068         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
2069         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
2070         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
2071         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
2072         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
2073         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
2074         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
2075         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
2076         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
2077
2078         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
2079         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
2080         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
2081         before exiting on error.
2082         (__libc_vfork): New strong alias.
2083         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
2084         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
2085
2086         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
2087         that was previously under [RESET_PID].
2088         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
2089
2090         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
2091
2092 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
2093
2094         [BZ #16977]
2095         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
2096         value when x - 1 is zero.
2097         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
2098         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
2099         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
2100         0.0L for an argument of 1.0L.
2101         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
2102         Likewise.
2103         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
2104         value when x - 1 is zero.
2105         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
2106         * sysdeps/i386/fpu/libm-test-ulps: Update.
2107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2108
2109 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
2110
2111         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
2112         alphasort and versionsort.
2113
2114 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2115
2116         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
2117         macro.
2118         [copysignf]: Likewise.
2119
2120 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
2121
2122         * crypt/md5-crypt.c: Fix formatting.
2123
2124 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2125
2126         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
2127         (b64_from_24bit): New function.
2128
2129 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2130
2131         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
2132         libc_hidden_builtin_def to ifunc.
2133         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
2134         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
2135
2136 2014-05-21  Roland McGrath  <roland@hack.frob.com>
2137
2138         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
2139         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
2140
2141 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
2142
2143         * nscd/Depend (linuxthreads): Remove.
2144         (nptl): Add.
2145         * resolv/Depend (linuxthreads): Remove.
2146         * rt/Depend (linuxthreads): Remove.
2147
2148         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
2149         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
2150         $(common-objpfx)elf/.
2151         (link-libc-before-gnulib): Likewise.
2152         (elfobjdir): Remove variable.
2153         * Makefile (install): Use $(elf-objpfx) instead of
2154         $(common-objpfx)elf/.
2155         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
2156         $(elfobjdir)/.
2157         (link-libc-deps): Likewise.
2158         ($(common-objpfx)libc.so): Likewise.
2159         ($(common-objpfx)linkobj/libc.so): Likewise.
2160         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
2161         instead of $(common-objpfx)elf/.
2162         (symbolic-link-list): Likewise.
2163         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
2164         [$(cross-compiling) = no]: Likewise.
2165         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
2166         $(elfobjdir)/.
2167         (static-gnulib-arch): Likewise.
2168         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
2169         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
2170         $(common-objpfx)elf/.
2171
2172 2014-05-21  Richard Henderson  <rth@redhat.com>
2173
2174         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
2175         (SINGLE_THREAD_P): Use the correct width load.  Fold
2176         into the ldr offset.
2177
2178         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
2179         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
2180
2181 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
2182
2183         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
2184         (libgcc_s_resume): Use __attribute_used__.
2185         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
2186         Likewise.
2187
2188 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2189
2190         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
2191         optimization when used with float constants.
2192
2193         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2194
2195 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
2196
2197         [BZ #16915]
2198         * locale/nl_langinfo_l.c: Make direct reference to every
2199         _nl_current_CATEGORY symbol.
2200         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
2201         (tests-static): Add tst-langinfo-static.
2202         (tests-special): Add tst-langinfo-static.out.
2203         ($(objpfx)tst-langinfo.out): Redirect output.
2204         ($(objpfx)tst-langinfo-static.out): New.
2205         * localedata/tst-langinfo.sh: Send output to stdout.
2206         * localedata/tst-langinfo-static.c: New file.
2207
2208         [BZ #16965]
2209         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
2210         when the shift amount is modulo the limb size.
2211
2212 2014-05-20  Richard Henderson  <rth@redhat.com>
2213
2214         [BZ #16967]
2215         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
2216         Change type of sa_flags from unsigned int to int.
2217
2218         [BZ #16966]
2219         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
2220
2221         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
2222
2223 2014-05-20  Will Newton  <will.newton@linaro.org>
2224
2225         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
2226         Test the return value of the system call in the nocancel case.
2227
2228 2014-05-20  Will Newton  <will.newton@linaro.org>
2229             Yvan Roux  <yvan.roux@linaro.org>
2230
2231         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
2232         #include of asm/ptrace.h.
2233         (PTRACE_GET_THREAD_AREA): Remove #undef.
2234         (PTRACE_GETHBPREGS): Likewise.
2235         (PTRACE_SETHBPREGS): Likewise.
2236         (struct user_regs_struct): New structure.
2237         (struct user_fpsimd_struct): New structure.
2238         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
2239         #include of asm/ptrace.h and second #include of sys/user.h.
2240         (PTRACE_GET_THREAD_AREA): Remove #undef.
2241         (PTRACE_GETHBPREGS): Likewise.
2242         (PTRACE_SETHBPREGS): Likewise.
2243         (ELF_NGREG): Use new struct user_regs_struct.
2244         (elf_fpregset_t): Use new struct user_fpsimd_struct.
2245
2246 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2247
2248         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
2249         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
2250
2251 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
2252
2253         [BZ #16958]
2254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
2255         membar to avoid block loads/stores to overlap previous stores.
2256
2257 2014-05-17  Richard Henderson  <rth@redhat.com>
2258
2259         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
2260         Create the __##syscall_name##_nocancel entry point.
2261         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
2262         Remove; let the sysdep-cancel.h code create it.
2263
2264 2014-05-17  David S. Miller  <davem@davemloft.net>
2265
2266         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
2267         Protect with __USE_GNU.
2268         (TIOCSET_TEMPT): Likewise.
2269         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
2270         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
2271         these are already provided in bits/ioctl-types.h
2272
2273 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2274
2275         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
2276         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
2277
2278         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
2279         Use wait4 regardless of [__NR_waitpid].
2280
2281 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
2282
2283         PR libgcc/60166
2284         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2285         (_FP_NANSIGN_Q): Set the quiet bit.
2286
2287 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
2288
2289         * benchtests/Makefile
2290         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
2291         not $(common-objpfx)math/libm.so.
2292         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
2293         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
2294         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
2295         $(common-objpfx)dlfcn/libdl.so.
2296         ($(objpfx)tst-audit8): Depend on $(libm), not
2297         $(common-objpfx)math/libm.so.
2298         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
2299         not $(common-objpfx)dlfcn/libdl.so.
2300         * math/Makefile
2301         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
2302         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
2303         [$(build-shared) = yes].
2304         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
2305         $(common-objpfx)nptl/libpthread.so.
2306         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
2307         $(common-objpfx)math/libm.so$(libm.so-version) or
2308         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
2309         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
2310         $(common-objpfx)dlfcn/libdl.so.
2311         * setjmp/Makefile (link-libm): Remove variable.
2312         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
2313         * stdio-common/Makefile (link-libm): Remove variable.
2314         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
2315         * stdlib/Makefile (link-libm): Remove variable.
2316         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
2317         ($(objpfx)tst-strtod-round): Likewise.
2318         ($(objpfx)tst-tininess): Likewise.
2319         ($(objpfx)tst-strtod-underflow): Likewise.
2320         ($(objpfx)tst-strtod6): Likewise.
2321         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
2322         $(libdl), not $(common-objpfx)nptl/libpthread.so and
2323         $(common-objpfx)dlfcn/libdl.so.
2324
2325 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2326
2327         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
2328         BSD terminal modes definitions.
2329
2330 2014-05-16  Roland McGrath  <roland@hack.frob.com>
2331
2332         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
2333         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
2334
2335         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
2336         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
2337         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
2338         Don't do #include_next.
2339         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
2340         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
2341         Don't do #include_next.
2342         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
2343         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
2344         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
2345         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
2346
2347 2014-05-16  Allan McRae  <allan@archlinux.org>
2348
2349         * po/sv.po: Update Swedish translation from translation project.
2350
2351         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
2352         in sed expression.
2353
2354 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
2355
2356         [BZ #16917]
2357         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
2358         errno if the TIOCGPTN ioctl fails with an error different than
2359         EINVAL.
2360         * login/tst-ptsname.c: New file.
2361         * login/Makefile (tests): Add tst-ptsname.
2362
2363         [BZ #16943]
2364         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
2365         and prlimit64.
2366
2367 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
2368
2369         [BZ #16849]
2370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
2371         herrno to return EAI_AGAIN.
2372
2373 2014-05-14  Roland McGrath  <roland@hack.frob.com>
2374
2375         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
2376         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
2377         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
2378         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
2379         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
2380         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
2381         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
2382         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
2383         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
2384         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
2385         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
2386         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
2387         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
2388         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
2389         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
2390         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
2391         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
2392         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
2393         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
2394         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
2395         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
2396         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
2397         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
2398         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
2399         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
2400         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
2401         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
2402         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
2403         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
2404         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
2405         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
2406         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
2407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
2408         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
2409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
2410         Moved ...
2411         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
2412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
2413         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
2414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
2415         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
2416         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
2417         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
2418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
2419         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
2420         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
2421         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
2422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
2423         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
2424         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
2425         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
2426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
2427         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
2428         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
2429         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
2430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
2431         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
2432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
2433         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
2434         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
2435         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
2436         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
2437         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
2438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
2439         Moved ...
2440         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
2441         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
2442         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
2443         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
2444         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
2445         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
2446         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
2447         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
2448         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
2449         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
2450         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
2451         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
2452         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
2453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
2454         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
2455         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
2456         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
2457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
2458         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
2459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
2460         Moved ...
2461         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
2462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
2463         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
2464
2465         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
2466         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
2467         (libpthread-sysdep_routines): Add elision-related stuff here instead.
2468         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
2469         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
2470         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
2471         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
2472         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
2473         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
2474         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
2475         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
2476         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
2477         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
2478         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
2479         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
2480         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
2481         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
2482         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
2483         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
2484         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
2485         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
2486         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
2487         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
2488         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
2489         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
2490         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
2491         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
2492         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
2493         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
2494         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
2495         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
2496
2497         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
2498         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
2499
2500         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
2501         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
2502         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
2503         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
2504         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
2505         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
2506         Moved ...
2507         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
2508         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
2509         Moved ...
2510         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
2511         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
2512         Moved ...
2513         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
2514         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
2515         Moved ...
2516         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
2517         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
2518         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
2519         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
2520         Moved ...
2521         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
2522         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
2523         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
2524         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
2525         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
2526         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
2527         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
2528         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
2529         Moved ...
2530         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
2531         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2532         Moved ...
2533         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
2534         ... here.
2535         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
2536         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
2537         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
2538         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
2539         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2540         Moved ...
2541         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
2542         ... here.
2543         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
2544         Moved ...
2545         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
2546         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
2547         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
2548         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
2549         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
2550         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
2551         Moved ...
2552         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
2553         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
2554         Moved ...
2555         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
2556         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
2557         Moved ...
2558         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
2559         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
2560         Moved ...
2561         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
2562         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
2563         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
2564         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
2565         Moved ...
2566         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
2567         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
2568         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
2569         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
2570         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
2571         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
2572         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
2573         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
2574         Moved ...
2575         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
2576         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2577         Moved ...
2578         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
2579         ... here.
2580         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
2581         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
2582         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
2583         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
2584         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2585         Moved ...
2586         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
2587         ... here.
2588         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
2589         Moved ...
2590         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
2591         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
2592         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
2593         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
2594         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
2595         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
2596         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
2597         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
2598         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
2599         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
2600         Moved ...
2601         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
2602         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
2603         Moved ...
2604         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
2605         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
2606         Moved ...
2607         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
2608         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
2609         Moved ...
2610         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
2611         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
2612         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
2613         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
2614         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
2615         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
2616         Moved ...
2617         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
2618         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
2619         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
2620         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
2621         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
2622         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
2623         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
2624         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
2625         Moved ...
2626         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
2627         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2628         Moved ...
2629         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
2630         ... here.
2631         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
2632         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
2633         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
2634         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
2635         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2636         Moved ...
2637         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
2638         ... here.
2639         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
2640         Moved ...
2641         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
2642         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
2643         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
2644         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
2645         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
2646         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
2647         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
2648         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
2649         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
2650         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
2651         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
2652
2653         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
2654         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
2655
2656         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
2657         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
2658
2659         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
2660         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
2661         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
2662         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
2663         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
2664         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
2665         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
2666         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
2667         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
2668         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
2669         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
2670         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
2671         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
2672         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
2673         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
2674         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
2675         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
2676         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
2677         Moved ...
2678         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
2679         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
2680         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
2681         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
2682         Moved ...
2683         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
2684         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
2685         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
2686         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
2687         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
2688         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
2689         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
2690         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
2691         Moved ...
2692         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
2693         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
2694         Moved ...
2695         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
2696         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
2697         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
2698         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
2699         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
2700         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
2701         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
2702         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
2703         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
2704         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
2705         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
2706         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
2707         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
2708         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
2709         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
2710         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
2711         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
2712
2713         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
2714         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
2715         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
2716         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
2717         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
2718
2719         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
2720         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
2721         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
2722         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
2723         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
2724         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
2725         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
2726         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
2727         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
2728         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
2729
2730         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
2731         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
2732
2733         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
2734         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
2735         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
2736         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
2737         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
2738         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
2739         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
2740         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
2741         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
2742         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
2743         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
2744         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
2745         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
2746         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
2747         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
2748         Update #include.
2749         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
2750         Likewise.
2751         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
2752         Likewise.
2753         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
2754         Likewise.
2755         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
2756         Likewise.
2757         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
2758         Likewise.
2759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
2760         Likewise.
2761         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
2762         Likewise.
2763         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
2764         Likewise.
2765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
2766         Likewise.
2767         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
2768         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
2769         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
2770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
2771         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
2772         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
2773         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
2774         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
2775         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
2776         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
2777         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
2778         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
2779         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
2780         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
2781         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
2782
2783         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
2784         that was previously under [RESET_PID].
2785         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
2786         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
2787         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
2788
2789         * sysdeps/i386/nptl/Implies: New file.
2790         * sysdeps/x86_64/nptl/Implies: New file.
2791         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
2792         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
2793         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
2794         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
2795
2796         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
2797         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2798         (__libc_vfork): New strong alias.
2799         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
2800         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
2801
2802         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
2803         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2804         (__libc_vfork): New strong alias.
2805         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
2806         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
2807
2808         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
2809         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
2810         (__libc_vfork): New strong alias.
2811         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
2812         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
2813         * nptl/pt-vfork.c: New file.
2814         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
2815         (libpthread: GLIBC_2.20): New version set (empty).
2816
2817 2014-05-14  Will Newton  <will.newton@linaro.org>
2818
2819         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
2820         rather than #if.
2821
2822 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2823
2824         [BZ #16564]
2825         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
2826         arguments with exponent 65 or above.
2827         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
2828         arguments 0x1p113L or above.
2829         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
2830         to arguments 0x1p107L or above.
2831         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
2832         positive arguments with exponent 65 or above.
2833         * math/auto-libm-test-in: Add more tests of log1p.
2834         * math/auto-libm-test-out: Regenerated.
2835
2836         [BZ #16928]
2837         * math/s_cacos.c (__cacos): Ensure zero real part of result from
2838         non-finite arguments is +0.
2839         * math/s_cacosf.c (__cacosf): Likewise.
2840         * math/s_cacosl.c (__cacosl): Likewise.
2841         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
2842         * sysdeps/i386/fpu/libm-test-ulps: Update.
2843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2844
2845         [BZ #16927]
2846         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
2847         value.
2848         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
2849         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
2850         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
2851         for explicit high bit of mantissa when testing for argument equal
2852         to 1.
2853         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
2854         * sysdeps/i386/fpu/libm-test-ulps: Update.
2855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2856
2857         [BZ #16516]
2858         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
2859         (__erf): Scale by 16 instead of 8 in potentially underflowing
2860         case.  Ensure exception if result actually underflows.
2861         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
2862         (__erff): Scale by 16 instead of 8 in potentially underflowing
2863         case.  Ensure exception if result actually underflows.
2864         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
2865         (efx8): Remove variable.
2866         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2867         case.  Ensure exception if result actually underflows.
2868         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
2869         (efx8): Remove variable.
2870         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2871         case.  Ensure exception if result actually underflows.
2872         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
2873         (efx8): Remove variable.
2874         (__erfl): Scale by 16 instead of 8 in potentially underflowing
2875         case.  Ensure exception if result actually underflows.
2876         * math/auto-libm-test-in: Add more tests of erf.
2877         * math/auto-libm-test-out: Regenerated.
2878
2879 2014-05-14  Andreas Schwab  <schwab@suse.de>
2880
2881         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
2882         Remove code conditionalized on USE___THREAD.
2883
2884         * config.h.in (HAVE_PT_CHOWN): Define as 0.
2885         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
2886         not definedness.
2887
2888 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
2889
2890         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
2891         Define unconditionally.
2892         (__ASSUME_O_CLOEXEC): Likewise.
2893         (__ASSUME_SOCK_CLOEXEC): Likewise.
2894         (__ASSUME_IN_NONBLOCK): Likewise.
2895         (__ASSUME_PIPE2): Likewise.
2896         (__ASSUME_EVENTFD2): Likewise.
2897         (__ASSUME_SIGNALFD4): Likewise.
2898         (__ASSUME_DUP3): Likewise.
2899         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2900         (__ASSUME_DUP3): Do not define.
2901         (__ASSUME_EVENTFD2): Likewise.
2902         (__ASSUME_IN_NONBLOCK): Likewise.
2903         (__ASSUME_O_CLOEXEC): Likewise.
2904         (__ASSUME_PIPE2): Likewise.
2905         (__ASSUME_SIGNALFD4): Likewise.
2906         (__ASSUME_SOCK_CLOEXEC): Likewise.
2907         (__ASSUME_UTIMES): Undefine.
2908         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2909         (__ASSUME_UTIMES): Do not define.
2910         (__ASSUME_O_CLOEXEC): Likewise.
2911         (__ASSUME_SOCK_CLOEXEC): Likewise.
2912         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
2913         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
2914         0x020621].
2915         (__ASSUME_PIPE2): Likewise.
2916         (__ASSUME_EVENTFD2): Likewise.
2917         (__ASSUME_SIGNALFD4): Likewise.
2918         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
2919         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
2920         Do not define.
2921         (__ASSUME_EVENTFD2): Likewise.
2922         (__ASSUME_SIGNALFD4): Likewise.
2923         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2924         (__ASSUME_32BITUIDS): Likewise.
2925         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
2926         (__ASSUME_IPC64): Likewise.
2927         (__ASSUME_ST_INO_64_BIT): Likewise.
2928         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
2929         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
2930         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
2931         (__ASSUME_UTIMES): Do not define.
2932         (__ASSUME_PSELECT): Likewise.
2933         (__ASSUME_PPOLL): Likewise.
2934         (__ASSUME_O_CLOEXEC): Likewise.
2935         (__ASSUME_SOCK_CLOEXEC): Likewise.
2936         (__ASSUME_IN_NONBLOCK): Likewise.
2937         (__ASSUME_PIPE2): Likewise.
2938         (__ASSUME_EVENTFD2): Likewise.
2939         (__ASSUME_SIGNALFD4): Likewise.
2940         (__ASSUME_DUP3): Likewise.
2941         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2942         (__ASSUME_UTIMES): Likewise.
2943         (__ASSUME_O_CLOEXEC): Likewise.
2944         (__ASSUME_SOCK_CLOEXEC): Likewise.
2945         (__ASSUME_IN_NONBLOCK): Likewise.
2946         (__ASSUME_PIPE2): Likewise.
2947         (__ASSUME_EVENTFD2): Likewise.
2948         (__ASSUME_SIGNALFD4): Likewise.
2949         (__ASSUME_DUP3): Likewise.
2950         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2951         (__ASSUME_UTIMES): Likewise.
2952         (__ASSUME_O_CLOEXEC): Likewise.
2953         (__ASSUME_SOCK_CLOEXEC): Likewise.
2954         (__ASSUME_IN_NONBLOCK): Likewise.
2955         (__ASSUME_PIPE2): Likewise.
2956         (__ASSUME_EVENTFD2): Likewise.
2957         (__ASSUME_SIGNALFD4): Likewise.
2958         (__ASSUME_DUP3): Likewise.
2959         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
2960         Likewise.
2961         (__ASSUME_UTIMES): Likewise.
2962         (__ASSUME_EVENTFD2): Likewise.
2963         (__ASSUME_SIGNALFD4): Likewise.
2964         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2965         (__ASSUME_O_CLOEXEC): Likewise.
2966         (__ASSUME_SOCK_CLOEXEC): Likewise.
2967         (__ASSUME_IN_NONBLOCK): Likewise.
2968         (__ASSUME_PIPE2): Likewise.
2969         (__ASSUME_EVENTFD2): Likewise.
2970         (__ASSUME_SIGNALFD4): Likewise.
2971         (__ASSUME_DUP3): Likewise.
2972         (__ASSUME_UTIMES): Undefine.
2973
2974         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
2975         feclearexcept.  Remove symbol versioning code.
2976         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
2977         symbol versioning code.
2978         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
2979         symbol versioning code.
2980         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
2981         feupdateenv.  Remove symbol versioning code.
2982         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
2983         fegetexceptflag.  Remove symbol versioning code.
2984         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
2985         fesetexceptflag.  Remove symbol versioning code.
2986         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
2987         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
2988         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
2989         (__posix_fadvise64_l32): Remove prototype.
2990         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
2991         code.
2992
2993 2014-05-13  Roland McGrath  <roland@hack.frob.com>
2994
2995         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
2996         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
2997         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
2998         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
2999
3000 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
3001
3002         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
3003         current working directory
3004
3005 2014-05-13  Roland McGrath  <roland@hack.frob.com>
3006
3007         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
3008         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
3009         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
3010         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
3011         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
3012         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
3013         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
3014         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
3015         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
3016         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
3017         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
3018         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
3019         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
3020         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
3021         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
3022         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
3023         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
3024         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
3025         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
3026         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
3027         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
3028         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
3029         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
3030         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
3031         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
3032         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
3033         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
3034         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
3035         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
3036         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
3037         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
3038         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
3039         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
3040         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
3041         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
3042         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
3043         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
3044         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
3045         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
3046         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
3047         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
3048         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
3049
3050         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
3051         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
3052
3053         * sysdeps/unix/sysv/linux/arm/Makefile
3054         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3055         Add rt-aeabi_unwind_cpp_pr1.
3056         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
3057         Add nptl-aeabi_unwind_cpp_pr1.
3058         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
3059         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
3060         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
3061         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
3062         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
3063         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
3064
3065         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
3066         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
3067         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
3068         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
3069
3070         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
3071         Deconditionalize the code that was previously under [RESET_PID].
3072         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
3073
3074         * sysdeps/generic/exit-thread.h: New file.
3075         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
3076         * include/unistd.h (__exit_thread): Remove declaration.
3077         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
3078         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
3079         * csu/libc-start.c: Include <exit-thread.h>.
3080         (LIBC_START_MAIN): Pass no argument to __exit_thread.
3081         * nptl/pthread_create.c: Include <exit-thread.h>.
3082         (start_thread): Call __exit_thread in place of __exit_thread_inline.
3083         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
3084         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
3085         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
3086         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
3087         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
3088         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
3089         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
3090         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
3091         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
3092         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
3093         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
3094         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
3095         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
3096         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
3097         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
3098         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
3099
3100 2014-05-13  Andreas Schwab  <schwab@suse.de>
3101
3102         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
3103
3104 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
3105
3106         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3107         (__ASSUME_UTIMES): Do not condition on kernel version.
3108         (__ASSUME_PSELECT): Define unconditionally.
3109         (__ASSUME_PPOLL): Likewise.
3110         (__ASSUME_ATFCTS): Likewise.
3111         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
3112         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
3113         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
3114         (__ASSUME_UTIMENSAT): Define unconditionally.
3115         (__ASSUME_PRIVATE_FUTEX): Likewise.
3116         (__ASSUME_FALLOCATE): Likewise.
3117         (__ASSUME_O_CLOEXEC): Likewise.
3118         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
3119         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
3120         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
3121         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
3122         (__ASSUME_IN_NONBLOCK): Likewise.
3123         (__ASSUME_PIPE2): Likewise.
3124         (__ASSUME_EVENTFD2): Likewise.
3125         (__ASSUME_SIGNALFD4): Likewise.
3126         (__ASSUME_DUP3): Likewise.
3127         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3128         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
3129         (__ASSUME_AT_RANDOM): Likewise.
3130         (__ASSUME_PREADV): Likewise.
3131         (__ASSUME_PWRITEV): Likewise.
3132         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
3133         (__ASSUME_F_GETOWN_EX): Define unconditionally.
3134         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
3135         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
3136         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
3137         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3138         (__ASSUME_O_CLOEXEC): Define unconditionally.
3139         (__ASSUME_PSELECT): Do not undefine conditionally.
3140         (__ASSUME_PPOLL): Likewise.
3141         (__ASSUME_ATFCTS): Likewise.
3142         (__ASSUME_SET_ROBUST_LIST): Likewise.
3143         (__ASSUME_UTIMENSAT): Likewise.
3144         (__ASSUME_FDATASYNC): Define unconditionally.
3145         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3146         (__ASSUME_SIGFRAME_V2): Likewise.
3147         )__ASSUME_EVENTFD2): Likewise.
3148         (__ASSUME_SIGNALFD4): Likewise.
3149         (__ASSUME_PSELECT): Do not undefine conditionally.
3150         (__ASSUME_PPOLL): Likewise.
3151         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3152         (__ASSUME_PSELECT): Define unconditionally.
3153         (__ASSUME_PPOLL): Likewise.
3154         (__ASSUME_O_CLOEXEC): Likewise.
3155         (__ASSUME_SOCK_CLOEXEC): Likewise.
3156         (__ASSUME_IN_NONBLOCK): Likewise.
3157         (__ASSUME_PIPE2): Likewise.
3158         (__ASSUME_EVENTFD2): Likewise.
3159         (__ASSUME_SIGNALFD4): Likewise.
3160         (__ASSUME_DUP3): Likewise.
3161         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3162         (__ASSUME_O_CLOEXEC): Likewise.
3163         (__ASSUME_SOCK_CLOEXEC): Likewise.
3164         (__ASSUME_IN_NONBLOCK): Likewise.
3165         (__ASSUME_PIPE2): Likewise.
3166         (__ASSUME_EVENTFD2): Likewise.
3167         (__ASSUME_SIGNALFD4): Likewise.
3168         (__ASSUME_DUP3): Likewise.
3169         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3170         (__ASSUME_EVENTFD2): Likewise.
3171         (__ASSUME_SIGNALFD4): Likewise.
3172         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3173
3174 2014-05-12  Andreas Schwab  <schwab@suse.de>
3175
3176         [BZ #16932]
3177         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
3178         (_nss_nis_gethostbyname4_r): Return error if item length is larger
3179         than maximum RPC packet size.
3180         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
3181         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
3182         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
3183         (_nss_nis_getservbyport_r): Likewise.
3184
3185 2014-05-12  Will Newton  <will.newton@linaro.org>
3186
3187         * malloc/Makefile (tests): Add tst-mallopt.
3188         * malloc/tst-mallopt.c: New file.
3189
3190 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3191
3192         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
3193         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
3194
3195 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3196
3197         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
3198         (tst-tlsmod6.so): Likewise.
3199
3200 2014-05-09  Roland McGrath  <roland@hack.frob.com>
3201
3202         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
3203
3204 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
3205
3206         [BZ #16064]
3207         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
3208         and <dl-procinfo.h>.
3209         (__fegetenv): Save SSE state in envp->__eip if supported.
3210         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
3211         envp->__eip if supported.
3212         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
3213         and <dl-procinfo.h>.
3214         (__fesetenv): Always set __eip, __cs_selector, __opcode,
3215         __data_offset and __data_selector in environment to 0.  Set SSE
3216         state if supported.
3217         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
3218         test-fenv-sse.
3219         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
3220         -mfpmath=sse.
3221         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
3222
3223 2014-05-09  Will Newton  <will.newton@linaro.org>
3224
3225         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
3226         and libc_relro_required for ARM.
3227         * sysdeps/arm/preconfigure: Regenerate.
3228
3229 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3230             Stefan Liebler  <stli@linux.vnet.ibm.com>
3231
3232         * config.make.in (enable-lock-elision): New Makefile variable.
3233         * configure.ac: Likewise.
3234         * configure: Regenerate.
3235         * sysdeps/s390/configure.ac:
3236         Add check for gcc transactions support.
3237         * sysdeps/s390/configure: Regenerate.
3238         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
3239         Build elision files if enabled.
3240         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
3241         Add lock elision support for s390.
3242         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
3243         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
3244         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
3245         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
3246         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
3247         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
3248         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
3249         Likewise.
3250         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
3251         Likewise.
3252         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
3253         Likewise.
3254         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
3255         Likewise.
3256         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
3257         (__lll_timedlock_elision, __lll_lock_elision)
3258         (__lll_unlock_elision, __lll_trylock_elision)
3259         (lll_timedlock_elision, lll_lock_elision)
3260         (lll_unlock_elision, lll_trylock_elision): Add.
3261         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3262         (pthread_mutex_t): Add lock elision support for s390.
3263
3264 2014-05-14  Wilco  <wdijkstr@arm.com>
3265
3266         * sysdeps/arm/fclrexcpt.c: Cleanup.
3267         * sysdeps/arm/fedisblxcpt.c: Cleanup.
3268         * sysdeps/arm/feenablxcpt.c: Cleanup.
3269         * sysdeps/arm/fegetenv.c: Cleanup.
3270         * sysdeps/arm/fegetexcept.c: Cleanup.
3271         * sysdeps/arm/fegetround.c: Cleanup.
3272         * sysdeps/arm/feholdexcpt.c: Cleanup.
3273         * sysdeps/arm/fesetenv.c: Cleanup.
3274         * sysdeps/arm/fesetround.c: Cleanup.
3275         * sysdeps/arm/feupdateenv.c: Cleanup.
3276         * sysdeps/arm/fgetexcptflg.c: Cleanup.
3277         * sysdeps/arm/fraiseexcpt.c: Cleanup.
3278         * sysdeps/arm/fsetexcptflg.c: Cleanup.
3279         * sysdeps/arm/ftestexcept.c: Cleanup.
3280         * sysdeps/arm/get-rounding-mode.h: Cleanup.
3281         * sysdeps/arm/setfpucw.c: Cleanup.
3282
3283 2014-05-09  Will Newton  <will.newton@linaro.org>
3284
3285         * sysdeps/arm/armv7/strcmp.S: New file.
3286         * NEWS: Mention addition of ARMv7 optimized strcmp.
3287
3288 2014-05-08  Roland McGrath  <roland@hack.frob.com>
3289
3290         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
3291         look for %.ac rather than %.in.
3292
3293         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
3294         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
3295         * sysdeps/mach/hurd/configure: Regenerated.
3296         * sysdeps/unix/sysv/linux/configure: Regenerated.
3297
3298         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
3299
3300 2014-05-07  Steve Ellcey  <sellcey@mips.com>
3301
3302         [BZ# 16922]
3303         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
3304         (LONG_SUB): Ditto.
3305         (PTR_SUB): Ditto.
3306
3307 2014-05-07  Andreas Schwab  <schwab@suse.de>
3308
3309         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
3310         when skipping over non-matching result from nscd.
3311
3312 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
3313
3314         [BZ #16876]
3315         * nptl/sockperf.c (client): Check socket return value.
3316
3317         [BZ #16877]
3318         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
3319         nscd security class.
3320
3321 2014-05-06  Roland McGrath  <roland@hack.frob.com>
3322
3323         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
3324         * sysdeps/arm/unwind.h: ... here.
3325
3326 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
3327
3328         [BZ# 16916]
3329         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
3330         Define.
3331
3332 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3333
3334         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
3335         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
3336         multiarch strncpy for PPC64.
3337         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
3338         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
3339         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
3340         multiarch optimizations.
3341         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3342         (__libc_ifunc_impl_list): Likewise.
3343         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
3344         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
3345         multiarch stpncpy for PPC64.
3346         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
3347         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
3348
3349 2014-05-06  Andreas Schwab  <schwab@suse.de>
3350
3351         [BZ #16912]
3352         * gmon/mcount.c (_MCOUNT_DECL): Use
3353         atomic_compare_and_exchange_bool_acq instead of
3354         catomic_compare_and_exchange_bool_acq.
3355
3356 2014-05-05  Roland McGrath  <roland@hack.frob.com>
3357
3358         * elf/Makefile (others, install-bin): Remove pldd.
3359         (pldd-modules): Variable removed.
3360         ($(objpfx)pldd): Target removed.
3361         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
3362         (others, install-bin): Append pldd here.
3363         ($(objpfx)pldd): New target.
3364
3365         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
3366         to 0, so the first #if test emitted later doesn't see it undefined.
3367         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
3368         * sysdeps/gnu/errlist.c: Regenerated.
3369
3370 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3371
3372         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
3373         [libc_hidden_builtin_def]: Define to empty value.
3374         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
3375         [libc_hidden_builtin_def]: Likewise.
3376         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
3377         [libc_hidden_builtin_def]: Likewise.
3378         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
3379         [libc_hidden_builtin_def]: Likewise.
3380         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
3381         __redirect_memcpy and define ifunc as default hidden symbol.
3382         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
3383         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
3384
3385 2014-05-04  Adam Conrad  <adconrad@0c3.net>
3386
3387         * locale/iso-4217.def: Reintroduce XDR currency.
3388
3389 2014-05-04  Allan McRae  <allan@archlinux.org>
3390
3391         * po/eo.po: Update Esperanto translation from translation project.
3392
3393 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
3394
3395         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
3396         and FEATURE_INDEX_MAX to 1.
3397         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
3398
3399 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3400
3401         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
3402         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
3403         * iconvdata/big5.c (ONE_DIRECTION): Define.
3404         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
3405         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
3406         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
3407         * iconvdata/cp932.c (ONE_DIRECTION): Define.
3408         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
3409         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
3410         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
3411         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
3412         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
3413         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
3414         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
3415         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
3416         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
3417         * iconvdata/gbk.c (ONE_DIRECTION): Define.
3418         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
3419         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
3420         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
3421         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
3422         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
3423         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
3424         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
3425         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
3426         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
3427         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
3428         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
3429         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
3430         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
3431         * iconvdata/iso646.c (ONE_DIRECTION): Define.
3432         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
3433         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
3434         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
3435         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
3436         * iconvdata/johab.c (ONE_DIRECTION): Define.
3437         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
3438         * iconvdata/sjis.c (ONE_DIRECTION): Define.
3439         * iconvdata/t.61.c (ONE_DIRECTION): Define.
3440         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
3441         * iconvdata/tscii.c (ONE_DIRECTION): Define.
3442         * iconvdata/uhc.c (ONE_DIRECTION): Define.
3443         * iconvdata/unicode.c (ONE_DIRECTION): Define.
3444         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
3445         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
3446         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
3447
3448 2014-05-01  Roland McGrath  <roland@hack.frob.com>
3449
3450         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
3451         (_IO_JUMPS_OFFSET): Define to 0.
3452
3453         * nptl/sysdeps/pthread/bits/libc-lock.h
3454         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3455         (__libc_lock_define_initialized_recursive): Always define using
3456         initializer.  Modern compilers treat uninitialized (implicit zero) and
3457         explicit zero initializers the same (i.e. put the datum in bss).
3458
3459 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3460
3461         * nscd/nscd-client.h: Include <string.h>.
3462
3463 2014-05-01  David S. Miller  <davem@davemloft.net>
3464
3465         [BZ #16885]
3466         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
3467         multiple zero bytes exist at the end of a string.
3468         Reported by Aurelien Jarno <aurelien@aurel32.net>
3469
3470         * string/test-strcmp.c (check): Add explicit test for situations where
3471         there are multiple zero bytes after the first.
3472
3473 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
3474
3475         [BZ #16890]
3476         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
3477         when compiling wprintf.
3478         * stdio-common/tstdiomisc.c (t3): New function.
3479         (main): Call it.
3480
3481 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3482
3483         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
3484         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
3485         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
3486         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
3487
3488 2014-05-01  Steve Ellcey  <sellcey@mips.com>
3489
3490         * stdlib/longlong.h: Updated from GCC.
3491
3492 2014-05-01  Will Newton  <will.newton@linaro.org>
3493             Bernard Ogden  <bernie.ogden@linaro.org>
3494
3495         * NEWS: Update fixed bug list.
3496
3497         [BZ #15119]
3498         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
3499
3500 2014-04-30  David S. Miller  <davem@davemloft.net>
3501
3502         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
3503         (libc_feholdexcept_setround_sparc_ctx): New function.
3504         (libc_fesetenv_sparc_ctx): Likewise.
3505         (libc_feupdateenv_sparc_ctx): Likewise.
3506         (libc_feholdsetround_sparc_ctx): Likewise.
3507         (libc_feholdexcept_setround_ctx): Define.
3508         (libc_feholdexcept_setroundf_ctx): Likewise.
3509         (libc_feholdexcept_setroundl_ctx): Likewise.
3510         (libc_fesetenv_ctx): Likewise.
3511         (libc_fesetenvf_ctx): Likewise.
3512         (libc_fesetenvl_ctx): Likewise.
3513         (libc_feupdateenv_ctx): Likewise.
3514         (libc_feupdateenvf_ctx): Likewise.
3515         (libc_feupdateenvl_ctx): Likewise.
3516         (libc_feresetround_ctx): Likewise.
3517         (libc_feresetroundf_ctx): Likewise.
3518         (libc_feresetroundl_ctx): Likewise.
3519         (libc_feholdsetround_ctx): Likewise.
3520         (libc_feholdsetroundf_ctx): Likewise.
3521         (libc_feholdsetroundl_ctx): Likewise.
3522
3523         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3524         with __USE_GNU instead of XOPEN cpp guards.
3525
3526         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
3527         0.
3528
3529         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
3530         with XOPEN cpp guards.
3531
3532 2014-04-30  Julian Brown  <julian@codesourcery.com>
3533
3534         [BZ #16888]
3535         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
3536         handling.
3537
3538 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
3539
3540         [BZ #9894]
3541         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
3542         Change to 2.6.32.
3543         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
3544         * sysdeps/unix/sysv/linux/configure: Regenerated.
3545         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
3546         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
3547         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
3548         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
3549         * README: Update reference to required Linux kernel version.
3550         * manual/install.texi (Linux): Update reference to required Linux
3551         kernel headers version.
3552         * INSTALL: Regenerated.
3553
3554         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
3555         header inclusion.
3556         [POSIX] (limits.h): Likewise.
3557         [POSIX] (math.h): Likewise.
3558         [POSIX] (sys/wait.h): Likewise.
3559         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
3560         function.
3561         [POSIX] (stddef.h): Do not allow header inclusion.
3562
3563 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3564
3565         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
3566
3567 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
3568
3569         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
3570         Return immediately after lll_futex_wake.
3571
3572 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3573
3574         [BZ #16791]
3575         * nscd/nscd-client.h (datahead_init_common): Initialize entire
3576         structure.
3577         (datahead_init_pos): Call datahead_init_common early.
3578         (datahead_init_neg): Likewise.
3579
3580         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
3581         datahead_init_neg): New functions.
3582         * nscd/aicache.c (addhstaiX): Use them.
3583         * nscd/grpcache.c (cache_addgr): Likewise.
3584         * nscd/hstcache.c (cache_addhst): Likewise.
3585         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3586         * nscd/netgroupcache.c (do_notfound): Likewise.
3587         (addgetnetgrentX): Likewise.
3588         (addinnetgrX): Likewise.
3589         * nscd/pwdcache.c (cache_addpw): Likewise.
3590         * nscd/servicescache.c (cache_addserv): Likewise.
3591
3592 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
3593             Atsushi Onoe  <atsushi@onoe.org>
3594
3595         [BZ #14308]
3596         [BZ #12994]
3597         [BZ #13651]
3598         * resolv/res_query.c (__libc_res_nsearch): Return if at least
3599         one response is valid.
3600         * resolv/res_send.c (send_dg): Check for validity of other
3601         response if the current response is a referral.
3602
3603 2014-04-29  Steve Ellcey  <sellcey@mips.com>
3604
3605         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
3606
3607 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
3608
3609         [BZ #16823]
3610         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
3611         Always divide by positive zero when computing -Inf result.
3612         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
3613         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
3614
3615 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3616
3617         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
3618         FPSCR if value do not change.
3619         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3620         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
3621         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3622         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
3623         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3624         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
3625         function.
3626
3627 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
3628
3629         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
3630         * sysdeps/unix/sysv/linux/hppa: Move directory from
3631         ports/systeps/unix/sysv/linux/hppa.
3632         * README: Update listing for hppa-*-linux-gnu.
3633
3634 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
3635
3636         [BZ #16754]
3637         * manual/stdio.texi (Hook functions): Fix types of stream hook
3638         functions.
3639         [BZ #16854]
3640         * socket/sys/socket.h: Fix typo in comment.
3641
3642 2014-04-28  Wilco  <wdijkstr@arm.com>
3643
3644         * sysdeps/arm/fenv_private.h: New file.
3645         * sysdeps/arm/math_private.h: New file.
3646         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
3647
3648 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
3649
3650         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
3651         with __int128_t.
3652         (La_x86_64_retval): Likewise.
3653
3654 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
3655
3656         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
3657         fpsr if value didn't change.
3658         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
3659         to fpcr if value didn't change.
3660         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
3661         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
3662         fpsr or fpcr if value didn't change.
3663         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3664         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
3665         fpcr if value didn't change.
3666         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
3667         to fpsr if value didn't change.
3668
3669 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3670
3671         * nptl/tst-sem3.c: Use test-skeleton.c
3672         (main): Rename to do_test.  Use return instead of
3673         exit.
3674         * nptl/tst-sem4.c: Use test-skeleton.c
3675         (main): Rename to do_test.
3676
3677 2014-04-22  David S. Miller  <davem@davemloft.net>
3678
3679         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
3680         (struct sigaction): New struct member __glibc_reserved0, change
3681         type of sa_flags to int.
3682
3683 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
3684
3685         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
3686         (COUNT_LEADING_ZEROS_0): Define for AArch64.
3687
3688 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
3689
3690         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
3691         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
3692
3693 2014-04-22  Will Newton  <will.newton@linaro.org>
3694             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
3695
3696         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
3697         (__longjmp): Add longjmp and longjmp_target SystemTap
3698         probes.
3699         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
3700         (__sigsetjmp): Add setjmp SystemTap probe.
3701
3702 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
3703
3704         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
3705         match manual order.
3706
3707 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3708
3709         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
3710
3711         * sysdeps/powerpc/fpu/fenv_private.h
3712         (libc_feholdexcept_setroundl_ctx): Define to
3713         libc_feholdexcept_setround_ppc_ctx.
3714         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
3715         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
3716         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
3717         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
3718
3719 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3720
3721         * sysdeps/aarch64/math-tests.h: New file.
3722
3723 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
3724
3725         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
3726         New.
3727         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
3728         Check and set bit_AVX2_Usable.
3729         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
3730         macro.
3731         (bit_AVX2): Likewise.
3732         (index_AVX2_Usable): Likewise.
3733         (CPUID_AVX2): Likewise.
3734         (HAS_AVX2): Likewise.
3735
3736 2014-04-17  Will Newton  <will.newton@linaro.org>
3737
3738         * manual/setjmp.texi (System V contexts): Add note that
3739         calling setcontext on a context created by a call to a
3740         signal handler is undefined.  Update text to note that
3741         setcontext from a signal handler is possible but not
3742         recommended.
3743
3744         [BZ #16629]
3745         * stdlib/tst-setcontext.c: Include signal.h.
3746         (main): Check that the signal stack before and
3747         after swapcontext is the same.
3748
3749         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
3750         Re-implement to restore registers in user code and avoid
3751         rt_sigreturn system call.
3752
3753 2014-04-17  Wilco  <wdijkstr@arm.com>
3754
3755         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
3756         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
3757         * math/test-fenv.c: Skip exception trap tests on targets which only
3758         support non-stop mode.
3759
3760 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
3761             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3762
3763         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
3764         (libc_feholdsetround_aarch64_ctx)
3765         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
3766         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
3767         (libc_feresetround_ctx, libc_feresetroundf_ctx)
3768         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
3769         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
3770         (libc_feresetround_noexl_ctx): Define.
3771
3772 2014-04-16  Richard Henderson  <rth@redhat.com>
3773
3774         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
3775
3776         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
3777         unwind tables.
3778
3779         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
3780         const from the non-libc, non-ldso copy.
3781
3782         * sysdeps/alpha/libm-test-ulps: Regenerate.
3783
3784 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
3785             Wilco Dijkstra  <wilco.dijkstra@arm.com>
3786
3787         * sysdeps/aarch64/fpu/math_private.h: New file.
3788
3789 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3790
3791         * sysdeps/aarch64/libm-test-ulps: Regenerate.
3792
3793 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
3794
3795         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
3796         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
3797         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
3798         Intel MPX bound registers before _dl_profile_fixup.
3799         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
3800         registers after _dl_profile_fixup.  Save and restore bound
3801         registers bnd0/bnd1 when calling _dl_call_pltexit.
3802         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
3803         (LR_BND_OFFSET): Likewise.
3804         (LRV_BND0_OFFSET): Likewise.
3805         (LRV_BND1_OFFSET): Likewise.
3806
3807 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3808
3809         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
3810         to...
3811         * sysdeps/mach/hurd/i386/tls.h: ... here.
3812         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
3813         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
3814         fields.
3815
3816 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3817
3818         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
3819
3820 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3821
3822         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3823
3824 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
3825
3826         [BZ #14770]
3827         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
3828         * sysdeps/s390/configure: Regenerate.
3829
3830         [BZ #16824]
3831         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
3832         Set round-to-nearest internally to reduce error accumulation.
3833
3834 2014-04-16  Alan Modra  <amodra@gmail.com>
3835
3836         [BZ #16740]
3837         [BZ #16619]
3838         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
3839         * math/libm-test.inc (frexp_test_data): Add tests.
3840         * NEWS: Update fixed bug list.
3841
3842 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3843
3844         * benchtests/Makefile: Depend on libraries in build directory.
3845         (bench-math): Separate out math tests.
3846         (bench-pthread): Separate out pthread tests.
3847         (bench): Include math and pthread tests.
3848
3849 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
3850
3851         [BZ #16831]
3852         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
3853         _dl_debug_initialize.
3854
3855         * configure.ac: Remove SELinux header check.
3856         * configure: Regenerate.
3857         * nscd/selinux.c (perms): Array of const char* to permission names.
3858         (nscd_request_avc_has_perm): Call security_deny_unknown to find
3859         default policy. Call string_to_security_class and string_to_av_perm to
3860         translate strings. Enforce default policy and call avs_has_perm with
3861         results of translated strings.
3862
3863 2014-04-13  David S. Miller  <davem@davemloft.net>
3864
3865         * sysdeps/sparc/fpu/libm-test-ulps: Update.
3866
3867 2014-04-12  Allan McRae  <allan@archlinux.org>
3868
3869         [BZ #16838]
3870         * manual/string.texi (Collation Functions): Fix qsort argument
3871         order in example.
3872         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
3873
3874 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
3875
3876         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
3877         Make the test a no-op if there are no exceptions defined.
3878
3879 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3880
3881         * elf/Makefile (tests): make tst-dlopen-aout conditional on
3882         enable-hardcoded-path-in-tests
3883
3884 2014-04-11  Will Newton  <will.newton@linaro.org>
3885
3886         * benchtests/Makefile (extra-objs): Add json-lib.o.
3887         (bench-func): Tidy up JSON output.
3888         * benchtests/bench-skeleton.c: Include json-lib.h.
3889         (main): Use JSON library functions to do output of
3890         benchmark results.
3891         * benchtests/bench-timing-type.c (main): Output the
3892         timing type simply, leaving formatting to the user.
3893         * benchtests/json-lib.c: New file.
3894         * benchtests/json-lib.h: Likewise.
3895
3896 2014-04-11  Torvald Riegel  <triegel@redhat.com>
3897
3898         [BZ #15215]
3899         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
3900         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
3901         memory barriers.  Add comments.
3902         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
3903         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
3904         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
3905         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
3906         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
3907         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
3908
3909 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3910
3911         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
3912         * sysdeps/s390/s390-64/configure.ac: ... this ...
3913         * sysdeps/s390/configure.ac: ... to here.
3914         * sysdeps/s390/s390-32/configure: Delete file.
3915         * sysdeps/s390/s390-64/configure: Delete file.
3916         * sysdeps/s390/configure: Regenerate.
3917
3918 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
3919
3920         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
3921
3922 2014-04-11  Will Newton  <will.newton@linaro.org>
3923
3924         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
3925         to zero if it is not defined elsewhere.  (mtrim): Test
3926         the value of MALLOC_DEBUG with #if rather than #ifdef.
3927
3928 2014-04-10 Torvald Riegel  <triegel@redhat.com>
3929
3930         * benchtests/pthread_once-inputs: New file.
3931         * benchtests/pthread_once-source.c: New file.
3932         * benchtests/README: Update documentation.
3933
3934 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
3935             H.J. Lu  <hongjiu.lu@intel.com>
3936
3937         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
3938         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
3939         * sysdeps/x86_64/configure: Regenerated.
3940         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
3941         macro.
3942         (REGISTER_SAVE_RAX): Likewise.
3943         (REGISTER_SAVE_RCX): Likewise.
3944         (REGISTER_SAVE_RDX): Likewise.
3945         (REGISTER_SAVE_RSI): Likewise.
3946         (REGISTER_SAVE_RDI): Likewise.
3947         (REGISTER_SAVE_R8): Likewise.
3948         (REGISTER_SAVE_R9): Likewise.
3949         (REGISTER_SAVE_BND0): Likewise.
3950         (REGISTER_SAVE_BND1): Likewise.
3951         (REGISTER_SAVE_BND2): Likewise.
3952         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
3953         bound registers when calling _dl_fixup.
3954
3955 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3956
3957         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
3958         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
3959         of its definition.
3960         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
3961         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
3962         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
3963         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
3964         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
3965         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
3966         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
3967
3968 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
3969
3970         [BZ #15514]
3971         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
3972         pathconf(_PC_NAME_MAX).
3973
3974 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3975
3976         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
3977         Remove macro usage.
3978         (__PTHREAD_SPINS): Move definition to ...
3979         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3980         (__PTHREAD_SPINS): ... here.
3981         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
3982         (__PTHREAD_SPIN): Likewise.
3983         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
3984         (__PTHREAD_SPIN): Likewise.
3985         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
3986         (__PTHREAD_SPIN): Likewise.
3987         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
3988         (__PTHREAD_SPIN): Likewise.
3989         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
3990         (__PTHREAD_SPIN): Likewise.
3991         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
3992         (__PTHREAD_SPIN): Likewise.
3993         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
3994         (__PTHREAD_SPIN): Likewise.
3995         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
3996         (__PTHREAD_SPIN): Likewise.
3997         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
3998         (__PTHREAD_SPIN): Likewise.
3999         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
4000         (__PTHREAD_SPIN): Likewise.
4001         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
4002         (__PTHREAD_SPIN): Likewise.
4003         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
4004         (__PTHREAD_SPIN): Likewise.
4005
4006         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
4007         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
4008         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
4009         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
4010         imply folder.
4011         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
4012         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
4013         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
4014         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
4015         correct imply path.
4016         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
4017         strlen symbol for non multi-arch builds.
4018         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
4019         missing hidden_def and weak_alias.
4020
4021 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
4022
4023         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
4024
4025 2014-04-07  Will Newton  <will.newton@linaro.org>
4026
4027         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
4028         and contents.  [!_LIBC] Remove #ifndef and contents.
4029         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
4030         * string/memccpy.c (__memccpy): Use ANSI prototype.
4031         * string/memfrob.c (memfrob): Likewise.
4032         * string/strcoll.c (STRCOLL): Likewise.
4033         * string/strlen.c (strlen): Likewise.
4034         * string/strtok.c (STRTOK): Likewise.
4035         * string/strcat.c: Remove unused #include of memcopy.h.
4036         (strcat): Use ANSI prototype.
4037         * string/strchr.c: Remove unused #include of memcopy.h.
4038         (strchr): Use ANSI prototype.
4039         * string/strcmp.c: Remove unused #include of memcopy.h.
4040         (strcmp): Use ANSI prototype.
4041         * string/strcpy.c: Remove unused #include of memcopy.h.
4042         (strcpy): Use ANSI prototype.
4043
4044 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4045
4046         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
4047         * config.make.in (config-extra-cppflags): Set it from
4048         libc_extra_cppflags.
4049         * configure.ac (libc_extra_cflags): Make it accumulate over
4050         configure fragments.
4051         (libc_extra_cppflags): New flag.
4052         * configure. Regenerate.
4053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4054         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
4055         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
4056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
4057
4058         [BZ #16815]
4059         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
4060         result for FE_DOWNWARD rounding mode.
4061         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
4062         Likewise.
4063         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4064
4065 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
4066
4067         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
4068         in function argument name.
4069
4070 2014-04-03  David Svoboda  <svoboda@cert.org>
4071
4072         [BZ #5666]
4073         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
4074         explicitly.
4075
4076 2014-04-03  Roland McGrath  <roland@hack.frob.com>
4077
4078         * elf/dl-unmap-segments.h: New file.
4079         * sysdeps/generic/ldsodefs.h
4080         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
4081         * elf/dl-close.c: Include <dl-unmap-segments.h>.
4082         * elf/dl-fptr.c: Likewise.
4083         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
4084         * sysdeps/aarch64/tlsdesc.c: Likewise.
4085         * sysdeps/arm/tlsdesc.c: Likewise.
4086         * sysdeps/i386/tlsdesc.c: Likewise.
4087         * sysdeps/tile/dl-runtime.c: Likewise.
4088         * sysdeps/x86_64/tlsdesc.c: Likewise.
4089         * elf/dl-load.h: New file.
4090         * elf/dl-load.c: Include it.
4091         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
4092         Macros moved to dl-load.h.
4093         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
4094         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
4095         Use _dl_unmap_segments in place of __munmap.
4096         Break out segment-mapping loop into ...
4097         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
4098
4099 2014-04-03  Will Newton  <will.newton@linaro.org>
4100
4101         * elf/dl-lookup.c (do_lookup_x): Remove comment
4102         referring to nested function and move variable
4103         declarations down to before first use.
4104
4105 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
4106
4107         [BZ #16799]
4108         [BZ #16800]
4109         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
4110         with 0 numerator.
4111         * math/s_catanf.c (__catanf): Likewise.
4112         * math/s_catanh.c (__catanh): Likewise.
4113         * math/s_catanhf.c (__catanhf): Likewise.
4114         * math/s_catanhl.c (__catanhl): Likewise.
4115         * math/s_catanl.c (__catanl): Likewise.
4116         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
4117         by positive zero when computing -Inf result.
4118         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
4119         (catanh_test): Likewise.
4120         * sysdeps/i386/fpu/libm-test-ulps: Update.
4121         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4122
4123         [BZ #16789]
4124         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
4125         instead of using underflowing value in computing result.
4126         * math/s_clog10.c (__clog10): Likewise.
4127         * math/s_clog10f.c (__clog10f): Likewise.
4128         * math/s_clog10l.c (__clog10l): Likewise.
4129         * math/s_clogf.c (__clogf): Likewise.
4130         * math/s_clogl.c (__clogl): Likewise.
4131         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
4132         (clog10_test): Likewise.
4133         * sysdeps/i386/fpu/libm-test-ulps: Update.
4134         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4135
4136 2014-04-02  Alan Modra  <amodra@gmail.com>
4137
4138         [BZ #16739]
4139         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
4140         output when value is near a power of two.  Use int64_t for lx and
4141         remove casts.  Use decimal rather than hex exponent constants.
4142         Don't use long double multiplication when double will suffice.
4143         * math/libm-test.inc (nextafter_test_data): Add tests.
4144         * NEWS: Add 16739 and 16786 to bug list.
4145
4146         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
4147
4148         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
4149
4150 2014-04-01  Will Newton  <will.newton@linaro.org>
4151
4152         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
4153         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
4154
4155 2014-04-01  Florian Weimer  <fweimer@redhat.com>
4156
4157         [BZ #13347]
4158         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
4159         * nptl/tst-setuid2.c: New file.
4160         * nptl/Makefile (xtests): Add tst-setuid2.
4161
4162 2014-04-01  Alan Modra  <amodra@gmail.com>
4163
4164         [BZ #16786]
4165         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
4166
4167 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4168
4169         [BZ #6803]
4170         [BZ #6804]
4171         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
4172         set errno as appropriate.
4173         * math/w_scalbf.c (__scalbf): Likewise.
4174         * math/w_scalbl.c (__scalbl): Likewise.
4175         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
4176         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
4177         * math/libm-test.inc (scalb_test_data): Add errno expectations.
4178         Add more NaN tests.
4179
4180         [BZ #16349]
4181         * math/w_atan2.c: Include <errno.h>.
4182         (__atan2): Set errno for result underflowing to zero.
4183         * math/w_atan2f.c: Include <errno.h>.
4184         (__atan2f): Set errno for result underflowing to zero.
4185         * math/w_atan2l.c: Include <errno.h>.
4186         (__atan2l): Set errno for result underflowing to zero.
4187         * math/auto-libm-test-in: Don't allow missing errno for some atan2
4188         tests.
4189         * math/auto-libm-test-out: Regenerated.
4190
4191 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4192
4193         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4194         Encode instruction correctly in little endian.
4195         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4196         Likewise.
4197         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4198         Likewise.
4199         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4200         Likewise.
4201         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4202         Likewise.
4203
4204 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
4205
4206         [BZ #9894]
4207         * sysdeps/unix/sysv/linux/kernel-features.h
4208         [__sparc__ && !__arch64__ && !__sparc_v9__]
4209         (__ASSUME_SET_ROBUST_LIST): Do not define.
4210         [__sparc__ && !__arch64__ && !__sparc_v9__]
4211         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4212         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
4213         Likewise.
4214         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4215         (__ASSUME_FUTEX_LOCK_PI): Undefine.
4216         (__ASSUME_REQUEUE_PI): Likewise.
4217         (__ASSUME_SET_ROBUST_LIST): Likewise.
4218         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4219         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
4220         Undefine.
4221         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4222         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
4223         Likewise.
4224         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
4225         Likewise.
4226         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
4227         Likewise.
4228         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4229         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
4230         Undefine.
4231         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
4232         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
4233         Likewise.
4234
4235         [BZ #16648]
4236         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4237         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
4238         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
4239
4240 2014-03-31  Will Newton  <will.newton@linaro.org>
4241
4242         * benchtests/Makefile (bench): Add ffs and ffsll to list
4243         of tests.
4244         * benchtests/ffs-inputs: New file.
4245         * benchtests/ffsll-inputs: Likewise.
4246
4247 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
4248
4249         [BZ #16770]
4250         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
4251         too large before casting to int.
4252         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
4253         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
4254         * math/libm-test.inc (scalb_test_data): Add more tests.
4255
4256 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
4257
4258         * benchtests/Makefile (DETAILED_OPT): New make option.
4259         (bench-func): Run benchmark program with -d if DETAILED_OPT is
4260         set.
4261         * benchtests/bench-skeleton.c: Include stdbool.h.
4262         (main): Store and print timings per input.
4263         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
4264         member to each argument value.
4265         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
4266         (_print_arg_data): Initialize per-input timing to 0.
4267
4268         * benchtests/Makefile (timing-type): New binary.
4269         (bench-clean): Also remove bench-timing-type.
4270         (bench): New target for timing-type.
4271         (bench-func): Print output in JSON format.
4272         * benchtests/bench-skeleton.c (main): Print output in JSON
4273         format.
4274         * benchtests/bench-timing-type.c: New file.
4275         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
4276         (TIMING_PRINT_STATS): Remove.
4277         * benchtests/scripts/bench.py (_print_arg_data): Store variant
4278         name separately.
4279
4280         * benchtests/bench-modf.c: Remove.
4281         * benchtests/modf-inputs: New inputs file.
4282
4283 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
4284
4285         [BZ #16362]
4286         * math/s_clog10.c (M_PI_LOG10E): New macro.
4287         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
4288         imaginary parts are 0.
4289         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
4290         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
4291         imaginary parts are 0.
4292         * math/s_clog10l.c (M_PI_LOG10El): New macro.
4293         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
4294         imaginary parts are 0.
4295         * math/libm-test.inc (clog10_test_data): Update expected results
4296         for when real and imaginary parts are 0.
4297
4298 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
4299
4300         * elf/dl-load.c: Finish conversion of __builtin_expect into
4301         __glibc_{un}likely.
4302
4303 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
4304
4305         [BZ #16348]
4306         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
4307         1+x for argument with exponent below -67.
4308         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
4309         Likewise.
4310         * math/auto-libm-test-in: Add more tests of exp.
4311         * math/auto-libm-test-out: Regenerated.
4312
4313 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4314
4315         [BZ #16759]
4316         * inet/getnetgrent_r.c (get_nonempty_val): New function.
4317         (nscd_getnetgrent): Use it.
4318
4319         [BZ #16760]
4320         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
4321         of stpcpy.
4322
4323 2014-03-27  Andi Kleen  <ak@linux.intel.com>
4324
4325         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
4326         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4327         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4328         (lll_robust_unlock): Remove out of line section. Use cfi
4329         intrinsics.
4330         (LLL_STUB_UNWIND_INFO*): Remove.
4331         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
4332         (lll_robust_lock, lll_cond_lock, lll_timedlock)
4333         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
4334         (lll_robust_unlock): Remove out of line section. Use cfi
4335         intrinsics.
4336         (LLL_STUB_UNWIND_INFO*): Remove.
4337
4338 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4339
4340         [BZ #16758]
4341         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
4342         blank values.
4343
4344 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
4345
4346         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
4347
4348 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
4349
4350         [BZ #16198]
4351         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
4352         fnstenv.
4353         * math/test-fenv-preserve.c: New file.
4354         * math/Makefile (tests): Add test-fenv-preserve.
4355
4356 2014-03-26  Will Newton <will.newton@linaro.org>
4357
4358         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
4359
4360 2014-03-25  Roland McGrath  <roland@hack.frob.com>
4361
4362         * scripts/versionlist.awk: Partition the version sets and emit all
4363         GLIBC_* (sorted) before all others (sorted).
4364
4365 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4366
4367         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
4368         GLIBC_2.2.5 version.
4369
4370 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4371
4372         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
4373         calls.
4374
4375         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
4376         previous change.
4377
4378         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4379
4380 2014-03-25  Andreas Schwab  <schwab@suse.de>
4381
4382         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
4383         label to be used after in6ailist is initialized.
4384
4385 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4386
4387         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4388         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4389
4390 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
4391
4392         [BZ #16357]
4393         [BZ #16599]
4394         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
4395         min_plus_half.
4396         (fp_formats): Update initializers.
4397         (init_fp_formats): Initialize new field.
4398         (output_for_one_input_case): Allow underflow for results up to
4399         min_plus_half.
4400         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
4401         * math/auto-libm-test-in: Don't mark some underflows from asin and
4402         atanh as spurious.
4403         * math/auto-libm-test-out: Regenerated.
4404         * sysdeps/i386/fpu/libm-test-ulps: Update.
4405         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4406
4407 2014-03-25  Andreas Schwab  <schwab@suse.de>
4408
4409         * libio/Makefile (tst-ftell-partial-wide-ENV)
4410         (tst-ftell-active-handler-ENV): Define.
4411
4412 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
4413
4414         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
4415
4416 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4417
4418         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
4419
4420 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4421
4422         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
4423         * sysdeps/x86_64/fpu/multiarch/e_exp.c
4424         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
4425
4426 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
4427
4428         [BZ #16634]
4429         * elf/dl-load.c (open_verify): Add mode parameter.
4430         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
4431         (open_path): Change from boolean 'secure' to complete flag 'mode'
4432         (_dl_map_object): Adjust.
4433         * elf/Makefile (tests): Add tst-dlopen-aout.
4434         * elf/tst-dlopen-aout.c: New test.
4435
4436 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
4437
4438         [BZ #16714]
4439         * sysdeps/unix/sysv/linux/s390/bits/stat.h
4440         (struct stat): Rename member pad0 to __glibc_reserved0.
4441
4442         [BZ #16712]
4443         * sysdeps/s390/s390-32/bits/wordsize.h
4444         (__WORDSIZE32_SIZE_ULONG): New define.
4445         * sysdeps/s390/s390-64/bits/wordsize.h
4446         (__WORDSIZE32_SIZE_ULONG): Likewise.
4447         * sysdeps/generic/stdint.h (SIZE_MAX):
4448         Define as UL if __WORDSIZE32_SIZE_ULONG.
4449
4450         [BZ #16713]
4451         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
4452         (__glibc_reserved0): New variable.
4453         (sa_flags): Change type to int.
4454
4455         * posix/Makefile (before-compile): Use += before-compile instead
4456         of a :=.
4457
4458         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
4459         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
4460
4461 2014-03-20  Andreas Schwab  <schwab@suse.de>
4462
4463         [BZ #16743]
4464         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
4465         non-matching result from nscd.
4466
4467 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4468
4469         * scripts/bench.py: Moved to ...
4470         * benchtests/scripts/bench.py: ... here.
4471         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
4472
4473 2014-03-24  Andreas Schwab  <schwab@suse.de>
4474
4475         [BZ #16002]
4476         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
4477         alloca_account and account alloca use for struct in6ailist.
4478
4479 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
4480
4481         [BZ #16284]
4482         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
4483         rounding mode to recompute results that overflow to infinity or
4484         underflow to zero.
4485         * math/auto-libm-test-in: Don't mark tests as expected to fail for
4486         bug 16284.
4487         * math/auto-libm-test-out: Regenerated.
4488         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
4489         (ccosh_test): Likewise.
4490         (csin_test_data): Use plus_oflow.
4491         (csin_test): Use ALL_RM_TEST.
4492         (csinh_test_data): Use plus_oflow.
4493         (csinh_test): Use ALL_RM_TEST.
4494         * sysdeps/i386/fpu/libm-test-ulps: Update.
4495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4496
4497 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
4498
4499         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
4500         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
4501         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
4502
4503         [BZ #16731]
4504         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
4505         when x - 1 is zero.
4506         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
4507         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
4508         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
4509         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
4510         argument is 1.
4511         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
4512         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
4513         zero.
4514         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
4515         * sysdeps/i386/fpu/libm-test-ulps: Update.
4516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4517
4518 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4519
4520         * scripts/bench.pl: Remove file.
4521         * scripts/bench.py: New benchmark script.
4522         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
4523         * benchtests/README: Mention python dependency.
4524         * scripts/pylintrc: New file.
4525         * scripts/pylint: New file.
4526
4527         * bits/mathdef.h: Use #ifdef instead of #if.
4528         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
4529         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4530         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
4531         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4532         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
4533         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
4534
4535 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4536             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4537
4538         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
4539         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
4540         and strpbrk-ppc64 objects.
4541         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4542         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
4543         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
4544         multiarch strpbrk for POWER7.
4545         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
4546         multiarch strpbrk for PPC64.
4547         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
4548         ifunc selector.
4549         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
4550         strpbrk for POWER7.
4551
4552 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4553
4554         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
4555         (atan_test): Likewise.
4556         (atanh_test_data): Use NO_TEST_INLINE for two tests.
4557         (atanh_test): Use ALL_RM_TEST.
4558         (atan2_test_data): Likewise.
4559         (cabs_test): Likewise.
4560         (cacosh_test): Likewise.
4561         (carg_test): Likewise.
4562         (casin_test): Likewise.
4563         (casinh_test): Likewise.
4564         (cbrt_test): Likewise.
4565         (csqrt_test): Likewise.
4566         (erf_test): Likewise.
4567         (erfc_test): Likewise.
4568         (pow10_test): Likewise.
4569         (exp2_test): Likewise.
4570         (hypot_test): Likewise.
4571         (j0_test): Likewise.
4572         (j1_test): Likewise.
4573         (lgamma_test): Likewise.
4574         (gamma_test): Likewise.
4575         (sincos_test): Likewise.
4576         (tanh_test): Likewise.
4577         (y0_test): Likewise.
4578         (y1_test): Likewise.
4579         * sysdeps/i386/fpu/libm-test-ulps: Update.
4580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4581
4582 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4583
4584         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
4585         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
4586         and strcspn-ppc64 objects.
4587         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4588         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
4589         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
4590         multiarch strcspn for POWER7.
4591         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
4592         multiarch strcspn for PPC64.
4593         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
4594         ifunc selector.
4595         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
4596         strcspn for POWER7.
4597
4598 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
4599
4600         * math/gen-libm-test.pl (generate_testfile): Expect only function
4601         name as argument to AUTO_TESTS_* and pass results for all rounding
4602         modes to parse_args.
4603         (parse_auto_input): Separate inputs of automatic tests from
4604         outputs before storing in %auto_tests.
4605         * math/libm-test.inc (acos_test_data): Update call to
4606         AUTO_TESTS_f_f.
4607         (acos_test): Use ALL_RM_TEST.
4608         (acos_tonearest_test_data): Remove.
4609         (acos_test_tonearest): Likewise.
4610         (acos_towardzero_test_data): Likewise.
4611         (acos_test_towardzero): Likewise.
4612         (acos_downward_test_data): Likewise.
4613         (acos_test_downward): Likewise.
4614         (acos_upward_test_data): Likewise.
4615         (acos_test_upward): Likewise.
4616         (acosh_test_data): Update call to AUTO_TESTS_f_f.
4617         (asin_test_data): Likewise.
4618         (asin_test): Use ALL_RM_TEST.
4619         (asin_tonearest_test_data): Remove.
4620         (asin_test_tonearest): Likewise.
4621         (asin_towardzero_test_data): Likewise.
4622         (asin_test_towardzero): Likewise.
4623         (asin_downward_test_data): Likewise.
4624         (asin_test_downward): Likewise.
4625         (asin_upward_test_data): Likewise.
4626         (asin_test_upward): Likewise.
4627         (asinh_test_data): Update call to AUTO_TESTS_f_f.
4628         (atan_test_data): Likewise.
4629         (atanh_test_data): Likewise.
4630         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
4631         (cabs_test_data): Update call to AUTO_TESTS_c_f.
4632         (carg_test_data): Likewise.
4633         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
4634         (ccos_test_data): Update call to AUTO_TESTS_c_c.
4635         (ccosh_test_data): Likewise.
4636         (cexp_test_data): Likewise.
4637         (clog_test_data): Likewise.
4638         (clog10_test_data): Likewise.
4639         (cos_test_data): Update call to AUTO_TESTS_f_f.
4640         (cos_test): Use ALL_RM_TEST.
4641         (cos_tonearest_test_data): Remove.
4642         (cos_test_tonearest): Likewise.
4643         (cos_towardzero_test_data): Likewise.
4644         (cos_test_towardzero): Likewise.
4645         (cos_downward_test_data): Likewise.
4646         (cos_test_downward): Likewise.
4647         (cos_upward_test_data): Likewise.
4648         (cos_test_upward): Likewise.
4649         (cosh_test_data): Update call to AUTO_TESTS_f_f.
4650         (cosh_test): Use ALL_RM_TEST.
4651         (cosh_tonearest_test_data): Remove.
4652         (cosh_test_tonearest): Likewise.
4653         (cosh_towardzero_test_data): Likewise.
4654         (cosh_test_towardzero): Likewise.
4655         (cosh_downward_test_data): Likewise.
4656         (cosh_test_downward): Likewise.
4657         (cosh_upward_test_data): Likewise.
4658         (cosh_test_upward): Likewise.
4659         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
4660         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
4661         (ctan_test_data): Likewise.
4662         (ctan_test): Use ALL_RM_TEST.
4663         (ctan_tonearest_test_data): Remove.
4664         (ctan_test_tonearest): Likewise.
4665         (ctan_towardzero_test_data): Likewise.
4666         (ctan_test_towardzero): Likewise.
4667         (ctan_downward_test_data): Likewise.
4668         (ctan_test_downward): Likewise.
4669         (ctan_upward_test_data): Likewise.
4670         (ctan_test_upward): Likewise.
4671         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
4672         (ctanh_test): Use ALL_RM_TEST.
4673         (ctanh_tonearest_test_data): Remove.
4674         (ctanh_test_tonearest): Likewise.
4675         (ctanh_towardzero_test_data): Likewise.
4676         (ctanh_test_towardzero): Likewise.
4677         (ctanh_downward_test_data): Likewise.
4678         (ctanh_test_downward): Likewise.
4679         (ctanh_upward_test_data): Likewise.
4680         (ctanh_test_upward): Likewise.
4681         (erf_test_data): Update call to AUTO_TESTS_f_f.
4682         (erfc_test_data): Likewise.
4683         (exp_test_data): Likewise.
4684         (exp_test): Use ALL_RM_TEST.
4685         (exp_tonearest_test_data): Remove.
4686         (exp_test_tonearest): Likewise.
4687         (exp_towardzero_test_data): Likewise.
4688         (exp_test_towardzero): Likewise.
4689         (exp_downward_test_data): Likewise.
4690         (exp_test_downward): Likewise.
4691         (exp_upward_test_data): Likewise.
4692         (exp_test_upward): Likewise.
4693         (exp10_test_data): Update call to AUTO_TESTS_f_f.
4694         (exp10_test): Use ALL_RM_TEST.
4695         (exp10_tonearest_test_data): Remove.
4696         (exp10_test_tonearest): Likewise.
4697         (exp10_towardzero_test_data): Likewise.
4698         (exp10_test_towardzero): Likewise.
4699         (exp10_downward_test_data): Likewise.
4700         (exp10_test_downward): Likewise.
4701         (exp10_upward_test_data): Likewise.
4702         (exp10_test_upward): Likewise.
4703         (exp2_test_data): Update call to AUTO_TESTS_f_f.
4704         (expm1_test_data): Likewise.
4705         (expm1_test): Use ALL_RM_TEST.
4706         (expm1_tonearest_test_data): Remove.
4707         (expm1_test_tonearest): Likewise.
4708         (expm1_towardzero_test_data): Likewise.
4709         (expm1_test_towardzero): Likewise.
4710         (expm1_downward_test_data): Likewise.
4711         (expm1_test_downward): Likewise.
4712         (expm1_upward_test_data): Likewise.
4713         (expm1_test_upward): Likewise.
4714         (fma_test_data): Update call to AUTO_TESTS_fff_f.
4715         (fma_test): Use ALL_RM_TEST.
4716         (fma_towardzero_test_data): Remove.
4717         (fma_test_towardzero): Likewise.
4718         (fma_downward_test_data): Likewise.
4719         (fma_test_downward): Likewise.
4720         (fma_upward_test_data): Likewise.
4721         (fma_test_upward): Likewise.
4722         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
4723         (j0_test_data): Update call to AUTO_TESTS_f_f.
4724         (j1_test_data): Likewise.
4725         (jn_test_data): Update call to AUTO_TESTS_if_f.
4726         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
4727         (log_test_data): Update call to AUTO_TESTS_f_f.
4728         (log10_test_data): Likewise.
4729         (log1p_test_data): Likewise.
4730         (log2_test_data): Likewise.
4731         (pow_test_data): Update call to AUTO_TESTS_ff_f.
4732         (pow_tonearest_test_data): Likewise.
4733         (sin_test_data): Update call to AUTO_TESTS_f_f.
4734         (sin_test): Use ALL_RM_TEST.
4735         (sin_tonearest_test_data): Remove.
4736         (sin_test_tonearest): Likewise.
4737         (sin_towardzero_test_data): Likewise.
4738         (sin_test_towardzero): Likewise.
4739         (sin_downward_test_data): Likewise.
4740         (sin_test_downward): Likewise.
4741         (sin_upward_test_data): Likewise.
4742         (sin_test_upward): Likewise.
4743         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
4744         (sinh_test_data): Update call to AUTO_TESTS_f_f.
4745         (sinh_test): Use ALL_RM_TEST.
4746         (sinh_tonearest_test_data): Remove.
4747         (sinh_test_tonearest): Likewise.
4748         (sinh_towardzero_test_data): Likewise.
4749         (sinh_test_towardzero): Likewise.
4750         (sinh_downward_test_data): Likewise.
4751         (sinh_test_downward): Likewise.
4752         (sinh_upward_test_data): Likewise.
4753         (sinh_test_upward): Likewise.
4754         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
4755         (sqrt_test): Use ALL_RM_TEST.
4756         (sqrt_tonearest_test_data): Remove.
4757         (sqrt_test_tonearest): Likewise.
4758         (sqrt_towardzero_test_data): Likewise.
4759         (sqrt_test_towardzero): Likewise.
4760         (sqrt_downward_test_data): Likewise.
4761         (sqrt_test_downward): Likewise.
4762         (sqrt_upward_test_data): Likewise.
4763         (sqrt_test_upward): Likewise.
4764         (tan_test_data): Update call to AUTO_TESTS_f_f.
4765         (tan_test): Use ALL_RM_TEST.
4766         (tan_tonearest_test_data): Remove.
4767         (tan_test_tonearest): Likewise.
4768         (tan_towardzero_test_data): Likewise.
4769         (tan_test_towardzero): Likewise.
4770         (tan_downward_test_data): Likewise.
4771         (tan_test_downward): Likewise.
4772         (tan_upward_test_data): Likewise.
4773         (tan_test_upward): Likewise.
4774         (tanh_test_data): Update call to AUTO_TESTS_f_f.
4775         (tgamma_test_data): Likewise.
4776         (y0_test_data): Likewise.
4777         (y1_test_data): Likewise.
4778         (yn_test_data): Update call to AUTO_TESTS_if_f.
4779         (main): Do not call removed functions.
4780
4781 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4782
4783         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
4784         (ldexp_test_data): Remove.
4785         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
4786         scalbn_test_data.
4787         (scalb_test): Use ALL_RM_TEST.
4788
4789 2014-03-19  Andreas Schwab  <schwab@suse.de>
4790
4791         * nscd/nscd.service: Also invalidate netgroup cache on reload.
4792
4793 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
4794
4795         [BZ #16649]
4796         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4797         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
4798         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
4799         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4800         (__ASSUME_PREADV): Undefine.
4801         (__ASSUME_PWRITEV): Likewise.
4802
4803 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4804
4805         * bits/mman-linux.h: Add comment about non-Linux use.
4806         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
4807         bits/mman-linux.h resting place.
4808
4809         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
4810         * bits/mman-linux.h: ... here.
4811
4812 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4813
4814         * conform/conformtest.pl: Add standard definition when calling C
4815         preprocessor on data files.
4816         (checknamespace): Remove unused variable.
4817
4818 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4819
4820         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
4821         minus_oflow, plus_uflow and minus_uflow in expected results.
4822         * math/libm-test.inc (scalbn_test_data): Add more tests of
4823         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
4824         minus_uflow.
4825         (scalbn_test): Use ALL_RM_TEST.
4826         (scalbln_test_data): Add more tests of negative arguments.  Use
4827         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
4828         (scalbln_test): Use ALL_RM_TEST.
4829
4830 2014-03-18  Roland McGrath  <roland@hack.frob.com>
4831
4832         * scripts/abilist.awk: Ignore symbols marked with .hidden.
4833
4834 2014-03-18  Will Newton  <will.newton@linaro.org>
4835
4836         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
4837         inaccurate comment.
4838
4839 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
4840
4841         * Makerules [!subdir] (check-abi): Exit with error status if a
4842         test failed.
4843
4844 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4845
4846         * math/libm-test.inc (nearbyint_test_data): Include all tests used
4847         for rint.  Include results for all rounding modes.
4848         (nearbyint_test): Use ALL_RM_TEST.
4849         (rint_test_data): Include all tests used for nearbyint.
4850
4851 2014-03-17  Will Newton  <will.newton@linaro.org>
4852
4853         * nptl/sysdeps/pthread/pthread.h: Revert previous
4854         change.
4855
4856         * sysdeps/generic/ldsodefs.h: Revert previous
4857         change.
4858
4859         * libio/genops.c: Revert previous change.
4860         * libio/libioP.h: Likewise.
4861         * stdio-common/vfprintf.c: Likewise.
4862
4863         * sysdeps/generic/math_private.h: Revert previous
4864         change.
4865
4866         * sysdeps/generic/math_private.h: Check whether
4867         HAVE_RM_CTX is defined with #ifdef rather
4868         than #if.
4869
4870         * argp/argp-fmtstream.h: Check whether
4871         __STRICT_ANSI__ is defined with #ifdef rather
4872         than #if.
4873         * argp/argp.h: Likewise.
4874
4875         * libio/genops.c: Check whether
4876         _IO_JUMPS_OFFSET is defined with #ifdef rather
4877         than #if.
4878         * libio/libioP.h: Likewise.
4879         * stdio-common/vfprintf.c: Likewise.
4880
4881         * sysdeps/generic/ldsodefs.h: Check whether
4882         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
4883         than #if.
4884
4885         * nptl/sysdeps/pthread/pthread.h: Check
4886         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
4887         its value.
4888
4889 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
4890
4891         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
4892         setting O_APPEND.
4893         * libio/tst-ftell-active-handler.c (do_append_test): Add a
4894         test case.
4895
4896         [BZ #16680]
4897         * libio/fileops.c (_IO_file_open): Seek to end of file but
4898         don't cache the offset.
4899         (get_file_offset): Remove function.
4900         (do_ftell): Use cached offset when available.
4901         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
4902         don't cache the offset.
4903         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
4904         case.
4905         (do_one_test): Call it.
4906         (do_ftell_test): Fix up expected old offset for a+ mode.
4907         * libio/wfileops.c (do_ftell_wide): Used cached offset when
4908         available.
4909
4910         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
4911         up test status with function return status.
4912         (do_write_test): Likewise.
4913         (do_append_test): Likewise.
4914
4915         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
4916         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
4917         Remove.
4918
4919 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
4920
4921         * math/gen-libm-test.pl (parse_args): Handle results specified for
4922         each rounding mode separately.
4923         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
4924         tests and results from lrint_tonearest_test_data,
4925         lrint_towardzero_test_data, lrint_downward_test_data and
4926         lrint_upward_test_data.
4927         (lrint_test): Use ALL_RM_TEST.
4928         (lrint_tonearest_test_data): Remove.
4929         (lrint_test_tonearest): Likewise.
4930         (lrint_towardzero_test_data): Likewise.
4931         (lrint_test_towardzero): Likewise.
4932         (lrint_downward_test_data): Likewise.
4933         (lrint_test_downward): Likewise.
4934         (lrint_upward_test_data): Likewise.
4935         (lrint_test_upward): Likewise.
4936         (llrint_test_data): Merge in per-rounding-mode tests and results
4937         from llrint_tonearest_test_data, llrint_towardzero_test_data,
4938         llrint_downward_test_data and llrint_upward_test_data.
4939         (llrint_test): Use ALL_RM_TEST.
4940         (llrint_tonearest_test_data): Remove.
4941         (llrint_test_tonearest): Likewise.
4942         (llrint_towardzero_test_data): Likewise.
4943         (llrint_test_towardzero): Likewise.
4944         (llrint_downward_test_data): Likewise.
4945         (llrint_test_downward): Likewise.
4946         (llrint_upward_test_data): Likewise.
4947         (llrint_test_upward): Likewise.
4948         (rint_test_data): Merge in per-rounding-mode tests and results
4949         from rint_tonearest_test_data, rint_towardzero_test_data,
4950         rint_downward_test_data and rint_upward_test_data.  Add
4951         per-rounding-mode results for tests not in those arrays.
4952         (rint_test): Use ALL_RM_TEST.
4953         (rint_tonearest_test_data): Remove.
4954         (rint_test_tonearest): Likewise.
4955         (rint_towardzero_test_data): Likewise.
4956         (rint_test_towardzero): Likewise.
4957         (rint_downward_test_data): Likewise.
4958         (rint_test_downward): Likewise.
4959         (rint_upward_test_data): Likewise.
4960         (rint_test_upward): Likewise.
4961         (main): Don't call removed functions.
4962
4963 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4964
4965         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
4966         "Compiled on ..." crapola.  It is anti-useful.
4967
4968 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
4969
4970         * scripts/evaluate-test.sh: Handle fourth argument to determine
4971         whether test run should stop on failure.
4972         * Makeconfig (stop-on-test-failure): New variable.
4973         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
4974         $(stop-on-test-failure).
4975         * Makefile (tests): Give a summary of results from testing and
4976         exit with failure status if they include an ERROR or FAIL.
4977         (xtests): Likewise.
4978         * manual/install.texi (Configuring and compiling): Mention
4979         stop-on-test-failure=y.
4980         * INSTALL: Regenerated.
4981
4982 2014-03-14  Roland McGrath  <roland@hack.frob.com>
4983
4984         * scripts/versionlist.awk: New file.
4985         * Makerules [$(build-shared) = yes]
4986         (postclean-generated): Add Versions.def, not Versions.def.v and
4987         Versions.def.v.i.
4988         ($(common-objpfx)Versions.def.v.i): Target removed.
4989         ($(common-objpfx)Versions.def): New target.
4990         ($(common-objpfx)Versions.all): Depend on that rather that
4991         $(common-objpfx)Versions.def.v.
4992         * Versions.def: File removed.
4993
4994         * Makeconfig (+gccwarn): Add -Wundef.
4995         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
4996         a dl-sysdep.h breaking its contract.
4997         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
4998         * include/stackinfo.h: New file.
4999         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
5000         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
5001         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
5002         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
5003         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
5004         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
5005         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5006         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5007         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5008         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5009         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5010         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
5011         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5012         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5013         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
5014
5015 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5016
5017         [BZ #16707]
5018         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
5019         implementation.
5020         * math/libm-test.inc (round_test_data): Add more tests.
5021
5022         [BZ #16706]
5023         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
5024         implementation.
5025         * math/libm-test.inc (nearbyint_test_data): Add more tests.
5026
5027         [BZ #16701]
5028         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
5029         implementation.
5030         * math/libm-test.inc (ceil_test_data): Add more tests.
5031
5032         * math/libm-test.inc (trunc_test_data): Add more tests related to
5033         BZ#16414.
5034
5035 2014-03-14  Roland McGrath  <roland@hack.frob.com>
5036
5037         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
5038         with #if rather than #ifdef.
5039         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
5040
5041 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
5042
5043         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
5044         first.  Disable AVX-512 GCC support if assembler doesn't support
5045         it.
5046         * sysdeps/x86_64/configure: Regenerated.
5047
5048 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
5049
5050         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
5051         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
5052         (__old_pthread_attr_setstack): Likewise.
5053         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
5054         [!_STACK_GROWS_DOWN]: Likewise.
5055
5056 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
5057
5058         * config.make.in (have-bash2): Delete.
5059         * configure.ac (libc_cv_have_bash2): Delete.
5060         * configure: Regenerate.
5061         * elf/Makefile (common-ldd-rewrite): Rename to ...
5062         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
5063         (sh-ldd-rewrite): Delete.
5064         (bash-ldd-rewrite): Delete.
5065         (have-bash2): Delete checks.
5066         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
5067         ldd-rewrite.
5068
5069         * config.make.in (have-ksh): Delete.
5070         (KSH): Delete.
5071         * configure.ac (libc_cv_have_ksh): Delete.
5072         * configure: Regenerate.
5073
5074         * elf/Makefile: Delete $(have-ksh) check.
5075         ($(objpfx)sotruss): Change KSH to BASH.
5076         * elf/sotruss.ksh: Rename to ...
5077         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
5078         function style to match POSIX.  Drop ksh vim mode setting.
5079
5080         * manual/time.texi (Specifying the Time Zone with TZ): Change
5081         Tuesday to Thursday.
5082
5083         * debug/tst-longjmp_chk2.c: Update header comment.
5084         (stackoverflow_handler): Add comment.  Call assert on pass value.
5085
5086 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
5087
5088         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
5089         (HAVE_AVX512_ASM_SUPPORT): Likewise.
5090         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
5091         (La_x86_64_vector): Add zmm.
5092         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
5093         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
5094         ($(objpfx)tst-audit10): New target.
5095         ($(objpfx)tst-audit10.out): Likewise.
5096         (tst-audit10-ENV): New.
5097         (AVX512-CFLAGS): Likewise.
5098         (CFLAGS-tst-audit10.c): Likewise.
5099         (CFLAGS-tst-auditmod10a.c): Likewise.
5100         (CFLAGS-tst-auditmod10b.c): Likewise.
5101         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
5102         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
5103         * sysdeps/x86_64/configure: Regenerated.
5104         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
5105         AVX-512 zmm register support.
5106         (_dl_x86_64_save_sse): Likewise.
5107         (_dl_x86_64_restore_sse): Likewise.
5108         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
5109         size vector registers.
5110         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
5111         (ZMM_SIZE): Likewise.
5112         * sysdeps/x86_64/tst-audit10.c: New file.
5113         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
5114         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
5115
5116 2014-03-13  Roland McGrath  <roland@hack.frob.com>
5117
5118         * configure.ac (HAVE_EHDR_START): New check.
5119         * configure: Regenerated.
5120         * config.h.in (HAVE_EHDR_START): New #undef.
5121         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
5122         assuming the lowest-addressed segment maps the start of the file.
5123
5124 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
5125
5126         * INSTALL: Regenerated.
5127
5128 2014-03-13  Will Newton  <will.newton@linaro.org>
5129
5130         * manual/setjmp.texi (System V contexts): Improve
5131         clarity and grammar of documentation.
5132
5133 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
5134
5135         [BZ #16381]
5136         * elf/Makefile (tests): Add tst-pie2.
5137         (tests-pie): Add tst-pie2.
5138         * elf/tst-pie2.c: New file.
5139         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
5140         for ET_EXEC.
5141         * elf/rtld.c (map_doit): Load executable as lt_executable.
5142         (dl_main): Likewise.
5143
5144 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
5145
5146         [BZ #16642]
5147         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5148         (__ASSUME_PSELECT): Undefine.
5149
5150 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5151
5152         [BZ #16689]
5153         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
5154         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
5155         static build.
5156         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
5157         selector for static builds.
5158
5159 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5160
5161         [BZ #16695]
5162         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
5163         key in the buffer.
5164
5165 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5166
5167         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
5168         IFUNC selector for static builds.
5169
5170 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
5171
5172         * sysdeps/mips/math_private.h [__mips_hard_float]
5173         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
5174         libc_feresetround_mips_ctx.
5175         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
5176         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
5177         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
5178
5179         [BZ #16677]
5180         * math/s_nextafter.c (__nextafter): Do not return value from
5181         overflowing computation.
5182         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
5183         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
5184         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
5185         Likewise.
5186         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
5187         Likewise.
5188         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
5189         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
5190
5191 2014-03-11  Roland McGrath  <roland@hack.frob.com>
5192
5193         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
5194         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
5195         Move sfi_sp use from the load-multiple (that no longer sets sp) to
5196         the new mov targetting sp.
5197
5198 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5199
5200         [BZ #16683]
5201         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
5202         Define it for static builds as well.
5203         (NO_BZERO_IMPL): Likewise.
5204
5205 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5206
5207         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
5208         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
5209         multiarch strspn for PPC64.
5210         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
5211         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
5212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5213         (__libc_ifunc_impl_list): Likewise.
5214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
5215         multiarch optimizations
5216         * string/strspn.c (strspn): Using macro to redefine symbol name.
5217
5218 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
5219             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5220
5221         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
5222         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
5223         multiarch strncat for PPC64.
5224         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
5225         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
5226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5227         (__libc_ifunc_impl_list): Likewise.
5228         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
5229         multiarch optimizations
5230
5231 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5232
5233         [BZ #16639]
5234         * nscd/nscd.service: Make service type forking.
5235
5236 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5237
5238         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
5239         sign in non default rounding modes.
5240         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
5241
5242 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
5243
5244         * math/libm-test.inc (ALL_RM_TEST): New macro.
5245         (ceil_test): Use ALL_RM_TEST.
5246         (cimag_test): Likewise.
5247         (conj_test): Likewise.
5248         (copysign_test): Likewise.
5249         (cproj_test): Likewise.
5250         (creal_test): Likewise.
5251         (fabs_test): Likewise.
5252         (floor_test): Likewise.
5253         (fmax_test): Likewise.
5254         (fmin_test): Likewise.
5255         (fmod_test): Likewise.
5256         (fpclassify_test): Likewise.
5257         (frexp_test): Likewise.
5258         (ilogb_test): Likewise.
5259         (isfinite_test): Likewise.
5260         (finite_test): Likewise.
5261         (isgreater_test): Likewise.
5262         (isgreaterequal_test): Likewise.
5263         (isinf_test): Likewise.
5264         (isless_test): Likewise.
5265         (islessequal_test): Likewise.
5266         (islessgreater_test): Likewise.
5267         (isnan_test): Likewise.
5268         (isnormal_test): Likewise.
5269         (issignaling_test): Likewise.
5270         (isunordered_test): Likewise.
5271         (logb_test): Likewise.
5272         (logb_downward_test_data): Remove.
5273         (logb_test_downward): Likewise.
5274         (lround_test): Use ALL_RM_TEST.
5275         (llround_test): Likewise.
5276         (modf_test): Likewise.
5277         (nexttoward_test): Likewise.
5278         (remainder_test): Likewise.
5279         (drem_test): Likewise.
5280         (remainder_tonearest_test_data): Likewise.
5281         (remainder_test_tonearest): Likewise.
5282         (drem_test_tonearest): Likewise.
5283         (remainder_towardzero_test_data): Likewise.
5284         (remainder_test_towardzero): Likewise.
5285         (drem_test_towardzero): Likewise.
5286         (remainder_downward_test_data): Likewise.
5287         (remainder_test_downward): Likewise.
5288         (drem_test_downward): Likewise.
5289         (remainder_upward_test_data): Likewise.
5290         (remainder_test_upward): Likewise.
5291         (drem_test_upward): Likewise.
5292         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
5293         (round_test): Use ALL_RM_TEST.
5294         (signbit_test): Likewise.
5295         (trunc_test): Likewise.
5296         (significand_test): Likewise.
5297         (main): Don't call removed functions.
5298
5299 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5300
5301         [BZ #16674]
5302         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
5303         || __USE_XOPEN2K8].
5304         (ILL_ILLOPN): Likewise.
5305         (ILL_ILLADR): Likewise.
5306         (ILL_ILLTRP): Likewise.
5307         (ILL_PRVOPC): Likewise.
5308         (ILL_PRVREG): Likewise.
5309         (ILL_COPROC): Likewise.
5310         (ILL_BADSTK): Likewise.
5311         (FPE_INTDIV): Likewise.
5312         (FPE_INTOVF): Likewise.
5313         (FPE_FLTDIV): Likewise.
5314         (FPE_FLTOVF): Likewise.
5315         (FPE_FLTUND): Likewise.
5316         (FPE_FLTRES): Likewise.
5317         (FPE_FLTINV): Likewise.
5318         (FPE_FLTSUB): Likewise.
5319         (SEGV_MAPERR): Likewise.
5320         (SEGV_ACCERR): Likewise.
5321         (BUS_ADRALN): Likewise.
5322         (BUS_ADRERR): Likewise.
5323         (BUS_OBJERR): Likewise.
5324         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5325         (TRAP_TRACE): Likewise.
5326         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5327         __USE_XOPEN2K8].
5328         (CLD_KILLED): Likewise.
5329         (CLD_DUMPED): Likewise.
5330         (CLD_TRAPPED): Likewise.
5331         (CLD_STOPPED): Likewise.
5332         (CLD_CONTINUED): Likewise.
5333         (POLL_IN): Likewise.
5334         (POLL_OUT): Likewise.
5335         (POLL_MSG): Likewise.
5336         (POLL_ERR): Likewise.
5337         (POLL_PRI): Likewise.
5338         (POLL_HUP): Likewise.
5339         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
5340         Likewise.
5341         (ILL_ILLOPN): Likewise.
5342         (ILL_ILLADR): Likewise.
5343         (ILL_ILLTRP): Likewise.
5344         (ILL_PRVOPC): Likewise.
5345         (ILL_PRVREG): Likewise.
5346         (ILL_COPROC): Likewise.
5347         (ILL_BADSTK): Likewise.
5348         (FPE_INTDIV): Likewise.
5349         (FPE_INTOVF): Likewise.
5350         (FPE_FLTDIV): Likewise.
5351         (FPE_FLTOVF): Likewise.
5352         (FPE_FLTUND): Likewise.
5353         (FPE_FLTRES): Likewise.
5354         (FPE_FLTINV): Likewise.
5355         (FPE_FLTSUB): Likewise.
5356         (SEGV_MAPERR): Likewise.
5357         (SEGV_ACCERR): Likewise.
5358         (BUS_ADRALN): Likewise.
5359         (BUS_ADRERR): Likewise.
5360         (BUS_OBJERR): Likewise.
5361         (BUS_MCEERR_AR): Likewise.
5362         (BUS_MCEERR_AO): Likewise.
5363         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5364         (TRAP_TRACE): Likewise.
5365         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5366         __USE_XOPEN2K8].
5367         (CLD_KILLED): Likewise.
5368         (CLD_DUMPED): Likewise.
5369         (CLD_TRAPPED): Likewise.
5370         (CLD_STOPPED): Likewise.
5371         (CLD_CONTINUED): Likewise.
5372         (POLL_IN): Likewise.
5373         (POLL_OUT): Likewise.
5374         (POLL_MSG): Likewise.
5375         (POLL_ERR): Likewise.
5376         (POLL_PRI): Likewise.
5377         (POLL_HUP): Likewise.
5378         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
5379         (ILL_ILLOPN): Likewise.
5380         (ILL_ILLADR): Likewise.
5381         (ILL_ILLTRP): Likewise.
5382         (ILL_PRVOPC): Likewise.
5383         (ILL_PRVREG): Likewise.
5384         (ILL_COPROC): Likewise.
5385         (ILL_BADSTK): Likewise.
5386         (FPE_INTDIV): Likewise.
5387         (FPE_INTOVF): Likewise.
5388         (FPE_FLTDIV): Likewise.
5389         (FPE_FLTOVF): Likewise.
5390         (FPE_FLTUND): Likewise.
5391         (FPE_FLTRES): Likewise.
5392         (FPE_FLTINV): Likewise.
5393         (FPE_FLTSUB): Likewise.
5394         (SEGV_MAPERR): Likewise.
5395         (SEGV_ACCERR): Likewise.
5396         (BUS_ADRALN): Likewise.
5397         (BUS_ADRERR): Likewise.
5398         (BUS_OBJERR): Likewise.
5399         (BUS_MCEERR_AR): Likewise.
5400         (BUS_MCEERR_AO): Likewise.
5401         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5402         (TRAP_TRACE): Likewise.
5403         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5404         __USE_XOPEN2K8].
5405         (CLD_KILLED): Likewise.
5406         (CLD_DUMPED): Likewise.
5407         (CLD_TRAPPED): Likewise.
5408         (CLD_STOPPED): Likewise.
5409         (CLD_CONTINUED): Likewise.
5410         (POLL_IN): Likewise.
5411         (POLL_OUT): Likewise.
5412         (POLL_MSG): Likewise.
5413         (POLL_ERR): Likewise.
5414         (POLL_PRI): Likewise.
5415         (POLL_HUP): Likewise.
5416         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
5417         Likewise.
5418         (ILL_ILLOPN): Likewise.
5419         (ILL_ILLADR): Likewise.
5420         (ILL_ILLTRP): Likewise.
5421         (ILL_PRVOPC): Likewise.
5422         (ILL_PRVREG): Likewise.
5423         (ILL_COPROC): Likewise.
5424         (ILL_BADSTK): Likewise.
5425         (ILL_BADIADDR): Likewise.
5426         (ILL_BREAK): Likewise.
5427         (FPE_INTDIV): Likewise.
5428         (FPE_INTOVF): Likewise.
5429         (FPE_FLTDIV): Likewise.
5430         (FPE_FLTOVF): Likewise.
5431         (FPE_FLTUND): Likewise.
5432         (FPE_FLTRES): Likewise.
5433         (FPE_FLTINV): Likewise.
5434         (FPE_FLTSUB): Likewise.
5435         (FPE_DECOVF): Likewise.
5436         (FPE_DECDIV): Likewise.
5437         (FPE_DECERR): Likewise.
5438         (FPE_INVASC): Likewise.
5439         (FPE_INVDEC): Likewise.
5440         (SEGV_MAPERR): Likewise.
5441         (SEGV_ACCERR): Likewise.
5442         (SEGV_PSTKOVF): Likewise.
5443         (BUS_ADRALN): Likewise.
5444         (BUS_ADRERR): Likewise.
5445         (BUS_OBJERR): Likewise.
5446         (BUS_MCEERR_AR): Likewise.
5447         (BUS_MCEERR_AO): Likewise.
5448         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5449         (TRAP_TRACE): Likewise.
5450         (TRAP_BRANCH): Likewise.
5451         (TRAP_HWBKPT): Likewise.
5452         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5453         __USE_XOPEN2K8].
5454         (CLD_KILLED): Likewise.
5455         (CLD_DUMPED): Likewise.
5456         (CLD_TRAPPED): Likewise.
5457         (CLD_STOPPED): Likewise.
5458         (CLD_CONTINUED): Likewise.
5459         (POLL_IN): Likewise.
5460         (POLL_OUT): Likewise.
5461         (POLL_MSG): Likewise.
5462         (POLL_ERR): Likewise.
5463         (POLL_PRI): Likewise.
5464         (POLL_HUP): Likewise.
5465         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
5466         (ILL_ILLOPN): Likewise.
5467         (ILL_ILLADR): Likewise.
5468         (ILL_ILLTRP): Likewise.
5469         (ILL_PRVOPC): Likewise.
5470         (ILL_PRVREG): Likewise.
5471         (ILL_COPROC): Likewise.
5472         (ILL_BADSTK): Likewise.
5473         (FPE_INTDIV): Likewise.
5474         (FPE_INTOVF): Likewise.
5475         (FPE_FLTDIV): Likewise.
5476         (FPE_FLTOVF): Likewise.
5477         (FPE_FLTUND): Likewise.
5478         (FPE_FLTRES): Likewise.
5479         (FPE_FLTINV): Likewise.
5480         (FPE_FLTSUB): Likewise.
5481         (SEGV_MAPERR): Likewise.
5482         (SEGV_ACCERR): Likewise.
5483         (BUS_ADRALN): Likewise.
5484         (BUS_ADRERR): Likewise.
5485         (BUS_OBJERR): Likewise.
5486         (BUS_MCEERR_AR): Likewise.
5487         (BUS_MCEERR_AO): Likewise.
5488         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5489         (TRAP_TRACE): Likewise.
5490         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5491         __USE_XOPEN2K8].
5492         (CLD_KILLED): Likewise.
5493         (CLD_DUMPED): Likewise.
5494         (CLD_TRAPPED): Likewise.
5495         (CLD_STOPPED): Likewise.
5496         (CLD_CONTINUED): Likewise.
5497         (POLL_IN): Likewise.
5498         (POLL_OUT): Likewise.
5499         (POLL_MSG): Likewise.
5500         (POLL_ERR): Likewise.
5501         (POLL_PRI): Likewise.
5502         (POLL_HUP): Likewise.
5503         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
5504         (ILL_ILLOPN): Likewise.
5505         (ILL_ILLADR): Likewise.
5506         (ILL_ILLTRP): Likewise.
5507         (ILL_PRVOPC): Likewise.
5508         (ILL_PRVREG): Likewise.
5509         (ILL_COPROC): Likewise.
5510         (ILL_BADSTK): Likewise.
5511         (FPE_INTDIV): Likewise.
5512         (FPE_INTOVF): Likewise.
5513         (FPE_FLTDIV): Likewise.
5514         (FPE_FLTOVF): Likewise.
5515         (FPE_FLTUND): Likewise.
5516         (FPE_FLTRES): Likewise.
5517         (FPE_FLTINV): Likewise.
5518         (FPE_FLTSUB): Likewise.
5519         (SEGV_MAPERR): Likewise.
5520         (SEGV_ACCERR): Likewise.
5521         (BUS_ADRALN): Likewise.
5522         (BUS_ADRERR): Likewise.
5523         (BUS_OBJERR): Likewise.
5524         (BUS_MCEERR_AR): Likewise.
5525         (BUS_MCEERR_AO): Likewise.
5526         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5527         (TRAP_TRACE): Likewise.
5528         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5529         __USE_XOPEN2K8].
5530         (CLD_KILLED): Likewise.
5531         (CLD_DUMPED): Likewise.
5532         (CLD_TRAPPED): Likewise.
5533         (CLD_STOPPED): Likewise.
5534         (CLD_CONTINUED): Likewise.
5535         (POLL_IN): Likewise.
5536         (POLL_OUT): Likewise.
5537         (POLL_MSG): Likewise.
5538         (POLL_ERR): Likewise.
5539         (POLL_PRI): Likewise.
5540         (POLL_HUP): Likewise.
5541         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
5542         (ILL_ILLOPN): Likewise.
5543         (ILL_ILLADR): Likewise.
5544         (ILL_ILLTRP): Likewise.
5545         (ILL_PRVOPC): Likewise.
5546         (ILL_PRVREG): Likewise.
5547         (ILL_COPROC): Likewise.
5548         (ILL_BADSTK): Likewise.
5549         (FPE_INTDIV): Likewise.
5550         (FPE_INTOVF): Likewise.
5551         (FPE_FLTDIV): Likewise.
5552         (FPE_FLTOVF): Likewise.
5553         (FPE_FLTUND): Likewise.
5554         (FPE_FLTRES): Likewise.
5555         (FPE_FLTINV): Likewise.
5556         (FPE_FLTSUB): Likewise.
5557         (SEGV_MAPERR): Likewise.
5558         (SEGV_ACCERR): Likewise.
5559         (BUS_ADRALN): Likewise.
5560         (BUS_ADRERR): Likewise.
5561         (BUS_OBJERR): Likewise.
5562         (BUS_MCEERR_AR): Likewise.
5563         (BUS_MCEERR_AO): Likewise.
5564         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5565         (TRAP_TRACE): Likewise.
5566         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5567         __USE_XOPEN2K8].
5568         (CLD_KILLED): Likewise.
5569         (CLD_DUMPED): Likewise.
5570         (CLD_TRAPPED): Likewise.
5571         (CLD_STOPPED): Likewise.
5572         (CLD_CONTINUED): Likewise.
5573         (POLL_IN): Likewise.
5574         (POLL_OUT): Likewise.
5575         (POLL_MSG): Likewise.
5576         (POLL_ERR): Likewise.
5577         (POLL_PRI): Likewise.
5578         (POLL_HUP): Likewise.
5579         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
5580         (ILL_ILLOPN): Likewise.
5581         (ILL_ILLADR): Likewise.
5582         (ILL_ILLTRP): Likewise.
5583         (ILL_PRVOPC): Likewise.
5584         (ILL_PRVREG): Likewise.
5585         (ILL_COPROC): Likewise.
5586         (ILL_BADSTK): Likewise.
5587         (ILL_DBLFLT): Likewise.
5588         (ILL_HARDWALL): Likewise.
5589         (FPE_INTDIV): Likewise.
5590         (FPE_INTOVF): Likewise.
5591         (FPE_FLTDIV): Likewise.
5592         (FPE_FLTOVF): Likewise.
5593         (FPE_FLTUND): Likewise.
5594         (FPE_FLTRES): Likewise.
5595         (FPE_FLTINV): Likewise.
5596         (FPE_FLTSUB): Likewise.
5597         (SEGV_MAPERR): Likewise.
5598         (SEGV_ACCERR): Likewise.
5599         (BUS_ADRALN): Likewise.
5600         (BUS_ADRERR): Likewise.
5601         (BUS_OBJERR): Likewise.
5602         (BUS_MCEERR_AR): Likewise.
5603         (BUS_MCEERR_AO): Likewise.
5604         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5605         (TRAP_TRACE): Likewise.
5606         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5607         __USE_XOPEN2K8].
5608         (CLD_KILLED): Likewise.
5609         (CLD_DUMPED): Likewise.
5610         (CLD_TRAPPED): Likewise.
5611         (CLD_STOPPED): Likewise.
5612         (CLD_CONTINUED): Likewise.
5613         (POLL_IN): Likewise.
5614         (POLL_OUT): Likewise.
5615         (POLL_MSG): Likewise.
5616         (POLL_ERR): Likewise.
5617         (POLL_PRI): Likewise.
5618         (POLL_HUP): Likewise.
5619         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
5620         (ILL_ILLOPN): Likewise.
5621         (ILL_ILLADR): Likewise.
5622         (ILL_ILLTRP): Likewise.
5623         (ILL_PRVOPC): Likewise.
5624         (ILL_PRVREG): Likewise.
5625         (ILL_COPROC): Likewise.
5626         (ILL_BADSTK): Likewise.
5627         (FPE_INTDIV): Likewise.
5628         (FPE_INTOVF): Likewise.
5629         (FPE_FLTDIV): Likewise.
5630         (FPE_FLTOVF): Likewise.
5631         (FPE_FLTUND): Likewise.
5632         (FPE_FLTRES): Likewise.
5633         (FPE_FLTINV): Likewise.
5634         (FPE_FLTSUB): Likewise.
5635         (SEGV_MAPERR): Likewise.
5636         (SEGV_ACCERR): Likewise.
5637         (BUS_ADRALN): Likewise.
5638         (BUS_ADRERR): Likewise.
5639         (BUS_OBJERR): Likewise.
5640         (BUS_MCEERR_AR): Likewise.
5641         (BUS_MCEERR_AO): Likewise.
5642         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
5643         (TRAP_TRACE): Likewise.
5644         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
5645         __USE_XOPEN2K8].
5646         (CLD_KILLED): Likewise.
5647         (CLD_DUMPED): Likewise.
5648         (CLD_TRAPPED): Likewise.
5649         (CLD_STOPPED): Likewise.
5650         (CLD_CONTINUED): Likewise.
5651         (POLL_IN): Likewise.
5652         (POLL_OUT): Likewise.
5653         (POLL_MSG): Likewise.
5654         (POLL_ERR): Likewise.
5655         (POLL_PRI): Likewise.
5656         (POLL_HUP): Likewise.
5657         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
5658         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5659
5660         [BZ #16670]
5661         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
5662         before #include of <time.h>.
5663         [!__USE_XOPEN2K] (__need_timespec): Likewise.
5664         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
5665         (test-xfail-UNIX98/sched.h/conform): Likewise.
5666
5667 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5668
5669         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
5670         error absence of trapping exception support.
5671         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
5672
5673 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
5674
5675         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
5676         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
5677         * timezone/Makefile (testdata): Move definition above include of
5678         Rules.
5679         (test-zones): New variable.
5680         (tests-special): Add zone files.
5681         (build-testdata): Use $(evaluate-test).
5682
5683         * elf/Makefile (tests-special): Rename tests to end with .out.
5684         ($(objpfx)noload-mem): Likewise.
5685         ($(objpfx)tst-leaks1-mem): Likewise.
5686         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
5687         * iconv/Makefile (xtests-special): Change test-iconvconfig to
5688         $(objpfx)test-iconvconfig.out.
5689         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
5690         set -e inside subshell and redirect output to file.
5691         * iconvdata/Makefile (generated): Rename tests to end with .out.
5692         Correct type.
5693         (tests-special): Rename tests to end with .out.
5694         ($(objpfx)mtrace-tst-loading): Likewise.
5695         * intl/Makefile (generated): Likewise.
5696         (tests-special): Likewise.
5697         ($(objpfx)mtrace-tst-gettext): Likewise.
5698         * misc/Makefile (generated): Likewise.
5699         (tests-special): Likewise.
5700         ($(objpfx)tst-error1-mem): Likewise.
5701         * nptl/Makefile (tests-special): Likewise.
5702         ($(objpfx)tst-stack3-mem): Likewise.
5703         (generated): Likewise.
5704         * posix/Makefile (generated): Likewise.
5705         (tests-special): Likewise.
5706         (xtests-special): Likewise.
5707         ($(objpfx)tst-fnmatch-mem): Likewise.
5708         ($(objpfx)bug-regex2-mem): Likewise.
5709         ($(objpfx)bug-regex14-mem): Likewise.
5710         ($(objpfx)bug-regex21-mem): Likewise.
5711         ($(objpfx)bug-regex31-mem): Likewise.
5712         ($(objpfx)tst-vfork3-mem): Likewise.
5713         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
5714         ($(objpfx)tst-pcre-mem): Likewise.
5715         ($(objpfx)tst-boost-mem): Likewise.
5716         ($(objpfx)bug-ga2-mem): Likewise.
5717         ($(objpfx)bug-glob2-mem): Likewise.
5718         * resolv/Makefile (generate): Likewise.
5719         (tests-special): Likewise.
5720         (xtests-special): Likewise.
5721         (generated): Likewise.
5722         ($(objpfx)mtrace-tst-leaks): Likewise.
5723         ($(objpfx)mtrace-tst-leaks2): Likewise.
5724
5725         * scripts/merge-test-results.sh: New file.
5726         * Makefile (tests-special-notdir): New variable.
5727         (tests): Run merge-test-results.sh.
5728         (xtests): Likewise.
5729         * Rules (tests-special-notdir): New variable.
5730         (xtests-special-notdir): Likewise.
5731         (tests): Run merge-test-results.sh
5732         (xtests): Likewise.
5733
5734         * Makeconfig (test-xfail-name): New variable.
5735         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
5736         compute variable name for expected failures.
5737         * conform/Makefile (conformtest-headers-data): New variable.
5738         (conformtest-standards): Likewise.
5739         (conformtest-headers-ISO): Likewise.
5740         (conformtest-headers-ISO99): Likewise.
5741         (conformtest-headers-ISO11): Likewise.
5742         (conformtest-headers-POSIX): Likewise.
5743         (conformtest-headers-XPG3): Likewise.
5744         (conformtest-headers-XPG4): Likewise.
5745         (conformtest-headers-UNIX98): Likewise.
5746         (conformtest-headers-XOPEN2K): Likewise.
5747         (conformtest-headers-POSIX2008): Likewise.
5748         (conformtest-headers-XOPEN2K8): Likewise.
5749         (conformtest-header-list-base): Likewise.
5750         (conformtest-header-list-tests): Likewise.
5751         (conformtest-header-base): Likewise.
5752         (conformtest-header-tests): Likewise.
5753         (tests-special): Add $(conformtest-header-list-tests).  If
5754         [$(fast-check) && !$(cross-compiling)], add
5755         $(conformtest-header-tests) instead of
5756         $(objpfx)run-conformtest.out.
5757         (generated): Add $(conformtest-header-list-base).  If
5758         [$(fast-check) && !$(cross-compiling)], add
5759         $(conformtest-header-base).  Remove previous setting.
5760         ($(conformtest-header-list-tests)): New target.
5761         (test-xfail-run-conformtest): Remove variable.
5762         ($(objpfx)run-conformtest.out): Remove target.
5763         (test-xfail-ISO11/complex.h/conform): New variable.
5764         (test-xfail-ISO11/stdalign.h/conform): Likewise.
5765         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
5766         (test-xfail-XPG3/varargs.h/conform): Likewise.
5767         (test-xfail-XPG4/varargs.h/conform): Likewise.
5768         (test-xfail-UNIX98/varargs.h/conform): Likewise.
5769         (test-xfail-XPG4/ndbm.h/conform): Likewise.
5770         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
5771         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
5772         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
5773         (test-xfail-XPG3/fcntl.h/conform): Likewise.
5774         (test-xfail-XPG3/ftw.h/conform): Likewise.
5775         (test-xfail-XPG3/grp.h/conform): Likewise.
5776         (test-xfail-XPG3/langinfo.h/conform): Likewise.
5777         (test-xfail-XPG3/limits.h/conform): Likewise.
5778         (test-xfail-XPG3/pwd.h/conform): Likewise.
5779         (test-xfail-XPG3/search.h/conform): Likewise.
5780         (test-xfail-XPG3/signal.h/conform): Likewise.
5781         (test-xfail-XPG3/stdio.h/conform): Likewise.
5782         (test-xfail-XPG3/stdlib.h/conform): Likewise.
5783         (test-xfail-XPG3/string.h/conform): Likewise.
5784         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
5785         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
5786         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
5787         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
5788         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
5789         (test-xfail-XPG3/sys/types.h/conform): Likewise.
5790         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
5791         (test-xfail-XPG3/termios.h/conform): Likewise.
5792         (test-xfail-XPG3/time.h/conform): Likewise.
5793         (test-xfail-XPG3/unistd.h/conform): Likewise.
5794         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
5795         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5796         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5797         (test-xfail-XPG4/netdb.h/conform): Likewise.
5798         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
5799         (test-xfail-XPG4/signal.h/conform): Likewise.
5800         (test-xfail-XPG4/stdio.h/conform): Likewise.
5801         (test-xfail-XPG4/stdlib.h/conform): Likewise.
5802         (test-xfail-XPG4/stropts.h/conform): Likewise.
5803         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
5804         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
5805         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
5806         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
5807         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
5808         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
5809         (test-xfail-XPG4/sys/time.h/conform): Likewise.
5810         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5811         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
5812         (test-xfail-XPG4/termios.h/conform): Likewise.
5813         (test-xfail-XPG4/ucontext.h/conform): Likewise.
5814         (test-xfail-XPG4/unistd.h/conform): Likewise.
5815         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5816         (test-xfail-POSIX/sched.h/conform): Likewise.
5817         (test-xfail-POSIX/signal.h/conform): Likewise.
5818         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
5819         (test-xfail-POSIX/tar.h/conform): Likewise.
5820         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5821         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
5822         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5823         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5824         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5825         (test-xfail-UNIX98/sched.h/conform): Likewise.
5826         (test-xfail-UNIX98/signal.h/conform): Likewise.
5827         (test-xfail-UNIX98/stdio.h/conform): Likewise.
5828         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
5829         (test-xfail-UNIX98/stropts.h/conform): Likewise.
5830         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
5831         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
5832         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
5833         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
5834         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
5835         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5836         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
5837         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
5838         (test-xfail-UNIX98/unistd.h/conform): Likewise.
5839         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5840         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
5841         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
5842         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5843         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
5844         (test-xfail-XOPEN2K/math.h/conform): Likewise.
5845         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5846         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
5847         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
5848         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
5849         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
5850         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
5851         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
5852         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
5853         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
5854         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
5855         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
5856         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
5857         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
5858         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
5859         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
5860         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
5861         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
5862         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
5863         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
5864         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
5865         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5866         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5867         (test-xfail-POSIX2008/signal.h/conform): Likewise.
5868         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
5869         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5870         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
5871         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
5872         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
5873         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
5874         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
5875         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
5876         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
5877         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
5878         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
5879         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
5880         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
5881         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
5882         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
5883         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
5884         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
5885         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
5886         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
5887         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
5888         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
5889         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
5890         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
5891         (conformtest-cc-flags): Likewise.
5892         ($(conformtest-header-tests): New target.
5893         * conform/check-header-lists.sh: New file.
5894         * conform/run-conformtest.sh: Remove.
5895
5896         * conform/conformtest.pl: Allow ' and \ in values given for
5897         constants.
5898         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
5899         inclusion.
5900         [POSIX] (sys/types.h): Likewise.
5901         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
5902         inclusion.
5903         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
5904         inclusion.
5905         * conform/data/signal.h-data (SIGIO): Remove expectation.
5906         [XPG3] (SIGBUS): Do not expect.
5907         [POSIX || XPG3] (SIGPOLL): Likewise.
5908         [POSIX || XPG3] (SIGPROF): Likewise.
5909         [POSIX || XPG3] (SIGSYS): Likewise.
5910         [XPG3] (SIGTRAP): Likewise.
5911         [POSIX || XPG3] (SIGURG): Likewise.
5912         [POSIX || XPG3] (SIGVTALRM): Likewise.
5913         [POSIX || XPG3] (SIGXCPU): Likewise.
5914         [POSIX || XPG3] (SIGXFSZ): Likewise.
5915         [POSIX] (SA_SIGINFO): Expect.
5916         [XPG3] (siginfo_t): Do not expect type or contents.
5917         [POSIX] (si_pid): Do not expect element.
5918         [POSIX] (si_uid): Likewise.
5919         [POSIX] (si_addr): Likewise.
5920         [POSIX] (si_status): Likewise.
5921         [POSIX] (si_band): Likewise.
5922         [XPG4] (si_value): Likewise.
5923         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
5924         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
5925         [POSIX || XPG3] (ILL_ILLADR): Likewise.
5926         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
5927         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
5928         [POSIX || XPG3] (ILL_PRVREG): Likewise.
5929         [POSIX || XPG3] (ILL_COPROC): Likewise.
5930         [POSIX || XPG3] (ILL_BADSTK): Likewise.
5931         [POSIX || XPG3] (FPE_INTDIV): Likewise.
5932         [POSIX || XPG3] (FPE_INTOVF): Likewise.
5933         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
5934         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
5935         [POSIX || XPG3] (FPE_FLTUND): Likewise.
5936         [POSIX || XPG3] (FPE_FLTRES): Likewise.
5937         [POSIX || XPG3] (FPE_FLTINV): Likewise.
5938         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
5939         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
5940         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
5941         [POSIX || XPG3] (BUS_ADRALN): Likewise.
5942         [POSIX || XPG3] (BUS_ADRERR): Likewise.
5943         [POSIX || XPG3] (BUS_OBJERR): Likewise.
5944         [POSIX || XPG3] (CLD_EXITED): Likewise.
5945         [POSIX || XPG3] (CLD_KILLED): Likewise.
5946         [POSIX || XPG3] (CLD_DUMPED): Likewise.
5947         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
5948         [POSIX || XPG3] (CLD_STOPPED): Likewise.
5949         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
5950         [POSIX || XPG3] (POLL_IN): Likewise.
5951         [POSIX || XPG3] (POLL_OUT): Likewise.
5952         [POSIX || XPG3] (POLL_MSG): Likewise.
5953         [POSIX || XPG3] (POLL_ERR): Likewise.
5954         [POSIX || XPG3] (POLL_PRI): Likewise.
5955         [POSIX || XPG3] (POLL_HUP): Likewise.
5956         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
5957         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
5958         (SIG*): Do not allow.
5959         [XPG3] (si_*): Likewise.
5960         [XPG3] (SI_*): Likewise.
5961         [XPG3 || XPG4] (sigev_*): Likewise.
5962         [XPG3 || XPG4] (SIGEV_*): Likewise.
5963         [XPG3 || XPG4] (sival_*): Likewise.
5964         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
5965         [POSIX || XPG3] (BUS_*): Likewise.
5966         [POSIX || XPG3] (CLD_*): Likewise.
5967         [POSIX || XPG3] (FPE_*): Likewise.
5968         [POSIX || XPG3] (ILL_*): Likewise.
5969         [POSIX || XPG3] (POLL_*): Likewise.
5970         [POSIX || XPG3] (SEGV_*): Likewise.
5971         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
5972         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
5973         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
5974         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
5975         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
5976         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
5977         Specify type and value.
5978         (TVERSLEN): Likewise.
5979         (REGTYPE): Likewise.
5980         (AREGTYPE): Likewise.
5981         (LNKTYPE): Likewise.
5982         (SYMTYPE): Likewise.
5983         (CHRTYPE): Likewise.
5984         (BLKTYPE): Likewise.
5985         (DIRTYPE): Likewise.
5986         (FIFOTYPE): Likewise.
5987         (CONTTYPE): Likewise.
5988         (TSUID): Likewise.
5989         (TSGID): Likewise.
5990         (TSVTX): Likewise.
5991         (TUREAD): Likewise.
5992         (TUWRITE): Likewise.
5993         (TUEXEC): Likewise.
5994         (TGREAD): Likewise.
5995         (TGWRITE): Likewise.
5996         (TGEXEC): Likewise.
5997         (TOREAD): Likewise.
5998         (TOWRITE): Likewise.
5999         (TOEXEC): Likewise.
6000         [POSIX] (TSVTX): Expect constant.
6001
6002 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
6003
6004         * Makefile (tests): Change dependencies to ....
6005         (tests-special): ... additions to this variable.
6006         (tests): Depend on $(tests-special).
6007         * Makerules (check-abi-list): New variable.
6008         (check-abi): Depend on $(check-abi-list).
6009         [$(subdir) = elf] (tests-special): Add
6010         $(objpfx)check-abi-libc.out.
6011         [$(build-shared) = yes && subdir] (tests-special): Add
6012         $(check-abi-list).
6013         [$(build-shared) = yes && subdir] (tests): Do not depend on
6014         check-abi.
6015         * Rules (tests): Depend on $(tests-special).
6016         (xtests): Depend on $(xtests-special).
6017         * catgets/Makefile (tests): Change dependencies to ....
6018         (tests-special): ... additions to this variable.
6019         * conform/Makefile (tests): Change dependencies to ....
6020         (tests-special): ... additions to this variable.
6021         * elf/Makefile (tests): Change dependencies to ....
6022         (tests-special): ... additions to this variable.
6023         * grp/Makefile (tests): Change dependencies to ....
6024         (tests-special): ... additions to this variable.
6025         * iconv/Makefile (xtests): Change dependencies to ....
6026         (xtests-special): ... additions to this variable.
6027         * iconvdata/Makefile (tests): Change dependencies to ....
6028         (tests-special): ... additions to this variable.
6029         * intl/Makefile (tests): Change dependencies to ....
6030         (tests-special): ... additions to this variable.  Also add
6031         $(objpfx)tst-gettext.out.
6032         * io/Makefile (tests): Change dependencies to ....
6033         (tests-special): ... additions to this variable.
6034         * libio/Makefile (tests): Change dependencies to ....
6035         (tests-special): ... additions to this variable.
6036         * malloc/Makefile (tests): Change dependencies to ....
6037         (tests-special): ... additions to this variable.
6038         * misc/Makefile (tests): Change dependencies to ....
6039         (tests-special): ... additions to this variable.
6040         * nptl/Makefile (tests): Change dependencies to ....
6041         (tests-special): ... additions to this variable.
6042         * nptl_db/Makefile (tests): Change dependencies to ....
6043         (tests-special): ... additions to this variable.
6044         * posix/Makefile (tests): Change dependencies to ....
6045         (tests-special): ... additions to this variable.
6046         (xtests): Change dependencies to ....
6047         (xtests-special): ... additions to this variable.
6048         * resolv/Makefile (tests): Change dependencies to ....
6049         (tests-special): ... additions to this variable.
6050         (xtests): Change dependencies to ....
6051         (xtests-special): ... additions to this variable.
6052         * stdio-common/Makefile (tests): Change dependencies to ....
6053         (tests-special): ... additions to this variable.
6054         (do-tst-unbputc): Remove target.
6055         (do-tst-printf): Likewise.
6056         * stdlib/Makefile (tests): Change dependencies to ....
6057         (tests-special): ... additions to this variable.
6058         * string/Makefile (tests): Change dependencies to ....
6059         (tests-special): ... additions to this variable.
6060         * sysdeps/x86/Makefile (tests): Change dependencies to ....
6061         (tests-special): ... additions to this variable.
6062
6063         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
6064         whole file.
6065         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
6066         whole file.
6067         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
6068         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
6069
6070         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
6071         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
6072         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
6073         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
6074         * conform/data/libgen.h-data [XPG3]: Likewise.
6075         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
6076         * conform/data/ndbm.h-data [XPG3]: Likewise.
6077         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6078         * conform/data/netdb.h-data [XPG3]: Likewise.
6079         * conform/data/netinet/in.h-data [XPG3]: Likewise.
6080         * conform/data/poll.h-data [XPG3]: Likewise.
6081         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
6082         * conform/data/strings.h-data [XPG3]: Likewise.
6083         * conform/data/stropts.h-data [XPG3]: Likewise.
6084         * conform/data/sys/mman.h-data [XPG3]: Likewise.
6085         * conform/data/sys/resource.h-data [XPG3]: Likewise.
6086         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
6087         Likewise.
6088         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
6089         * conform/data/sys/time.h-data [XPG3]: Likewise.
6090         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
6091         * conform/data/sys/uio.h-data [XPG3]: Likewise.
6092         * conform/data/sys/un.h-data [XPG3]: Likewise.
6093         * conform/data/syslog.h-data [XPG3]: Likewise.
6094         * conform/data/ucontext.h-data [XPG3]: Likewise.
6095         * conform/data/utmpx.h-data [XPG3]: Likewise.
6096         * conform/data/varargs.h-data [UNIX98]: Enable file.
6097
6098         * manual/Makefile (INSTALL_INFO): Remove variable setting.
6099
6100         * math/libm-test.inc (struct test_f_f_data): Move expected results
6101         into structure for each rounding mode.
6102         (struct test_ff_f_data): Likewise.
6103         (struct test_ff_f_data_nexttoward): Likewise.
6104         (struct test_fi_f_data): Likewise.
6105         (struct test_fl_f_data): Likewise.
6106         (struct test_if_f_data): Likewise.
6107         (struct test_fff_f_data): Likewise.
6108         (struct test_c_f_data): Likewise.
6109         (struct test_f_f1_data): Likewise.
6110         (struct test_fF_f1_data): Likewise.
6111         (struct test_ffI_f1_data): Likewise.
6112         (struct test_c_c_data): Likewise.
6113         (struct test_cc_c_data): Likewise.
6114         (struct test_f_i_data): Likewise.
6115         (struct test_ff_i_data): Likewise.
6116         (struct test_f_l_data): Likewise.
6117         (struct test_f_L_data): Likewise.
6118         (struct test_fFF_11_data): Likewise.
6119         (RM_): New macro.
6120         (RM_FE_DOWNWARD): Likewise.
6121         (RM_FE_TONEAREST): Likewise.
6122         (RM_FE_TOWARDZERO): Likewise.
6123         (RM_FE_UPWARD): Likewise.
6124         (RUN_TEST_LOOP_f_f): Update references to expected results.
6125         (RUN_TEST_LOOP_2_f): Likewise.
6126         (RUN_TEST_LOOP_fff_f): Likewise.
6127         (RUN_TEST_LOOP_c_f): Likewise.
6128         (RUN_TEST_LOOP_f_f1): Likewise.
6129         (RUN_TEST_LOOP_fF_f1): Likewise.
6130         (RUN_TEST_LOOP_fI_f1): Likewise.
6131         (RUN_TEST_LOOP_ffI_f1): Likewise.
6132         (RUN_TEST_LOOP_c_c): Likewise.
6133         (RUN_TEST_LOOP_cc_c): Likewise.
6134         (RUN_TEST_LOOP_f_i): Likewise.
6135         (RUN_TEST_LOOP_f_i_tg): Likewise.
6136         (RUN_TEST_LOOP_ff_i_tg): Likewise.
6137         (RUN_TEST_LOOP_f_b): Likewise.
6138         (RUN_TEST_LOOP_f_b_tg): Likewise.
6139         (RUN_TEST_LOOP_f_l): Likewise.
6140         (RUN_TEST_LOOP_f_L): Likewise.
6141         (RUN_TEST_LOOP_fFF_11): Likewise.
6142         * math/gen-libm-test.pl (parse_args): Output four copies of
6143         expected results for each test.
6144
6145         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
6146         (__ASSUME_UTIMES): Remove.
6147         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6148         (__ASSUME_UTIMES): Likewise.
6149
6150         * math/gen-auto-libm-tests.c: Update comment on output format.
6151         (output_for_one_input_case): Generate before-rounding and
6152         after-rounding information as conditions on output flags not
6153         floating-point format.
6154         * math/auto-libm-test-out: Regenerated.
6155         * math/gen-libm-test.pl (cond_value): New function.
6156         (or_cond_value): Use cond_value.
6157         (generate_testfile): Handle conditional exceptions.
6158
6159 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
6160
6161         * math/libm-test.inc (max_valid_error): New variable.
6162         (init_max_error): Take new argument specifying whether function
6163         results are exactly determined.  Set max_valid_error and bound
6164         other variables for errors based on this argument.
6165         (set_max_error): Do not record results above max_valid_error.
6166         (check_float_internal): Only accept errors of up to 0.5ulps if
6167         also at most max_valid_error.
6168         (START): Take new argument EXACT and pass it to init_max_error.
6169         (acos_test): Update call to START.
6170         (acos_test_tonearest): Likewise.
6171         (acos_test_towardzero): Likewise.
6172         (acos_test_downward): Likewise.
6173         (acos_test_upward): Likewise.
6174         (acosh_test): Likewise.
6175         (asin_test): Likewise.
6176         (asin_test_tonearest): Likewise.
6177         (asin_test_towardzero): Likewise.
6178         (asin_test_downward): Likewise.
6179         (asin_test_upward): Likewise.
6180         (asinh_test): Likewise.
6181         (atan_test): Likewise.
6182         (atanh_test): Likewise.
6183         (atan2_test): Likewise.
6184         (cabs_test): Likewise.
6185         (cacos_test): Likewise.
6186         (cacosh_test): Likewise.
6187         (carg_test): Likewise.
6188         (casin_test): Likewise.
6189         (casinh_test): Likewise.
6190         (catan_test): Likewise.
6191         (catanh_test): Likewise.
6192         (cbrt_test): Likewise.
6193         (ccos_test): Likewise.
6194         (ccosh_test): Likewise.
6195         (ceil_test): Likewise.
6196         (cexp_test): Likewise.
6197         (cimag_test): Likewise.
6198         (clog_test): Likewise.
6199         (clog10_test): Likewise.
6200         (conj_test): Likewise.
6201         (copysign_test): Likewise.
6202         (cos_test): Likewise.
6203         (cos_test_tonearest): Likewise.
6204         (cos_test_towardzero): Likewise.
6205         (cos_test_downward): Likewise.
6206         (cos_test_upward): Likewise.
6207         (cosh_test): Likewise.
6208         (cosh_test_tonearest): Likewise.
6209         (cosh_test_towardzero): Likewise.
6210         (cosh_test_downward): Likewise.
6211         (cosh_test_upward): Likewise.
6212         (cpow_test): Likewise.
6213         (cproj_test): Likewise.
6214         (creal_test): Likewise.
6215         (csin_test): Likewise.
6216         (csinh_test): Likewise.
6217         (csqrt_test): Likewise.
6218         (ctan_test): Likewise.
6219         (ctan_test_tonearest): Likewise.
6220         (ctan_test_towardzero): Likewise.
6221         (ctan_test_downward): Likewise.
6222         (ctan_test_upward): Likewise.
6223         (ctanh_test): Likewise.
6224         (ctanh_test_tonearest): Likewise.
6225         (ctanh_test_towardzero): Likewise.
6226         (ctanh_test_downward): Likewise.
6227         (ctanh_test_upward): Likewise.
6228         (erf_test): Likewise.
6229         (erfc_test): Likewise.
6230         (exp_test): Likewise.
6231         (exp_test_tonearest): Likewise.
6232         (exp_test_towardzero): Likewise.
6233         (exp_test_downward): Likewise.
6234         (exp_test_upward): Likewise.
6235         (exp10_test): Likewise.
6236         (exp10_test_tonearest): Likewise.
6237         (exp10_test_towardzero): Likewise.
6238         (exp10_test_downward): Likewise.
6239         (exp10_test_upward): Likewise.
6240         (pow10_test): Likewise.
6241         (exp2_test): Likewise.
6242         (expm1_test): Likewise.
6243         (expm1_test_tonearest): Likewise.
6244         (expm1_test_towardzero): Likewise.
6245         (expm1_test_downward): Likewise.
6246         (expm1_test_upward): Likewise.
6247         (fabs_test): Likewise.
6248         (fdim_test): Likewise.
6249         (floor_test): Likewise.
6250         (fma_test): Likewise.
6251         (fma_test_towardzero): Likewise.
6252         (fma_test_downward): Likewise.
6253         (fma_test_upward): Likewise.
6254         (fmax_test): Likewise.
6255         (fmin_test): Likewise.
6256         (fmod_test): Likewise.
6257         (fpclassify_test): Likewise.
6258         (frexp_test): Likewise.
6259         (hypot_test): Likewise.
6260         (ilogb_test): Likewise.
6261         (isfinite_test): Likewise.
6262         (finite_test): Likewise.
6263         (isgreater_test): Likewise.
6264         (isgreaterequal_test): Likewise.
6265         (isinf_test): Likewise.
6266         (isless_test): Likewise.
6267         (islessequal_test): Likewise.
6268         (islessgreater_test): Likewise.
6269         (isnan_test): Likewise.
6270         (isnormal_test): Likewise.
6271         (issignaling_test): Likewise.
6272         (isunordered_test): Likewise.
6273         (j0_test): Likewise.
6274         (j1_test): Likewise.
6275         (jn_test): Likewise.
6276         (ldexp_test): Likewise.
6277         (lgamma_test): Likewise.
6278         (gamma_test): Likewise.
6279         (lrint_test): Likewise.
6280         (lrint_test_tonearest): Likewise.
6281         (lrint_test_towardzero): Likewise.
6282         (lrint_test_downward): Likewise.
6283         (lrint_test_upward): Likewise.
6284         (llrint_test): Likewise.
6285         (llrint_test_tonearest): Likewise.
6286         (llrint_test_towardzero): Likewise.
6287         (llrint_test_downward): Likewise.
6288         (llrint_test_upward): Likewise.
6289         (log_test): Likewise.
6290         (log10_test): Likewise.
6291         (log1p_test): Likewise.
6292         (log2_test): Likewise.
6293         (logb_test): Likewise.
6294         (logb_test_downward): Likewise.
6295         (lround_test): Likewise.
6296         (llround_test): Likewise.
6297         (modf_test): Likewise.
6298         (nearbyint_test): Likewise.
6299         (nextafter_test): Likewise.
6300         (nexttoward_test): Likewise.
6301         (pow_test): Likewise.
6302         (pow_test_tonearest): Likewise.
6303         (pow_test_towardzero): Likewise.
6304         (pow_test_downward): Likewise.
6305         (pow_test_upward): Likewise.
6306         (remainder_test): Likewise.
6307         (drem_test): Likewise.
6308         (remainder_test_tonearest): Likewise.
6309         (drem_test_tonearest): Likewise.
6310         (remainder_test_towardzero): Likewise.
6311         (drem_test_towardzero): Likewise.
6312         (remainder_test_downward): Likewise.
6313         (drem_test_downward): Likewise.
6314         (remainder_test_upward): Likewise.
6315         (drem_test_upward): Likewise.
6316         (remquo_test): Likewise.
6317         (rint_test): Likewise.
6318         (rint_test_tonearest): Likewise.
6319         (rint_test_towardzero): Likewise.
6320         (rint_test_downward): Likewise.
6321         (rint_test_upward): Likewise.
6322         (round_test): Likewise.
6323         (scalb_test): Likewise.
6324         (scalbn_test): Likewise.
6325         (scalbln_test): Likewise.
6326         (signbit_test): Likewise.
6327         (sin_test): Likewise.
6328         (sin_test_tonearest): Likewise.
6329         (sin_test_towardzero): Likewise.
6330         (sin_test_downward): Likewise.
6331         (sin_test_upward): Likewise.
6332         (sincos_test): Likewise.
6333         (sinh_test): Likewise.
6334         (sinh_test_tonearest): Likewise.
6335         (sinh_test_towardzero): Likewise.
6336         (sinh_test_downward): Likewise.
6337         (sinh_test_upward): Likewise.
6338         (sqrt_test): Likewise.
6339         (sqrt_test_tonearest): Likewise.
6340         (sqrt_test_towardzero): Likewise.
6341         (sqrt_test_downward): Likewise.
6342         (sqrt_test_upward): Likewise.
6343         (tan_test): Likewise.
6344         (tan_test_tonearest): Likewise.
6345         (tan_test_towardzero): Likewise.
6346         (tan_test_downward): Likewise.
6347         (tan_test_upward): Likewise.
6348         (tanh_test): Likewise.
6349         (tgamma_test): Likewise.
6350         (trunc_test): Likewise.
6351         (y0_test): Likewise.
6352         (y1_test): Likewise.
6353         (yn_test): Likewise.
6354         (significand_test): Likewise.
6355
6356         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
6357         individual tests in comment.
6358         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
6359         (prev_max_error): New variable.
6360         (prev_real_max_error): Likewise.
6361         (prev_imag_max_error): Likewise.
6362         (compare_ulp_data): Don't refer to test names in comment.
6363         (find_test_ulps): Remove function.
6364         (find_function_ulps): Likewise.
6365         (find_complex_function_ulps): Likewise.
6366         (init_max_error): Take function name as argument.  Look up ulps
6367         for that function.
6368         (print_ulps): Remove function.
6369         (print_max_error): Use prev_max_error instead of calling
6370         find_function_ulps.
6371         (print_complex_max_error): Use prev_real_max_error and
6372         prev_imag_max_error instead of calling find_complex_function_ulps.
6373         (check_float_internal): Take max_ulp parameter instead of calling
6374         find_test_ulps.  Don't call print_ulps.
6375         (check_float): Update call to check_float_internal.
6376         (check_complex): Update calls to check_float_internal.
6377         (START): Pass argument to init_max_error.
6378         * math/gen-libm-test.pl (%results): Don't include "kind"
6379         information.
6380         (parse_ulps): Don't handle ulps of individual tests.
6381         (print_ulps_file): Likewise.
6382         (output_ulps): Likewise.
6383         * math/README.libm-test: Update.
6384         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
6385         individual tests.
6386         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
6387         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
6388         * sysdeps/arm/libm-test-ulps: Likewise.
6389         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
6390         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
6391         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
6392         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
6393         * sysdeps/microblaze/libm-test-ulps: Likewise.
6394         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
6395         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6396         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6397         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
6398         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6399         * sysdeps/sh/libm-test-ulps: Likewise.
6400         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6401         * sysdeps/tile/libm-test-ulps: Likewise.
6402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6403
6404 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
6405
6406         * math/libm-test.inc (print_complex_max_error): Check separately
6407         whether real and imaginary errors are within allowed range and
6408         pass 0 to print_complex_function_ulps instead of value within
6409         allowed range.
6410
6411 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6412
6413         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
6414         formatting.
6415         (get_handles_fopen): Likewise.
6416         (do_write_test): Likewise.
6417
6418         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
6419
6420         * libio/fileops.c (do_ftell): Use cached offset when
6421         available.
6422         * libio/iofwide.c (do_ftell_wide): Likewise.
6423         * libio/iofdopen.c (_IO_new_fdopen): Don't use
6424         _IO_file_attach.
6425         * libio/wfileops.c (_IO_fwide): Don't cache offset.
6426
6427         [BZ #16532]
6428         * libio/libioP.h (get_file_offset): New function.
6429         * libio/fileops.c (get_file_offset): Likewise.
6430         (do_ftell): Likewise.
6431         (_IO_new_file_seekoff): Split out ftell logic.
6432         * libio/wfileops.c (do_ftell_wide): Likewise.
6433         (_IO_wfile_seekoff): Split out ftell logic.
6434         * libio/tst-ftell-active-handler.c: New test case.
6435         * libio/Makefile (tests): Add it.
6436
6437 2014-03-03  Roland McGrath  <roland@hack.frob.com>
6438
6439         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
6440         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
6441
6442 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6443
6444         [BZ #16639]
6445         * nscd/connections.c (nscd_init): Call do_exit.
6446         (start_threads): Call do_exit and notify_parent.
6447         (begin_drop_privileges): Call do_exit.
6448         (finish_drop_privileges): Likewise.
6449         * nscd/selinux.c (preserve_capabilities): Likewise.
6450         (install_real_capabilities): Likewise.
6451         (nscd_selinux_enabled): Likewise.
6452         (avc_create_thread): Likewise.
6453         (avc_alloc_lock): Likewise.
6454         (nscd_avc_init): Likewise.
6455         * nscd/nscd.c (parent_fd): New static variable.
6456         (main): Create a pipe between parent and child processes.
6457         Skip closing parent_fd.
6458         (monitor_child): New function.
6459         (do_exit): Likewise.
6460         (notify_parent): Likewise.
6461         * nscd/nscd.h (notify_parent): Likewise.
6462         (do_exit): Likewise.
6463
6464 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
6465
6466         * malloc/malloc.c (__libc_calloc): Revert last change.
6467
6468 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6469
6470         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6471
6472 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6473
6474         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
6475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
6476         implementation.
6477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6478         (__libc_ifunc_impl_list): Likewise.
6479         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
6480         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
6481         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
6482         * string/strrchr.c: Define STRRCHR.
6483
6484 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
6485
6486         * benchtest/bench-strtok.c (simple_strtok): Delete.
6487         (strtok_string): Use as benchmark.
6488         * string/strtok (STRTOK): New macro.
6489
6490 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
6491
6492         * manual/threads.texi: Add header and standard comments to all
6493         functions.
6494
6495         * elf/dl-lookup.c (check_match): New function.
6496         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
6497         (do_lookup_x): Remove nested function check_match. Use non-nested
6498         function check_match.
6499
6500 2014-02-28  Roland McGrath  <roland@hack.frob.com>
6501
6502         * csu/Makefile (generated, before-compile): Use += rather than =.
6503         * catgets/Makefile (generated, generated-dirs): Likewise.
6504         * debug/Makefile (generated): Likewise.
6505         * dlfcn/Makefile (generated): Likewise.
6506         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
6507         * iconvdata/Makefile (before-compile, generated): Likewise.
6508         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
6509         * libio/Makefile (generated): Likewise.
6510         * malloc/Makefile (generated): Likewise.
6511         * manual/Makefile (generated, generated-dirs): Likewise.
6512         * misc/Makefile (generated): Likewise.
6513         * posix/Makefile (generated): Likewise.
6514         * resolv/Makefile (generated): Likewise.
6515         * sunrpc/Makefile (generated, generated-dirs): Likewise.
6516         * timezone/Makefile (generated, generated-dirs): Likewise.
6517
6518         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
6519
6520 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6521
6522         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
6523         power8 implementation.
6524         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
6525         file: POWER8 llround ifunc implementation.
6526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
6527         (__lllround): Add POWER8 implementation.
6528         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
6529         POWER8 llround implementation.
6530
6531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
6532         power8 implementation.
6533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
6534         file: POWER8 llrint ifunc implementation.
6535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
6536         Add POWER8 implementation.
6537         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
6538         POWER8 llrint implementation.
6539
6540         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
6541         power8 implementation.
6542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
6543         file: POWER8 finite ifunc implementation.
6544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
6545         Add POWER8 implementation.
6546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
6547         Likewise.
6548         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
6549         POWER8 finite implementation.
6550         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
6551
6552         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
6553         power8 implementation.
6554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
6555         file: POWER8 isinf ifunc implementation.
6556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
6557         POWER8 implementation.
6558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
6559         Likewise.
6560         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
6561         isinf implementation.
6562         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
6563
6564         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
6565         (INIT_ARCH): Add hwcap2 initialization.
6566         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
6567         power8 implementation.
6568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
6569         file: POWER8 isnan ifunc implementation.
6570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
6571         POWER8 implementation.
6572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
6573         Likewise.
6574         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
6575         isnan implementation.
6576         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
6577
6578 2014-02-27  Joey Ye  <joey.ye@arm.com>
6579
6580         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
6581         (_FP_NANFRAC_Q): Set to zero.
6582
6583 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6584
6585         [BZ #16623]
6586         * math/auto-libm-test-in: New test inputs.
6587         * math/auto-libm-test-out: Regenerate.
6588         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
6589         and DA.
6590         (__cos): Likewise.
6591         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
6592
6593 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
6594
6595         * scripts/evaluate-test.sh: Take new argument indicating whether
6596         failure is expected.
6597         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
6598         indicating whether failure is expected.
6599         * conform/Makefile (test-xfail-run-conformtest): New variable.
6600         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
6601         level.
6602         * posix/Makefile (test-xfail-annexc): New variable.
6603         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
6604
6605 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
6606
6607         * argp/Makefile: Include Makeconfig immediately after defining
6608         subdir.
6609         * assert/Makefile: Likewise.
6610         * benchtests/Makefile: Likewise.
6611         * catgets/Makefile: Likewise.
6612         * conform/Makefile: Likewise.
6613         * crypt/Makefile: Likewise.
6614         * csu/Makefile: Likewise.
6615         (all): Remove target.
6616         * ctype/Makefile: Include Makeconfig immediately after defining
6617         subdir.
6618         * debug/Makefile: Likewise.
6619         * dirent/Makefile: Likewise.
6620         * dlfcn/Makefile: Likewise.
6621         * gmon/Makefile: Likewise.
6622         * gnulib/Makefile: Likewise.
6623         * grp/Makefile: Likewise.
6624         * gshadow/Makefile: Likewise.
6625         * hesiod/Makefile: Likewise.
6626         * hurd/Makefile: Likewise.
6627         (all): Remove target.
6628         * iconvdata/Makefile: Include Makeconfig immediately after
6629         defining subdir.
6630         * inet/Makefile: Likewise.
6631         * intl/Makefile: Likewise.
6632         * io/Makefile: Likewise.
6633         * libio/Makefile: Likewise.
6634         (all): Remove target.
6635         * locale/Makefile: Include Makeconfig immediately after defining
6636         subdir.
6637         * login/Makefile: Likewise.
6638         * mach/Makefile: Likewise.
6639         (all): Remove target.
6640         * malloc/Makefile: Include Makeconfig immediately after defining
6641         subdir.
6642         (all): Remove target.
6643         * manual/Makefile: Include Makeconfig immediately after defining
6644         subdir.
6645         * math/Makefile: Likewise.
6646         * misc/Makefile: Likewise.
6647         * nis/Makefile: Likewise.
6648         * nss/Makefile: Likewise.
6649         * po/Makefile: Likewise.
6650         (all): Remove target.
6651         * posix/Makefile: Include Makeconfig immediately after defining
6652         subdir.
6653         * pwd/Makefile: Likewise.
6654         * resolv/Makefile: Likewise.
6655         * resource/Makefile: Likewise.
6656         * rt/Makefile: Likewise.
6657         * setjmp/Makefile: Likewise.
6658         * shadow/Makefile: Likewise.
6659         * signal/Makefile: Likewise.
6660         * socket/Makefile: Likewise.
6661         * soft-fp/Makefile: Likewise.
6662         * stdio-common/Makefile: Likewise.
6663         * stdlib/Makefile: Likewise.
6664         * streams/Makefile: Likewise.
6665         * string/Makefile: Likewise.
6666         * sunrpc/Makefile: Likewise.
6667         (all): Remove target.
6668         * sysvipc/Makefile: Include Makeconfig immediately after defining
6669         subdir.
6670         * termios/Makefile: Likewise.
6671         * time/Makefile: Likewise.
6672         * timezone/Makefile: Likewise.
6673         (all): Remove target.
6674         * wcsmbs/Makefile: Include Makeconfig immediately after defining
6675         subdir.
6676         * wctype/Makefile: Likewise.
6677
6678 2014-02-26  Steve Ellcey  <sellcey@mips.com>
6679
6680         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
6681         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
6682         (libc_feholdexcept_setround_mips): Ditto.
6683         (libc_feholdsetround): New.
6684         (libc_feholdsetroundf): New.
6685         (libc_feholdsetroundl): New.
6686         (libc_feupdateenv_test_mips): New.
6687         (libc_feupdateenv_test): New.
6688         (libc_feupdateenv_testf): New.
6689         (libc_feupdateenv_testl): New.
6690         (libc_feresetround): New.
6691         (libc_feresetroundf): New.
6692         (libc_feresetroundl): New.
6693         (libc_fetestexcept_mips): New.
6694         (libc_fetestexcept): New.
6695         (libc_fetestexceptf): New.
6696         (libc_fetestexceptl): New.
6697         (HAVE_RM_CTX): New.
6698         (libc_feholdexcept_setround_mips_ctx): New.
6699         (libc_feholdexcept_setround_ctx): New.
6700         (libc_feholdexcept_setroundf_ctx): New.
6701         (libc_feholdexcept_setroundl_ctx): New.
6702         (libc_fesetenv_mips_ctx): New.
6703         (libc_fesetenv_ctx): New.
6704         (libc_fesetenv_ctxf): New.
6705         (libc_fesetenv_ctxl): New.
6706         (libc_feupdateenv_mips_ctx): New.
6707         (libc_feupdateenv_ctx): New.
6708         (libc_feupdateenvf_ctx): New.
6709         (libc_feupdateenvl_ctx): New.
6710         (libc_feholdsetround_mips_ctx): New.
6711         (libc_feholdsetround_ctx): New.
6712         (libc_feholdsetroundf_ctx): New.
6713         (libc_feholdsetroundl_ctx): New.
6714         (libc_feresetround_mips_ctx): New.
6715         (libc_feresetround_ctx): New.
6716         (libc_feresetroundf_ctx): New.
6717         (libc_feresetroundl_ctx): New.
6718
6719 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
6720
6721         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
6722
6723         * manual/ipc.texi: New file.
6724         * manual/Makefile (chapters): Add ipc.
6725         * manual/job.texi: Add "Inter-Process Communication" to next.
6726         * manual/process.texi: Add "Inter-Process Communication" to prev.
6727
6728 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6729
6730         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6731
6732 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
6733
6734         * malloc/malloc.c (__libc_calloc): Simplify implementation.
6735
6736         * manual/arith.texi: Fix spaces after sentences.
6737         * manual/charset.texi: Likewise.
6738         * manual/errno.texi: Likewise.
6739         * manual/install.texi: Likewise.
6740         * manual/llio.texi: Likewise.
6741         * manual/locale.texi: Likewise.
6742         * manual/maint.texi: Likewise.
6743         * manual/math.texi: Likewise.
6744         * manual/memory.texi: Likewise.
6745         * manual/message.texi: Likewise.
6746         * manual/probes.texi: Likewise.
6747         * manual/resource.texi: Likewise.
6748         * manual/signal.texi: Likewise.
6749         * manual/socket.texi: Likewise.
6750         * manual/stdio.texi: Likewise.
6751         * manual/string.texi: Likewise.
6752         * manual/time.texi: Likewise.
6753         * manual/users.texi: Likewise.
6754
6755 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
6756
6757         [BZ #16632]
6758         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
6759         _DEFAULT_SOURCE is defined.
6760
6761 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
6762             Carlos O'Donell  <carlos@redhat.com>
6763
6764         [BZ #16613]
6765         * elf/dl-tls.c (_dl_count_modids): New function.
6766         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
6767         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
6768         audit library and increment generation counter.
6769         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
6770         * elf/tst-audit9.c: New file.
6771         * elf/tst-auditmod9a.c: New file.
6772         * elf/tst-auditmod9b.c: New file.
6773         * elf/Makefile: Add rules to build and run tst-audit9.
6774
6775 2014-02-25  Florian Weimer  <fweimer@redhat.com>
6776
6777         [BZ #15347]
6778         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
6779
6780 2014-02-25  Will Newton  <will.newton@linaro.org>
6781
6782         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
6783         (__longjmp): Restore sp and lr before restoring callee
6784         saved registers.  Add longjmp and longjmp_target
6785         SystemTap probe point.
6786         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
6787         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
6788         Define to zero to match jmpbuf layout.
6789         * sysdeps/arm/setjmp.S: Include stap-probe.h.
6790         (__sigsetjmp): Save sp and lr before saving callee
6791         saved registers.  Add setjmp SystemTap probe point.
6792
6793 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6794
6795         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6796
6797 2014-02-24  Andreas Schwab  <schwab@suse.de>
6798
6799         [BZ #15804]
6800         * elf/pldd.c (wait_for_ptrace_stop): New function.
6801         (main): Call it after attaching.
6802
6803 2014-02-22  Roland McGrath  <roland@hack.frob.com>
6804
6805         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
6806         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
6807         Versions files is now verboten.
6808         * hurd/Versions (libc: GLIBC_2.0):
6809         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
6810         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
6811         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
6812         * mach/Versions: Likewise.
6813
6814         * csu/Versions: Remove unused %include.
6815         * resolv/Versions: Likewise.
6816
6817 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
6818
6819         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
6820         ($(objpfx)check-local-headers.out): Likewise.
6821         ($(objpfx)begin-end-check.out): Likewise.
6822         * Makerules (check-abi-%.out): Likewise.
6823         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
6824         ($(objpfx)test2.cat): Likewise.
6825         ($(objpfx)de/libc.cat): Likewise.
6826         ($(objpfx)test-gencat.out): Likewise.
6827         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
6828         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
6829         ($(objpfx)noload-mem): Likewise.
6830         ($(objpfx)tst-pathopt.out): Likewise.
6831         ($(objpfx)tst-rtld-load-self.out): Likewise.
6832         ($(objpfx)tst-array1-cmp.out): Likewise.
6833         ($(objpfx)tst-array1-static-cmp.out): Likewise.
6834         ($(objpfx)tst-array2-cmp.out): Likewise.
6835         ($(objpfx)tst-array3-cmp.out): Likewise.
6836         ($(objpfx)tst-array4-cmp.out): Likewise.
6837         ($(objpfx)tst-array5-cmp.out): Likewise.
6838         ($(objpfx)tst-array5-static-cmp.out): Likewise.
6839         ($(objpfx)check-textrel.out): Likewise.
6840         ($(objpfx)check-execstack.out): Likewise.
6841         ($(objpfx)check-localplt.out): Likewise.
6842         ($(objpfx)order2-cmp.out): Likewise.
6843         ($(objpfx)tst-leaks1-mem): Likewise.
6844         ($(objpfx)tst-leaks1-static-mem): Likewise.
6845         ($(objpfx)tst-initorder-cmp.out): Likewise.
6846         ($(objpfx)tst-initorder2-cmp.out): Likewise.
6847         ($(objpfx)tst-unused-dep.out): Likewise.
6848         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
6849         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
6850         * iconv/Makefile (test-iconvconfig): Likewise.
6851         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
6852         ($(objpfx)iconv-test.out): Likewise.
6853         ($(objpfx)tst-tables.out): Likewise.
6854         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
6855         ($(objpfx)tst-gettext.out): Likewise.
6856         ($(objpfx)tst-translit.out): Likewise.
6857         ($(objpfx)tst-gettext2.out): Likewise.
6858         ($(objpfx)tst-gettext4.out): Likewise.
6859         ($(objpfx)tst-gettext6.out): Likewise.
6860         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
6861         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
6862         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
6863         ($(objpfx)tst-fopenloc-mem.out): Likewise.
6864         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
6865         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
6866         * posix/Makefile ($(objpfx)globtest.out): Likewise.
6867         ($(objpfx)wordexp-tst.out): Likewise.
6868         ($(objpfx)annexc.out): Likewise.
6869         ($(objpfx)tst-fnmatch-mem): Likewise.
6870         ($(objpfx)bug-regex2-mem): Likewise.
6871         ($(objpfx)bug-regex14-mem): Likewise.
6872         ($(objpfx)bug-regex21-mem): Likewise.
6873         ($(objpfx)bug-regex31-mem): Likewise.
6874         ($(objpfx)tst-vfork3-mem): Likewise.
6875         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
6876         ($(objpfx)tst-pcre-mem): Likewise.
6877         ($(objpfx)tst-boost-mem): Likewise.
6878         ($(objpfx)tst-getconf.out): Likewise.
6879         ($(objpfx)bug-ga2-mem): Likewise.
6880         ($(objpfx)bug-glob2-mem): Likewise.
6881         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
6882         ($(objpfx)mtrace-tst-leaks2): Likewise.
6883         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
6884         ($(objpfx)tst-printf.out): Likewise.
6885         ($(objpfx)tst-setvbuf1.out): Likewise.
6886         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
6887         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
6888         ($(objpfx)tst-fmtmsg.out): Likewise.
6889         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
6890         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
6891
6892         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
6893         * bits/sigaction.h [__USE_MISC]: Likewise.
6894         * bits/waitstatus.h: Update #endif comments.
6895         * ctype/ctype.h: Likewise.
6896         * dirent/dirent.h: Likewise.
6897         [__USE_MISC]: Remove redundant conditionals.
6898         * grp/grp.h: Update #endif comments.
6899         [__USE_GNU]: Remove redundant conditionals.
6900         [__USE_MISC]: Likewise.
6901         * inet/netinet/in.h [__USE_GNU]: Likewise.
6902         * io/sys/stat.h [__USE_MISC]: Likewise.
6903         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
6904         * libio/bits/stdio.h: Update #endif comments.
6905         [__USE_MISC]: Remove redundant conditionals.
6906         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
6907         * libio/stdio.h: Update #endif comments.
6908         [__USE_MISC]: Remove redundant conditionals.
6909         * math/bits/math-finite.h [__USE_MISC]: Likewise.
6910         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
6911         * math/math.h: Update #else and #endif comments.
6912         [__USE_MISC]: Remove redundant conditionals.
6913         * misc/sys/uio.h: Update #endif comments.
6914         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
6915         * posix/glob.h [__USE_MISC]: Likewise.
6916         * posix/sys/types.h: Update #endif comments.
6917         [__USE_MISC]: Remove redundant conditionals.
6918         * posix/sys/wait.h: Update #endif comments.
6919         [__USE_MISC]: Remove redundant conditionals.
6920         * posix/unistd.h: Update #endif comments.
6921         [__USE_MISC]: Remove redundant conditionals.
6922         * pwd/pwd.h [__USE_GNU]: Likewise.
6923         [__USE_MISC]: Likewise.
6924         * resolv/netdb.h [__USE_GNU]: Likewise.
6925         * signal/signal.h: Update #endif comments.
6926         [__USE_MISC]: Remove redundant conditionals.
6927         * stdlib/stdlib.h: Update #else and #endif comments.
6928         [__USE_MISC]: Remove redundant conditionals.
6929         [__USE_GNU]: Likewise.
6930         * string/bits/string2.h [__USE_MISC]: Likewise.
6931         * string/string.h: Update #endif comments.
6932         [__USE_MISC]: Remove redundant conditionals.
6933         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
6934         Likewise.
6935         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
6936         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
6937         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
6938         Likewise.
6939         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
6940         Likewise.
6941         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
6942         comments.
6943         [__USE_MISC]: Remove redundant conditionals.
6944         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
6945         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
6946         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
6947         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
6948         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
6949         Likewise.
6950         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
6951         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
6952         Likewise.
6953         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
6954         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
6955         Likewise.
6956         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
6957         Likewise.
6958         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
6959         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
6960         Likewise.
6961         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
6962         Likewise.
6963         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
6964         * sysdeps/x86/bits/string.h: Update #endif comments.
6965         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
6966         conditionals.
6967         * time/sys/time.h: Update #endif comments.
6968         * time/time.h: Likewise.
6969         [__USE_MISC]: Remove redundant conditionals.
6970
6971 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
6972
6973         [BZ #16600]
6974         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
6975
6976 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
6977
6978         * Versions.def (librt): Add GLIBC_2.17.
6979
6980 2014-02-21  Adam Conrad  <adconrad@0c3.net>
6981
6982         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
6983         synonym for _SYS_AUXV_H to allow direct inclusion.
6984         * sysdeps/sparc/bits/hwcap.h: Likewise.
6985         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
6986         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
6987         * sysdeps/sparc/sysdep.h: Likewise.
6988
6989 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6990
6991         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
6992
6993 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6994
6995         * benchtests/bench-strrchr.c: Print length instead of position.
6996
6997 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
6998
6999         [BZ #16611]
7000         * sysdeps/unix/sysv/linux/kernel-features.h
7001         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
7002         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
7003         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
7004         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
7005         Likewise.
7006         [__i386__ || __powerpc__ || __sh__ || __sparc__]
7007         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7008         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
7009         (__ASSUME_SENDMMSG): Define instead of using previous
7010         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
7011         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7012         (__ASSUME_SENDMMSG_SYSCALL): Define.
7013         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7014         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
7015         Likewise.
7016         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7017         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7018         Likewise.
7019         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7020         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7021         Likewise.
7022         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
7023         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7024         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7025         [__ASSUME_SENDMMSG]: Change conditionals to
7026         [__ASSUME_SENDMMSG_SOCKETCALL].
7027         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7028         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
7029         Define.
7030         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7031         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
7032         Likewise.
7033         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
7034         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
7035         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
7036         [!__ASSUME_SENDMMSG]: Change conditional to
7037         [!__ASSUME_SENDMMSG_SOCKETCALL].
7038         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7039         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
7040         Define.
7041
7042         [BZ #16610]
7043         * sysdeps/unix/sysv/linux/kernel-features.h
7044         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
7045         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
7046         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
7047         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
7048         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7049         [__i386__ || __sparc__]
7050         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7051         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
7052         (__ASSUME_RECVMMSG): Define instead of using previous
7053         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
7054         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7055         (__ASSUME_RECVMMSG_SYSCALL): Define.
7056         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7057         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7058         Likewise.
7059         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7060         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7061         Likewise.
7062         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7063         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7064         Likewise.
7065         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
7066         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7067         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7068         [__ASSUME_RECVMMSG]: Change condition to
7069         [__ASSUME_RECVMMSG_SOCKETCALL].
7070         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7071         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7072         Define.
7073         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7074         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7075         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
7076         Likewise.
7077         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
7078         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
7079         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
7080         [!__ASSUME_RECVMMSG]: Change condition to
7081         [!__ASSUME_RECVMMSG_SOCKETCALL].
7082         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7083         (__ASSUME_RECVMMSG_SYSCALL): Define.
7084
7085         [BZ #16609]
7086         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
7087         __powerpc__ || __s390__ || __sh__ || __sparc__]
7088         (__ASSUME_SOCKETCALL): Define.
7089         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
7090         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
7091         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
7092         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
7093         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
7094         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7095         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
7096         (__ASSUME_ACCEPT4): Define instead of using previous
7097         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
7098         __powerpc__ || __sparc__ || __s390__)] condition.
7099         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
7100         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7101         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
7102         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7103         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7104         [!__ASSUME_ACCEPT4]: Change condition to
7105         [!__ASSUME_ACCEPT4_SOCKETCALL].
7106         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7107         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
7108         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
7109         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7110         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
7111         __ASSUME_ACCEPT4_SYSCALL.
7112         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
7113         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
7114         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7115         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
7116         __ASSUME_ACCEPT4_SYSCALL.
7117         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
7118         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
7119         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
7120         [__ASSUME_ACCEPT4]: Change condition to
7121         [__ASSUME_ACCEPT4_SOCKETCALL].
7122         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7123         (__ASSUME_SOCKETCALL): Define.
7124         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
7125         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7126         (__ASSUME_SOCKETCALL): Define.
7127         (__ASSUME_ACCEPT4): Remove.
7128         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
7129         Define.
7130         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7131         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
7132         Likewise.
7133         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7134         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
7135
7136         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
7137         macro.
7138         (HWCAP_ARM_LPAE): Likewise.
7139         (HWCAP_ARM_EVTSTRM): Likewise.
7140         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
7141         Add vpfd32, lpae and evtstrm.
7142         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
7143         Increase to 22.
7144
7145 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
7146
7147         * math/auto-libm-test-in: Add tests of clog10.
7148         * math/auto-libm-test-out: Regenerated.
7149         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
7150         * sysdeps/i386/fpu/libm-test-ulps: Update.
7151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7152
7153 2014-02-18  Andreas Schwab  <schwab@suse.de>
7154
7155         [BZ #16574]
7156         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
7157         Store non-zero if the second buffer was newly allocated.
7158         (send_dg): Likewise.
7159         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
7160         to send_vc and send_dg.
7161         (res_nsend): Pass NULL for ansp2_malloced.
7162         * resolv/res_query.c (__libc_res_nquery): Add parameter
7163         answerp2_malloced and pass it down to __libc_res_nsend.
7164         (res_nquery): Pass additional NULL to __libc_res_nquery.
7165         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
7166         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
7167         second answer buffer if answerp2_malloced was set.
7168         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
7169         (__libc_res_nquerydomain): Add parameter
7170         answerp2_malloced and pass it down to __libc_res_nquery.
7171         (res_nquerydomain): Pass additional NULL to
7172         __libc_res_nquerydomain.
7173         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
7174         additional NULL to __libc_res_nsend and __libc_res_nquery.
7175         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
7176         additional NULL to __libc_res_nsearch.
7177         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
7178         parameter of __libc_res_nsearch to check for separately allocated
7179         second buffer.
7180         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
7181         __libc_res_nquery.
7182         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
7183         additional NULL to __libc_res_nquery.
7184         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
7185         __libc_res_nsearch.
7186         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
7187         * include/resolv.h: Update prototypes of __libc_res_nquery,
7188         __libc_res_nsearch, __libc_res_nsend.
7189
7190 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
7191
7192         * math/auto-libm-test-in: Add tests of fma.
7193         * math/auto-libm-test-out: Regenerated.
7194         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
7195         (fma_towardzero_test_data): Likewise.
7196         (fma_downward_test_data): Likewise.
7197         (fma_upward_test_data): Likewise.
7198         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
7199         mpc_mode.
7200         (rounding_modes): Add values for new field.
7201         (func_calc_method): Add value mpfr_fff_f.
7202         (func_calc_desc): Add mpfr_fff_f union field.
7203         (test_function): Add field exact_args.
7204         (FUNC): Add macro argument EXACT_ARGS.
7205         (FUNC_mpfr_f_f): Update call to FUNC.
7206         (FUNC_mpfr_f_f): Likewise.
7207         (FUNC_mpfr_ff_f): Likewise.
7208         (FUNC_mpfr_if_f): Likewise.
7209         (FUNC_mpc_c_f): Likewise.
7210         (FUNC_mpc_c_c): Likewise.
7211         (test_functions): Add fma.  Update calls to FUNC.
7212         (handle_input_arg): Add argument exact_args.
7213         (add_test): Update call to handle_input_arg.
7214         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
7215         (output_for_one_input_case): Update call to calc_generic_results.
7216         Recalculate exact zero results in each rounding mode.
7217
7218         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
7219         non-negative before setting low bit.
7220         * math/auto-libm-test-in: Mark one asin test possibly having
7221         spurious underflow.
7222         * math/auto-libm-test-out: Regenerated.
7223         * sysdeps/i386/fpu/libm-test-ulps: Update.
7224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7225
7226 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
7227
7228         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
7229         * sysdeps/unix/sysv/linux/microblaze: Move directory from
7230         ports/sysdeps/unix/sysv/linux/microblaze.
7231         * README: Add missing listing for microblaze*-*-linux-gnu.
7232
7233 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
7234
7235         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
7236         * sysdeps/unix/sysv/linux/ia64: Move directory from
7237         ports/sysdeps/unix/sysv/linux/ia64.
7238         * README: Update listing for ia64-*-linux-gnu.
7239
7240 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
7241             Joseph Myers  <joseph@codesourcery.com>
7242
7243         * Makeconfig (test-name): New variable.
7244         (evaluate-test): Likewise.
7245         * Makerules (do-test-clean): Remove .test-result files.
7246         (common-mostlyclean): Likewise.
7247         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
7248         * scripts/evaluate-test.sh: New file.
7249
7250 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
7251
7252         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
7253         separate $(objpfx)tst-fopenloc-cmp.out and
7254         $(objpfx)tst-fopenloc-mem.out targets.
7255         (tests): Update dependencies.
7256         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
7257         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
7258         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
7259         (tst-rxspencer-no-utf8-ARGS): New variable.
7260         (tst-rxspencer-no-utf8-ENV): Likewise.
7261         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
7262         instead of $(objpfx)tst-rxspencer-mem.
7263         ($(objpfx)tst-rxspencer-mem): Change target to
7264         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
7265         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
7266         * posix/tst-rxspencer-no-utf8.c: New file.
7267
7268         * elf/Makefile ($(objpfx)order.out): Remove rule.
7269         [$(run-built-tests) = yes] (tests): Depend on
7270         $(objpfx)order-cmp.out.
7271         ($(objpfx)order-cmp.out): New rule.
7272         [$(run-built-tests) = yes] (tests): Depend on
7273         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
7274         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
7275         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
7276         $(objpfx)tst-array5-static-cmp.out.
7277         ($(objpfx)tst-array1.out): Remove rule.
7278         ($(objpfx)tst-array1-cmp.out): New rule.
7279         ($(objpfx)tst-array1-static.out): Remove rule.
7280         ($(objpfx)tst-array1-static-cmp.out): New rule.
7281         ($(objpfx)tst-array2.out): Remove rule.
7282         ($(objpfx)tst-array2-cmp.out): New rule.
7283         ($(objpfx)tst-array3.out): Remove rule.
7284         ($(objpfx)tst-array3-cmp.out): New rule.
7285         ($(objpfx)tst-array4.out): Remove rule.
7286         ($(objpfx)tst-array4-cmp.out): New rule.
7287         ($(objpfx)tst-array5.out): Remove rule.
7288         ($(objpfx)tst-array5-cmp.out): New rule.
7289         ($(objpfx)tst-array5-static.out): Remove rule.
7290         ($(objpfx)tst-array5-static-cmp.out): New rule.
7291         [$(run-built-tests) = yes] (tests): Depend on
7292         $(objpfx)order2-cmp.out.
7293         ($(objpfx)order2.out): Remove rule.
7294         ($(objpfx)order2-cmp.out): New rule.
7295         ($(objpfx)tst-initorder.out): Remove rule.
7296         [$(run-built-tests) = yes] (tests): Depend on
7297         $(objpfx)tst-initorder-cmp.out.
7298         ($(objpfx)tst-initorder-cmp.out): New rule.
7299         ($(objpfx)tst-initorder2.out): Remove rule.
7300         [$(run-built-tests) = yes] (tests): Depend on
7301         $(objpfx)tst-initorder2-cmp.out.
7302         ($(objpfx)tst-initorder2-cmp.out): New rule.
7303         [$(run-built-tests) = yes] (tests): Depend on
7304         $(objpfx)tst-unused-dep-cmp.out.
7305         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
7306         ($(objpfx)tst-unused-dep-cmp.out): New rule.
7307         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
7308         on $(objpfx)tst-setvbuf1-cmp.out.
7309         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
7310         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
7311         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
7312         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
7313         ($(objpfx)tst-svc.out): Remove rule.
7314         ($(objpfx)tst-svc-cmp.out): New rule.
7315
7316 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
7317
7318         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
7319         * ctype/ctype.h [__USE_MISC]: Likewise.
7320         * dirent/dirent.h [__USE_MISC]: Likewise.
7321         * grp/grp.h [__USE_MISC]: Likewise.
7322         * io/fcntl.h [__USE_MISC]: Likewise.
7323         * io/sys/stat.h [__USE_MISC]: Likewise.
7324         * libio/stdio.h [__USE_MISC]: Likewise.
7325         * posix/unistd.h [__USE_MISC]: Likewise.
7326         * pwd/pwd.h [__USE_MISC]: Likewise.
7327         * stdlib.h [__USE_MISC]: Likewise.
7328         * string/bits/string2.h [__USE_MISC]: Likewise.
7329         * string/string.h [__USE_MISC]: Likewise.
7330         * time/time.h [__USE_MISC]: Likewise.
7331
7332 2014-02-13  Andreas Schwab  <schwab@suse.de>
7333
7334         [BZ #16574]
7335         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
7336         second answer buffer if it was separately allocated.
7337
7338 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
7339
7340         * sysdeps/mips/math-tests.h: Include <features.h>.
7341         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7342         (ROUNDING_TESTS_long_double): Do not define.
7343         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
7344         (EXCEPTION_TESTS_long_double): Likewise.
7345         * sysdeps/mips/mips64/libm-test-ulps: Update.
7346
7347         * include/features.h (__USE_BSD): Remove macro definitions.
7348         (__USE_SVID): Likewise.
7349         (_BSD_SOURCE): Likewise.
7350         (_SVID_SOURCE): Likewise.
7351         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
7352         from definition of _DEFAULT_SOURCE.
7353         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
7354         [_DEFAULT_SOURCE].
7355         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
7356         * bits/mman.h [__USE_BSD]: Likewise.
7357         * bits/termios.h [__USE_BSD]: Likewise.
7358         * bits/waitstatus.h [__USE_BSD]: Likewise.
7359         * ctype/ctype.h [__USE_SVID]: Likewise.
7360         * dirent/dirent.h [__USE_BSD]: Likewise.
7361         * grp/grp.h [__USE_SVID]: Likewise.
7362         [__USE_BSD]: Likewise.
7363         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
7364         * io/fcntl.h [__USE_BSD]: Likewise.
7365         * io/ftw.h [__USE_BSD]: Likewise.
7366         * io/sys/stat.h [__USE_BSD]: Likewise.
7367         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
7368         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
7369         * libio/stdio.h [__USE_SVID]: Likewise.
7370         [__USE_BSD]: Likewise.
7371         * math/math.h [__USE_SVID]: Likewise.
7372         [__USE_BSD]: Likewise.
7373         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
7374         * misc/bits/syslog.h [__USE_BSD]: Likewise.
7375         * misc/search.h [__USE_SVID]: Likewise.
7376         * misc/sys/mman.h [__USE_BSD]: Likewise.
7377         * misc/sys/syslog.h [__USE_BSD]: Likewise.
7378         * misc/sys/uio.h [__USE_BSD]: Likewise.
7379         * posix/bits/unistd.h [__USE_BSD]: Likewise.
7380         * posix/glob.h [__USE_BSD]: Likewise.
7381         * posix/regex.h [__USE_BSD]: Likewise.
7382         * posix/sys/types.h [__USE_BSD]: Likewise.
7383         [__USE_SVID]: Likewise.
7384         * posix/sys/utsname.h [__USE_SVID]: Likewise.
7385         * posix/sys/wait.h [__USE_BSD]: Likewise.
7386         [__USE_SVID]: Likewise.
7387         * posix/unistd.h [__USE_BSD]: Likewise.
7388         [__USE_SVID]: Likewise.
7389         * pwd/pwd.h [__USE_SVID]: Likewise.
7390         * resolv/netdb.h [__USE_BSD]: Likewise.
7391         * setjmp/setjmp.h [__USE_BSD]: Likewise.
7392         * signal/signal.h [__USE_BSD]: Likewise.
7393         [__USE_SVID]: Likewise.
7394         * socket/sys/socket.h [__USE_BSD]: Likewise.
7395         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
7396         * stdlib/stdlib.h [__USE_BSD]: Likewise.
7397         [__USE_SVID]: Likewise.
7398         * string/bits/string2.h [__USE_BSD]: Likewise.
7399         [__USE_SVID]: Likewise.
7400         * string/bits/string3.h [__USE_BSD]: Likewise.
7401         * string/endian.h [__USE_BSD]: Likewise.
7402         * string/string.h [__USE_SVID]: Likewise.
7403         [__USE_BSD]: Likewise.
7404         * string/strings.h [__USE_BSD]: Likewise.
7405         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
7406         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
7407         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
7408         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
7409         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
7410         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
7411         Likewise.
7412         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
7413         Likewise.
7414         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
7415         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
7416         Likewise.
7417         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
7418         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
7419         Likewise.
7420         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
7421         Likewise.
7422         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
7423         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
7424         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
7425         Likewise.
7426         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
7427         Likewise.
7428         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
7429         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
7430         * termios/termios.h [__USE_BSD]: Likewise.
7431         * time/sys/time.h [__USE_BSD]: Likewise.
7432         * time/time.h [__USE_BSD]: Likewise.
7433         [__USE_SVID]: Likewise.
7434
7435         * Makefile (subdir_targets): Remove subdir_lint.out.
7436
7437         * stdio-common/Makefile (do-tst-unbputc): Remove target.
7438         (do-tst-printf): Likewise.
7439         (tests): Depend directly on $(objpfx)tst-unbputc.out and
7440         $(objpfx)tst-printf.out.
7441
7442         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
7443
7444         * Makerules (check-abi-%): Change target to
7445         $(objpfx)check-abi-%.out.
7446         (check-abi target): Update dependencies.
7447         (check-abi-pattern variable): Redirect output of diff to $@.
7448         (check-abi variable): Likewise.
7449         * elf/Makefile (check-abi): Update dependencies.
7450
7451         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
7452         unused.
7453         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
7454         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
7455         subnormal range.
7456         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
7457         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
7458         value has largest subnormal exponent.
7459         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
7460         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
7461         * sysdeps/aarch64/soft-fp/sfp-machine.h
7462         (_FP_TININESS_AFTER_ROUNDING): New macro.
7463         * sysdeps/alpha/soft-fp/sfp-machine.h
7464         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7465         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7466         Likewise.
7467         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
7468         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7469         * sysdeps/mips/soft-fp/sfp-machine.h
7470         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7471         * sysdeps/powerpc/soft-fp/sfp-machine.h
7472         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7473         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7474         Likewise.
7475         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
7476         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7477         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
7478         (_FP_TININESS_AFTER_ROUNDING): Likewise.
7479         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
7480         Likewise.
7481
7482 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
7483
7484         [BZ #16545]
7485         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
7486         model 1.
7487
7488 2014-02-12  Richard Henderson  <rth@redhat.com>
7489
7490         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
7491         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
7492         * sysdeps/unix/sysv/linux/alpha: Move directory from
7493         ports/sysdeps/unix/sysv/linux/alpha.
7494         * README: Update listing for alpha-*-linux-gnu.
7495
7496 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
7497
7498         * include/features.h: Update comment documenting feature test
7499         macros.
7500         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
7501         _DEFAULT_SOURCE.
7502         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
7503         (_SVID_SOURCE): Likewise.
7504         (_DEFAULT_SOURCE): Update description of default features.
7505         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
7506         with _GNU_SOURCE.
7507         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
7508         (S_ISVTX): Likewise.
7509         * manual/math.texi (Mathematical Constants): Likewise.
7510         * manual/signal.texi (Interrupted Primitives): Likewise.
7511         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
7512         * math/test-matherr.c (_SVID_SOURCE): Do not define.
7513         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
7514         Don't refer to _SVID_SOURCE in warning text.
7515
7516         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7517
7518         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
7519         already defined.
7520         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
7521         * sysdeps/mips/dl-lookup.c: Remove.
7522         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
7523
7524 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7525
7526         [BZ #16447]
7527         * math/auto-libm-test-in: Add testcase for expl.
7528         * math/auto-libm-test-out: Regenerate.
7529         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
7530         calculation of unsafe.
7531         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
7532
7533 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
7534
7535         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
7536         * sysdeps/unix/sysv/linux/aarch64: Move directory from
7537         ports/sysdeps/unix/sysv/linux/aarch64.
7538         * README: Update listing for aarch64*-*-linux-gnu.
7539
7540 2014-02-11  Will Newton  <will.newton@linaro.org>
7541
7542         * manual/probes.texi (Mathematical Function Probes): Use
7543         "triggered" instead of "hit".
7544
7545         * manual/probes.texi (Internal Probes): Add documentation
7546         of setjmp, longjmp and longjmp_target probes.
7547
7548         * include/stap-probe.h: Add comment about probe argument
7549         format.
7550
7551         * malloc/mtrace.c (attribute_hidden): Remove unused macro
7552         definition.  (tr_where, tr_freehook, tr_mallochook,
7553         tr_reallochook, tr_memalignhook): Use ANSI protoype.
7554
7555 2014-02-11  David S. Miller  <davem@davemloft.net>
7556
7557         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
7558         processing int_tests.
7559
7560 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
7561
7562         * sysdeps/mips: Move directory from ports/sysdeps/mips.
7563         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
7564         * sysdeps/unix/sysv/linux/mips: Move directory from
7565         ports/sysdeps/unix/sysv/linux/mips.
7566         * README: Update listing for mips-*-linux-gnu and
7567         mips64-*-linux-gnu.
7568
7569 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
7570
7571         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
7572         * sysdeps/unix/sysv/linux/m68k: Move directory from
7573         ports/sysdeps/unix/sysv/linux/m68k.
7574         * README: Update listing for m68k-*-linux-gnu.
7575
7576 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
7577
7578         * sysdeps/tile: Move directory from ports/sysdeps/tile.
7579         * sysdeps/unix/sysv/linux/generic: Move directory from
7580         ports/sysdeps/unix/sysv/linux/generic.
7581         * sysdeps/unix/sysv/linux/tile: Move directory from
7582         ports/sysdeps/unix/sysv/linux/tile.
7583         * README: Update listing for tile*-*-linux-gnu.
7584
7585 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
7586
7587         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
7588         __builtin_expect.
7589         * benchtests/bench-memmem.c (simple_memmem): Likewise.
7590         * catgets/open_catalog.c (__open_catalog): Likewise.
7591         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
7592         * debug/confstr_chk.c: Likewise.
7593         * debug/fread_chk.c (__fread_chk): Likewise.
7594         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
7595         * debug/getgroups_chk.c: Likewise.
7596         * debug/mbsnrtowcs_chk.c: Likewise.
7597         * debug/mbsrtowcs_chk.c: Likewise.
7598         * debug/mbstowcs_chk.c: Likewise.
7599         * debug/memcpy_chk.c: Likewise.
7600         * debug/memmove_chk.c: Likewise.
7601         * debug/mempcpy_chk.c: Likewise.
7602         * debug/memset_chk.c: Likewise.
7603         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
7604         * debug/strcat_chk.c (__strcat_chk): Likewise.
7605         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
7606         * debug/strncat_chk.c (__strncat_chk): Likewise.
7607         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
7608         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
7609         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
7610         * debug/wcpncpy_chk.c: Likewise.
7611         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
7612         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
7613         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
7614         * debug/wcsncpy_chk.c: Likewise.
7615         * debug/wcsnrtombs_chk.c: Likewise.
7616         * debug/wcsrtombs_chk.c: Likewise.
7617         * debug/wcstombs_chk.c: Likewise.
7618         * debug/wmemcpy_chk.c: Likewise.
7619         * debug/wmemmove_chk.c: Likewise.
7620         * debug/wmempcpy_chk.c: Likewise.
7621         * debug/wmemset_chk.c: Likewise.
7622         * dirent/scandirat.c (SCANDIRAT): Likewise.
7623         * dlfcn/dladdr1.c (dladdr1): Likewise.
7624         * dlfcn/dladdr.c (dladdr): Likewise.
7625         * dlfcn/dlclose.c (dlclose_doit): Likewise.
7626         * dlfcn/dlerror.c (__dlerror): Likewise.
7627         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
7628         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
7629         * dlfcn/dlopen.c (dlopen_doit): Likewise.
7630         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
7631         * dlfcn/dlsym.c (dlsym_doit): Likewise.
7632         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
7633         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
7634         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
7635         Likewise.
7636         * elf/dl-conflict.c: Likewise.
7637         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
7638         * elf/dl-dst.h: Likewise.
7639         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
7640         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
7641         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
7642         * elf/dl-init.c (call_init, _dl_init): Likewise.
7643         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
7644         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
7645         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
7646         Likewise.
7647         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
7648         Likewise.
7649         * elf/dl-minimal.c (__libc_memalign): Likewise.
7650         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
7651         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
7652         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
7653         * elf/dl-sym.c (do_sym): Likewise.
7654         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
7655         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
7656         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
7657         * elf/dl-writev.h (_dl_writev): Likewise.
7658         * elf/ldconfig.c (search_dir): Likewise.
7659         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
7660         (dl_main): Likewise.
7661         * elf/setup-vdso.h (setup_vdso): Likewise.
7662         * grp/compat-initgroups.c (compat_call): Likewise.
7663         * grp/fgetgrent.c (fgetgrent): Likewise.
7664         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
7665         * grp/putgrent.c (putgrent): Likewise.
7666         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
7667         Likewise.
7668         * hurd/hurdinit.c: Likewise.
7669         * iconvdata/8bit-gap.c (struct): Likewise.
7670         * iconvdata/ansi_x3.110.c : Likewise.
7671         * iconvdata/big5.c : Likewise.
7672         * iconvdata/big5hkscs.c : Likewise.
7673         * iconvdata/cp1255.c: Likewise.
7674         * iconvdata/cp1258.c : Likewise.
7675         * iconvdata/cp932.c : Likewise.
7676         * iconvdata/euc-cn.c: Likewise.
7677         * iconvdata/euc-jisx0213.c : Likewise.
7678         * iconvdata/euc-jp.c: Likewise.
7679         * iconvdata/euc-jp-ms.c : Likewise.
7680         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
7681         * iconvdata/gb18030.c : Likewise.
7682         * iconvdata/gbbig5.c (const): Likewise.
7683         * iconvdata/gbgbk.c: Likewise.
7684         * iconvdata/gbk.c : Likewise.
7685         * iconvdata/ibm1364.c : Likewise.
7686         * iconvdata/ibm930.c : Likewise.
7687         * iconvdata/ibm932.c: Likewise.
7688         * iconvdata/ibm933.c : Likewise.
7689         * iconvdata/ibm935.c : Likewise.
7690         * iconvdata/ibm937.c : Likewise.
7691         * iconvdata/ibm939.c : Likewise.
7692         * iconvdata/ibm943.c: Likewise.
7693         * iconvdata/iso_11548-1.c: Likewise.
7694         * iconvdata/iso-2022-cn.c : Likewise.
7695         * iconvdata/iso-2022-cn-ext.c : Likewise.
7696         * iconvdata/iso-2022-jp-3.c: Likewise.
7697         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
7698         * iconvdata/iso-2022-kr.c : Likewise.
7699         * iconvdata/iso646.c (gconv_end): Likewise.
7700         * iconvdata/iso_6937-2.c : Likewise.
7701         * iconvdata/iso_6937.c : Likewise.
7702         * iconvdata/iso8859-1.c: Likewise.
7703         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
7704         * iconvdata/shift_jisx0213.c : Likewise.
7705         * iconvdata/sjis.c : Likewise.
7706         * iconvdata/t.61.c : Likewise.
7707         * iconvdata/tcvn5712-1.c : Likewise.
7708         * iconvdata/tscii.c: Likewise.
7709         * iconvdata/uhc.c : Likewise.
7710         * iconvdata/unicode.c (gconv_end): Likewise.
7711         * iconvdata/utf-16.c (gconv_end): Likewise.
7712         * iconvdata/utf-32.c (gconv_end): Likewise.
7713         * iconvdata/utf-7.c (base64): Likewise.
7714         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
7715         * iconv/gconv_close.c (__gconv_close): Likewise.
7716         * iconv/gconv_open.c (__gconv_open): Likewise.
7717         * iconv/gconv_simple.c (internal_ucs4_loop_single)
7718         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
7719         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
7720         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
7721         (ucs4le_internal_loop_single): Likewise.
7722         * iconv/iconv.c (iconv): Likewise.
7723         * iconv/iconv_close.c: Likewise.
7724         * iconv/loop.c (SINGLE): Likewise.
7725         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
7726         * include/atomic.h: Likewise.
7727         * inet/inet6_option.c (option_alloc): Likewise.
7728         * intl/bindtextdom.c (set_binding_values): Likewise.
7729         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
7730         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
7731         * intl/localealias.c (read_alias_file): Likewise.
7732         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
7733         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
7734         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
7735         * libio/fmemopen.c (fmemopen): Likewise.
7736         * libio/iofgets.c (_IO_fgets): Likewise.
7737         * libio/iofgets_u.c (fgets_unlocked): Likewise.
7738         * libio/iofgetws.c (fgetws): Likewise.
7739         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
7740         * libio/iogetdelim.c (_IO_getdelim): Likewise.
7741         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
7742         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
7743         * locale/findlocale.c (_nl_find_locale): Likewise.
7744         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
7745         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
7746         Likewise.
7747         * locale/setlocale.c (setlocale): Likewise.
7748         * login/programs/pt_chown.c (main): Likewise.
7749         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
7750         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
7751         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
7752         (mmap, mmap64, mremap, munmap): Likewise.
7753         * math/e_exp2l.c: Likewise.
7754         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
7755         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
7756         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
7757         * math/s_catan.c (__catan): Likewise.
7758         * math/s_catanf.c (__catanf): Likewise.
7759         * math/s_catanh.c (__catanh): Likewise.
7760         * math/s_catanhf.c (__catanhf): Likewise.
7761         * math/s_catanhl.c (__catanhl): Likewise.
7762         * math/s_catanl.c (__catanl): Likewise.
7763         * math/s_ccosh.c (__ccosh): Likewise.
7764         * math/s_ccoshf.c (__ccoshf): Likewise.
7765         * math/s_ccoshl.c (__ccoshl): Likewise.
7766         * math/s_cexp.c (__cexp): Likewise.
7767         * math/s_cexpf.c (__cexpf): Likewise.
7768         * math/s_cexpl.c (__cexpl): Likewise.
7769         * math/s_clog10.c (__clog10): Likewise.
7770         * math/s_clog10f.c (__clog10f): Likewise.
7771         * math/s_clog10l.c (__clog10l): Likewise.
7772         * math/s_clog.c (__clog): Likewise.
7773         * math/s_clogf.c (__clogf): Likewise.
7774         * math/s_clogl.c (__clogl): Likewise.
7775         * math/s_csin.c (__csin): Likewise.
7776         * math/s_csinf.c (__csinf): Likewise.
7777         * math/s_csinh.c (__csinh): Likewise.
7778         * math/s_csinhf.c (__csinhf): Likewise.
7779         * math/s_csinhl.c (__csinhl): Likewise.
7780         * math/s_csinl.c (__csinl): Likewise.
7781         * math/s_csqrt.c (__csqrt): Likewise.
7782         * math/s_csqrtf.c (__csqrtf): Likewise.
7783         * math/s_csqrtl.c (__csqrtl): Likewise.
7784         * math/s_ctan.c (__ctan): Likewise.
7785         * math/s_ctanf.c (__ctanf): Likewise.
7786         * math/s_ctanh.c (__ctanh): Likewise.
7787         * math/s_ctanhf.c (__ctanhf): Likewise.
7788         * math/s_ctanhl.c (__ctanhl): Likewise.
7789         * math/s_ctanl.c (__ctanl): Likewise.
7790         * math/w_pow.c: Likewise.
7791         * math/w_powf.c: Likewise.
7792         * math/w_powl.c: Likewise.
7793         * math/w_scalb.c (sysv_scalb): Likewise.
7794         * math/w_scalbf.c (sysv_scalbf): Likewise.
7795         * math/w_scalbl.c (sysv_scalbl): Likewise.
7796         * misc/error.c (error_tail): Likewise.
7797         * misc/pselect.c (__pselect): Likewise.
7798         * nis/nis_callback.c (__nis_create_callback): Likewise.
7799         * nis/nis_call.c (__nisfind_server): Likewise.
7800         * nis/nis_creategroup.c (nis_creategroup): Likewise.
7801         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
7802         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
7803         * nis/nis_getservlist.c (nis_getservlist): Likewise.
7804         * nis/nis_lookup.c (nis_lookup): Likewise.
7805         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
7806         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
7807         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
7808         * nis/nis_xdr.c (xdr_endpoint): Likewise.
7809         * nis/nss_compat/compat-grp.c (getgrent_next_file)
7810         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
7811         * nis/nss_compat/compat-initgroups.c (add_group)
7812         (internal_getgrent_r): Likewise.
7813         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
7814         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
7815         * nis/nss_compat/compat-spwd.c (getspent_next_file)
7816         (internal_getspnam_r): Likewise.
7817         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
7818         (_nss_nis_getaliasbyname_r): Likewise.
7819         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
7820         (_nss_nis_getntohost_r): Likewise.
7821         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
7822         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
7823         (_nss_nis_getgrgid_r): Likewise.
7824         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
7825         (internal_nis_gethostent_r, internal_gethostbyname2_r)
7826         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
7827         (_nss_nis_gethostbyname4_r): Likewise.
7828         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
7829         (initgroups_netid): Likewise.
7830         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
7831         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
7832         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
7833         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
7834         (_nss_nis_getprotobynumber_r): Likewise.
7835         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
7836         (_nss_nis_getsecretkey): Likewise.
7837         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
7838         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
7839         (_nss_nis_getpwuid_r): Likewise.
7840         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
7841         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
7842         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
7843         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
7844         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
7845         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
7846         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
7847         Likewise.
7848         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
7849         (_nss_nisplus_getntohost_r): Likewise.
7850         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
7851         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
7852         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
7853         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
7854         Likewise.
7855         * nis/nss_nisplus/nisplus-initgroups.c
7856         (_nss_nisplus_initgroups_dyn): Likewise.
7857         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
7858         (_nss_nisplus_getnetbyaddr_r): Likewise.
7859         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
7860         (_nss_nisplus_getprotobynumber_r): Likewise.
7861         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
7862         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
7863         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
7864         Likewise.
7865         * nis/nss_nisplus/nisplus-service.c
7866         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
7867         (_nss_nisplus_getservbyport_r): Likewise.
7868         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
7869         (_nss_nisplus_getspnam_r): Likewise.
7870         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
7871         Likewise.
7872         * nscd/aicache.c (addhstaiX): Likewise.
7873         * nscd/cache.c (cache_search, prune_cache): Likewise.
7874         * nscd/connections.c (register_traced_file, send_ro_fd)
7875         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
7876         (main_loop_epoll): Likewise.
7877         * nscd/grpcache.c (addgrbyX): Likewise.
7878         * nscd/hstcache.c (addhstbyX): Likewise.
7879         * nscd/initgrcache.c (addinitgroupsX): Likewise.
7880         * nscd/mem.c (gc, mempool_alloc): Likewise.
7881         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
7882         (addinnetgrX): Likewise.
7883         * nscd/nscd-client.h (__nscd_acquire_maplock)
7884         (__nscd_drop_map_ref): Likewise.
7885         * nscd/nscd_getai.c (__nscd_getai): Likewise.
7886         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7887         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
7888         Likewise.
7889         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
7890         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
7891         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
7892         (__nscd_get_map_ref): Likewise.
7893         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
7894         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
7895         Likewise.
7896         * nscd/pwdcache.c (addpwbyX): Likewise.
7897         * nscd/selinux.c (preserve_capabilities): Likewise.
7898         * nscd/servicescache.c (addservbyX): Likewise.
7899         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
7900         * posix/fnmatch.c (fnmatch): Likewise.
7901         * posix/getopt.c (_getopt_internal_r): Likewise.
7902         * posix/glob.c (glob, glob_in_dir): Likewise.
7903         * posix/wordexp.c (exec_comm_child): Likewise.
7904         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
7905         (getanswer_r, gaih_getanswer_slice): Likewise.
7906         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
7907         * resolv/res_init.c: Likewise.
7908         * resolv/res_mkquery.c (res_nmkquery): Likewise.
7909         * resolv/res_query.c (__libc_res_nquery): Likewise.
7910         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
7911         Likewise.
7912         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
7913         * stdio-common/perror.c (perror): Likewise.
7914         * stdio-common/printf_fp.c (___printf_fp): Likewise.
7915         * stdio-common/tmpnam.c (tmpnam): Likewise.
7916         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
7917         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
7918         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
7919         Likewise.
7920         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
7921         * stdlib/putenv.c (putenv): Likewise.
7922         * stdlib/setenv.c (__add_to_environ): Likewise.
7923         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
7924         * stdlib/strtol_l.c (INTERNAL): Likewise.
7925         * string/memmem.c (memmem): Likewise.
7926         * string/strerror.c (strerror): Likewise.
7927         * string/strnlen.c (__strnlen): Likewise.
7928         * string/test-memmem.c (simple_memmem): Likewise.
7929         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
7930         * sunrpc/pm_getport.c (__get_socket): Likewise.
7931         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
7932         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
7933         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
7934         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
7935         Likewise.
7936         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
7937         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
7938         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
7939         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
7940         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
7941         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
7942         Likewise.
7943         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
7944         Likewise.
7945         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
7946         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
7947         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
7948         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
7949         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
7950         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
7951         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
7952         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
7953         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
7954         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
7955         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
7956         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
7957         Likewise.
7958         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
7959         Likewise.
7960         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
7961         Likewise.
7962         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
7963         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
7964         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
7965         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
7966         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
7967         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
7968         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
7969         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
7970         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
7971         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
7972         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
7973         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
7974         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7975         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
7976         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7977         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
7978         Likewise.
7979         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
7980         Likewise.
7981         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
7982         Likewise.
7983         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
7984         Likewise.
7985         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7986         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7987         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
7988         Likewise.
7989         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
7990         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
7991         * sysdeps/posix/opendir.c (__opendirat): Likewise.
7992         * sysdeps/posix/sleep.c: Likewise.
7993         * sysdeps/posix/tempname.c: Likewise.
7994         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
7995         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
7996         Likewise.
7997         * sysdeps/powerpc/powerpc32/dl-machine.h
7998         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
7999         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8000         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
8001         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
8002         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
8003         Likewise.
8004         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
8005         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
8006         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8007         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
8008         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
8009         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
8010         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
8011         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
8012         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
8013         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
8014         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
8015         (elf_machine_lazy_rel): Likewise.
8016         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
8017         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
8018         (elf_machine_lazy_rel): Likewise.
8019         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
8020         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
8021         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
8022         * sysdeps/unix/grantpt.c (grantpt): Likewise.
8023         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
8024         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
8025         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
8026         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
8027         Likewise.
8028         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
8029         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
8030         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
8031         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
8032         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
8033         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
8034         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
8035         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
8036         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
8037         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
8038         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
8039         Likewise.
8040         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
8041         (__posix_fallocate64_l64): Likewise.
8042         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
8043         (posix_fallocate): Likewise.
8044         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
8045         Likewise.
8046         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8047         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
8048         (getifaddrs_internal): Likewise.
8049         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
8050         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
8051         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
8052         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
8053         * sysdeps/unix/sysv/linux/posix_fallocate64.c
8054         (__posix_fallocate64_l64): Likewise.
8055         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
8056         Likewise.
8057         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
8058         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
8059         (__get_clockfreq): Likewise.
8060         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
8061         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
8062         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
8063         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8064         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8065         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
8066         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
8067         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
8068         Likewise.
8069         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
8070         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
8071         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
8072         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
8073         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
8074         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
8075         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
8076         Likewise.
8077         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
8078         (posix_fallocate): Likewise.
8079         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8080         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
8081         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
8082         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
8083         (elf_machine_rela, elf_machine_rela_relative)
8084         (elf_machine_lazy_rel): Likewise.
8085         * time/asctime.c (asctime_internal): Likewise.
8086         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
8087         * time/tzset.c (__tzset_parse_tz): Likewise.
8088         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8089         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8090         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
8091         * wcsmbs/wcsmbsload.h: Likewise.
8092
8093         [BZ #15894]
8094         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
8095
8096         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
8097         (arena_get2): Remove THREAD_STATS conditionals.
8098         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
8099         (__malloc_stats, int): Likewise.
8100
8101 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
8102
8103         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
8104         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
8105
8106         * manual/setjmp.texi: Fix typos/grammar errors.
8107
8108         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
8109         Only return early when n is <= 0.  Delete unused return statement.
8110
8111         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
8112         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
8113         * debug/tst-longjmp_chk3.c: New file.
8114
8115         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
8116         (test_main): Replace code with set_fortify_handler call.
8117         * debug/test-strcpy_chk.c: Likewise.
8118         * debug/tst-chk1.c: Likewise.
8119         * debug/tst-longjmp_chk.c: Likewise.
8120         * test-skeleton.c: Include fcntl.h & paths.h
8121         (set_fortify_handler): Define.
8122
8123         * debug/tst-longjmp_chk.c: Add header comment and include
8124         ../test-skeleton.c.
8125         (do_test): Mark static.
8126         (TEST_FUNCTION): Define.
8127
8128         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
8129         (IP_PMTUDISC_INTERFACE): Likewise.
8130         (IP_MULTICAST_IF): Likewise.
8131         (IP_MULTICAST_TTL): Likewise.
8132         (IP_MULTICAST_LOOP): Likewise.
8133         (IP_ADD_MEMBERSHIP): Likewise.
8134         (IP_DROP_MEMBERSHIP): Likewise.
8135         (IP_UNBLOCK_SOURCE): Likewise.
8136         (IP_BLOCK_SOURCE): Likewise.
8137         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
8138         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
8139         (IP_MSFILTER): Likewise.
8140         (MCAST_JOIN_GROUP): Likewise.
8141         (MCAST_BLOCK_SOURCE): Likewise.
8142         (MCAST_UNBLOCK_SOURCE): Likewise.
8143         (MCAST_LEAVE_GROUP): Likewise.
8144         (MCAST_JOIN_SOURCE_GROUP): Likewise.
8145         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
8146         (MCAST_MSFILTER): Likewise.
8147         (IP_MULTICAST_ALL): Likewise.
8148         (IP_UNICAST_IF): Likewise.
8149
8150         * timezone/Makefile: Delete $(have-ksh) check.
8151         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
8152         * timezone/tzselect.ksh: Add +x mode bits.
8153
8154         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
8155         (ANON_INODE_FS_MAGIC): Likewise.
8156         (BDEVFS_MAGIC): Likewise.
8157         (BINFMTFS_MAGIC): Likewise.
8158         (BTRFS_TEST_MAGIC): Likewise.
8159         (CRAMFS_MAGIC_WEND): Likewise.
8160         (DEBUGFS_MAGIC): Likewise.
8161         (ECRYPTFS_SUPER_MAGIC): Likewise.
8162         (EXT3_SUPER_MAGIC): Likewise.
8163         (EXT4_SUPER_MAGIC): Likewise.
8164         (FUTEXFS_SUPER_MAGIC): Likewise.
8165         (HOSTFS_SUPER_MAGIC): Likewise.
8166         (HUGETLBFS_MAGIC): Likewise.
8167         (MINIX3_SUPER_MAGIC): Likewise.
8168         (MTD_INODE_FS_MAGIC): Likewise.
8169         (NILFS_SUPER_MAGIC): Likewise.
8170         (OPENPROM_SUPER_MAGIC): Likewise.
8171         (PIPEFS_MAGIC): Likewise.
8172         (PSTOREFS_MAGIC): Likewise.
8173         (QNX6_SUPER_MAGIC): Likewise.
8174         (RAMFS_MAGIC): Likewise.
8175         (REISERFS_SUPER_MAGIC_STRING): Likewise.
8176         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
8177         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
8178         (SECURITYFS_MAGIC): Likewise.
8179         (SELINUX_MAGIC): Likewise.
8180         (SMACK_MAGIC): Likewise.
8181         (SOCKFS_MAGIC): Likewise.
8182         (SQUASHFS_MAGIC): Likewise.
8183         (STACK_END_MAGIC): Likewise.
8184         (TMPFS_MAGIC): Likewise.
8185         (USBDEVICE_SUPER_MAGIC): Likewise.
8186         (V9FS_MAGIC): Likewise.
8187         (XENFS_SUPER_MAGIC): Likewise.
8188         (CRAMFS_MAGIC): Fix typo in comment.
8189         (EXT2_SUPER_MAGIC): Update comment.
8190         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
8191
8192 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
8193
8194         * sysdeps/arm: Move directory from ports/sysdeps/arm.
8195         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
8196         * sysdeps/unix/sysv/linux/arm: Move directory from
8197         ports/sysdeps/unix/sysv/linux/arm.
8198         * README: Update listing for arm-*-linux-gnueabi.
8199
8200         * README: Remove mention of am33.
8201
8202 2014-02-07  Roland McGrath  <roland@hack.frob.com>
8203
8204         * bits/sigset.h (__sigemptyset): Use a statement expression rather
8205         than the comma operator, to avoid "rhs of comma has no effect"
8206         compiler warnings.
8207         (__sigfillset, __sigandset, __sigorset): Likewise.
8208         * include/signal.h (__sigemptyset): Likewise.
8209         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
8210
8211 2014-02-07  Allan McRae  <allan@archlinux.org>
8212
8213         * version.h (RELEASE): Set to "development".
8214         (VERSION): Set to "2.19.90"
8215         * NEWS: Add 2.20 section.
8216
8217 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
8218
8219         [BZ #16529]
8220         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
8221
8222 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8223
8224         * manual/contrib.texi: Update entry for Carlos O'Donell,
8225         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
8226
8227 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
8228
8229         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
8230
8231         * sysdeps/unix/sysv/linux/kernel-features.h
8232         [__LINUX_KERNEL_VERSION >= 0x020621]
8233         (__ASSUME_PROC_PID_TASK_COMM): Define.
8234
8235 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8236
8237         [BZ #16398]
8238         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
8239         conversion when destination buffer does not have enough space.
8240         * libio/tst-ftell-partial-wide.c: New test case.
8241         * libio/Makefile (tests): Add tst-ftell-partial-wide.
8242
8243         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
8244         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
8245         Leonard and Allan McRae.
8246
8247 2014-02-04  David S. Miller  <davem@davemloft.net>
8248
8249         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
8250         32-bit.
8251
8252 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8253
8254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
8255         New file
8256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
8257         New file
8258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
8259         New file.
8260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
8261         New file.
8262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
8263         New file.
8264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
8265         New file.
8266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
8267         New file.
8268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
8269         New file.
8270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
8271         New file.
8272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
8273         New file.
8274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
8275         New file.
8276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
8277         New file.
8278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
8279         New file.
8280
8281 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8282
8283         * nptl/shlib-versions: Change powerpc*le start to 2.17.
8284         * shlib-versions: Likewise.
8285
8286 2014-02-04  Roland McGrath  <roland@hack.frob.com>
8287             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8288
8289         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
8290         (abilist-pattern): New variable, set to %-le.abilist.
8291
8292         * Makerules (abilist-pattern): New variable.
8293         (vpath): Use $(abilist-pattern) in place of %.abilist.
8294         (check-abi-% pattern rule): Likewise.
8295         (check-abi, update-abi): Likewise.
8296
8297 2014-02-04  Eric Wong  <normalperson@yhbt.net>
8298
8299         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8300
8301 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
8302
8303         * manual/startup.texi: Add next, previous, and top entries for
8304         the `Program Arguments' and `Environment Variables' nodes.
8305
8306 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
8307
8308         * manual/macros.texi: Add comments before MTASC-safety macros.
8309
8310         * manual/users.texi: Document MTASC-safety properties.
8311
8312         * manual/threads.texi (pthread_key_create, pthread_key_delete)
8313         (pthread_getspecific, pthread_setspecific): Format with
8314         @deftypefun, and add @safety note.
8315         * manual/signal.texi: Move comments that analyze the above
8316         functions to their home place.
8317
8318 2014-02-03  Allan McRae  <allan@archlinux.org>
8319
8320         * po/sl.po: Update Slovenian translation from translation project.
8321
8322 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
8323
8324         * manual/time.texi (timegm): Add missing blank after @c.
8325         Reported by Joseph Myers <joseph@codesourcery.com>.
8326
8327 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
8328
8329         * manual/check-safety.sh: New.
8330         * manual/Makefile ($(objpfx)stamp-summary): Run it.
8331
8332         * manual/terminal.texi: Document MTASC-safety properties.
8333
8334         * manual/filesys.texi: Document MTASC-safety properties.
8335
8336         * manual/errno.texi: Document MTASC-safety properties.
8337
8338         * manual/intro.texi: Document safety identifiers and
8339         conditionals.
8340
8341         * manual/string.texi (wcstok): Fix prototype.
8342         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
8343
8344         * manual/time.texi: Document MTASC-safety properties.
8345
8346         * manual/string.texi: Document MTASC-safety properties.
8347
8348         * manual/threads.texi: Document MTASC-safety properties.
8349
8350         * manual/stdio.texi: Document MTASC-safety properties.
8351
8352         * manual/syslog.texi: Document MTASC-safety properties.
8353
8354         * manual/sysinfo.texi: Document MTASC-safety properties.
8355
8356         * manual/startup.texi: Document MTASC-safety properties.
8357
8358         * manual/socket.texi: Document MTASC-safety properties.
8359
8360         * manual/signal.texi: Document MTASC-safety properties.
8361
8362 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
8363
8364         * manual/setjmp.texi: Document MTASC-safety properties.
8365
8366         * manual/search.texi: Document MTASC-safety properties.
8367
8368         * manual/resource.texi: Document MTASC-safety properties.
8369
8370         * manual/process.texi: Document MTASC-safety properties.
8371
8372         * manual/platform.texi: Document MTASC-safety properties.
8373
8374         * manual/pipe.texi: Document MTASC-safety properties.
8375
8376         * manual/pattern.texi: Document MTASC-safety properties.
8377
8378         * manual/message.texi: Document MTASC-safety properties.
8379
8380         [BZ #12751]
8381         * manual/memory.texi: Document MTASC-safety properties.
8382
8383         * manual/math.texi: Document MTASC-safety properties.
8384
8385         * manual/locale.texi: Document MTASC-safety properties.
8386
8387         * manual/llio.texi: Document MTASC-safety properties.
8388
8389         * manual/libdl.texi: New.
8390
8391         * manual/lang.texi: Document MTASC-safety properties.
8392
8393         * manual/job.texi: Document MTASC-safety properties.
8394
8395         * manual/getopt.texi: Document MTASC-safety properties.
8396
8397         * manual/ctype.texi: Document MTASC-safety properties.
8398
8399 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
8400
8401         [BZ #16046]
8402         * csu/libc-tls.c (static_map): Remove variable.
8403         (__libc_setup_tls): Use main executable's link map for TLS data.
8404         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
8405         casing for LM_ID_BASE and GL(dl_nns).
8406         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
8407         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
8408         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
8409         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
8410         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
8411         member.
8412         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
8413         l_phnum members.
8414
8415 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
8416
8417         * manual/debug.texi: Document MTASC-safety properties.
8418
8419 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
8420
8421         [BZ #16510]
8422         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
8423         of __x86_64__ when disabling x87 inline functions.
8424
8425 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
8426
8427         * manual/charset.texi: Document MTASC-safety properties.
8428
8429         * manual/crypt.texi: Document MTASC-safety properties.
8430
8431         * manual/conf.texi: Document MTASC-safety properties.
8432
8433         * manual/arith.texi: Document MTASC-safety properties.
8434
8435         * manual/argp.texi: Document MTASC-safety properties.
8436
8437         * manual/macros.texi: Introduce macros to document multi
8438         thread, asynchronous signal and asynchronous cancellation
8439         safety properties.
8440         * manual/intro.texi: Introduce the properties themselves.
8441
8442 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8443
8444         * sysdeps/sh/sh4/Makefile: New file.
8445
8446 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
8447
8448         * math/gen-libm-test.pl ($srcdir): New variable.
8449         ($auto_input): Use it.
8450
8451 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8452
8453         [BZ #16506]
8454         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
8455         access beyond array bounds when parsing netgroups file.
8456
8457         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
8458         the old buffer before realloc.
8459
8460 2014-01-27  Allan McRae  <allan@archlinux.org>
8461
8462         * po/fr.po: Update French translation from translation project.
8463
8464 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8465
8466         * sysdeps/sh/libm-test-ulps: Regenerate.
8467
8468 2014-01-24  David S. Miller  <davem@davemloft.net>
8469
8470         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
8471
8472 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8473
8474         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
8475         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
8476
8477 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
8478
8479         [BZ #16474]
8480         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
8481         string pointers after reallocation.
8482
8483 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8484
8485         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
8486         __SH4A__ instead of __SH_FPU_ANY__.
8487
8488 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8489
8490         * sysdeps/sh/fpu_control.h: New file.
8491         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
8492         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
8493         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
8494         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
8495         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
8496         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
8497         * sysdeps/sh/sys/ucontext.h: Remove.
8498         * sysdeps/sh/sys: Remove directory.
8499
8500 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8501
8502         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
8503         s390/sys/ucontext.h.
8504         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
8505         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
8506
8507 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
8508
8509         [BZ #15605]
8510         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
8511
8512 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8513
8514         [BZ#16431]
8515         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
8516         Adjust the vDSO correctly for internal calls.
8517         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
8518
8519 2014-01-20  Allan McRae  <allan@archlinux.org>
8520
8521         * po/ca.po: Update Catalan translation from translation project.
8522
8523 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
8524
8525         * sysdeps/s390/sotruss-lib.c: New file.
8526
8527 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8528
8529         [BZ#16430]
8530         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
8531         (__GI___gettimeofday): Alias for a different internal symbol to avoid
8532         local calls issues by not having a PLT stub required for IFUNC calls.
8533         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
8534
8535 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
8536
8537         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
8538         * math/test-fpucw-static.c: Likewise.
8539
8540 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
8541
8542         [BZ #16453]
8543         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
8544
8545 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8546
8547         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
8548         implementation for powerpc.
8549
8550 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
8551
8552         [BZ #14782]
8553         * sysdeps/posix/system.c (__libc_system): Do not enable
8554         asynchronous cancellation.
8555
8556 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8557
8558         [BZ #16427]
8559         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
8560         handling only for numbers special also in the IEEE case.
8561
8562 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8563
8564         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8565
8566 2014-01-11  Allan McRae  <allan@archlinux.org>
8567
8568         * po/bg.po: Update Bulgarian translation from translation project.
8569
8570         * po/de.po: Update German translation from translation project.
8571
8572 2014-01-10  Roland McGrath  <roland@hack.frob.com>
8573
8574         * sysdeps/generic/gcc-compat.h: New file.
8575
8576 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8577
8578         * benchtests/asin-inputs: Correct slow inputs.
8579         * benchtests/acos-inputs: Likewise.
8580
8581 2014-01-10  Allan McRae  <allan@archlinux.org>
8582
8583         * po:sv.po: Update Swedish translation from translation project.
8584
8585         * po/vi.po: Update Vietnamese translation from translation project.
8586
8587         * po/eo.po: Update Esperanto translation from translation project.
8588
8589         * po/cs.po: Update Czech translation from translation project.
8590
8591         * po/nl.po: Update Dutch translation from translation project.
8592
8593         * po/pl.po: Update Polish translation from translation project.
8594
8595         * po/ru.po: Update Russian translation from translation project.
8596
8597         * po/uk.po: Update Ukrainian translation from translation project.
8598
8599 2014-01-08  Brooks Moses  <bmoses@google.com>
8600
8601         * elf/dl-load.c: Fix comment typo.
8602
8603 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
8604
8605         * po/header.pot: Rename to...
8606         * po/pot.header: ... this.
8607         * po/Makefile: Use pot.header.
8608
8609 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
8610             Maxim Kuvyrkov  <maxim@kugelworks.com>
8611
8612         [BZ #16394]
8613         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
8614         SRC and DEST against LEN.
8615
8616 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8617
8618         [BZ #16414]
8619         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
8620         implementation.
8621         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
8622
8623 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8624
8625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8626
8627 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
8628
8629         [BZ #16408]
8630         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
8631         for large positive arguments.
8632
8633 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
8634
8635         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8636
8637         * math/auto-libm-test-in: Mark various tests with
8638         xfail-rounding:ldbl-128ibm.
8639         * math/auto-libm-test-out: Regenerated.
8640
8641         [BZ #16407]
8642         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
8643         Increase overflow threshold.
8644
8645 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
8646
8647         [BZ #14286]
8648         * stdio-common/vfprintf.c: Check for integer overflow.
8649
8650 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8651
8652         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
8653         the first argument and return value of __tls_get_addr_internal.
8654
8655 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8656
8657         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
8658         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
8659
8660 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
8661
8662         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
8663         * sysdeps/s390/rtld-global-offsets.sym: New file.
8664         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
8665         GLIBC_2.19 symbol.
8666         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
8667         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
8668         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
8669         ... this.
8670         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
8671         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
8672         ... this.
8673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8674         Regenerate.
8675         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8676         Regenerate.
8677         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
8678         halfs of GPRs for high_gprs contexts.
8679         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
8680         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
8681         field.
8682         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
8683         uc_flags field.
8684         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
8685         64 bit versions:
8686         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
8687         for high GPRs (uc_high_gprs) and for future extensions
8688         (__reserved).
8689         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
8690         for future extensions (__reserved).
8691         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
8692         64 bit versions:
8693         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
8694         SC_HIGHGPRS offset definition.
8695         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
8696         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
8697
8698         * Versions.def: Add GLIBC_2.19 for libpthread.
8699         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
8700         siglongjmp for libpthread with GLIBC_2.19 symver.
8701         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
8702         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
8703         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
8704         * sysdeps/s390/__longjmp.c: New file.
8705         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
8706         * sysdeps/s390/longjmp.c: New file.
8707         * sysdeps/s390/setjmp.S: New file.
8708         * sysdeps/s390/sigjmp.S: New file.
8709         * sysdeps/s390/v1-longjmp.c: New file.
8710         * sysdeps/s390/v1-setjmp.h: New file.
8711         * sysdeps/s390/v1-sigjmp.c: New file.
8712         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
8713         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
8714         GLIBC_2.19 version.
8715         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
8716         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
8717         versioned symbols for ____longjmp_chk.
8718         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
8719         Likewise.
8720         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
8721         Regenerate.
8722         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8723         Regenerate.
8724         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
8725         Regenerate.
8726         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8727         Regenerate.
8728         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
8729         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
8730         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
8731         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
8732         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
8733         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
8734         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
8735         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
8736         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
8737         * sysdeps/s390/rtld-__longjmp.c: New file.
8738         * sysdeps/s390/rtld-setjmp.S: New file.
8739
8740 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
8741
8742         [BZ #16400]
8743         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8744         Return -__logl (x) for small positive arguments without evaluating
8745         a polynomial.
8746
8747 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
8748
8749         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
8750         Rename to ...
8751         (__ptrace_peeksiginfo_args): ... this.
8752         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8753         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8754         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8755
8756 2014-01-06  Allan McRae  <allan@archlinux.org>
8757
8758         * inet/netinet/in.h: Fix typo in comment.
8759
8760 2014-01-05  Andreas Jaeger  <aj@suse.de>
8761
8762         * sysdeps/i386/fpu/libm-test-ulps: Update.
8763
8764 2014-01-05  Allan McRae  <allan@archlinux.org>
8765
8766         * po/libc.pot: Regenerated.
8767
8768         * malloc/memusagestat.c: Fix gettext call formatting.
8769
8770 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
8771
8772         * nscd/nscd.c: Improve usage() output.
8773
8774 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
8775
8776         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
8777         * sysdeps/unix/sysv/linux/configure: Regenerated.
8778         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
8779         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
8780
8781 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8782
8783         [BZ #16390]
8784         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
8785         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
8786
8787 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8788
8789         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
8790         extra tokens at end of #undef directive.
8791         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
8792         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
8793         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
8794
8795 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
8796
8797         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8798
8799         * math/auto-libm-test-in: Mark various tests with
8800         xfail-rounding:ldbl-128ibm.
8801         * math/auto-libm-test-out: Regenerated.
8802
8803 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
8804
8805         [BZ #16386]
8806         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
8807         numbers with subnormal high part when calculating exponent.
8808
8809         [BZ #16385]
8810         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
8811         fabs.
8812
8813         [BZ #16384]
8814         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
8815         M_LN2l.
8816         (__ieee754_acoshl): Use __log1pl not __log1p.
8817
8818 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
8819
8820         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
8821         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
8822         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
8823         (grow_heap, heap_trim, _int_new_arena, get_free_list)
8824         (reused_arena, arena_get2): Convert to GNU style.
8825         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
8826         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
8827         (memalign_check, __malloc_set_state): Likewise.
8828         * malloc/mallocbug.c (main): Likewise.
8829         * malloc/malloc.c (__malloc_assert, malloc_init_state)
8830         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
8831         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
8832         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
8833         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
8834         (__posix_memalign, malloc_info): Likewise.
8835         * malloc/malloc.h: Likewise.
8836         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
8837         (mallochook, memalignhook, reallochook, mabort): Likewise.
8838         * malloc/mcheck.h: Likewise.
8839         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
8840         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
8841         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
8842         * malloc/morecore.c (__default_morecore): Likewise.
8843         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
8844         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
8845         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
8846         (print_and_abort): Likewise.
8847         * malloc/obstack.h: Likewise.
8848         * malloc/set-freeres.c (__libc_freeres): Likewise.
8849         * malloc/tst-mallocstate.c (main): Likewise.
8850         * malloc/tst-mtrace.c (main): Likewise.
8851         * malloc/tst-realloc.c (do_test): Likewise.
8852
8853 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8854
8855         [BZ #16366]
8856         * nscd/netgroupcache.c (do_notfound): New function.
8857         (addgetnetgrentX): Use it.
8858
8859         [BZ # 16365]
8860         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
8861         NSS_STATUS_NOTFOUND.
8862
8863 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
8864
8865         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
8866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8867
8868 2014-01-01  Allan McRae  <allan@archlinux.org>
8869
8870         * scripts/update-copyrights: Update configure input file suffix.
8871
8872         * NEWS: Update copyright year.
8873         * catgets/gencat.c: Likewise.
8874         * csu/version.c: Likewise.
8875         * debug/catchsegv.sh: Likewise.
8876         * debug/pcprofiledump.c: Likewise.
8877         * debug/xtrace.sh: Likewise.
8878         * elf/ldconfig.c: Likewise.
8879         * elf/ldd.bash.in: Likewise.
8880         * elf/pldd.c: Likewise.
8881         * elf/sotruss.ksh: Likewise.
8882         * elf/sprof.c: Likewise.
8883         * iconv/iconv_prog.c: Likewise.
8884         * iconv/iconvconfig.c: Likewise.
8885         * locale/programs/locale.c: Likewise.
8886         * locale/programs/localedef.c: Likewise.
8887         * login/programs/pt_chown.c: Likewise.
8888         * malloc/memusage.sh: Likewise.
8889         * malloc/memusagestat.c: Likewise.
8890         * malloc/mtrace.pl: Likewise.
8891         * manual/libc.texinfo: Likewise.
8892         * nscd/nscd.c: Likewise.
8893         * nss/getent.c: Likewise.
8894         * nss/makedb.c: Likewise.
8895         * posix/getconf.c: Likewise.
8896         * scripts/test-installation.pl: Likewise.
8897
8898         * All files with FSF copyright notices: Update copyright dates
8899         using scripts/update-copyrights.
8900         * intl/plural.c: Regenerated.
8901         * locale/programs/charmap-kw.h: Likewise.
8902         * locale/programs/locfile-kw.h: Likewise.
8903
8904 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
8905
8906         * sysdeps/unix/sysv/linux/configure: Regenerated.
8907         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
8908         the linux/fanotify.h header.
8909         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
8910         HAVE_LINUX_FANOTIFY_H is defined.
8911
8912 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
8913
8914         * benchtests/cos-inputs: New inputs.
8915         * benchtests/sin-inputs: Likewise.
8916
8917         * benchtests/atan-inputs: New inputs. Fix name of multiple
8918         precision fallback inputs.
8919
8920         * benchtests/atanh-inputs: New inputs.
8921         * benchtests/tanh-inputs: Likewise.
8922
8923         * benchtests/acosh-inputs: New inputs.
8924         * benchtests/asinh-inputs: Likewise.
8925
8926         * benchtests/cosh-inputs: New inputs.
8927         * benchtests/sinh-inputs: Likewise.
8928
8929         * benchtests/acos-inputs: Add more inputs.
8930         * benchtests/asin-inputs: Likewise.
8931
8932 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
8933
8934         [BZ #16375]
8935         * manual/arith.texi: Fix spelling.
8936         * manual/charset.texi: Likewise.
8937         * manual/errno.texi: Likewise.
8938         * manual/filesys.texi: Likewise.
8939         * manual/lang.texi: Likewise.
8940         * manual/llio.texi: Likewise.
8941         * manual/locale.texi: Likewise.
8942         * manual/message.texi: Likewise.
8943         * manual/resource.texi: Likewise.
8944         * manual/search.texi: Likewise.
8945         * manual/setjmp.texi: Likewise.
8946         * manual/stdio.texi: Likewise.
8947         * manual/string.texi: Likewise.
8948         * manual/sysinfo.texi: Likewise.
8949         * manual/time.texi: Likewise.
8950
8951 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
8952
8953         * po/sl.po: New file.
8954
8955 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
8956
8957         * .gitignore: Add core/.gdbinit/.gdb_history.
8958
8959 2013-12-27  Allan McRae  <allan@archlinux.org>
8960
8961         [BZ #16369]
8962         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
8963         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
8964
8965 2013-12-24  Brooks Moses  <bmoses@google.com>
8966
8967         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
8968         all compilers that claim C++98 compliance, not just GCC.
8969         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
8970         Likewise.
8971
8972 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8973
8974         * NEWS: Restore accidentally deleted bug-fix entries.
8975
8976 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
8977             Ondřej Bílka  <neleai@seznam.cz>
8978
8979         [BZ #15073]
8980         * malloc/malloc.c (_int_free): Perform sanity check only if we
8981         have_lock.
8982
8983 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
8984
8985         [BZ #12986]
8986         * manual/stdio.texi (String Input Conversions): Clarify that character
8987         classes are not supported.
8988
8989 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8990
8991         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8992
8993 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
8994
8995         [BZ #16337]
8996         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
8997         Calculate results for small negative arguments directly rather
8998         than using reflection formula with special underflow handling.
8999
9000         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
9001         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
9002         sysdeps/unix/bsd/bsd4.4/syscalls.list.
9003         (fchflags): Likewise.
9004         (revoke): Likewise.
9005         (setlogin): Likewise.
9006         (sigaltstack): Likewise.
9007         (wait4): Likewise.
9008         (sigblock): Remove.
9009         (sigsetmask): Likewise.
9010         (wait3): Likewise.
9011         (waitpid): Likewise.
9012         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
9013         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
9014         file.
9015         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
9016         * sysdeps/unix/bsd/Makefile: ... here.
9017         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
9018         * sysdeps/unix/bsd/Versions: ... here.
9019         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
9020         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
9021         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
9022         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
9023         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
9024         * sysdeps/unix/bsd/sigblock.c: ... here.
9025         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
9026         * sysdeps/unix/bsd/sigsetmask.c: ... here.
9027         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
9028         * sysdeps/unix/bsd/sigvec.c: ... here.
9029         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
9030         * sysdeps/unix/bsd/tcdrain.c: ... here.
9031         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
9032         * sysdeps/unix/bsd/tcgetattr.c: ... here.
9033         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
9034         * sysdeps/unix/bsd/tcsetattr.c: ... here.
9035         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
9036         * sysdeps/unix/bsd/wait.c: ... here.
9037         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
9038         * sysdeps/unix/bsd/wait3.c: ... here.
9039         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
9040         * sysdeps/unix/bsd/waitpid.c: ... here.
9041
9042 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
9043
9044         [BZ #16356]
9045         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
9046         round-to-nearest for [!USE_AS_EXPM1L].
9047         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
9048         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
9049         more tests of exp and exp10.  Expect some exp10 tests to miss
9050         exceptions or fail in directed rounding modes.
9051         * math/auto-libm-test-out: Regenerated.
9052         * math/libm-test.inc (exp10_tonearest_test_data): New array.
9053         (exp10_test_tonearest): New function.
9054         (exp10_towardzero_test_data): New array.
9055         (exp10_test_towardzero): New function.
9056         (exp10_downward_test_data): New array.
9057         (exp10_test_downward): New function.
9058         (exp10_upward_test_data): New array.
9059         (exp10_test_upward): New function.
9060         (main): Call the new functions.
9061         * sysdeps/i386/fpu/libm-test-ulps: Update.
9062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9063
9064 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
9065
9066         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
9067         asinh, atan, atan2, atanh, cbrt, cos and cosh.
9068         * math/auto-libm-test-out: Regenerated.
9069         * math/libm-test.inc (acosh_test_data): Add more tests.
9070         (atanh_test_data): Likewise.
9071         (ceil_test_data): Likewise.
9072         (copysign_test_data): Likewise.
9073         * sysdeps/i386/fpu/libm-test-ulps: Update.
9074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9075
9076         * timezone/checktab.awk: Update from tzcode 2013i.
9077         * timezone/private.h: Likewise.
9078         * timezone/scheck.c: Likewise.
9079         * timezone/tzfile.h: Likewise.
9080         * timezone/tzselect.ksh: Likewise.
9081         * timezone/zdump.c: Likewise.
9082         * timezone/zic.c: Likewise.
9083
9084         * math/auto-libm-test-in: Add tests of cpow.
9085         * math/auto-libm-test-out: Regenerated.
9086         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
9087         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9088         mpc_cc_c.
9089         (func_calc_desc): Add mpc_cc_c union field.
9090         (test_functions): Add cpow.
9091         (special_fill_2pi): New function.
9092         (special_real_inputs): Add 2pi.
9093         (calc_generic_results): Handle mpc_cc_c.
9094         * sysdeps/i386/fpu/libm-test-ulps: Update.
9095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9096
9097         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
9098         csqrt, ctan and ctanh.
9099         * math/auto-libm-test-out: Regenerated.
9100         * math/libm-test.inc (TEST_COND_x86_64): New macro.
9101         (TEST_COND_x86): Likewise.
9102         (ccos_test_data): Use AUTO_TESTS_c_c.
9103         (ccosh_test_data): Likewise.
9104         (cexp_test_data): Likewise.
9105         (clog_test_data): Likewise.
9106         (csqrt_test_data): Likewise.
9107         (ctan_test_data): Likewise.
9108         (ctan_tonearest_test_data): Likewise.
9109         (ctan_towardzero_test_data): Likewise.
9110         (ctan_downward_test_data): Likewise.
9111         (ctan_upward_test_data): Likewise.
9112         (ctanh_test_data): Likewise.
9113         (ctanh_tonearest_test_data): Likewise.
9114         (ctanh_towardzero_test_data): Likewise.
9115         (ctanh_downward_test_data): Likewise.
9116         (ctanh_upward_test_data): Likewise.
9117         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9118         mpc_c_c.
9119         (func_calc_desc): Add mpc_c_c union field.
9120         (FUNC_mpc_c_c): New macro.
9121         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
9122         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
9123         ctanh.
9124         (special_fill_min_subnorm_p120): New function.
9125         (special_real_inputs): Add min_subnorm_p120.
9126         (calc_generic_results): Handle mpc_c_c.
9127         * sysdeps/i386/fpu/libm-test-ulps: Update.
9128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9129
9130 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9131
9132         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
9133         (do_sin_slow): New functions.
9134         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
9135         (cslow2, csloww1, csloww2): Use the new functions.
9136
9137         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
9138         Use M to change sign of result instead of X.  Assume X is
9139         positive.
9140         (csloww1): Likewise.
9141         (__sin): Adjust.
9142         (__cos): Adjust.
9143
9144         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
9145         arguments A and DA.
9146         (__sin): Adjust.
9147         (__cos): Likewise.
9148
9149         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
9150         (__cos): Likewise.
9151         (sloww1): Don't adjust sign of DX.
9152         (csloww1): Likewise.
9153         (sloww2): Use X directly and don't adjust sign of DX.
9154         (csloww2): Likewise.
9155
9156 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9157
9158         * math/auto-libm-test-in: Add tests of cabs and carg.
9159         * math/auto-libm-test-out: Regenerated.
9160         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
9161         (carg_test_data): Likewise.
9162         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9163         mpc_c_f.
9164         (func_calc_desc): Add mpc_c_f union field.
9165         (test_functions): Add cabs and carg.
9166         (calc_generic_results): Handle mpc_c_f.
9167
9168         * sysdeps/powerpc/powerpc32/libgcc-compat.S
9169         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
9170         as a macro and a compat symbol.
9171         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
9172         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
9173         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
9174         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
9175         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
9176         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
9177         not use .hidden.
9178         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
9179         Likewise.
9180         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
9181         Likewise.
9182         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
9183         Likewise.
9184         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
9185         Likewise.
9186         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
9187         Likewise.
9188         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
9189         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
9190         from GLIBC_2.3.2.
9191
9192 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9193
9194         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9195
9196 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9197
9198         * manual/texinfo.tex: Update to version 2013-11-26.10 with
9199         trailing whitespace removed.
9200         * scripts/config.guess: Update to version 2013-11-29.
9201         * scripts/config.sub: Update to version 2013-10-01.
9202
9203         * math/auto-libm-test-in: Add tests of sincos.
9204         * math/auto-libm-test-out: Regenerated.
9205         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
9206         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9207         mpfr_f_11.
9208         (func_calc_desc): Add mpfr_f_11 union field.
9209         (test_functions): Add sincos.
9210         (calc_generic_results): Handle mpfr_f_11.
9211         * sysdeps/i386/fpu/libm-test-ulps: Update.
9212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9213
9214 2013-12-19  Andreas Schwab  <schwab@suse.de>
9215
9216         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
9217         CALL_MCOUNT.
9218         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
9219         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
9220         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
9221
9222 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
9223
9224         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
9225         * sysdeps/i386/fpu/libm-test-ulps: Update.
9226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9227
9228         [BZ #16293]
9229         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
9230         round-to-nearest mode when using frndint.
9231         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
9232         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
9233         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9234         Likewise.
9235         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
9236         sinh test to fail.
9237         * math/auto-libm-test-out: Regenerated.
9238         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
9239         (TEST_COND_x86): Likewise.
9240         (expm1_tonearest_test_data): New array.
9241         (expm1_test_tonearest): New function.
9242         (expm1_towardzero_test_data): New array.
9243         (expm1_test_towardzero): New function.
9244         (expm1_downward_test_data): New array.
9245         (expm1_test_downward): New function.
9246         (expm1_upward_test_data): New array.
9247         (expm1_test_upward): New function.
9248         (main): Run the new test functions.
9249         * sysdeps/i386/fpu/libm-test-ulps: Update.
9250         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9251
9252         * include/features.h: Update comment documenting feature test
9253         macros.  Mention _DEFAULT_SOURCE in comment.
9254         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
9255         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
9256         _BSD_SOURCE and _SVID_SOURCE.
9257         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
9258         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
9259         !_SVID_SOURCE]: Likewise.
9260         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9261         (__USE_POSIX_IMPLICITLY): Define.
9262         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9263         (_POSIX_SOURCE): Undefine and redefine.
9264         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
9265         (_POSIX_C_SOURCE): Likewise.
9266         * manual/creature.texi (_DEFAULT_SOURCE): Document.
9267         (Feature Test Macros): Update documentation of default features.
9268
9269 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9270
9271         * benchtests/Makefile: Add bench-strtok.
9272         * benchtests/bench-strtok.c: New file: strtok benchtest.
9273
9274 2013-12-19  Allan McRae  <allan@archlinux.org>
9275
9276         * manual/install.texi: Suppress menu for plain text output.
9277         * INSTALL: Regenerated.
9278
9279 2013-12-18  Brooks Moses  <bmoses@google.com>
9280
9281         [BZ #15846]
9282         * misc/getauxval.c: Include errno.h.
9283         (__getauxval): Set errno to ENOENT if the requested type is not
9284         found.
9285         * misc/sys/auxv.h (getauxval): Document that it may set errno;
9286         don't declare with __attribute_const__.
9287         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
9288         * manual/startup.texi: Document that getauxval sets errno.
9289
9290 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9291
9292         * math/auto-libm-test-in: Add tests of jn and yn.
9293         * math/auto-libm-test-out: Regenerated.
9294         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
9295         (yn_test_data): Likewise.
9296         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9297         mpfr_if_f.
9298         (func_calc_desc): Add mpfr_if_f union field.
9299         (FUNC_mpfr_if_f): New macro.
9300         (test_functions): Add jn and yn.
9301         (calc_generic_results): Assert type of second input for
9302         mpfr_ff_f.  Handle mpfr_if_f.
9303         (output_for_one_input_case): Disable all checking for arguments
9304         fitting floating-point types in case of an integer argument.
9305         * sysdeps/i386/fpu/libm-test-ulps: Update.
9306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9307
9308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9309         Don't expect fegetround reference in libm.so.
9310
9311 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9312
9313         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
9314         $(config-cflags-nofma).
9315
9316 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
9317
9318         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
9319         * math/auto-libm-test-out: Regenerated.
9320
9321         [BZ #16338]
9322         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
9323         to determine exponent and adjust argument to have exponent of -1.
9324         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
9325         log2.
9326         * math/auto-libm-test-out: Regenerated.
9327         * sysdeps/i386/fpu/libm-test-ulps: Update.
9328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9329
9330 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
9331
9332         * manual/probes.texi: Remove cases when per-thread arenas are
9333         disabled.
9334
9335 2013-12-18  Andreas Schwab  <schwab@suse.de>
9336
9337         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
9338         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
9339         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
9340         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
9341         * sysdeps/i386/i686/multiarch/Makefile: Update.
9342         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
9343
9344 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9345
9346         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
9347         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
9348
9349 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
9350
9351         [BZ #15968]
9352         Support TZ transition times < 00:00:00.
9353         This is needed for version-3 tz-format files; it supports time
9354         stamps past 2037 for America/Godthab (the only entry in the tz
9355         database for which this change is relevant).
9356         * manual/time.texi (TZ Variable): Document transition times
9357         from -167:59:59 through -00:00:01.
9358         * time/tzset.c (tz_rule): Time of day is now signed.
9359         (__tzset_parse_tz): Parse negative time of day.
9360
9361         Document TZ transition times >= 25:00:00.
9362         * manual/time.texi (TZ Variable): Document transition times from
9363         25:00:00 through 167:59:59.  These are already supported, and this
9364         support will help with version-3 tz-format files.
9365
9366         * manual/time.texi (TZ Variable): Modernize North America example
9367         to reflect current (i.e., 2007-and-later) daylight saving rules.
9368
9369         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
9370
9371 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9372
9373         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
9374         * sysdeps/unix/bsd/bits/stat.h: Likewise.
9375         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
9376         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
9377         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
9378         * sysdeps/unix/bsd/bsdstat.h: Likewise.
9379         * sysdeps/unix/bsd/clock.c: Likewise.
9380         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
9381         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
9382         * sysdeps/unix/bsd/init-posix.c: Likewise.
9383         * sysdeps/unix/bsd/poll.c: Likewise.
9384         * sysdeps/unix/bsd/ptsname.c: Likewise.
9385         * sysdeps/unix/bsd/seekdir.c: Likewise.
9386         * sysdeps/unix/bsd/setegid.c: Likewise.
9387         * sysdeps/unix/bsd/seteuid.c: Likewise.
9388         * sysdeps/unix/bsd/setgid.c: Likewise.
9389         * sysdeps/unix/bsd/setrgid.c: Likewise.
9390         * sysdeps/unix/bsd/setruid.c: Likewise.
9391         * sysdeps/unix/bsd/setsid.c: Likewise.
9392         * sysdeps/unix/bsd/setuid.c: Likewise.
9393         * sysdeps/unix/bsd/sigaction.c: Likewise.
9394         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
9395         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
9396         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
9397         * sysdeps/unix/bsd/telldir.c: Likewise.
9398         * sysdeps/unix/bsd/times.c: Likewise.
9399         * sysdeps/unix/bsd/usleep.c: Likewise.
9400
9401         * misc/Makefile (install-lib): Remove libbsd-compat.a.
9402         ($(objpfx)libbsd-compat.a): Remove rule.
9403
9404         * include/features.h (__FAVOR_BSD): Do not define.
9405         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
9406         features conflicting with POSIX.
9407         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
9408         (_BSD_SOURCE): Remove description of not being a subset of other
9409         feature test macros.
9410         * manual/job.texi (getpgrp): Do not document BSD version.
9411         (getpgid): Do not document by reference to BSD getpgrp.
9412         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
9413         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
9414         * signal/signal.h [__FAVOR_BSD]: Likewise.
9415         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
9416         instead of making contents conditional on [__FAVOR_BSD].
9417         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
9418
9419 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9420
9421         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9422
9423 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
9424
9425         [BZ #16314]
9426         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
9427         values below 2**-450, not 2**-500.
9428         * math/auto-libm-test-in: Don't allow spurious underflow from
9429         hypot.
9430         * math/auto-libm-test-out: Regenerated.
9431
9432         [BZ #16316]
9433         [BZ #16330]
9434         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
9435         values of ha and hb and sort them after adjusting subnormal
9436         arguments.
9437         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
9438         Likewise.
9439         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
9440         values of ea and eb and sort them after adjusting subnormal
9441         arguments.
9442         * math/auto-libm-test-in: Do not expect some hypot tests of
9443         subnormals to fail.  Add more hypot tests.
9444         * math/auto-libm-test-out: Regenerated.
9445
9446 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9447
9448         [BZ #13304]
9449         * sysdeps/sh/s_fma.c: New file.
9450         * sysdeps/sh/s_fmaf.c: New file.
9451         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
9452         version.
9453         * sysdeps/sh/Implies: Add sh/soft-fp.
9454
9455 2013-12-16  Roland McGrath  <roland@hack.frob.com>
9456
9457         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
9458         level of indirection to members `objname', `errstring', `malloced'.
9459         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
9460         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
9461         it as the __longjmp argument (just pass 1 instead).
9462         (_dl_catch_error): Initialize C with argument pointers and address of
9463         volatile local ERRCODE rather than copying values out of C at return.
9464
9465 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
9466
9467         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
9468         * math/auto-libm-test-out: Regenerated.
9469         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
9470         (hypot_test_data): Likewise.
9471         (pow_test_data): Likewise.
9472         (pow_tonearest_test_data): Likewise.
9473         * math/gen-auto-libm-tests.c (func_calc_method): Add value
9474         mpfr_ff_f.
9475         (func_calc_desc): Add mpfr_ff_f union field.
9476         (FUNC_mpfr_ff_f): New macro.
9477         (test_functions): Add atan2, hypot and pow.
9478         (special_fill_min): New function.
9479         (special_fill_minus_min): Likewise.
9480         (special_fill_min_subnorm): Likewise.
9481         (special_fill_minus_min_subnorm): Likewise.
9482         (special_real_inputs): Add min, -min, min_subnorm and
9483         -min_subnorm.
9484         (calc_generic_results): Handle mpfr_ff_f.
9485         * sysdeps/i386/fpu/libm-test-ulps: Update.
9486         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9487
9488 2013-12-16  Will Newton  <will.newton@linaro.org>
9489
9490         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
9491         (Aligned Memory Blocks): Add documentation for aligned_alloc
9492         and suggest it as an alternative to posix_memalign.
9493         (Hooks for Malloc): Document __memalign_hook is also called
9494         for aligned_alloc.  (Summary of Malloc): Add summary for
9495         aligned alloc.  Document __memalign_hook is also called
9496         for aligned_alloc.
9497
9498 2013-12-16  Will Newton  <will.newton@linaro.org>
9499
9500         * manual/memory.texi (Malloc Examples): Clarify default
9501         alignment documentation.  Suggest posix_memalign rather
9502         than memalign or valloc.
9503         (Aligned Memory Blocks): Remove suggestion to use memalign
9504         or valloc.  Remove obsolete comment about BSD.
9505         Document memalign errno values and mark the function obsolete.
9506         Document posix_memalign returned error codes.  Mark valloc
9507         as obsolete.  (Hooks for Malloc): __memalign_hook is also
9508         called for posix_memalign and valloc.
9509         (Summary of Malloc): Add posix_memalign to function summary.
9510         __memalign_hook is also called for posix_memalign and valloc.
9511
9512 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9513
9514         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
9515         TAYLOR_SIN.
9516         (__sin): Adjust.
9517         (__cos): Likewise.
9518         (sloww): Use mynumber union.  Expand ternary operator into
9519         if-else statements.
9520         (cslow): use mynumber union.
9521
9522 2013-12-16  Allan McRae  <allan@archlinux.org>
9523
9524         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
9525         * configure: Regenerated.
9526
9527         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
9528
9529         [BZ #14120]
9530         * configure.ac: Added --enable-maintainer-mode. Check for
9531         autoconf when enabled.
9532         * configure: Regenerated.
9533
9534         * nscd/nscd.service: New file.
9535         * nscd/nscd.tmpfiles: New file.
9536
9537 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
9538
9539         [BZ #12100]
9540         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
9541         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
9542         * sysdeps/x86_64/multiarch/strstr.c: ... here.
9543         (strstr): Add __strstr_sse2_unaligned ifunc.
9544         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
9545         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
9546         (strcasestr): Remove __strcasestr_sse42 ifunc.
9547         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
9548         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9549         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9550
9551 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9552
9553         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
9554         * sysdeps/sh/bits/fenv.h: ... here.
9555         * sysdeps/sh/sh4/fpu/bits: Remove directory.
9556
9557 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9558
9559         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
9560
9561         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
9562         hypotf multiarch implementations.
9563         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
9564         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
9565         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
9566         multiarch hypot for PPC64.
9567         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
9568         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
9569         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
9570         multiarch hypotf for PPC64.
9571
9572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
9573         modff multiarch implementations.
9574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
9575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
9576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
9577         multiarch modf for PPC64.
9578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
9579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
9580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
9581         multiarch modff for PPC64.
9582
9583         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
9584         and logl multiarch implementations.
9585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
9586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
9587         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
9588         multiarch logb for PPC64.
9589         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
9590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
9591         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
9592         multiarch logb for PPC64.
9593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
9594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
9595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
9596         multiarch logb for PPC64.
9597
9598         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
9599         isinff multiarch implementation.
9600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
9601         file.
9602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
9603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
9604         multiarch isinf for PPC64.
9605         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
9606         file.
9607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
9608         multiarch isinff for PPC64.
9609
9610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
9611         finitef multiarch implementation.
9612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
9613         file.
9614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
9615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
9616         multiarch finite for PPC64.
9617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
9618         file.
9619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
9620         multiarch finitef for PPC64.
9621
9622         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
9623         lrint multiarch implementation.
9624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
9625         file.
9626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
9627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
9628         multiarch llrint for PPC64.
9629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
9630         multiarch lrint for PPC64.
9631
9632         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
9633         copysignf multiarch implementation.
9634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
9635         file.
9636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
9637         file.
9638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
9639         multiarch copysign for PPC64.
9640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
9641         multiarch copysignf for PPC64.
9642
9643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
9644         multiarch implementation.
9645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
9646         file.
9647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
9648         file.
9649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
9650         file.
9651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
9652         file.
9653         multiarch llround for PPC64.
9654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
9655         multiarch trunc for PPC64.
9656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
9657         multiarch truncf for PPC64.
9658
9659         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
9660         multiarch implementation.
9661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
9662         file.
9663         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
9664         file.
9665         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
9666         file.
9667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
9668         file.
9669         multiarch llround for PPC64.
9670         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
9671         multiarch round for PPC64.
9672         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
9673         multiarch roundf for PPC64.
9674
9675         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
9676         multiarch implementation.
9677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
9678         file.
9679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
9680         file.
9681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
9682         file.
9683         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
9684         file.
9685         multiarch llround for PPC64.
9686         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
9687         multiarch floor for PPC64.
9688         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
9689         multiarch floorf for PPC64.
9690
9691         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
9692         multiarch implementation.
9693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
9694         file.
9695         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
9696         file.
9697         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
9698         file.
9699         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
9700         file.
9701         multiarch llround for PPC64.
9702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
9703         multiarch ceil for PPC64.
9704         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
9705         multiarch ceilf for PPC64.
9706
9707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
9708         multiarch implementation.
9709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
9710         file.
9711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
9712         file.
9713         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
9714         file.
9715         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
9716         multiarch llround for PPC64.
9717         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
9718         multiarch lround for PPC64.
9719
9720         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
9721         multiarch implementation.
9722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
9723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
9724         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
9725         file.
9726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
9727         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
9728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
9729         multiarch isnan for PPC64.
9730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
9731         multiarch isnanf for PPC64.
9732
9733         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
9734         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
9735         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
9736         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
9737         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
9738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
9739
9740         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
9741         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
9742         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
9743         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
9744
9745         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
9746         multiarch implementations.
9747         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9748         (__libc_ifunc_impl_list): Likewise.
9749         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
9750         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
9751         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
9752         multiarch stpcpy for PPC64.
9753
9754         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
9755         multiarch implementations.
9756         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9757         (__libc_ifunc_impl_list): Likewise.
9758         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
9759         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
9760         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
9761         multiarch strcpy for PPC64.
9762
9763         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
9764         redefine function name.
9765         (_wordcopy_fwd_dest_aligned): Likewise.
9766         (_wordcopy_bwd_aligned): Likewise.
9767         (_wordcopy_bwd_dest_aligned): Likewise.
9768         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
9769         multiarch implementations.
9770         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9771         (__libc_ifunc_impl_list): Likewise.
9772         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
9773         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
9774         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
9775         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
9776         multiarch wcscpy for PPC64.
9777
9778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
9779         multiarch implementations.
9780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9781         (__libc_ifunc_impl_list): Likewise.
9782         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
9783         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
9784         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
9785         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
9786         multiarch wcscpy for PPC64.
9787
9788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
9789         multiarch implementations.
9790         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9791         (__libc_ifunc_impl_list): Likewise.
9792         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
9793         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
9794         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
9795         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
9796         multiarch wcsrchr for PPC64.
9797
9798         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
9799         multiarch implementations.
9800         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9801         (__libc_ifunc_impl_list): Likewise.
9802         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
9803         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
9804         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
9805         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
9806         multiarch wcschr for PPC64.
9807
9808         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
9809         multiarch implementations.
9810         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9811         (__libc_ifunc_impl_list): Likewise.
9812         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
9813         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
9814         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
9815         multiarch strchrnul for PPC64.
9816
9817         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
9818         implementations.
9819         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9820         (__libc_ifunc_impl_list): Likewise.
9821         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
9822         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
9823         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
9824         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
9825         strchr for PPC64.
9826
9827         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
9828         implementations.
9829         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9830         (__libc_ifunc_impl_list): Likewise.
9831         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
9832         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
9833         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
9834         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
9835         strncmp for PPC64.
9836
9837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
9838         multiarch implementations.
9839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9840         (__libc_ifunc_impl_list): Likewise.
9841         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
9842         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
9843         strncasecmp for PPC64.
9844         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
9845         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
9846         multiarch strncasecmp_l for PPC64.
9847
9848         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
9849         multiarch implementations.
9850         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9851         (__libc_ifunc_impl_list): Likewise.
9852         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
9853         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
9854         multiarch strcasecmp for PPC64.
9855         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
9856         file.
9857         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
9858         multiarch strcasecmp_l for PPC64.
9859
9860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
9861         implementations.
9862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9863         (__libc_ifunc_impl_list): Likewise.
9864         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
9865         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
9866         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
9867         strnlen for PPC64.
9868
9869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
9870         implementations.
9871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9872         (__libc_ifunc_impl_list): Likewise.
9873         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
9874         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
9875         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
9876         strlen for PPC64.
9877
9878         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
9879         implementations.
9880         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9881         (__libc_ifunc_impl_list): Likewise.
9882         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
9883         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
9884         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
9885         rawmemrchr for PPC64.
9886
9887         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
9888         implementation.
9889         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9890         (__libc_ifunc_impl_list): Likewise.
9891         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
9892         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
9893         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
9894         memrchr for PPC64.
9895
9896         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
9897         implementation.
9898         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9899         (__libc_ifunc_impl_list): Likewise.
9900         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
9901         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
9902         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
9903         memchr for PPC64.
9904
9905         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
9906         implementation.
9907         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9908         (__libc_ifunc_impl_list): Likewise.
9909         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
9910         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
9911         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
9912         mempcpy for PPC64.
9913
9914         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
9915         avoid cretion of __bzero symbol.
9916         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
9917         Likewise.
9918         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
9919         Likewise.
9920         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
9921         Likewise.
9922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
9923         multiarch implementations.
9924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9925         (__libc_ifunc_impl_list): Likewise.
9926         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
9927         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
9928         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
9929         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
9930         bzero for PPC32.
9931         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
9932         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
9933         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
9934         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
9935         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
9936         memset for PPC64.
9937         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
9938
9939         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
9940         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
9941         implementations.
9942         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9943         (__libc_ifunc_impl_list): Likewise.
9944         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
9945         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
9946         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
9947         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
9948         memcmp for PPC64.
9949
9950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
9951         multiarch for POWER/PPC64.
9952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
9953         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
9954         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
9955         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
9956         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
9957         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
9958         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
9959         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
9960         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
9961         memcpy for PPC64.
9962
9963         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
9964         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
9965         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
9966         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
9967         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
9968         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9969         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
9970         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
9971         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
9972         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
9973         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
9974         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
9975         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
9976         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
9977         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
9978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
9979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
9980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
9981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
9982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
9983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
9984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
9985
9986 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
9987
9988         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
9989
9990 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9991
9992         * benchtests/Makefile (bench): Add exp2 and log2.
9993         (LDLIBS-bench-exp2): Add -lm.
9994         (LDLIBS-bench-log2): Likewise.
9995         * benchtests/exp2-inputs: New inputs file.
9996         * benchtests/log2-inputs: New inputs file.
9997         * benchtests/log-inputs: Add new inputs.
9998         * benchtests/tan-inputs: Likewise.
9999
10000 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10001
10002         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
10003         definition...
10004         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
10005         (csloww2): ... from here.
10006
10007         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
10008         instead of structures.
10009         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
10010         (POLYNOMIAL): Likewise.
10011         (TAYLOR_SLOW): Likewise.
10012         (__sin): Likewise.
10013         (__cos): Likewise.
10014         (slow1): Likewise.
10015         (slow2): Likewise.
10016         (sloww): Likewise.
10017         (sloww1); Likewise.
10018         (sloww2): Likewise.
10019         (bsloww1): Likewise.
10020         (bsloww2): Likewise.
10021         (cslow2): Likewise.
10022         (csloww): Likewise.
10023         (csloww1): Likewise.
10024         (csloww2): Likewise.
10025
10026 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
10027
10028         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
10029         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
10030         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
10031         * malloc/hooks.c (realloc_check): Likewise.
10032
10033         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
10034         * malloc/arena.c: Remove PER_THREAD conditional.
10035         [!PER_THREAD]: Remove code.
10036         (ptmalloc_unlock_all2): Likewise.
10037         (ptmalloc_init): Likewise.
10038         (_int_new_arena): Likewise.
10039         (arena_get2): Likewise.
10040         * malloc/hooks.c (__malloc_get_state): Likewise.
10041         (__malloc_set_state): Likewise.
10042         * malloc/malloc.c: Likewise.
10043         (struct malloc_state): Likewise.
10044         (struct malloc_par): Likewise.
10045         (__libc_realloc): Likewise.
10046         (__libc_mallopt): Likewise.
10047
10048 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10049
10050         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
10051
10052 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
10053
10054         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
10055         macro to a function.  Check for zero perturb_byte.
10056         (_int_malloc, _int_free): Remove zero perturb_byte checks.
10057
10058         * malloc/malloc.c: (force_reg): Remove.
10059         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
10060         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
10061         force_reg by atomic_forced_read.
10062         * malloc/arena.c (ptmalloc_init): Likewise.
10063         * malloc/hooks.c (top_check): Likewise.
10064
10065 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10066
10067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10068
10069 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
10070
10071         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10072
10073 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
10074
10075         * math/auto-libm-test-in: Add tests of lgamma.
10076         * math/auto-libm-test-out: Regenerated.
10077         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
10078         (M_LOG_2_SQRT_PIl): Likewise.
10079         (lgamma_test_data): Use AUTO_TESTS_f_f1.
10080         * math/gen-auto-libm-tests.c (func_calc_method): Add value
10081         mpfr_f_f1.
10082         (func_calc_desc): Add mpfr_f_f1 union field.
10083         (ARGS1): New macro.
10084         (ARGS2): Likewise.
10085         (ARGS3): Likewise.
10086         (ARGS4): Likewise.
10087         (RET1): Likewise.
10088         (RET2): Likewise.
10089         (CALC): Likewise.
10090         (FUNC): Likewise.
10091         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
10092         (test_functions): Add lgamma.
10093         (calc_generic_results): Handle mpfr_f_f1.
10094         * sysdeps/i386/fpu/libm-test-ulps: Update.
10095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10096
10097 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10098
10099         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
10100         __mpn_add_n for PowerPC64/POWER7.
10101         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
10102         __mpn_sub_n for PowerPC64/POWER7.
10103
10104         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
10105         __mpn_addmul_1 for PowerPC64.
10106         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
10107         __mpn_submul_1 for PowerPC64.
10108         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
10109         for PowerPC64.
10110         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
10111         for PowerPC64.
10112
10113 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
10114
10115         [BZ #15089]
10116         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
10117
10118 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10119
10120         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
10121
10122         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
10123         add multiarch folders.
10124         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
10125         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
10126         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
10127         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
10128         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
10129         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
10130         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
10131         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
10132         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
10133         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
10134         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
10135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
10136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
10137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
10138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
10139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
10140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
10141
10142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10143         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
10144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
10145         New file.
10146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
10147         New file.
10148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
10149         multiarch __ieee754_hypot for PowerPC32.
10150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
10151         New file.
10152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
10153         New file.
10154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
10155         multiarch __ieee754_hypotf for PowerPC32.
10156
10157         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
10158         long_double_symbol only if __logbl is defined.
10159         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
10160         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
10161         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
10162         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
10163         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
10164         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
10165         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
10166         path for implementation.
10167         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
10168         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
10169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
10170         logb, and logbl multiarch implementations for PowerPC32.
10171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
10172         file.
10173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
10174         file.
10175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
10176         multiarch logb for PowerPC32.
10177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
10178         file.
10179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
10180         file.
10181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
10182         multiarch logbf for PowerPC32.
10183         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
10184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
10185         file.
10186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
10187         multiarch logbl implementation for PowerPC32.
10188
10189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
10190         and modff multiarch implementations.
10191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
10192         New file.
10193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
10194         New file.
10195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
10196         multiarch modf for PowerPC32.
10197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
10198         New file.
10199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
10200         New file.
10201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
10202         multiarch modff for PowerPC32.
10203
10204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
10205         and lrintf multiarch implementations.
10206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
10207         New file.
10208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
10209         New file.
10210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
10211         multiarch lrint for PowerPC32.
10212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
10213         file: multiarch lrintf for PowerPC32.
10214
10215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
10216         and lroundf multiarch implementations.
10217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
10218         New file.
10219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
10220         New file.
10221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
10222         New file.
10223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
10224         multiarch lround for PowerPC32.
10225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
10226         file: multiarch lroundf for PowerPC32.
10227
10228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
10229         copysign and copysignf multiarch implementations.
10230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
10231         New file.
10232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
10233         New file.
10234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
10235         file: multiarch copysign for PowerPC32.
10236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
10237         file: multiarch copysignf for PowerPC32.
10238
10239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
10240         and truncf multiarch implementations.
10241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
10242         New file.
10243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
10244         file.
10245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
10246         multiarch trunc for PowerPC32.
10247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
10248         New file.
10249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
10250         New file.
10251         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
10252         multiarch truncf for PowerPC32.
10253
10254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
10255         and roundf multiarch implementations.
10256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
10257         New file.
10258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
10259         file.
10260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
10261         multiarch round for PowerPC32.
10262         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
10263         New file.
10264         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
10265         New file.
10266         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
10267         multiarch roundf for PowerPC32.
10268
10269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
10270         and floorf multiarch implementations.
10271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
10272         New file.
10273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
10274         file.
10275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
10276         multiarch floor for PowerPC32.
10277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
10278         New file.
10279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
10280         New file.
10281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
10282         multiarch floorf for PowerPC32.
10283
10284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
10285         and ceilf multiarch implementations.
10286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
10287         New file.
10288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
10289         file.
10290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
10291         multiarch ceil for PowerPC32.
10292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
10293         New file.
10294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
10295         file.
10296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
10297         multiarch ceilf for PowerPC32.
10298
10299         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
10300         is defined.
10301         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
10302         FINITEF is defined.
10303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
10304         and finitef multiarch implementations.
10305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
10306         New file.
10307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
10308         file.
10309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
10310         multiarch finite for PowerPC32.
10311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
10312         New file.
10313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
10314         file: multiarch finitef for PowerPC32.
10315
10316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
10317         and isinff multiarch implementations.
10318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
10319         file.
10320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
10321         file.
10322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
10323         multiarch isinf for PowerPC32.
10324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
10325         New file.
10326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
10327         multiarch isinff for PowerPC32.
10328
10329         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
10330         alias when __isnan is defined.
10331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
10332         and isnanf multiarch implementations.
10333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
10334         file.
10335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
10336         file.
10337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
10338         file.
10339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
10340         file.
10341         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
10342         multiarch isnan for PowerPC32.
10343         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
10344         New file.
10345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
10346         New file.
10347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
10348         multiarch isnanf for PowerPC32.
10349
10350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
10351         and sqrtf multiarch implementations.
10352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
10353         file.
10354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
10355         file.
10356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
10357         multiarch sqrt for PowerPC32.
10358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
10359         file.
10360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
10361         file.
10362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
10363         multiarch sqrtf for PowerPC32.
10364
10365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
10366         and llroundf multiarch implementations.
10367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
10368         New file.
10369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
10370         New file.
10371         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
10372         New file.
10373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
10374         file: multiarch llround for PowerPC32.
10375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
10376         file: multiarch llroundf for PowerPC32.
10377
10378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
10379         multiarch PowerPC32 fpu implementations.
10380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
10381         New file.
10382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
10383         New file.
10384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
10385         multiarch llrint for PowerPC32.
10386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
10387         New file.
10388         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
10389         New file.
10390         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
10391         file.
10392
10393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
10394
10395         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
10396         file.
10397         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
10398         file.
10399         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
10400         file.
10401         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
10402         multiarch wordcopy for PPC32.
10403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10404         wordcopy objects.
10405         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10406         (__libc_ifunc_impl_list): Likewise.
10407         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
10408         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
10409         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
10410         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
10411         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
10412         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
10413
10414         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
10415         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
10416         file.
10417         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
10418         file.
10419         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
10420         file.
10421         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
10422         multiarch wcscpy for PPC32.
10423         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
10424         multiarch objects.
10425         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10426         (__libc_ifunc_impl_list): Likewise.
10427         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10428         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10429         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
10430         sysdeps/powerpc/power6/wcscpy.c.
10431
10432         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
10433         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
10434         file.
10435         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
10436         file.
10437         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
10438         file.
10439         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
10440         multiarch wcsrchr for PPC32.
10441         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10442         multiarch objects.
10443         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10444         (__libc_ifunc_impl_list): Likewise.
10445         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
10446         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
10447         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
10448         sysdeps/powerpc/power6/wcsrchr.c.
10449
10450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
10451         file.
10452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
10453         file.
10454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
10455         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
10456         multiarch wcschr for PPc32.
10457         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
10458         multiarch objects.
10459         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10460         (__libc_ifunc_impl_list): Likewise.
10461         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
10462         * sysdeps/powerpc/power6/wcschr.c: ... to here.
10463         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
10464         sysdeps/powerpc/power6/wcschr.c.
10465
10466         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
10467         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
10468         file.
10469         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
10470         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
10471         file: multiarch strchr for PPC32.
10472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
10473         multiarch objects.
10474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10475         (__libc_ifunc_impl_list): Likewise.
10476
10477         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
10478         name.
10479         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
10480         file.
10481         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
10482         file.
10483         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
10484         multiarch strchrnul for PPC32.
10485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
10486         multiarch objects.
10487         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10488         (__libc_ifunc_impl_list): Likewise.
10489
10490         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
10491         file.
10492         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
10493         multiarch strncasecmp for PPC32.
10494         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
10495         file.
10496         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
10497         multiarch strncasecmp_l for PPC32.
10498         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
10499         strncasecmp multiarch objects.
10500         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10501         (__libc_ifunc_impl_list): Likewise.
10502
10503         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
10504         file.
10505         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
10506         multiarch strncasecmp for PPC32.
10507         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
10508         New file.
10509         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
10510         multiarch strcasecmp_l for PPC32.
10511         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
10512         multiarch objects.
10513         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10514         (__libc_ifunc_impl_list): Likewise.
10515
10516         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
10517         file.
10518         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
10519         file.
10520         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
10521         multiarch strncmp for PPC32.
10522         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10523         multiarch objects.
10524         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10525         (__libc_ifunc_impl_list): Likewise.
10526
10527         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
10528         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
10529         file.
10530         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
10531         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
10532         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
10533         multiarch objects.
10534         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10535         (__libc_ifunc_impl_list): Likewise.
10536
10537         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
10538         file.
10539         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
10540         file.
10541         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
10542         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
10543         multiarch objects.
10544         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10545         (__libc_ifunc_impl_list): Likewise.
10546
10547         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
10548         file.
10549         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
10550         file.
10551         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
10552         multiarch rawmemchr for PPC32.
10553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10554         multiarch objects.
10555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10556         (__libc_ifunc_impl_list): Likewise.
10557
10558         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
10559         file.
10560         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
10561         file.
10562         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
10563         file: memrchr multiarch for PPC32.
10564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
10565         multiarch objects.
10566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
10567         (__libc_ifunc_impl_list): Likewise.
10568
10569         * string/memchr.c (__memchr): Using macro to redefine symbol name.
10570         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
10571         file.
10572         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
10573         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
10574         multiarch memchr for PPC32.
10575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10576         multiarch objects.
10577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10578         (__libc_ifunc_impl_list): Likewise.
10579
10580         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
10581         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
10582         file.
10583         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
10584         file.
10585         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
10586         file: multiarch mempcpy for PPC32.
10587         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
10588         multiarch objects.
10589         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10590         (__libc_ifunc_impl_list): Likewise.
10591
10592         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
10593         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
10594         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
10595         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
10596         multiarch bzero for PPC32.
10597         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
10598         file.
10599         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
10600         file.
10601         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
10602         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
10603         file: multiarch memset for PPC32.
10604         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
10605         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
10606         memset multiarch objects.
10607         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10608         (__libc_ifunc_impl_list): Likewise.
10609
10610         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
10611         file.
10612         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
10613         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
10614         memcmp for PPC32.
10615         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
10616         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
10617         multiarch objects.
10618         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10619         (__libc_ifunc_impl_list): Likewise.
10620
10621         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
10622         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
10623         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
10624         file.
10625         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
10626         file.
10627         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10628         file.
10629         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
10630         multiarch memcpy for PPC32.
10631         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
10632         multiarch objects.
10633         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
10634         (__libc_ifunc_impl_list): Likewise.
10635
10636         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
10637         support multiarch for POWER/PPC32.
10638         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
10639         Likewise.
10640         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
10641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
10642         Implies file to make multiarch folder appers before the fpu and
10643         default folder for power4 configuration.
10644
10645 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
10646
10647         * scripts/bench.pl: Append volatile keyword to type.
10648
10649 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
10650
10651         * sysdeps/sh/sotruss-lib.c: New file.
10652         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10653
10654 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10655
10656         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10657
10658 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
10659
10660         [BZ #6810]
10661         * math/w_tgamma.c: Include <errno.h>.
10662         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
10663         * math/w_tgammaf.c: Include <errno.h>.
10664         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
10665         * math/w_tgammal.c: Include <errno.h>.
10666         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
10667         * math/auto-libm-test-in: Do not allow missing errno on tgamma
10668         underflow.  Add more tgamma tests.
10669         * math/auto-libm-test-out: Regenerated.
10670         * sysdeps/i386/fpu/libm-test-ulps: Update.
10671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10672
10673         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
10674         sin, sinh, tan, tanh, tgamma, y0 and y1.
10675         * math/auto-libm-test-out: Regenerated.
10676         * math/libm-test.inc (TEST_COND_x86_64): New macro.
10677         (TEST_COND_x86): Likewise.
10678         (M_E2l): Remove macro.
10679         (M_E3l): Likewise.
10680         (M_2_SQRT_PIl): Likewise.
10681         (M_SQRT_PIl): Likewise.
10682         (M_1_DIV_El): Likewise.
10683         (log_test_data): Use AUTO_TESTS_f_f.
10684         (log10_test_data): Likewise.
10685         (log1p_test_data): Likewise.
10686         (log2_test_data): Likewise.
10687         (sin_test_data): Likewise.
10688         (sin_tonearest_test_data): Likewise.
10689         (sin_towardzero_test_data): Likewise.
10690         (sin_downward_test_data): Likewise.
10691         (sin_upward_test_data): Likewise.
10692         (sinh_test_data): Likewise.
10693         (sinh_tonearest_test_data): Likewise.
10694         (sinh_towardzero_test_data): Likewise.
10695         (sinh_downward_test_data): Likewise.
10696         (sinh_upward_test_data): Likewise.
10697         (tan_test_data): Likewise.
10698         (tan_tonearest_test_data): Likewise.
10699         (tan_towardzero_test_data): Likewise.
10700         (tan_downward_test_data): Likewise.
10701         (tan_upward_test_data): Likewise.
10702         (tanh_test_data): Likewise.
10703         (tgamma_test_data): Likewise.
10704         (y0_test_data): Likewise.
10705         (y1_test_data): Likewise.
10706         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
10707         (special_real_inputs): Add pi/4.
10708         * sysdeps/i386/fpu/libm-test-ulps: Update.
10709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10710
10711 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10712
10713         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
10714         "longjmp_target" static probes.
10715         (__longjmp): Rename to __longjmp_symbol.
10716         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
10717         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
10718         on which longjmp to generate.
10719         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
10720         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
10721         probe.
10722         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10723         (__sigjmp_save): Rename to __sigjmp_save_symbol.
10724         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
10725         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
10726         and __sigjmp_save_symbol based on which sigsetjmp to generated.
10727         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
10728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
10729         __longjmp_symbol based on which __longjmp to generate.
10730         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
10731         probe.
10732         (setjmp): Rename to setjmp_symbol.
10733         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10734         (_setjmp): Rename to _setjmp_symbol.
10735         (__sigsetjmp): Rename to __sigsetjmp_symbol.
10736         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
10737         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
10738         which setjmp to generate.
10739         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
10740         "longjmp_target" static probes.
10741
10742 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
10743
10744         * benchtests/README: Add note about output arguments.
10745         * benchtests/bench-sincos.c: Remove file.
10746         * benchtests/sincos-inputs: New file.
10747         * scripts/bench.pl: Identify output arguments and define
10748         static variables for them.
10749
10750         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
10751
10752         [BZ #15941]
10753         * Makefile (INSTALL): Add install-plain.texi as the primary
10754         dependency.
10755         * manual/install-plain.texi: New file.
10756         * manual/install.texi: Include node directive only for
10757         non-plaintext output.
10758
10759 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
10760
10761         * stdlib/longlong.h: Update from GCC.
10762
10763         [BZ #6807]
10764         [BZ #15901]
10765         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
10766         * math/w_j0f.c (y0f): Likewise.
10767         * math/w_j0l.c (__y0l): Likewise.
10768         * math/w_j1.c (y1): Likewise.
10769         * math/w_j1f.c (y1f): Likewise.
10770         * math/w_j1l.c (__y1l): Likewise
10771         * math/w_jn.c (yn): Likewise.
10772         * math/w_jnf.c (ynf): Likewise.
10773         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
10774         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
10775         value for Bessel function domain errors outside _SVID_ mode.
10776         Adjust sign of return value for yn (negative integer, 0).
10777         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
10778         by zero in return for negative x and set sign appropriately for
10779         negative n.
10780         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
10781         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
10782         * math/libm-test.inc (y0_test_data): Add more tests and adjust
10783         expectations in error cases.
10784         (y1_test_data): Likewise.
10785         (yn_test_data): Likewise.
10786         * sysdeps/i386/fpu/libm-test-ulps: Update.
10787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10788
10789 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10790
10791         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
10792         "64" to "64-v1".  Add "64-v2".
10793         (abi-64-options): Rename to ...
10794         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
10795         (abi-64-condition): Rename to ...
10796         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
10797         (abi-64-ld-soname): Rename to ...
10798         (abi-64-v1-ld-soname): ... this.
10799         (abi-64-v2-options): Define.
10800         (abi-64-v2-condition): Likewise.
10801         (abi-64-v2-ld-soname): Likewise.
10802         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
10803         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
10804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
10805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
10806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
10807
10808 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10809             Alan Modra  <amodra@gmail.com>
10810
10811         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
10812         New versions for use with the ELFv2 ABI.
10813         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
10814         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
10815         declaration.
10816         (struct La_ppc64v2_retval): Likewise.
10817         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
10818         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
10819         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
10820         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
10821         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
10822         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
10823         Do not save or restore CR.
10824         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
10825         (_dl_profile_resolve): Do no save or restore CR.  Support extended
10826         return values for ELFv2 ABI.  Fix location of FPR return registers.
10827         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
10828         updated values for _CALL_ELF == 2.
10829         (La_regs, La_retval, int_retval): Likewise.
10830
10831 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10832
10833         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
10834         (FRAME_MIN_SIZE_PARM): Likewise.
10835         (FRAME_BACKCHAIN): Likewise.
10836         (FRAME_CR_SAVE): Likewise.
10837         (FRAME_LR_SAVE): Likewise.
10838         (FRAME_TOC_SAVE): Likewise.
10839         (FRAME_PARM_SAVE): Likewise.
10840         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
10841         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
10842         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10843         (call_mcount_parm_offset): New macro.
10844         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
10845         (PROF): Use symbolic stack frame offsets.
10846         (TAIL_CALL_SYSCALL_ERROR): Likewise.
10847         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
10848         Redefine in terms of FRAME_MIN_SIZE.
10849         (_dl_runtime_resolve): Use symbolic stack frame offsets.
10850         (_dl_profile_resolve): Likewise.  Update comment.
10851         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
10852         symbols stack frame offsets.
10853         (__sigsetjmp): Likewise.
10854         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
10855         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
10856         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
10857         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
10858
10859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
10860         (FRAME_BACKCHAIN): Remove.
10861         (FRAME_CR_SAVE): Likewise.
10862         (FRAME_LR_SAVE): Likewise.
10863         (FRAME_COMPILER_DW): Likewise.
10864         (FRAME_LINKER_DW): Likewise.
10865         (FRAME_TOC_SAVE): Likewise.
10866         (FRAME_PARM_SAVE): Likewise.
10867         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
10868         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
10869         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
10870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
10871         (CHECK_SP): Use symbolic stack frame offsets.
10872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
10873         zone" instead of caller's parameter save area for temp storage.
10874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
10875         Likewise.  Also, use symbolic stack frame offsets.
10876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
10877         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
10878         our own stack frame instead of the caller's.
10879         (__socket): Use symbolic stack frame offsets.
10880
10881 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10882             Alan Modra  <amodra@gmail.com>
10883
10884         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
10885         Define.
10886         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
10887         (PPC64_LOCAL_ENTRY_OFFSET): Define.
10888         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
10889         New function.
10890         (elf_machine_fixup_plt): Call it.
10891         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
10892         reloc arguments.
10893         (elf_machine_rela): Update call to elf_machine_plt_conflict.
10894         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10895         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
10896         r2 before calling target.
10897
10898 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10899             Alan Modra  <amodra@gmail.com>
10900
10901         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
10902         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
10903         versions of macros to support ELFv2 ABI.
10904         (LOCALENTRY): New macro.
10905         (ENTRY, EALIGN): Use it.
10906         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
10907         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
10908         fall through into ENTRY entry point.
10909         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
10910         Only define if _CALL_ELF != 2.
10911
10912         (elf_machine_matches_host): Verify ABI version matches.
10913         (RTLD_START): Use LOCALENTRY.
10914         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
10915         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
10916         (PLT_ENTRY_WORDS): New macro.
10917         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
10918         (elf_machine_runtime_setup): Support ELFv2 ABI.
10919         (elf_machine_fixup_plt): Likewise.
10920         (elf_machine_plt_conflict): Likewise.
10921         (resolve_ifunc): Likewise.
10922         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
10923         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
10924         Likewise.
10925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
10926         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
10927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10928         (makecontext): Support ELFv2 ABI.
10929         * elf/elf.h (EF_PPC64_ABI): Define.
10930
10931 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10932
10933         * sysdeps/powerpc/powerpc64/sysdep.h
10934         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
10935         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
10936         (ENTRY) [ASSEMBLER]: ... but instead here ...
10937         (EALIGN) [ASSEMBLER]: ... and here.
10938         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
10939         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
10940         (ENTRY_2) [!ASSEMBLER]: Use it.
10941         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
10942         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
10943         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
10944         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
10945         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
10946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
10947         Use PPC64_LOAD_FUNCPTR.
10948
10949         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
10950
10951 2013-12-04  Alan Modra  <amodra@gmail.com>
10952
10953         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
10954         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
10955         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
10956         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
10957
10958         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
10959         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
10960         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
10961         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
10962         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
10963         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
10964
10965 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
10966
10967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
10968         (__makecontext): Fix incorrect CFI when backtracing out of
10969         context created via makecontext.
10970         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
10971         (__setcontext): Fix incorrect CFI during switch to new context.
10972         (__novec_setcontext): Likewise.
10973
10974 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10975
10976         [BZ #4772]
10977         * time/strptime_l.c (__strptime_internal): Allow modifiers
10978         in strptime.
10979         * time/tst-strptime.c (day_tests): Add testcase.
10980
10981 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10982
10983         * scripts/bench.pl: Skip over blank lines.
10984
10985 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10986
10987         [BZ #926]
10988         * manual/time.texi (Calendar Time): Clarify what timezone functions
10989         use.
10990
10991 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10992
10993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10994
10995 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
10996
10997         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
10998         implementation.
10999         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11000         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11001         * debug/memset_chk.c (__memset_chk): Likewise.
11002         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
11003         * debug/strncpy_chk.c: Likewise.
11004
11005 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11006
11007         [BZ #15268]
11008         [BZ #15425]
11009         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
11010         (__ieee754_exp): For possibly underflowing results, check size of
11011         result and force underflow exception if required.
11012         * math/auto-libm-test-in: Add more tests of exp.
11013         * math/auto-libm-test-out: Regenerated.
11014         * sysdeps/i386/fpu/libm-test-ulps: Update.
11015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11016
11017         [BZ #16283]
11018         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
11019         * math/w_exp2f.c (__exp2f): Likewise.
11020         * math/w_exp2l.c (__exp2l): Likewise.
11021         * math/auto-libm-test-in: Do not allow missing errno on exp2
11022         underflow.
11023         * math/auto-libm-test-out: Regenerated.
11024
11025 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
11026
11027         [BZ #16274]
11028         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
11029         handle filename validation.
11030         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
11031         (do_open): Delete.
11032
11033 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
11034
11035         [BZ #6786]
11036         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
11037         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
11038         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
11039         <float.h>.
11040         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
11041         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
11042         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11043         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
11044         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11045         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
11046         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
11047         * math/auto-libm-test-in: Don't allow missing errno from erfc.
11048         Add more erfc tests.
11049         * math/auto-libm-test-out: Regenerated.
11050         * sysdeps/i386/fpu/libm-test-ulps: Update.
11051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11052
11053         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
11054         exp2, expm1, j0 and j1.
11055         * math/auto-libm-test-out: Regenerated.
11056         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
11057         (erfc_test_data): Likewise.
11058         (exp_test_data): Likewise.
11059         (exp_tonearest_test_data): Likewise.
11060         (exp_towardzero_test_data): Likewise.
11061         (exp_downward_test_data): Likewise.
11062         (exp_upward_test_data): Likewise.
11063         (exp10_test_data): Likewise.
11064         (exp2_test_data): Likewise.
11065         (expm1_test_data): Likewise.
11066         (j0_test_data): Likewise.
11067         (j1_test_data): Likewise.
11068         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
11069         (input_flag_type): Add flag_xfail_rounding.
11070         (input_flags): Add xfail-rounding.
11071         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
11072         (output_for_one_input_case): Handle flag_xfail_rounding.
11073         * sysdeps/i386/fpu/libm-test-ulps: Update.
11074         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11075
11076 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
11077
11078         [BZ #16289]
11079         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
11080         division by 0.
11081
11082 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
11083
11084         [BZ #16195]
11085         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
11086         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
11087         (STAP_PROBE0): New macro.
11088         (STAP_PROBE1): Likewise.
11089         (STAP_PROBE2): Likewise.
11090         (STAP_PROBE3): Likewise.
11091         (STAP_PROBE4): Likewise.
11092
11093 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
11094
11095         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
11096
11097 2013-12-02  Steve Ellcey  <sellcey@mips.com>
11098
11099         * benchtests/Makefile (bench): Add sqrt.
11100         (LDLIBS-bench-sqrt): New.
11101         * benchtests/sqrt-input: New.
11102
11103 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
11104
11105         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
11106         (GAIH_EAI): Likewise.
11107         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
11108         (gaih_inet): Likewise.
11109         (getaddrinfo): Don't use GAIH_EAI.
11110
11111         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
11112         (struct gaih): Remove definition.
11113
11114 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11115
11116         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
11117         Use HERRNOP directly.
11118
11119 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11120
11121         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11122
11123 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
11124
11125         * math/gen-auto-libm-tests.c (test_functions): Add more
11126         single-argument functions.
11127         (special_fill_pi_2): New function.
11128         (special_fill_minus_pi_2): Likewise.
11129         (special_fill_pi_6): Likewise.
11130         (special_fill_minus_pi_6): Likewise.
11131         (special_fill_pi_3): Likewise.
11132         (special_fill_2pi_3): Likewise.
11133         (special_fill_e): Likewise.
11134         (special_fill_1_e): Likewise.
11135         (special_fill_e_minus_1): Likewise.
11136         (special_real_inputs): Add more special inputs.
11137         (output_for_one_input_case): Do not require ERANGE on underflow to
11138         zero if round-to-nearest result does not underflow to zero, unless
11139         exact results required.
11140         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
11141         atan, atanh, cbrt, cos and cosh.
11142         * math/auto-libm-test-out: Regenerated.
11143         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
11144         (acos_tonearest_test_data): Likewise.
11145         (acos_towardzero_test_data): Likewise.
11146         (acos_downward_test_data): Likewise.
11147         (acos_upward_test_data): Likewise.
11148         (acosh_test_data): Likewise.
11149         (asin_test_data): Likewise.
11150         (asin_tonearest_test_data): Likewise.
11151         (asin_towardzero_test_data): Likewise.
11152         (asin_upward_test_data): Likewise.
11153         (asinh_test_data): Likewise.
11154         (atan_test_data): Likewise.
11155         (atanh_test_data): Likewise.
11156         (cbrt_test_data): Likewise.
11157         (cos_test_data): Likewise.
11158         (cos_tonearest_test_data): Likewise.
11159         (cos_towardzero_test_data): Likewise.
11160         (cos_downward_test_data): Likewise.
11161         (cos_upward_test_data): Likewise.
11162         (cosh_test_data): Likewise.
11163         (cosh_tonearest_test_data): Likewise.
11164         (cosh_towardzero_test_data): Likewise.
11165         (cosh_downward_test_data): Likewise.
11166         (cosh_upward_test_data): Likewise.
11167         * sysdeps/i386/fpu/libm-test-ulps: Update.
11168         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11169
11170 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
11171
11172         [BZ #6787]
11173         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
11174         * math/w_exp10f.c (__exp10f): Likewise.
11175         * math/w_exp10l.c (__exp10l): Likewise.
11176         * math/libm-test.inc (exp10_test_data): Add more tests and expect
11177         errno settings in existing tests.
11178
11179         [BZ #14032]
11180         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
11181         precision control set to double precision.
11182         * sysdeps/i386/fpu/w_sqrt.c: New file.
11183         * math/auto-libm-test-in: Add more tests.
11184         * math/auto-libm-test-out: Update.
11185
11186         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
11187         (sqrt_test_tonearest): New function.
11188         (sqrt_towardzero_test_data): New variable.
11189         (sqrt_test_towardzero): New function.
11190         (sqrt_downward_test_data): New variable.
11191         (sqrt_test_downward): New function.
11192         (sqrt_upward_test_data): New variable.
11193         (sqrt_test_upward): New function.
11194         (main): Call the new functions.
11195
11196         * math/gen-auto-libm-tests.c: New file.
11197         * math/auto-libm-test-in: Likewise.
11198         * math/auto-libm-test-out: New generated file.
11199         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
11200         variables.
11201         (%beautify): Add generated representations of zero.
11202         (top level): Set $auto_input and call parse_auto_input.
11203         (beautify): Remove trailing "f" from hex float constants.
11204         (parse_args): Handle XFAIL_TEST.
11205         (convert_condition): New function.
11206         (or_value): Likewise.
11207         (or_cond_value): Likewise.
11208         (generate_testfile): Handle AUTO_TESTS_* lines.
11209         (parse_auto_input): New function.
11210         * math/libm-test.inc (XFAIL_TEST): New macro.
11211         (ERRNO_UNCHANGED): Update value.
11212         (ERRNO_EDOM): Likewise.
11213         (ERRNO_ERANGE): Likewise.
11214         (IGNORE_RESULT): Likewise.
11215         (TEST_COND_flt_32): New macro.
11216         (TEST_COND_dbl_64): Likewise.
11217         (TEST_COND_ldbl_96_intel): Likewise.
11218         (TEST_COND_ldbl_96_m68k): Likewise.
11219         (TEST_COND_ldbl_128): Likewise.
11220         (TEST_COND_ldbl_128ibm): Likewise.
11221         (TEST_COND_long32): Likewise.
11222         (TEST_COND_long64): Likewise.
11223         (TEST_COND_before_rounding): Likewise.
11224         (TEST_COND_after_rounding): Likewise.
11225         (enable_test): Handle XFAIL_TEST flag.
11226         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
11227         with finite results.
11228         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
11229         auto-libm-test-out.
11230
11231 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
11232             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11233
11234         [BZ #16214]
11235         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
11236         __tls_get_addr_internal instead of __tls_get_offset in order to
11237         avoid GOT pointer dependency.  Make rtld export
11238         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
11239         __tls_get_addr since we are a __tls_get_offset platform.
11240         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
11241         GOT pointer being set up before.
11242         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
11243
11244 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
11245
11246         * manual/math.texi (Errors in Math Functions): Document accuracy
11247         goals.
11248
11249         [BZ #15004]
11250         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
11251         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
11252         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
11253         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
11254         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
11255         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
11256         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
11257         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
11258         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
11259         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
11260         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
11261         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
11262         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
11263         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
11264         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
11265         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
11266
11267         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
11268         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
11269         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
11270         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
11271         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
11272         Likewise.
11273         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
11274         Likewise.
11275         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
11276         Likewise.
11277         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
11278         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
11279         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
11280         atomic-feupdateenv and flt-rounds.
11281         * sysdeps/powerpc/nofpu/Versions (libc): Add
11282         __atomic_feholdexcept, __atomic_feclearexcept,
11283         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
11284         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
11285         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
11286         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
11287         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
11288         here.
11289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11290         Update.
11291
11292         * manual/arith.texi (FP Exceptions): Document that exceptions may
11293         not be raised when matherr is used.
11294         (Math Error Reporting): Document overflow in directed rounding
11295         modes.  Document that errno may not be set when finite values are
11296         returned on overflow.  Document intent to set errno on underflow
11297         only for underflow to zero.
11298
11299         [BZ #16271]
11300         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
11301         round-to-nearest then adjust result for other rounding modes.
11302         * include/fenv.h (fegetround): Use libm_hidden_proto.
11303         * math/fegetround.c (fegetround): Use libm_hidden_def.
11304         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
11305         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
11306         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11307         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
11308         Likewise.
11309         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
11310         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
11311         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
11312         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
11313
11314 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
11315
11316         [BZ #16077]
11317         * nss/Versions (libnss_files): Add
11318         _nss_files_gethostbyname3_r.
11319         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
11320         New function.
11321         (HOST_DB_LOOKUP): Remove macro.
11322         (_nss_files_gethostbyname_r): Implement function without the
11323         HOST_DB_LOOKUP macro.
11324         (_nss_files_gethostbyname2_r): Likewise.
11325
11326 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
11327
11328         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
11329
11330 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
11331
11332         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
11333         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
11334         warning.
11335
11336 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11337
11338         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
11339         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
11340         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11341         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
11342         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
11343         __fe_nomask_env_priv and attribute_hidden.
11344         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
11345         (libc_feupdateenv_test_ppc): Likewise.
11346         (libc_feresetround_ppc): Likewise.
11347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11348         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
11349         compat_symbol macro.
11350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11351         (__fe_nomask_env): Likewise.
11352         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
11353
11354 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11355
11356         * string/Makefile: Remove ifunc tests.
11357         * string/test-string.h: Define TEST_IFUNC.
11358         * string/test-bcopy-ifunc.c: Remove.
11359         * string/test-bzero-ifunc.c: Likewise.
11360         * string/test-memccpy-ifunc.c: Likewise.
11361         * string/test-memchr-ifunc.c: Likewise.
11362         * string/test-memcmp-ifunc.c: Likewise.
11363         * string/test-memcpy-ifunc.c: Likewise.
11364         * string/test-memmem-ifunc.c: Likewise.
11365         * string/test-memmove-ifunc.c: Likewise.
11366         * string/test-mempcpy-ifunc.c: Likewise.
11367         * string/test-memrchr-ifunc.c: Likewise.
11368         * string/test-memset-ifunc.c: Likewise.
11369         * string/test-rawmemchr-ifunc.c: Likewise.
11370         * string/test-stpcpy-ifunc.c: Likewise.
11371         * string/test-stpncpy-ifunc.c: Likewise.
11372         * string/test-strcasecmp-ifunc.c: Likewise.
11373         * string/test-strcasestr-ifunc.c: Likewise.
11374         * string/test-strcat-ifunc.c: Likewise.
11375         * string/test-strchr-ifunc.c: Likewise.
11376         * string/test-strchrnul-ifunc.c: Likewise.
11377         * string/test-strcmp-ifunc.c: Likewise.
11378         * string/test-strcpy-ifunc.c: Likewise.
11379         * string/test-strcspn-ifunc.c: Likewise.
11380         * string/test-strlen-ifunc.c: Likewise.
11381         * string/test-strncasecmp-ifunc.c: Likewise.
11382         * string/test-strncat-ifunc.c: Likewise.
11383         * string/test-strncmp-ifunc.c: Likewise.
11384         * string/test-strncpy-ifunc.c: Likewise.
11385         * string/test-strnlen-ifunc.c: Likewise.
11386         * string/test-strpbrk-ifunc.c: Likewise.
11387         * string/test-strrchr-ifunc.c: Likewise.
11388         * string/test-strspn-ifunc.c: Likewise.
11389         * string/test-strstr-ifunc.c: Likewise.
11390
11391 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11392
11393         * benchtests/Makefile: Remove ifunc tests.
11394         * benchtests/bench-string.h: Define TEST_IFUNC.
11395         * benchtests/bench-bcopy-ifunc.c: Remove.
11396         * benchtests/bench-bzero-ifunc.c: Likewise.
11397         * benchtests/bench-memccpy-ifunc.c: Likewise.
11398         * benchtests/bench-memchr-ifunc.c: Likewise.
11399         * benchtests/bench-memcmp-ifunc.c: Likewise.
11400         * benchtests/bench-memcpy-ifunc.c: Likewise.
11401         * benchtests/bench-memmem-ifunc.c: Likewise.
11402         * benchtests/bench-memmove-ifunc.c: Likewise.
11403         * benchtests/bench-mempcpy-ifunc.c: Likewise.
11404         * benchtests/bench-memrchr-ifunc.c: Likewise.
11405         * benchtests/bench-memset-ifunc.c: Likewise.
11406         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
11407         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
11408         * benchtests/bench-stpcpy-ifunc.c: Likewise.
11409         * benchtests/bench-stpncpy-ifunc.c: Likewise.
11410         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
11411         * benchtests/bench-strcasestr-ifunc.c: Likewise.
11412         * benchtests/bench-strcat-ifunc.c: Likewise.
11413         * benchtests/bench-strchr-ifunc.c: Likewise.
11414         * benchtests/bench-strchrnul-ifunc.c: Likewise.
11415         * benchtests/bench-strcmp-ifunc.c: Likewise.
11416         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
11417         * benchtests/bench-strcpy-ifunc.c: Likewise.
11418         * benchtests/bench-strcspn-ifunc.c: Likewise.
11419         * benchtests/bench-strlen-ifunc.c: Likewise.
11420         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
11421         * benchtests/bench-strncat-ifunc.c: Likewise.
11422         * benchtests/bench-strncmp-ifunc.c: Likewise.
11423         * benchtests/bench-strncpy-ifunc.c: Likewise.
11424         * benchtests/bench-strnlen-ifunc.c: Likewise.
11425         * benchtests/bench-strpbrk-ifunc.c: Likewise.
11426         * benchtests/bench-strrchr-ifunc.c: Likewise.
11427         * benchtests/bench-strsep-ifunc.c: Likewise.
11428         * benchtests/bench-strspn-ifunc.c: Likewise.
11429         * benchtests/bench-strstr-ifunc.c: Likewise.
11430
11431 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11432
11433         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
11434
11435 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
11436
11437         * resolv/netdb.h: Use __glibc_reserved instead __unused.
11438         * rt/aio.h: Likewise.
11439         * sysdeps/gnu/bits/utmp.h: Likewise.
11440         * sysdeps/gnu/bits/utmpx.h: Likewise.
11441         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
11442         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
11443         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
11444         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
11445         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
11446         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
11447         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
11448         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
11449         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
11450         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
11451         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
11452         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
11453         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
11454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
11455         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
11456         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
11457         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
11458         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
11459         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
11460         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
11461         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
11462         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
11463         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
11464         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
11465         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
11466         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11467         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
11468         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
11469         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
11470         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
11471         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
11472         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
11473         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
11474         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
11475         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
11476         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
11477         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
11478         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
11479         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
11480         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
11481         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11482         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11483
11484 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
11485
11486         [BZ #16245]
11487         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
11488         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
11489
11490 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
11491
11492         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
11493         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
11494         Likewise.
11495
11496 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11497
11498         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
11499         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
11500         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
11501         (__fesetround): Remove define.
11502         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
11503         rounding and exceptions handling.
11504         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
11505         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
11506         (__fe_nomask_env): Likewise.
11507         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
11508         __fegetround instead of fegetround.
11509         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
11510         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
11511
11512 2013-11-21  Roland McGrath  <roland@hack.frob.com>
11513
11514         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
11515         it's there.
11516
11517         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
11518
11519 2013-11-21  Meador Inge  <meadori@codesourcery.com>
11520
11521         [BZ #11157]
11522         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
11523         (encrypt_r): Likewise.
11524         * malloc/obstack.h (obstack_free): Likewise.
11525         * posix/unistd.h (encrypt): Likewise.
11526
11527 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
11528
11529         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
11530         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
11531         DL_CALL_DT_FINI() that call the functions directly.
11532         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
11533         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
11534         * elf/dl-fini.c: Likewise.
11535
11536 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
11537
11538         * malloc/hooks.c (memalign_check): Add alignment rounding.
11539         * malloc/malloc.c (_mid_memalign): New function.
11540         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
11541         Implement by calling _mid_memalign.
11542         * manual/probes.texi (Memory Allocation Probes): Remove
11543         memory_valloc_retry and memory_pvalloc_retry.
11544
11545 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11546
11547         * locale/programs/locarchive.c (open_archive): Add const
11548         qualifier to ARCHIVEFNAME and copy default fname to
11549         DEFAULT_FNAME.
11550
11551         [BZ #15601]
11552         * libio/tst-widetext.input: Rename Oriya to Odia.
11553         * locale/iso-639.def: Likewise.
11554
11555         * manual/probes.texi (Mathematical Function Probes): Add
11556         documentation for sin, cos, asin and acos probes.
11557         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
11558         (__sin32): Add slowasin probe.
11559         (__cos32): Add slowacos probe.
11560         (__mpsin): Add slowsin probe.
11561         (__mpcos): Add slowcos probe.
11562
11563 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
11564
11565         [BZ #15483]
11566         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
11567         thread-local __sim_exceptions_thread and global
11568         __sim_exceptions_global.
11569         (__sim_disabled_exceptions): Change to thread-local
11570         __sim_disabled_exceptions_thread and global
11571         __sim_disabled_exceptions_global.
11572         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11573         and global __sim_round_mode_global.
11574         (__simulate_exceptions): Use thread-local floating-point state and
11575         set global state from it as needed.
11576         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
11577         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
11578         __sim_round_mode_thread.
11579         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
11580         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
11581         and global __sim_exceptions_global.
11582         (__sim_disabled_exceptions): Change to thread-local
11583         __sim_disabled_exceptions_thread and global
11584         __sim_disabled_exceptions_global.
11585         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
11586         and global __sim_round_mode_global.
11587         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
11588         (SIM_SET_GLOBAL): Likewise.
11589         * sysdeps/powerpc/soft-fp/sfp-machine.h
11590         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
11591         __sim_round_mode_thread.
11592         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
11593         __sim_disabled_exceptions_thread.
11594         (__sim_exceptions): Change to __sim_exceptions_thread.
11595         (__sim_disabled_exceptions): Change to
11596         __sim_disabled_exceptions_thread.
11597         (__sim_round_mode): Change to __sim_round_mode_thread.
11598         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
11599         thread-local floating-point state and set global state from it as
11600         needed.
11601         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
11602         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
11603         (__sim_disabled_exceptions): Remove extern declaration.
11604         (feenableexcept): Use thread-local floating-point state and set
11605         global state from it as needed.
11606         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
11607         extern declaration.
11608         (__sim_disabled_exceptions): Likewise.
11609         (__sim_round_mode): Likewise.
11610         (__fegetenv): Use thread-local floating-point state.
11611         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
11612         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
11613         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
11614         floating-point state and set global state from it as needed.
11615         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
11616         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
11617         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
11618         Likewise.
11619         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
11620         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
11621         Likewise.
11622         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
11623         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
11624         Use __sim_round_mode_thread.
11625         * math/test-fenv-tls.c: New file.
11626         * math/Makefile (tests): Add test-fenv-tls.
11627         ($(objpfx)test-fenv-tls): Depend on
11628         $(common-objpfx)nptl/libpthread.so.
11629
11630 2013-11-19  Andreas Schwab  <schwab@suse.de>
11631
11632         * locale/programs/locale.c (show_info): Decode wordarray elements.
11633         * locale/categories.def (LC_MONETARY): Add element for
11634         _NL_MONETARY_CRNCYSTR.
11635         * locale/C-monetary.c (conversion_rate): New variable.
11636         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
11637         element.
11638
11639 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
11640
11641         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
11642         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
11643
11644 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
11645
11646         * elf/Makefile (tst-auxv): New test.
11647         * elf/tst-auxv.c: New
11648         * elf/rtld.c (dl_main): Adjust AT_EXECFN
11649
11650 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
11651
11652         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
11653         (hidden_proto): Caller changed.
11654         (hidden_tls_proto): New macro.
11655         (libc_hidden_tls_proto): Likewise.
11656         (rtld_hidden_tls_proto): Likewise.
11657         (libm_hidden_tls_proto): Likewise.
11658         (libresolv_hidden_tls_proto): Likewise.
11659         (librt_hidden_tls_proto): Likewise.
11660         (libdl_hidden_tls_proto): Likewise.
11661         (libnss_files_hidden_tls_proto): Likewise.
11662         (libnsl_hidden_tls_proto): Likewise.
11663         (libnss_nisplus_hidden_tls_proto): Likewise.
11664         (libutil_hidden_tls_proto): Likewise.
11665
11666 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
11667
11668         [BZ #10253]
11669         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
11670         (decompose_rpath): Defer expansion to fillin_rpath.
11671         (_dl_init_paths): Pass linkmap to fillin_rpath.
11672
11673 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11674
11675         * benchtests/Makefile: Add strsep.
11676         * benchtests/bench-strsep.c: New file: strsep benchtest.
11677         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
11678
11679 2013-11-18  Andreas Schwab  <schwab@suse.de>
11680
11681         * locale/programs/locale.c (show_info) [case byte]: Check for
11682         '\377' instead of '\177'.
11683         * locale/C-monetary.c (not_available): Always use "\377".
11684         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
11685         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
11686         detect unavailable sign_posn locale elements.
11687         * locale/localeconv.c (__localeconv): For grouping and
11688         mon_grouping handle "\177" and "\377" like no grouping.
11689         (INT_ELEM): New macro.  Use it to set all numeric members.
11690         * locale/programs/ld-monetary.c (monetary_read)
11691         <tok_mon_grouping>: Normalize single -1 to the empty string.
11692         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
11693         Likewise.
11694
11695 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11696
11697         [BZ #16055]
11698         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
11699         when we match (nil).
11700         * stdio-common/tst-sscanf.c (struct test): Add testcase.
11701
11702 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
11703
11704         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
11705         (NO_TEST_INLINE): Update value.
11706         (ERRNO_UNCHANGED): Likewise.
11707         (ERRNO_EDOM): Likewise.
11708         (ERRNO_ERANGE): Likewise.
11709         (IGNORE_RESULT): Likewise.
11710         (check_float_internal): Check signs of NaN results if
11711         TEST_NAN_SIGN used.
11712         (check_complex): Pass TEST_NAN_SIGN flag through to second
11713         check_float_internal call.
11714         (copysign_test_data): Add tests with quiet NaNs as second
11715         argument.  Use TEST_NAN_SIGN.
11716         (fabs_test_data): Add test of negative quiet NaN argument.  Use
11717         TEST_NAN_SIGN.
11718         (signbit_test_data): Add tests of quiet NaN argument.
11719         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
11720
11721         * math/gen-libm-test.pl (show_exceptions): Take extra argument
11722         $ignore_result.
11723         (parse_args): Handle function results specified as IGNORE.
11724         * math/libm-test.inc (IGNORE_RESULT): New macro.
11725         (check_float_internal): Do not check numerical result if flag
11726         IGNORE_RESULT set.
11727         (check_complex): Pass through IGNORE_RESULT to second
11728         check_float_internal call.
11729         (check_int): Do not check numerical result if flag IGNORE_RESULT
11730         set.
11731         (check_long): Likewise.
11732         (check_bool): Likewise.
11733         (check_longlong): Likewise.
11734         (lrint_test_data): Add tests of infinite and NaN arguments.
11735         (lrint_tonearest_test_data): Likewise.
11736         (lrint_towardzero_test_data): Likewise.
11737         (lrint_downward_test_data): Likewise.
11738         (lrint_upward_test_data): Likewise.
11739         (llrint_test_data): Likewise.
11740         (llrint_tonearest_test_data): Likewise.
11741         (llrint_towardzero_test_data): Likewise.
11742         (llrint_downward_test_data): Likewise.
11743         (llrint_upward_test_data): Likewise.
11744         (lround_test_data): Likewise.
11745         (llround_test_data): Likewise.
11746
11747         * math/libm-test.inc (NO_TEST_INLINE): New macro.
11748         (ERRNO_UNCHANGED): Update value.
11749         (ERRNO_EDOM): Likewise.
11750         (ERRNO_ERANGE): Likewise.
11751         (NO_TEST_INLINE_FLOAT): New macro.
11752         (NO_TEST_INLINE_DOUBLE): Likewise.
11753         (enable_test): New function.
11754         (RUN_TEST_f_f): Check enable_test before running test.
11755         (RUN_TEST_2_f): Likewise.
11756         (RUN_TEST_fff_f): Likewise.
11757         (RUN_TEST_c_f): Likewise.
11758         (RUN_TEST_f_f1): Likewise.
11759         (RUN_TEST_fF_f1): Likewise.
11760         (RUN_TEST_fI_f1): Likewise.
11761         (RUN_TEST_ffI_f1): Likewise.
11762         (RUN_TEST_c_c): Likewise.
11763         (RUN_TEST_cc_c): Likewise.
11764         (RUN_TEST_f_i): Likewise.
11765         (RUN_TEST_f_i_tg): Likewise.
11766         (RUN_TEST_ff_i_tg): Likewise.
11767         (RUN_TEST_f_b): Likewise.
11768         (RUN_TEST_f_b_tg): Likewise.
11769         (RUN_TEST_f_l): Likewise.
11770         (RUN_TEST_f_L): Likewise.
11771         (RUN_TEST_fFF_11): Likewise.
11772         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
11773         conditionals.
11774         (cosh_test_data): Likewise.
11775         (exp_test_data): Likewise.
11776         (expm1_test_data): Likewise.
11777         (hypot_test_data): Likewise.
11778         (pow_test_data): Likewise.
11779         (sinh_test_data): Likewise.
11780         (tanh_test_data): Likewise.
11781         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
11782         flags argument.
11783
11784         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
11785         tests with quiet NaN input and output.
11786         (acosh_test_data): Likewise.
11787         (asin_test_data): Likewise.
11788         (asinh_test_data): Likewise.
11789         (atan_test_data): Likewise.
11790         (atanh_test_data): Likewise.
11791         (atan2_test_data): Likewise.
11792         (cbrt_test_data): Likewise.
11793         (cos_test_data): Likewise.
11794         (cosh_test_data): Likewise.
11795         (erf_test_data): Likewise.
11796         (erfc_test_data): Likewise.
11797         (exp_test_data): Likewise.
11798         (exp10_test_data): Likewise.
11799         (exp2_test_data): Likewise.
11800         (expm1_test_data): Likewise.
11801         (hypot_test_data): Likewise.
11802         (j0_test_data): Likewise.
11803         (j1_test_data): Likewise.
11804         (jn_test_data): Likewise.
11805         (lgamma_test_data): Likewise.
11806         (log_test_data): Likewise.
11807         (log10_test_data): Likewise.
11808         (log1p_test_data): Likewise.
11809         (log2_test_data): Likewise.
11810         (pow_test_data): Likewise.
11811         (scalb_test_data): Likewise.
11812         (sin_test_data): Likewise.
11813         (sincos_test_data): Likewise.
11814         (sinh_test_data): Likewise.
11815         (tan_test_data): Likewise.
11816         (tanh_test_data): Likewise.
11817         (tgamma_test_data): Likewise.
11818         (y0_test_data): Likewise.
11819         (y1_test_data): Likewise.
11820         (yn_test_data): Likewise.
11821
11822         [BZ #16167]
11823         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
11824         argument being NaN and avoid computations with second argument in
11825         that case.
11826         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11827         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11828         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
11829
11830 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
11831
11832         * locale/iso-639.def: Add Chitwani Tharu (the).
11833
11834 2013-11-14  Andreas Schwab  <schwab@suse.de>
11835
11836         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
11837         word instead of empty string.
11838
11839 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11840
11841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11842         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
11843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11844         (__fe_nomask_env): Likewise.
11845
11846 2013-11-13  Steve Ellcey  <sellcey@mips.com>
11847
11848         * benchtests/bench-timing.h: Include time.h.
11849
11850 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
11851
11852         [BZ #15997]
11853         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
11854         to 3.4.0 for x32.
11855         * sysdeps/unix/sysv/linux/configure: Regenerated.
11856
11857 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
11858
11859         [BZ #16151]
11860         * stdlib/strtod_l.c (round_and_return): Do not consider
11861         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
11862         exponent one less than half the least subnormal exponent.
11863         * stdlib/test-strtod-round-data: Add more tests.
11864         * stdlib/tst-strtod-round.c (tests): Regenerated.
11865
11866 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11867
11868         [BZ #14143]
11869         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
11870         (__fe_mask_env): Likewise.
11871         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
11872         libm_hidden_proto and add function prototype.
11873         (__fe_mask_env): Add function prototype.
11874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
11875         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
11876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
11877         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
11878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
11879         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
11880
11881 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11882
11883         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
11884         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
11885
11886 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
11887
11888         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
11889         of htab_find_slot().
11890
11891 2013-11-11  David S. Miller  <davem@davemloft.net>
11892
11893         [BZ #16150]
11894         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
11895         symbol in the non-vis3 case in static builds.
11896         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
11897         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
11898         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
11899         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
11900
11901 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
11902
11903         [BZ #387]
11904         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
11905         it is empty.
11906
11907 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11908
11909         * benchtests/Makefile: Add bench-strtod.
11910         * benchtests/bench-strtod.c: New file: strtod benchtest
11911
11912 2013-11-11  Andreas Schwab  <schwab@suse.de>
11913
11914         [BZ #16153]
11915         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
11916         terminating NUL in key length.
11917
11918 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11919
11920         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
11921         Add artificial ODP entry for vDSO symbol for PPC64.
11922         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
11923         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
11924
11925 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
11926
11927         [BZ #15374]
11928         * nss/getent.c (services_keys): Recognize services starting with digit.
11929
11930 2013-11-06  David S. Miller  <davem@davemloft.net>
11931
11932         [BZ #15985]
11933         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
11934         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
11935
11936 2013-11-06  Will Newton  <will.newton@linaro.org>
11937
11938         * manual/memory.texi (Malloc Examples): Remove register
11939         keyword from examples.
11940
11941 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
11942
11943         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
11944
11945 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
11946
11947         [BZ #6981]
11948         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
11949         depending on [__GCC_IEC_559 > 0].
11950         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
11951         depending on [__GCC_IEC_559_COMPLEX > 0].
11952
11953 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
11954
11955         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
11956         to iso-639.def.
11957
11958 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
11959
11960         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
11961
11962 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
11963
11964         [BZ #16112]
11965         * malloc/malloc (malloc_info): Do not handle first bin as
11966         special case.
11967
11968 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
11969
11970         * locale/iso-639.def: Add Central Nahuatl (nhn).
11971
11972 2013-11-01  Bruno Haible  <bruno@clisp.org>
11973
11974         [BZ #7003]
11975         * manual/math.texi (BSD Random): Specify range upper bound as
11976         in POSIX.
11977
11978 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
11979
11980         * locale/iso-639.def: Add Meadow Mari (mhr).
11981
11982 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
11983
11984         [BZ #14752], [BZ #15763]
11985         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
11986         Validate name.
11987         * rt/tst_shm.c: Add test for escaping directory.
11988
11989 2013-10-31  Andreas Schwab  <schwab@suse.de>
11990
11991         [BZ #15917]
11992         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
11993         followed by 'x' as part of digit sequence.
11994         * stdio-common/tst-sscanf.c (double_tests2): New tests.
11995
11996 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
11997
11998         [BZ #16037]
11999         * configure.ac: allow GNU Make 4.0 and greater.
12000         * configure: Regenerated.
12001
12002 2013-10-30  Will Newton  <will.newton@linaro.org>
12003
12004         [BZ #16038]
12005         * malloc/hooks.c (memalign_check): Limit alignment to the
12006         maximum representable power of two.
12007         * malloc/malloc.c (__libc_memalign): Likewise.
12008         * malloc/tst-memalign.c (do_test): Add test for very
12009         large alignment values.
12010         * malloc/tst-posix_memalign.c (do_test): Likewise.
12011
12012 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12013
12014         [BZ #11087]
12015         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
12016         (munmap_chunk): Likewise.
12017         (mremap_chunk): Likewise.
12018
12019 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
12020
12021         [BZ #15799]
12022         * stdlib/div.c (div): Remove obsolete code.
12023         * stdlib/ldiv.c (ldiv): Likewise.
12024         * stdlib/lldiv.c (lldiv): Likewise.
12025
12026 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12027
12028         [BZ #16071]
12029         * nss/nss_files/files-XXX.c (get_contents_ret): New
12030         enumerator.
12031         (get_contents): New function.
12032         (internal_getent): Use it.  Expand size of LINEBUFLEN.
12033
12034 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
12035
12036         * configure.in: Moved to ...
12037         * configure.ac: ... here. Change reference to configure.in
12038         to configure.ac.
12039         * sysdeps/arm/preconfigure.ac: ... here.
12040         configure.in to configure.ac.
12041         * sysdeps/gnu/configure.in: Moved to ...
12042         * sysdeps/gnu/configure.ac: ... here.
12043         * sysdeps/i386/configure.in: Moved to ...
12044         * sysdeps/i386/configure.ac: ... here.
12045         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
12046         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
12047         * sysdeps/mach/configure.in: Moved to ...
12048         * sysdeps/mach/configure.ac: ... here.
12049         * sysdeps/mach/hurd/configure.in: Moved to ...
12050         * sysdeps/mach/hurd/configure.ac: ... here.
12051         * sysdeps/powerpc/configure.in: Moved to ...
12052         * sysdeps/powerpc/configure.ac: ... here.
12053         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
12054         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
12055         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
12056         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
12057         * sysdeps/s390/s390-32/configure.in: Moved to ...
12058         * sysdeps/s390/s390-32/configure.ac: ... here.
12059         * sysdeps/s390/s390-64/configure.in: Moved to ...
12060         * sysdeps/s390/s390-64/configure.ac: ... here.
12061         * sysdeps/sh/configure.in: Moved to ...
12062         * sysdeps/sh/configure.ac: ... here.
12063         * sysdeps/sparc/configure.in: Moved to ...
12064         * sysdeps/sparc/configure.ac: ... here.
12065         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
12066         * sysdeps/unix/sysv/linux/configure.ac: ... here.
12067         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
12068         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
12069         * sysdeps/x86_64/configure.in: Moved to ...
12070         * sysdeps/x86_64/configure.ac: ... here.
12071         * sysdeps/x86_64/preconfigure.in: Moved to ...
12072         * sysdeps/x86_64/preconfigure.ac: ... here.
12073         * aclocal.m4: Change reference to configure.in to configure.ac.
12074         * config.h.in: Likewise.
12075         * manual/install.texi: Likewise.
12076         * manual/maint.texi: Likewise.
12077         * Makefile: Likewise.
12078         * malloc/Makefile: Likewise.
12079         * nscd/Makefile: Likewise.
12080         * Makeconfig: Change reference to configure.in and
12081         preconfigure.in to configure.ac and preconfigure.ac
12082         respectively.
12083         * INSTALL: Regenerated.
12084         * configure: Likewise.
12085         * sysdeps/gnu/configure: Likewise.
12086         * sysdeps/i386/configure: Likewise.
12087         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
12088         * sysdeps/mach/configure: Likewise.
12089         * sysdeps/mach/hurd/configure: Likewise.
12090         * sysdeps/powerpc/configure: Likewise.
12091         * sysdeps/powerpc/powerpc32/configure: Likewise.
12092         * sysdeps/powerpc/powerpc64/configure: Likewise.
12093         * sysdeps/s390/s390-32/configure: Likewise.
12094         * sysdeps/s390/s390-64/configure: Likewise.
12095         * sysdeps/sh/configure: Likewise.
12096         * sysdeps/sparc/configure: Likewise.
12097         * sysdeps/unix/sysv/linux/configure: Likewise.
12098         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
12099         * sysdeps/x86_64/configure: Likewise.
12100         * sysdeps/x86_64/preconfigure: Likewise.
12101
12102 2013-10-29  Andreas Schwab  <schwab@suse.de>
12103
12104         * stdio-common/Makefile (tst-swscanf-ENV): Define.
12105
12106 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12107
12108         * benchtests/pow-inputs: Add new inputs.
12109
12110         * benchtests/exp-inputs: Add new inputs.
12111
12112         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
12113         conditional check for return value.
12114         (__cos32): Likewise.
12115
12116 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12117
12118         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
12119         to provide a boost for large inputs with word alignment.
12120         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
12121         implementation based on optimized PPC64 strcpy.
12122         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
12123         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
12124         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
12125         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
12126
12127 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12128
12129         [BZ #2801]
12130         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
12131
12132 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12133
12134         [BZ #14876]
12135         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
12136         * time/tst-strptime.c (day_tests): Add testcase.
12137
12138 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
12139
12140         [BZ #14029]
12141         * manual/pattern.texi: Acknowledge that fnmatch can fail.
12142
12143 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
12144
12145         [BZ #16074]
12146         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
12147         MAP_FAILED on error.
12148
12149 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
12150
12151         [BZ #16072]
12152         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
12153         heap for large requests.
12154
12155 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
12156
12157         [BZ #9954]
12158         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
12159         result if the result has no associated interface.
12160         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
12161         interface for all 127.X.Y.Z addresses.
12162
12163 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
12164
12165         * locale/iso-639.def: Add Ligurian (lij)
12166
12167 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
12168
12169         [BZ #15825]
12170         * sunrpc/rpc_main.c: Document rpcgen -5.
12171
12172 2013-10-19  Michael Stahl  <mstahl@redhat.com>
12173
12174         * elf/rtld.c (do_preload): Print the reason why preloading failed.
12175
12176 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12177
12178         [BZ #10278]
12179         * posix/glob.c: Match only directories when trailing slash is present.
12180         * posix/tst-gnuglob.c (my_opendir): Do not open files.
12181         (main): Add testcase.
12182
12183 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
12184
12185         [BZ #15670]
12186         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
12187
12188 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
12189
12190         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
12191         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
12192         AUTH_DES and cindex for FIPS 140-2.
12193         (DES Encryption): Add cindex FIPS 46-3.
12194
12195         * locale/locarchive.h (struct locarhandle): Add fname.
12196         * locale/programs/localedef.c (main): Pass ARGV[remaining]
12197         if an optional argument was specified to --list-archive,
12198         otherwise NULL.
12199         * locale/programs/locarchive.c (show_archive_content): Take new
12200         argument fname and pass it via ah.fname to open_archive.
12201         * locale/programs/localedef.h: Update decl.
12202         (open_archive): If AH->fname is non-null, open that file
12203         rather than the default file name, and don't ignore ENOENT.
12204         (create_archive): Set AH.fname to NULL.
12205         (delete_locales_from_archive): Likewise.
12206         (add_locales_to_archive): Likewise.
12207         * locale/programs/locfile.c (write_all_categories): Likewise.
12208
12209 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
12210             Aldy Hernandez  <aldyh@redhat.com>
12211
12212         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
12213         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
12214         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
12215         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
12216         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
12217         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
12218         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
12219         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
12220         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
12221         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
12222         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
12223         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
12224         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
12225         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
12226         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
12227         Likewise.
12228         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
12229         Likewise.
12230         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
12231         Likewise.
12232         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
12233         Likewise.
12234         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
12235         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
12236         Likewise.
12237         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
12238         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
12239         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
12240         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
12241         Likewise.
12242         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
12243         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
12244         * sysdeps/powerpc/preconfigure: Likewise.
12245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
12246         Likewise.
12247         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
12248         Replace contents of file by #include of <fenv_libc.h>.
12249         * sysdeps/powerpc/soft-fp/sfp-machine.h
12250         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
12251         and <sys/prctl.h>.
12252         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
12253         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
12254         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
12255         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
12256         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
12257         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
12258         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
12259         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
12260         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
12261         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
12262         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
12263         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
12264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
12265         Allow copysignl PLT reference to be missing.
12266
12267 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
12268             Joseph Myers  <joseph@codesourcery.com
12269
12270         [BZ #15948]
12271         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
12272         single character.
12273         (add_to_tablewc): Assert sequence of wide characters is nonempty.
12274
12275 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12276
12277         * elf/tst-tls-dlinfo.c: Don't include tls.h.
12278         * elf/tst-tls1.c: Likewise.
12279         * elf/tst-tls10.h: Likewise.
12280         * elf/tst-tls14.c: Likewise.
12281         * elf/tst-tls2.c: Likewise.
12282         * elf/tst-tls3.c: Likewise.
12283         * elf/tst-tls4.c: Likewise.
12284         * elf/tst-tls5.c: Likewise.
12285         * elf/tst-tls6.c: Likewise.
12286         * elf/tst-tls7.c: Likewise.
12287         * elf/tst-tls8.c: Likewise.
12288         * elf/tst-tls9.c: Likewise.
12289         * elf/tst-tlsmod1.c: Likewise.
12290         * elf/tst-tlsmod13.c: Likewise.
12291         * elf/tst-tlsmod13a.c: Likewise.
12292         * elf/tst-tlsmod14a.c: Likewise.
12293         * elf/tst-tlsmod16a.c: Likewise.
12294         * elf/tst-tlsmod16b.c: Likewise.
12295         * elf/tst-tlsmod2.c: Likewise.
12296         * elf/tst-tlsmod3.c: Likewise.
12297         * elf/tst-tlsmod4.c: Likewise.
12298         * elf/tst-tlsmod5.c: Likewise.
12299         * elf/tst-tlsmod6.c: Likewise.
12300
12301 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
12302
12303         [BZ #12486]
12304         * malloc/malloc.c: remove checks for statistics.
12305
12306 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12307
12308         [BZ #15277]
12309         * inet/inet_net.c (inet_network): Detect additional invalid strings.
12310         * inet/tst-network.c: Add testcase.
12311
12312 2013-10-17  Andreas Schwab  <schwab@suse.de>
12313
12314         [BZ #15218]
12315         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
12316         to determine canonical name.
12317
12318 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
12319
12320         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
12321         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
12322         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12323         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
12324         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12325         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
12326         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
12327         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
12328         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
12329         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
12330         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
12331         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
12332         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12333         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
12334         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
12335         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
12336         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12337         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12338         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
12339         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
12340         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12341         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12342         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12343         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
12344         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
12345         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12346         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12347         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
12348         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12349         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
12350         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
12351         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12352         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
12353         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
12354         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
12355         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12356         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12357         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
12358         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
12359         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
12360         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
12361         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
12362         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
12363         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
12364         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
12365         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12366         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
12367         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
12368         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
12369         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
12370         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
12371         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
12372         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12373         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
12374         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12375         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
12376         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12377         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
12378
12379 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
12380
12381         [BZ #16041]
12382         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
12383         make result into a quiet NaN.
12384
12385 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
12386
12387         * soft-fp/adddf3.c: Fix horizontal whitespace.
12388         * soft-fp/addsf3.c: Likewise.
12389         * soft-fp/addtf3.c: Likewise.
12390         * soft-fp/divdf3.c: Likewise.
12391         * soft-fp/divsf3.c: Likewise.
12392         * soft-fp/divtf3.c: Likewise.
12393         * soft-fp/double.h: Likewise.
12394         * soft-fp/eqdf2.c: Likewise.
12395         * soft-fp/eqsf2.c: Likewise.
12396         * soft-fp/eqtf2.c: Likewise.
12397         * soft-fp/extenddftf2.c: Likewise.
12398         * soft-fp/extended.h: Likewise.
12399         * soft-fp/extendsfdf2.c: Likewise.
12400         * soft-fp/extendsftf2.c: Likewise.
12401         * soft-fp/extendxftf2.c: Likewise.
12402         * soft-fp/fixdfdi.c: Likewise.
12403         * soft-fp/fixdfsi.c: Likewise.
12404         * soft-fp/fixdfti.c: Likewise.
12405         * soft-fp/fixsfdi.c: Likewise.
12406         * soft-fp/fixsfsi.c: Likewise.
12407         * soft-fp/fixsfti.c: Likewise.
12408         * soft-fp/fixtfdi.c: Likewise.
12409         * soft-fp/fixtfsi.c: Likewise.
12410         * soft-fp/fixtfti.c: Likewise.
12411         * soft-fp/fixunsdfdi.c: Likewise.
12412         * soft-fp/fixunsdfsi.c: Likewise.
12413         * soft-fp/fixunsdfti.c: Likewise.
12414         * soft-fp/fixunssfdi.c: Likewise.
12415         * soft-fp/fixunssfsi.c: Likewise.
12416         * soft-fp/fixunssfti.c: Likewise.
12417         * soft-fp/fixunstfdi.c: Likewise.
12418         * soft-fp/fixunstfsi.c: Likewise.
12419         * soft-fp/fixunstfti.c: Likewise.
12420         * soft-fp/floatdidf.c: Likewise.
12421         * soft-fp/floatdisf.c: Likewise.
12422         * soft-fp/floatditf.c: Likewise.
12423         * soft-fp/floatsidf.c: Likewise.
12424         * soft-fp/floatsisf.c: Likewise.
12425         * soft-fp/floatsitf.c: Likewise.
12426         * soft-fp/floattidf.c: Likewise.
12427         * soft-fp/floattisf.c: Likewise.
12428         * soft-fp/floattitf.c: Likewise.
12429         * soft-fp/floatundidf.c: Likewise.
12430         * soft-fp/floatundisf.c: Likewise.
12431         * soft-fp/floatunditf.c: Likewise.
12432         * soft-fp/floatunsidf.c: Likewise.
12433         * soft-fp/floatunsisf.c: Likewise.
12434         * soft-fp/floatunsitf.c: Likewise.
12435         * soft-fp/floatuntidf.c: Likewise.
12436         * soft-fp/floatuntisf.c: Likewise.
12437         * soft-fp/floatuntitf.c: Likewise.
12438         * soft-fp/fmadf4.c: Likewise.
12439         * soft-fp/fmasf4.c: Likewise.
12440         * soft-fp/fmatf4.c: Likewise.
12441         * soft-fp/gedf2.c: Likewise.
12442         * soft-fp/gesf2.c: Likewise.
12443         * soft-fp/getf2.c: Likewise.
12444         * soft-fp/ledf2.c: Likewise.
12445         * soft-fp/lesf2.c: Likewise.
12446         * soft-fp/letf2.c: Likewise.
12447         * soft-fp/muldf3.c: Likewise.
12448         * soft-fp/mulsf3.c: Likewise.
12449         * soft-fp/multf3.c: Likewise.
12450         * soft-fp/negdf2.c: Likewise.
12451         * soft-fp/negsf2.c: Likewise.
12452         * soft-fp/negtf2.c: Likewise.
12453         * soft-fp/op-1.h: Likewise.
12454         * soft-fp/op-2.h: Likewise.
12455         * soft-fp/op-4.h: Likewise.
12456         * soft-fp/op-8.h: Likewise.
12457         * soft-fp/op-common.h: Likewise.
12458         * soft-fp/quad.h: Likewise.
12459         * soft-fp/single.h: Likewise.
12460         * soft-fp/soft-fp.h: Likewise.
12461         * soft-fp/sqrtdf2.c: Likewise.
12462         * soft-fp/sqrtsf2.c: Likewise.
12463         * soft-fp/sqrttf2.c: Likewise.
12464         * soft-fp/subdf3.c: Likewise.
12465         * soft-fp/subsf3.c: Likewise.
12466         * soft-fp/subtf3.c: Likewise.
12467         * soft-fp/truncdfsf2.c: Likewise.
12468         * soft-fp/trunctfdf2.c: Likewise.
12469         * soft-fp/trunctfsf2.c: Likewise.
12470         * soft-fp/trunctfxf2.c: Likewise.
12471         * soft-fp/unorddf2.c: Likewise.
12472         * soft-fp/unordsf2.c: Likewise.
12473         * soft-fp/unordtf2.c: Likewise.
12474
12475 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
12476
12477         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
12478         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
12479
12480 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
12481
12482         * elf/dl-libc.c: Clear initfini list after freeing.
12483
12484 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
12485
12486         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
12487         * soft-fp/addsf3.c: Likewise.
12488         * soft-fp/addtf3.c: Likewise.
12489         * soft-fp/divdf3.c: Likewise.
12490         * soft-fp/divsf3.c: Likewise.
12491         * soft-fp/divtf3.c: Likewise.
12492         * soft-fp/double.h: Likewise.
12493         * soft-fp/eqdf2.c: Likewise.
12494         * soft-fp/eqsf2.c: Likewise.
12495         * soft-fp/eqtf2.c: Likewise.
12496         * soft-fp/extenddftf2.c: Likewise.
12497         * soft-fp/extended.h: Likewise.
12498         * soft-fp/extendsfdf2.c: Likewise.
12499         * soft-fp/extendsftf2.c: Likewise.
12500         * soft-fp/extendxftf2.c: Likewise.
12501         * soft-fp/fixdfdi.c: Likewise.
12502         * soft-fp/fixdfsi.c: Likewise.
12503         * soft-fp/fixdfti.c: Likewise.
12504         * soft-fp/fixsfdi.c: Likewise.
12505         * soft-fp/fixsfsi.c: Likewise.
12506         * soft-fp/fixsfti.c: Likewise.
12507         * soft-fp/fixtfdi.c: Likewise.
12508         * soft-fp/fixtfsi.c: Likewise.
12509         * soft-fp/fixtfti.c: Likewise.
12510         * soft-fp/fixunsdfdi.c: Likewise.
12511         * soft-fp/fixunsdfsi.c: Likewise.
12512         * soft-fp/fixunsdfti.c: Likewise.
12513         * soft-fp/fixunssfdi.c: Likewise.
12514         * soft-fp/fixunssfsi.c: Likewise.
12515         * soft-fp/fixunssfti.c: Likewise.
12516         * soft-fp/fixunstfdi.c: Likewise.
12517         * soft-fp/fixunstfsi.c: Likewise.
12518         * soft-fp/fixunstfti.c: Likewise.
12519         * soft-fp/floatdidf.c: Likewise.
12520         * soft-fp/floatdisf.c: Likewise.
12521         * soft-fp/floatditf.c: Likewise.
12522         * soft-fp/floatsidf.c: Likewise.
12523         * soft-fp/floatsisf.c: Likewise.
12524         * soft-fp/floatsitf.c: Likewise.
12525         * soft-fp/floattidf.c: Likewise.
12526         * soft-fp/floattisf.c: Likewise.
12527         * soft-fp/floattitf.c: Likewise.
12528         * soft-fp/floatundidf.c: Likewise.
12529         * soft-fp/floatundisf.c: Likewise.
12530         * soft-fp/floatunsidf.c: Likewise.
12531         * soft-fp/floatunsisf.c: Likewise.
12532         * soft-fp/floatuntidf.c: Likewise.
12533         * soft-fp/floatuntisf.c: Likewise.
12534         * soft-fp/floatuntitf.c: Likewise.
12535         * soft-fp/fmadf4.c: Likewise.
12536         * soft-fp/fmasf4.c: Likewise.
12537         * soft-fp/fmatf4.c: Likewise.
12538         * soft-fp/gedf2.c: Likewise.
12539         * soft-fp/gesf2.c: Likewise.
12540         * soft-fp/getf2.c: Likewise.
12541         * soft-fp/ledf2.c: Likewise.
12542         * soft-fp/lesf2.c: Likewise.
12543         * soft-fp/letf2.c: Likewise.
12544         * soft-fp/muldf3.c: Likewise.
12545         * soft-fp/mulsf3.c: Likewise.
12546         * soft-fp/multf3.c: Likewise.
12547         * soft-fp/negdf2.c: Likewise.
12548         * soft-fp/negsf2.c: Likewise.
12549         * soft-fp/negtf2.c: Likewise.
12550         * soft-fp/op-1.h: Likewise.
12551         * soft-fp/op-2.h: Likewise.
12552         * soft-fp/op-4.h: Likewise.
12553         * soft-fp/op-8.h: Likewise.
12554         * soft-fp/op-common.h: Likewise.
12555         * soft-fp/quad.h: Likewise.
12556         * soft-fp/single.h: Likewise.
12557         * soft-fp/soft-fp.h: Likewise.
12558         * soft-fp/sqrtdf2.c: Likewise.
12559         * soft-fp/sqrtsf2.c: Likewise.
12560         * soft-fp/sqrttf2.c: Likewise.
12561         * soft-fp/subdf3.c: Likewise.
12562         * soft-fp/subsf3.c: Likewise.
12563         * soft-fp/subtf3.c: Likewise.
12564         * soft-fp/truncdfsf2.c: Likewise.
12565         * soft-fp/trunctfdf2.c: Likewise.
12566         * soft-fp/trunctfsf2.c: Likewise.
12567         * soft-fp/trunctfxf2.c: Likewise.
12568         * soft-fp/unorddf2.c: Likewise.
12569         * soft-fp/unordsf2.c: Likewise.
12570         * soft-fp/unordtf2.c: Likewise.
12571
12572 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
12573
12574         [BZ #15672]
12575         * misc/error.c (error_tail): Fix possible buffer overflow.
12576
12577 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
12578
12579         [BZ #13028]
12580         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
12581         address.
12582
12583 2013-10-14  P. J. McDermott  <pj@pehjota.net>
12584
12585         [BZ #832]
12586         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
12587         testing pipefail option.
12588
12589 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12590
12591         * soft-fp/double.h: Indent preprocessor directives inside #if.
12592         * soft-fp/extended.h: Likewise.
12593         * soft-fp/op-2.h: Likewise.
12594         * soft-fp/op-4.h: Likewise.
12595         * soft-fp/op-common.h: Likewise.
12596         * soft-fp/quad.h: Likewise.
12597         * soft-fp/single.h: Likewise.
12598         * soft-fp/soft-fp.h: Likewise.
12599
12600 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
12601
12602         * iconv/iconv_prog.c: Fix typos.
12603         * stdio-common/psiginfo-data.h: Likewise.
12604
12605 2013-10-12   Reuben Thomas <rrt@sc3d.org>
12606
12607         [BZ #15764]
12608         * locale/setlocale.c: Fix typo.
12609
12610 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
12611
12612         [BZ #16036]
12613         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
12614         signaling NaN arguments.
12615         * soft-fp/unordsf2.c (__unordsf2): Likewise.
12616         * soft-fp/unordtf2.c (__unordtf2): Likewise.
12617
12618         [BZ #14910]
12619         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
12620         unordered operands.
12621         * soft-fp/gesf2.c (__gesf2): Likewise.
12622         * soft-fp/getf2.c (__getf2): Likewise.
12623         * soft-fp/ledf2.c (__ledf2): Likewise.
12624         * soft-fp/lesf2.c (__lesf2): Likewise.
12625         * soft-fp/letf2.c (__letf2): Likewise.
12626
12627         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
12628         * soft-fp/eqsf2.c (__eqsf2): Likewise.
12629         * soft-fp/eqtf2.c (__eqtf2): Likewise.
12630         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
12631         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
12632         * soft-fp/fixdfti.c (__fixdfti): Likewise.
12633         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
12634         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
12635         * soft-fp/fixsfti.c (__fixsfti): Likewise.
12636         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
12637         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
12638         * soft-fp/fixtfti.c (__fixtfti): Likewise.
12639         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
12640         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
12641         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
12642         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
12643         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
12644         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
12645         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
12646         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
12647         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
12648         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
12649         * soft-fp/floatdisf.c (__floatdisf): Likewise.
12650         * soft-fp/floatsisf.c (__floatsisf): Likewise.
12651         * soft-fp/floattidf.c (__floattidf): Likewise.
12652         * soft-fp/floattisf.c (__floattisf): Likewise.
12653         * soft-fp/floattitf.c (__floattitf): Likewise.
12654         * soft-fp/floatundidf.c (__floatundidf): Likewise.
12655         * soft-fp/floatundisf.c (__floatundisf): Likewise.
12656         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
12657         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
12658         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
12659         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
12660         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
12661         * soft-fp/gesf2.c (__gesf2): Likewise.
12662         * soft-fp/getf2.c (__getf2): Likewise.
12663         * soft-fp/ledf2.c (__ledf2): Likewise.
12664         * soft-fp/lesf2.c (__lesf2): Likewise.
12665         * soft-fp/letf2.c (__letf2): Likewise.
12666
12667         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
12668         Undefine and redefine.
12669         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
12670         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
12671         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
12672         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
12673         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12674         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
12675         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12676         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
12677         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12678         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
12679         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12680         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
12681         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12682         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
12683         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
12684
12685         [BZ #16032]
12686         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
12687         without decrementing exponent if mantissa >= that for the
12688         denominator, not >.
12689         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
12690         denominator, not >.  Decrement exponent in < case instead of
12691         incrementing in >= case.
12692         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
12693         without decrementing exponent if mantissa >= that for the
12694         denominator, not >.
12695
12696         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
12697         computing saturated result for unsigned overflow.
12698
12699 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
12700             Jeff Law  <law@redhat.com>
12701
12702         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
12703         (atan2Mp): Add systemtap probe marker.
12704         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
12705         (__ieee754_log): Add systemtap probe marker.
12706         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
12707         (atanMp): Add systemtap probe marker.
12708         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
12709         (tanMp): Add systemtap probe marker.
12710         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
12711         (__slowexp): Add systemtap probe marker.
12712         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
12713         (__slowpow): Add systemtap probe marker.
12714         * manual/probes.texi: Document probes.
12715
12716 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
12717
12718         [BZ #15362]
12719         * libio/fileops.c (_IO_new_file_write): Return count of bytes
12720         written.
12721         (_IO_new_file_xsputn): Don't return EOF if nothing has been
12722         written.
12723         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
12724         written to buffer but not flushed.
12725         * libio/iofwrite_u.c:  Likewise.
12726         * libio/iopadn.c:  Return bytes returned even if EOF was
12727         encountered.
12728         * libio/iowpadn.c:  Likewise.
12729         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
12730         if _IO_padn does not write the whole buffer.
12731         [!COMPILE_WPRINTF] (PAD): Likewise.
12732
12733 2013-10-10  David S. Miller  <davem@davemloft.net>
12734
12735         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
12736         directory block.
12737
12738 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12739
12740         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
12741         instead of FSF address.
12742         * soft-fp/fixdfti.c: Likewise.
12743         * soft-fp/fixsfti.c: Likewise.
12744         * soft-fp/fixtfti.c: Likewise.
12745         * soft-fp/fixunsdfti.c: Likewise.
12746         * soft-fp/fixunssfti.c: Likewise.
12747         * soft-fp/fixunstfti.c: Likewise.
12748         * soft-fp/floattidf.c: Likewise.
12749         * soft-fp/floattisf.c: Likewise.
12750         * soft-fp/floattitf.c: Likewise.
12751         * soft-fp/floatuntidf.c: Likewise.
12752         * soft-fp/floatuntisf.c: Likewise.
12753         * soft-fp/floatuntitf.c: Likewise.
12754         * soft-fp/trunctfxf2.c: Likewise.
12755
12756         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
12757         * soft-fp/fixdfti.c: Likewise.
12758         * soft-fp/fixsfti.c: Likewise.
12759         * soft-fp/fixtfti.c: Likewise.
12760         * soft-fp/fixunsdfti.c: Likewise.
12761         * soft-fp/fixunssfti.c: Likewise.
12762         * soft-fp/fixunstfti.c: Likewise.
12763         * soft-fp/floattidf.c: Likewise.
12764         * soft-fp/floattisf.c: Likewise.
12765         * soft-fp/floattitf.c: Likewise.
12766         * soft-fp/floatuntidf.c: Likewise.
12767         * soft-fp/floatuntisf.c: Likewise.
12768         * soft-fp/floatuntitf.c: Likewise.
12769         * soft-fp/trunctfxf2.c: Likewise.
12770
12771 2013-10-10  David S. Miller  <davem@davemloft.net>
12772
12773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12774
12775 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
12776
12777         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
12778         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
12779         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
12780         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
12781         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
12782         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
12783         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
12784
12785         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
12786         for NaNs before doing comparisons on argument.
12787         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
12788         Likewise.
12789
12790 2013-10-10  Will Newton  <will.newton@linaro.org>
12791
12792         * malloc/hooks.c (memalign_check): Ensure the value of bytes
12793         passed to _int_memalign does not overflow.
12794
12795 2013-10-10  Torvald Riegel  <triegel@redhat.com>
12796
12797         * scripts/bench.pl: Add include-sources directive.
12798         * benchtests/README: Update documentation.
12799
12800 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
12801
12802         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
12803         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
12804         instead of FP_INIT_ROUNDMODE.
12805         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
12806         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
12807
12808         [BZ #16034]
12809         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
12810         copy class of input value.
12811         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
12812         not handle exceptions.
12813         * soft-fp/negsf2.c (__negsf2): Likewise.
12814         * soft-fp/negtf2.c (__negtf2): Likewise.
12815         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
12816
12817 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
12818
12819         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
12820         semicolon.  From Linux kernel.
12821
12822 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
12823
12824         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
12825
12826 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
12827
12828         [BZ #156]
12829         * manual/socket.texi: Added statement about buffer
12830         for gethostbyname2_r.
12831
12832 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
12833
12834         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
12835         Use .p2align directive instead, throughout.
12836         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12837         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
12838         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
12839         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12840         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12841         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
12842         * sysdeps/x86_64/strchr.S: Likewise.
12843         * sysdeps/x86_64/strrchr.S: Likewise.
12844
12845 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
12846
12847         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
12848
12849         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
12850
12851         * sysdeps/generic/math_private.h (__mpsin1): Remove
12852         declaration.
12853         (__mpcos1): Likewise.
12854         (__mpsin): New argument __range_reduce.
12855         (__mpcos): Likewise.
12856         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12857         (slow): Use __mpsin and __mpcos.
12858         (slow1): Likewise.
12859         (slow2): Likewise.
12860         (sloww): Likewise.
12861         (sloww1): Likewise.
12862         (sloww2): Likewise.
12863         (bsloww): Likewise.
12864         (bsloww1): Likewise.
12865         (bsloww2): Likewise.
12866         (cslow2): Likewise.
12867         (csloww): Likewise.
12868         (csloww1): Likewise.
12869         (csloww2): Likewise.
12870         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
12871         range_reduce.  Merge in __mpsin1.
12872         (__mpcos): Likewise.
12873         (__mpsin1): Remove.
12874         (__mpcos1): Likewise.
12875
12876 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
12877
12878         * locale/loadlocale.c (_nl_intern_locale_data): Use
12879         LOCFILE_ALIGNED_P.
12880         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
12881         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
12882         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
12883         obstack data is appropriately aligned.
12884         (obstack_int32_grow_fast): Likewise.
12885         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
12886         * locale/programs/locfile.c (add_locale_uint32): Likewise.
12887         (add_locale_uint32_array): Likewise.
12888
12889 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
12890
12891         * benchtests/Makefile: Remove ARGLIST and RET variables.
12892         ($(objpfx)bench-%.c): Pass only function name to the script.
12893         * benchtests/README: Update documentation.
12894         * benchtests/acos-inputs: Add new directives.
12895         * benchtests/acosh-inputs: Likewise.
12896         * benchtests/asin-inputs: Likewise.
12897         * benchtests/asinh-inputs: Likewise.
12898         * benchtests/atan-inputs: Likewise.
12899         * benchtests/atanh-inputs: Likewise.
12900         * benchtests/cos-inputs: Likewise.
12901         * benchtests/cosh-inputs: Likewise.
12902         * benchtests/exp-inputs: Likewise.
12903         * benchtests/log-inputs: Likewise.
12904         * benchtests/pow-inputs: Likewise.
12905         * benchtests/rint-inputs: Likewise.
12906         * benchtests/sin-inputs: Likewise.
12907         * benchtests/sinh-inputs: Likewise.
12908         * benchtests/tan-inputs: Likewise.
12909         * benchtests/tanh-inputs: Likewise.
12910         * scripts/bench.pl: Add support for new directives.
12911
12912 2013-10-07  Alan Modra  <amodra@gmail.com>
12913
12914         * README: Fix careless merge.
12915
12916 2013-10-05  Alan Modra  <amodra@gmail.com>
12917
12918         * NEWS: Mention powerpc64le support and bugs fixed.
12919         * README: Both big-endian and little-endian powerpc64 supported.
12920
12921 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12922
12923         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
12924         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
12925         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
12926         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
12927
12928 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
12929
12930         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
12931         match prototype.
12932
12933 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
12934
12935         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
12936         Move -mhard-float appending from
12937         ports/sysdeps/powerpc/powerpc32/Makefile.
12938         [$(with-fp) = yes] (ASFLAGS): Likewise.
12939         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
12940         * sysdeps/powerpc/nofpu: Move directory from
12941         ports/sysdeps/powerpc/nofpu.
12942         * sysdeps/powerpc/soft-fp: Move directory from
12943         ports/sysdeps/powerpc/soft-fp.
12944         * sysdeps/powerpc/powerpc32/405: Move directory from
12945         ports/sysdeps/powerpc/powerpc32/405.
12946         * sysdeps/powerpc/powerpc32/440: Move directory from
12947         ports/sysdeps/powerpc/powerpc32/440.
12948         * sysdeps/powerpc/powerpc32/464: Move directory from
12949         ports/sysdeps/powerpc/powerpc32/464.
12950         * sysdeps/powerpc/powerpc32/476: Move directory from
12951         ports/sysdeps/powerpc/powerpc32/476.
12952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
12953         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
12954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
12955         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
12956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
12957         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
12958         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
12959         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
12960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
12961         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
12962         * README: Update for powerpc-*-linux-gnu software floating point
12963         support in libc.
12964
12965         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
12966         case to powerpc/powerpc32*.
12967         * sysdeps/unix/sysv/linux/configure: Regenerated.
12968
12969         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
12970         (_FPU_MASK_OM): Define as 0x04.
12971         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
12972         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
12973         0x00c10080.
12974         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
12975         0x0000003c.
12976         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
12977
12978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
12979         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12980         getcontext_e500.
12981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
12982         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
12983         setcontext_e500.
12984         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
12985         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
12986         and setcontext_e500.
12987
12988 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
12989
12990         * locale/iso-3166.def: Update iso-1366.def and related occurrences
12991
12992 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12993
12994         * manual/threads.texi (Default Thread Attributes): Fix typo.
12995
12996 2013-10-04  Will Newton  <will.newton@linaro.org>
12997
12998         * malloc/Makefile: Add tst-memalign.
12999         * malloc/tst-memalign.c: New file.
13000
13001         * malloc/tst-posix_memalign.c: Add comments.
13002         (do_test): Add comments and call free on all potentially
13003         allocated pointers. Add space after cast.
13004
13005         * malloc/tst-pvalloc.c: Add comments.
13006         (do_test): Add comments and call free on all potentially
13007         allocated pointers. Remove duplicate check for NULL pointer.
13008         Add space after cast.
13009
13010         * malloc/tst-valloc.c: Add comments.
13011         (do_test): Add comments and call free on all potentially
13012         allocated pointers. Remove duplicate check for NULL pointer.
13013         Add space after cast.
13014
13015 2013-10-04  Alan Modra  <amodra@gmail.com>
13016
13017         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13018         Use stdint types in rather than __attribute__((mode())).
13019         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13020
13021 2013-10-04  Alan Modra  <amodra@gmail.com>
13022
13023         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
13024         Correct handling of unaligned relocs for little-endian.
13025         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
13026
13027 2013-10-04  Alan Modra  <amodra@gmail.com>
13028
13029         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
13030         * configure: Regenerate.
13031         * nptl/shlib-versions: Powerpc*le starts at 2.18.
13032         * shlib-versions: Likewise.
13033
13034 2013-10-04  Alan Modra  <amodra@gmail.com>
13035
13036         * string/tester.c (test_memrchr): Increment reported test cycle.
13037
13038 2013-10-04  Alan Modra  <amodra@gmail.com>
13039
13040         * string/test-memcpy.c (do_one_test): When reporting errors, print
13041         string address and don't overrun end of string.
13042
13043 2013-10-04  Alan Modra  <amodra@gmail.com>
13044
13045         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
13046         insrdi.  Make better use of reg selection to speed exit slightly.
13047         Schedule entry path a little better.  Remove useless "are we done"
13048         checks on entry to main loop.  Handle wrapping around zero address.
13049         Correct main loop count.  Handle single left-over word from main
13050         loop inline rather than by using loop_small.  Remove extra word
13051         case in loop_small caused by wrong loop count.  Add little-endian
13052         support.
13053         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13054         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
13055         cache hint.
13056         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13057         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
13058         support.  Avoid rlwimi.
13059         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
13060
13061 2013-10-04  Alan Modra  <amodra@gmail.com>
13062
13063         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
13064         insrdi.  Formatting.
13065         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
13066         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
13067         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
13068         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13069         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
13070         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
13071
13072 2013-10-04  Alan Modra  <amodra@gmail.com>
13073
13074         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
13075         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13076         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
13077         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
13078         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13079         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13080         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13081         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
13082         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
13083         use of regs.  Use power7 mtocrf.  Tidy function tails.
13084
13085 2013-10-04  Alan Modra  <amodra@gmail.com>
13086
13087         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
13088         Formatting.  Consistently use rXXX register defines or rN defines.
13089         Use early exit labels that avoid restoring unused non-volatile regs.
13090         Make cr field use more consistent with rWORDn compares.  Rename
13091         regs used as shift registers for unaligned loop, using rN defines
13092         for short lifetime/multiple use regs.
13093         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13094         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
13095         addi 1,1,64 to pop stack frame.  Simplify return value code.
13096         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13097
13098 2013-10-04  Alan Modra  <amodra@gmail.com>
13099
13100         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
13101         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
13102         rather than rlwimi.
13103         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
13104         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
13105         little-endian support.  Correct typos.
13106         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
13107         rather than rlwimi.
13108         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
13109         in loop and entry code to keep "and." results.
13110         (strchr): Add little-endian support.  Comment.  Move cntlzd
13111         earlier in tail.
13112         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
13113
13114 2013-10-04  Alan Modra  <amodra@gmail.com>
13115
13116         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
13117         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
13118         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
13119         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
13120
13121 2013-10-04  Alan Modra  <amodra@gmail.com>
13122
13123         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
13124         (rTMP): Define as r11.
13125         (strcmp): Add little-endian support.  Optimise tail.
13126         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
13127         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13128         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13129         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13130         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13131         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13132         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13133
13134 2013-10-04  Alan Modra  <amodra@gmail.com>
13135
13136         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
13137         little-endian support.  Remove unnecessary "are we done" tests.
13138         Handle "s" wrapping around zero and extremely large "size".
13139         Correct main loop count.  Handle single left-over word from main
13140         loop inline rather than by using small_loop.  Correct comments.
13141         Delete "zero" tail, use "end_max" instead.
13142         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
13143
13144 2013-10-04  Alan Modra  <amodra@gmail.com>
13145
13146         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
13147         support.  Don't branch over align.
13148         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
13149         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
13150         support.  Rearrange tmp reg use to suit.  Comment.
13151         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
13152
13153 2013-10-04  Alan Modra  <amodra@gmail.com>
13154
13155         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
13156
13157 2013-10-04  Alan Modra  <amodra@gmail.com>
13158
13159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
13160         conditional form of branch and link when obtaining pc.
13161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
13162
13163 2013-10-04  Alan Modra  <amodra@gmail.com>
13164
13165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
13166         HIWORD/LOWORD.
13167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
13168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
13169
13170 2013-10-04  Alan Modra  <amodra@gmail.com>
13171
13172         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
13173         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
13174         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
13175         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
13176         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
13177         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
13178         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
13179         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
13180         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
13181         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
13182
13183 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13184             Alistair Popple <alistair@ozlabs.au.ibm.com>
13185             Alan Modra <amodra@gmail.com>
13186
13187         [BZ #15723]
13188         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
13189         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
13190         _dl_hwcap access for little-endian.
13191         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
13192         destroy vmx regs when saving unaligned.
13193         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
13194         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
13195         destroy vmx regs when saving unaligned.
13196
13197 2013-10-04  Alan Modra  <amodra@gmail.com>
13198
13199         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
13200         Don't use a union to pack hi/low value.
13201
13202 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13203
13204         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
13205         for little-endian.
13206         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
13207         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
13208         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
13209         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
13210         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
13211
13212 2013-10-04  Alan Modra  <amodra@gmail.com>
13213
13214         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
13215         constants to usual value for .cst8 section, and remove redundant
13216         high address load.
13217         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
13218         constant for 0x1p52.  Load little-endian words of double from
13219         correct stack offsets.
13220
13221 2013-10-04  Alan Modra  <amodra@gmail.com>
13222
13223         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
13224         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
13225         words of double from correct stack offsets.
13226         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
13227         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
13228         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13229         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13230         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13231         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13232         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13233         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
13234         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
13235         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13236         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13237         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13238         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
13239         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
13240         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
13241         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
13242         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
13243
13244 2013-10-04  Alan Modra  <amodra@gmail.com>
13245
13246         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
13247         64-bit int/double union.
13248         (_FPU_SETCW): Likewise.
13249         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
13250         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
13251
13252 2013-10-04  Alan Modra  <amodra@gmail.com>
13253
13254         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
13255         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
13256
13257 2013-10-04  Alan Modra  <amodra@gmail.com>
13258
13259         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
13260         use vector int constants.
13261         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
13262
13263 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13264
13265         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
13266         array with long long.
13267         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
13268         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
13269         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
13270         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
13271         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
13272         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
13273         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
13274         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
13275         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
13276         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
13277         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
13278         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
13279         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
13280
13281 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
13282
13283         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
13284         (__signbit): Likewise.  Correct for little-endian.
13285         (__signbitl): Call __signbit.
13286         (lrint): Correct for little-endian.
13287         (lrintf): Call lrint.
13288
13289 2013-10-04  Alan Modra  <amodra@gmail.com>
13290
13291         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
13292         union 32-bit int array member with 64-bit int array.
13293         (t515, tm256): Double rather than long double.
13294         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
13295
13296 2013-10-04  Alan Modra  <amodra@gmail.com>
13297
13298         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
13299         Delete.
13300         (IEEE854_LONG_DOUBLE_BIAS): Delete.
13301         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
13302         version of math_ldbl.h.
13303
13304 2013-10-04  Alan Modra  <amodra@gmail.com>
13305
13306         [BZ #15734], [BZ #15735]
13307         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
13308         all uses of ieee875 long double macros and unions.  Simplify test
13309         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
13310         ldbl_extract_mantissa value for ix,iy exponents.  Properly
13311         normalize after ldbl_extract_mantissa, and don't add hidden bit
13312         already handled.  Don't treat low word of ieee854 mantissa like
13313         low word of IBM long double and mask off bit when testing for
13314         zero.
13315         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
13316         all uses of ieee875 long double macros and unions.  Simplify tests
13317         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
13318         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
13319         two1022, instead use their values.  Recognise that tests for large
13320         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
13321         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
13322         Rewrite all uses of ieee875 long double macros and unions.  Simplify
13323         test for 0.0L and nan.  Correct negation.
13324         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
13325         ieee875 long double macros and unions.  Correct output for large
13326         magnitude x.  Correct absolute value calculation.
13327         (__erfcl): Likewise.
13328         * math/libm-test.inc: Add tests for errors discovered in IBM long
13329         double versions of fmodl, remainderl, erfl and erfcl.
13330
13331 2013-10-04  Alan Modra  <amodra@gmail.com>
13332
13333         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
13334         all uses of ieee854 long double macros and unions.  Simplify tests
13335         for long doubles that are fully specified by the high double.
13336         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13337         Likewise.
13338         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
13339         Remove dead code too.
13340         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
13341         (__ieee754_ynl): Likewise.
13342         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
13343         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
13344         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
13345         Remove dead code too.
13346         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13347         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
13348         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
13349         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
13350         Simplify.
13351         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
13352         Simplify.
13353         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
13354         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
13355         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
13356         Comment on variable precision.
13357         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
13358         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13359         Likewise.
13360         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
13361         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
13362         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
13363         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13364         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
13365
13366 2013-10-04  Alan Modra  <amodra@gmail.com>
13367
13368         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
13369         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
13370         all uses of ieee854 long double macros and unions.
13371         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
13372         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
13373         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
13374         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
13375         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
13376         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13377         Likewise.
13378         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
13379         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
13380         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
13381         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13382         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13383         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13384         Simplify sign and nan test too.
13385         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
13386         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
13387         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
13388         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
13389         Likewise.
13390         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13391         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
13392         Likewise.
13393         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13394         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
13395         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
13396         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
13397         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
13398         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
13399
13400 2013-10-04  Alan Modra  <amodra@gmail.com>
13401
13402         * stdio-common/printf_size.c (__printf_size): Don't use
13403         union ieee854_long_double in fpnum union.
13404         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
13405         signbit macro to retrieve sign from long double.
13406         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
13407         retrieve sign from long double.
13408         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
13409         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
13410         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
13411         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
13412         * math/test-misc.c (main): Don't use union ieee854_long_double.
13413
13414 2013-10-04  Alan Modra  <amodra@gmail.com>
13415
13416         [BZ #15680]
13417         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
13418         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
13419         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
13420         calculation.  Remove unnecessary test for denormal exponent.
13421         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
13422         Correct handling of denormals.  Avoid undefined shift behaviour.
13423         Correct normalisation of low mantissa when low double is denormal.
13424         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
13425         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
13426         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
13427         Correct normalisation of low mantissa.  Test for overflow of high
13428         mantissa and normalise.
13429         (ldbl_nearbyint): Use more readable constant for two52.
13430         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
13431         (__mpn_construct_long_double): Fix test for overflow of high
13432         mantissa and correct normalisation.  Avoid undefined shift.
13433
13434 2013-10-04  Alan Modra  <amodra@gmail.com>
13435
13436         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
13437         (union ibm_extended_long_double): Define as an array of ieee754_double.
13438         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
13439         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
13440         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
13441         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
13442         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13443         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
13444         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13445         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13446         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
13447         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
13448         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
13449
13450 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
13451
13452         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
13453         page size instead of calling getpagesize.
13454
13455         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
13456         (LOCFILE_ALIGN_MASK): Likewise.
13457         (LOCFILE_ALIGN_UP): Likewise.
13458         (LOCFILE_ALIGNED_P): Likewise.
13459         * locale/programs/ld-collate.c (collate_output): Use the new
13460         macros instead of __alignof__ (int32_t).
13461         * locale/weight.h (findidx): Likewise.
13462
13463 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
13464
13465         [BZ #431]
13466         * manual/string.texi: Fix strncat and wcsncat.
13467
13468 2013-10-03  Brooks Moses  <bmoses@google.com>
13469
13470         [BZ #15915]
13471         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
13472         * Makerules: ...here, and adjust associated comments.
13473
13474 2013-10-02  Will Newton  <will.newton@linaro.org>
13475
13476         * malloc/Makefile: Add tst-pvalloc.
13477         * malloc/tst-pvalloc.c: New file.
13478
13479 2013-10-02  Will Newton  <will.newton@linaro.org>
13480
13481         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
13482         improve test coverage.
13483
13484 2013-10-02  Will Newton  <will.newton@linaro.org>
13485
13486         * malloc/Makefile: Add tst-posix_memalign.
13487         * malloc/tst-posix_memalign.c: New file.
13488
13489 2013-10-01  Eric Blake  <eblake@redhat.com>
13490
13491         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
13492         Use __THROWNL rather than __THROW on static functions.
13493
13494 2013-09-30  Petr Machata  <pmachata@redhat.com>
13495
13496         * elf/elf.h (R_AARCH64_ABS16): New macro.
13497         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
13498         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
13499         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
13500         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
13501         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
13502         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
13503         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
13504         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
13505         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
13506         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
13507         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
13508         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
13509         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
13510         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
13511         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
13512         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
13513         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
13514         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
13515         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
13516         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
13517         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
13518         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
13519         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
13520         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
13521         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
13522         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
13523         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
13524         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
13525         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
13526         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
13527         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
13528         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
13529         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
13530         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
13531         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
13532         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
13533         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
13534         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
13535         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
13536         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
13537         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
13538         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
13539         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
13540         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
13541         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
13542         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
13543         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
13544         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
13545         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
13546         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
13547         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
13548         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
13549         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
13550         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
13551         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
13552         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
13553         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
13554         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
13555         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
13556         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
13557         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
13558         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
13559         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
13560         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
13561         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
13562         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
13563         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
13564         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
13565         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
13566         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
13567         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
13568         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
13569         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
13570         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
13571         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
13572         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
13573         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
13574         (R_AARCH64_TLSDESC_LDR): Likewise.
13575         (R_AARCH64_TLSDESC_ADD): Likewise.
13576         (R_AARCH64_TLSDESC_CALL): Likewise.
13577
13578 2013-09-30  Andreas Schwab  <schwab@suse.de>
13579
13580         [BZ #15048]
13581         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
13582         the nss database lookup.
13583         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13584         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
13585
13586 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
13587
13588         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
13589
13590 2013-09-28  P. J. McDermott  <pj@pehjota.net>
13591
13592         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
13593         ${Bash-specific parameter/pattern/string} parameter expansion.
13594         * sysdeps/unix/make-syscalls.sh: Likewise.
13595
13596 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13597
13598         * sysdeps/sh/stackguard-macros.h: New file.
13599
13600 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
13601
13602         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
13603         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
13604         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
13605         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
13606         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
13607         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
13608
13609 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13610
13611         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
13612         Fix thread ID register.
13613
13614 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
13615
13616         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
13617         [POSIX || UNIX98]: Require rather than permitting all symbols from
13618         <time.h>.
13619         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
13620         element of struct sched_param.
13621         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
13622         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
13623         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
13624         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
13625         constant.
13626
13627 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
13628
13629         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
13630         argument calculation.
13631
13632 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13633
13634         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
13635         Expect macro.
13636         [POSIX] (pthread_attr_t): Do not require type.
13637         [POSIX] (pthread_cond_t): Likewise.
13638         [POSIX] (pthread_condattr_t): Likewise.
13639         [POSIX] (pthread_key_t): Likewise.
13640         [POSIX] (pthread_mutex_t): Likewise.
13641         [POSIX] (pthread_mutexattr_t): Likewise.
13642         [POSIX] (pthread_once_t): Likewise.
13643         [POSIX] (pthread_t): Likewise.
13644         [POSIX-based standards] (pthread_atfork): Expect function.
13645
13646 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
13647             Richard Sandiford  <richard@codesourcery.com>
13648
13649         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
13650         (swap_endianness_p): New extern variable.
13651         (set_big_endian): New inline function.
13652         (maybe_swap_uint32): Likewise.
13653         (maybe_swap_uint32_array): Likewise.
13654         (maybe_swap_uint32_obstack): Likewise.
13655         * locale/programs/locfile.c: Include <stdbool.h>.
13656         (swap_endianness_p): New variable.
13657         (add_locale_uint32): Call maybe_swap_uint32.
13658         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
13659         (write_locale_data): Call maybe_swap_uint32_array.
13660         * locale/programs/ld-collate.c (obstack_int32_grow): Call
13661         maybe_swap_uint32.
13662         (obstack_int32_grow_fast): Likewise.
13663         (output_weightwc): Call maybe_swap_uint32_obstack.
13664         (collate_output): Likewise.
13665         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
13666         (OPT_LITTLE_ENDIAN): Likewise.
13667         (options): Add --little-endian and --big-endian options.
13668         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
13669         * locale/programs/locarchive.c: Include "locfile.h".
13670         (GET): New macro.
13671         (SET): Likewise.
13672         (INC): Likewise.
13673         (create_archive): Use the new macros to access fields of
13674         structures directly mapped from or written to locale archives.
13675         (oldlocrecentcmp): Likewise.
13676         (enlarge_archive): Likewise.
13677         (insert_name): Likewise.
13678         (add_alias): Likewise.
13679         (add_locale): Likewise.
13680         (delete_locales_from_archive): Likewise.
13681         (show_archive_content): Likewise.
13682         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
13683         locale data.
13684
13685 2013-09-24  Roland McGrath  <roland@hack.frob.com>
13686
13687         * manual/freemanuals.texi: Updated from (newly) canonical copy at
13688         http://www.gnu.org/doc/freemanuals.texi.
13689         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
13690
13691 2013-09-24  Will Newton  <will.newton@linaro.org>
13692
13693         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
13694         macro.
13695
13696 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
13697
13698         * locale/hashval.h (compute_hashval): Interpret bytes of key as
13699         unsigned char.
13700
13701 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
13702
13703         * manual/threads.texi (POSIX Threads): Fix a typo.
13704
13705 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13706
13707         [BZ #14547]
13708         * string/tst-strcoll-overflow.c: New test case.
13709         * string/Makefile (xtests): Add tst-strcoll-overflow.
13710         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
13711         cache if string sizes may cause integer overflow.
13712
13713         [BZ #14547]
13714         * string/strcoll_l.c (coll_seq): New members rule, idx,
13715         save_idx and back_us.
13716         (get_next_seq_nocache): New function.
13717         (do_compare_nocache): New function.
13718         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
13719         when malloc fails.
13720
13721 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
13722
13723         [BZ #15754]
13724         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
13725         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
13726         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
13727
13728         [BZ #15754]
13729         * elf/Makefile (tests): Add tst-ptrguard1.
13730         (tests-static): Add tst-ptrguard1-static.
13731         (tst-ptrguard1-ARGS): Define.
13732         (tst-ptrguard1-static-ARGS): Define.
13733         * elf/tst-ptrguard1.c: New file.
13734         * elf/tst-ptrguard1-static.c: New file.
13735         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
13736         * sysdeps/i386/stackguard-macros.h: Likewise.
13737         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
13738         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
13739         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
13740         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
13741         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
13742         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
13743
13744 2013-09-23  Hector Marco  <hecmargi@upv.es>
13745             Ismael Ripoll  <iripoll@disca.upv.es>
13746             Carlos O'Donell  <carlos@redhat.com>
13747
13748         [BZ #15754]
13749         * sysdeps/generic/stackguard-macros.h: Define
13750         __pointer_chk_guard_local and POINTER_CHK_GUARD.
13751         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
13752         Define __pointer_chk_guard_local.
13753         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
13754         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
13755
13756 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
13757
13758         [BZ #15859]
13759         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
13760
13761 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
13762
13763         * include/string.h (__ffs): Declare as hidden.
13764         * string/ffs.c (__ffs): Define as hidden.
13765         * sysdeps/i386/ffs.c (__ffs): Likewise.
13766         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13767         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
13768         * sysdeps/s390/ffs.c (__ffs): Likewise.
13769         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
13770
13771 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
13772
13773         * NEWS: Mention malloc probes.
13774
13775         * malloc/arena.c (new_heap): New memory_heap_new probe.
13776         (grow_heap): New memory_heap_more probe.
13777         (shrink_heap): New memory_heap_less probe.
13778         (heap_trim): New memory_heap_free probe.
13779         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
13780         (systrim): New memory_sbrk_less probe.
13781         * manual/probes.texi: Document them.
13782
13783         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
13784         * manual/probes.texi: Document it.
13785
13786         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
13787         (__libc_realloc): Add memory_realloc_retry probe.
13788         (__libc_memalign): Add memory_memalign_retry probe.
13789         (__libc_valloc): Add memory_valloc_retry probe.
13790         (__libc_pvalloc): Add memory_pvalloc_retry probe.
13791         (__libc_calloc): Add memory_calloc_retry probe.
13792         * manual/probes.texi: Document them.
13793
13794         * malloc/arena.c (get_free_list): Add probe
13795         memory_arena_reuse_free_list.
13796         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
13797         and memory_arena_reuse.
13798         (arena_get2) [!PER_THREAD]: Likewise.
13799         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
13800         memory_arena_reuse_realloc.
13801         * manual/probes.texi: Document them.
13802
13803         * malloc/malloc.c (__libc_free): Add
13804         memory_mallopt_free_dyn_thresholds probe.
13805         (__libc_mallopt): Add multiple memory_mallopt probes.
13806         * manual/probes.texi: Document them.
13807
13808         * malloc/malloc.c: Include stap-probe.h.
13809         (__libc_mallopt): Add memory_mallopt probe.
13810         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
13811         * manual/probes.texi: New.
13812         * manual/Makefile (chapters): Add probes.
13813         * manual/threads.texi: Set next node.
13814
13815 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
13816
13817         [BZ #15963, #13985]
13818         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
13819         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
13820         Add `Chinese' to `nan' entry name.
13821
13822 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13823
13824         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
13825         (POLYNOMIAL): Likewise.
13826         (TAYLOR_SINCOS): Likewise.
13827         (TAYLOR_SLOW): Likewise.
13828         (__sin): Use TAYLOR_SINCOS.
13829         (__cos): Likewise.
13830         (slow): Use TAYLOR_SLOW.
13831         (sloww): Likewise.
13832         (bsloww): Likewise.
13833         (csloww): Likewise.
13834
13835 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13836
13837         * stdlib/strtod_l.c: Fix buffer overrun.
13838
13839 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
13840
13841         * benchtests/Makefile (bench): Add sincos.
13842         * benchtests/bench-sincos.c: New file.
13843
13844         * math/libm-test.inc (cos_test_data): New test inputs.
13845         (sin_test_data): Likewise.
13846
13847         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
13848         macro.
13849         (__sin): Use it.
13850         (__cos): Likewise.
13851         (slow1): Likewise.
13852         (slow2): Likewise.
13853         (sloww1): Likewise.
13854         (sloww2): Likewise.
13855         (bsloww1): Likewise.
13856         (bsloww2): Likewise.
13857         (cslow2): Likewise.
13858         (csloww1): Likewise.
13859         (csloww2): Likewise.
13860
13861         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
13862         function.
13863         (__sin): Use it.
13864         (__cos): Likewise.
13865
13866         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
13867         gotos.
13868         (__cos): Likewise.
13869
13870 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
13871
13872         * config.h.in (HAVE_MIPS_NAN2008): New macro.
13873         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
13874         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
13875         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
13876         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
13877         * elf/cache.c (print_entry): Handle the new cache flags.
13878
13879 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13880             Aldy Hernandez  <aldyh@redhat.com>
13881
13882         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
13883         Change condition to [_SOFT_FLOAT].
13884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
13885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
13886         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
13887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
13888         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
13889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
13890         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
13891         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
13892         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
13893         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
13894         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
13895         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
13896         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
13897         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
13898         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
13899         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
13900         declaration.
13901
13902 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
13903
13904         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
13905         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13906         (__longjmp): Use LOAD_GP to load saved GPRs.
13907         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
13908         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
13909         (__sigsetjmp): Use SAVE_GP to save GPRs.
13910
13911         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
13912         Do not append -msoft-float.
13913         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
13914
13915 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
13916
13917         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
13918
13919 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
13920
13921         [BZ #15966]
13922         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
13923         (_FPU_GETCW): Use initial "__" on variable and field names but not
13924         on macro parameter name.
13925         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
13926         parentheses around reference to macro parameter.
13927
13928 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
13929
13930         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
13931         prototype.
13932         (ctype_startup): Use uint32_t in cast and sizeof for
13933         ctype->charnames.
13934
13935 2013-09-11  Jia Liu  <proljc@gmail.com>
13936
13937         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
13938         __daddr_t_defined.
13939         [__FreeBSD__]: Likewise.
13940
13941 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
13942
13943         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13944         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
13945         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
13946         (strchr): Remove __strchr_sse42 ifunc selection.
13947         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
13948         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
13949
13950 2013-09-11  Will Newton  <will.newton@linaro.org>
13951
13952         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
13953         parameter to RES. Remove hardcoded 1000 value.
13954         * benchtests/bench-skeleton.c (main): Pass RES parameter
13955         to TIMING_INIT and multiply result by 1000.
13956
13957 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13958
13959         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13960
13961 2013-09-11  Andreas Schwab  <schwab@suse.de>
13962
13963         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
13964         if not defined.
13965         (O_TMPFILE) [__USE_GNU]: Define.
13966         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
13967         Define.
13968
13969 2013-09-11  Will Newton  <will.newton@linaro.org>
13970
13971         [BZ #15857]
13972         * malloc/malloc.c (__libc_memalign): Check the value of bytes
13973         does not overflow.
13974
13975 2013-09-11  Will Newton  <will.newton@linaro.org>
13976
13977         [BZ #15856]
13978         * malloc/malloc.c (__libc_valloc): Check the value of bytes
13979         does not overflow.
13980
13981 2013-09-11  Will Newton  <will.newton@linaro.org>
13982
13983         [BZ #15855]
13984         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
13985         does not overflow.
13986
13987 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
13988
13989         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
13990         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
13991         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
13992         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
13993         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
13994
13995 2013-09-10  Allan McRae  <allan@archlinux.org>
13996
13997         [BZ #15748]
13998         * manual/arith.texi (Parsing of Floats): Clarify
13999         cross-reference.
14000
14001         [BZ #15849]
14002         * manual/install.texi (Running make install): Mention
14003         --enable-pt-chown.
14004         * INSTALL: Regenerated.
14005
14006 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
14007
14008         * csu/init-first.c (_init): Remove the !SHARED condition around
14009         FPU control word initialization.
14010         * elf/dl-support.c (_dl_fpu_control): New variable.
14011         (_dl_aux_init) <AT_FPUCW>: Initialize it.
14012         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
14013         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
14014         * math/test-fpucw-static.c: New file.
14015         * math/test-fpucw-ieee.c: New file.
14016         * math/test-fpucw-ieee-static.c: New file.
14017         * math/Makefile (tests): Add `test-fpucw-ieee' and
14018         `$(tests-static)'.
14019         (tests-static): New variable.
14020         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
14021         dependency to...
14022         [($(build-shared),yes)]
14023         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14024         ... this.
14025         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
14026         New dependency.
14027
14028 2013-09-09  Allan McRae  <allan@archlinux.org>
14029
14030         [BZ #15939]
14031         * manual/string.texi (Collation Functions): Fix typo in
14032         strcoll example.
14033         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
14034
14035         [BZ #15893]
14036         * stdlib/isomac.c (get_null_defines): Fix memory leak.
14037
14038         [BZ #15892]
14039         * libio/memstream.c (open_memstream): Fix memory leak.
14040         * libio/wmemstream.c (open_wmemstream): Likewise.
14041
14042         [BZ #15895]
14043         * nscd/netgroupcache.c: Fix nesting of ifdefs.
14044
14045 2013-09-09  Will Newton  <will.newton@linaro.org>
14046
14047         * malloc/Makefile: Add tst-realloc to tests.
14048         * malloc/tst-realloc.c: New file.
14049
14050 2013-09-09  Allan McRae  <allan@archlinux.org>
14051
14052         [BZ #15844]
14053         * COPYING: Update from GNU website to fix FSF address.
14054         * COPYING.LIB: Likewise.
14055
14056 2013-09-06  David S. Miller  <davem@davemloft.net>
14057
14058         * po/zh_TW.po: Update Chinese (traditional) translation from
14059         translation project.
14060
14061 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
14062             Joseph Myers  <joseph@codesourcery.com>
14063
14064         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
14065         "localeinfo.h".
14066         (obstack_chunk_alloc): New macro.
14067         (obstack_chunk_free): Likewise.
14068         (record_offset): New function.
14069         (init_locale_data): Likewise.
14070         (align_locale_data): Likewise.
14071         (add_locale_empty): Likewise.
14072         (add_locale_raw_data): Likewise.
14073         (add_locale_raw_obstack): Likewise.
14074         (add_locale_string): Likewise.
14075         (add_locale_wstring): Likewise.
14076         (add_locale_uint32): Likewise.
14077         (add_locale_uint32_array): Likewise.
14078         (add_locale_char): Likewise.
14079         (start_locale_structure): Likewise.
14080         (end_locale_structure): Likewise.
14081         (start_locale_prelude): Likewise.
14082         (end_locale_prelude): Likewise.
14083         (write_locale_data): Take locale_file structure rather than an
14084         iovec.
14085         * locale/programs/locfile.h: Include "obstack.h".
14086         (struct locale_file): Change to store locale file contents instead
14087         of header.
14088         (init_locale_data): New prototype.
14089         (align_locale_data): Likewise.
14090         (add_locale_empty): Likewise.
14091         (add_locale_raw_data): Likewise.
14092         (add_locale_raw_obstack): Likewise.
14093         (add_locale_string): Likewise.
14094         (add_locale_wstring): Likewise.
14095         (add_locale_uint32): Likewise.
14096         (add_locale_uint32_array): Likewise.
14097         (add_locale_char): Likewise.
14098         (start_locale_structure): Likewise.
14099         (end_locale_structure): Likewise.
14100         (start_locale_prelude): Likewise.
14101         (end_locale_prelude): Likewise.
14102         (write_locale_data): Update prototype.
14103         * locale/programs/3level.h (struct TABLE): Remove result field.
14104         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
14105         Use new locale_file interface.
14106         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
14107         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
14108         * locale/programs/ld-address.c (address_output): Use new
14109         locale_file interface.
14110         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
14111         NO_ADD_LOCALE.
14112         (collate_finish): Don't call collseq_table_finalize.
14113         (collate_output): Use new locale_file interface.
14114         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
14115         in file.
14116         (NO_FINALIZE): Change to NO_ADD_LOCALE.
14117         (TABLE): Move defines earlier in file.
14118         (ELEMENT): Likewise.
14119         (DEFAULT): Likewise.
14120         (wctrans_table_add): Move macro and inline function earlier in
14121         file.
14122         (struct wctype_table): Move type earlier in file.
14123         (add_locale_wctype_table): New static prototype.
14124         (struct locale_ctype_t): Use logical types instead of struct iovec
14125         pointers for members.
14126         (ctype_output): Use new locale_file interface.
14127         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
14128         new locale_file interface.
14129         (allocate_arrays): Update for use of new locale_file interface.
14130         * locale/programs/ld-identification.c (identification_output): Use
14131         new locale_file interface.
14132         * locale/programs/ld-measurement.c (measurement_output): Likewise.
14133         * locale/programs/ld-messages.c (messages_output): Likewise.
14134         * locale/programs/ld-monetary.c (monetary_output): Likewise.
14135         * locale/programs/ld-name.c (name_output): Likewise.
14136         * locale/programs/ld-numeric.c (numeric_output): Likewise.
14137         * locale/programs/ld-paper.c (paper_output): Likewise.
14138         * locale/programs/ld-telephone.c (telephone_output): Likewise.
14139         * locale/programs/ld-time.c (time_output): Likewise.
14140
14141 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14142
14143         * benchtests/Makefile: Add memrchr benchmark.
14144         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
14145         benchmark as memrchr.
14146         * benchtests/bench-memrchr-ifunc.c: New file.
14147         * benchtests/bench-memrchr.c: New file.
14148
14149 2013-09-06   Will Newton  <will.newton@linaro.org>
14150
14151         * benchtests/Makefile (string-bench): Add memcpy.
14152
14153 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
14154             Cong Wang  <amwang@redhat.com>
14155
14156         [BZ #15850]
14157         * sysdeps/unix/sysv/linux/bits/in.h
14158         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
14159         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
14160         before __USE_KERNEL_IPV6_DEFS uses.
14161         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
14162         IPPROTO_BEETPH.
14163         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
14164         sockaddr_in6, or ipv6_mreq.
14165
14166 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14167
14168         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
14169         memory access for final bytes in some large inputs.
14170         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
14171
14172 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14173
14174         * string/test-memrchr.c: New file.
14175         * string/test-memrchr-ifunc.c: New file.
14176         * string/Makefile: Add new memrchr testcase.
14177
14178 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
14179
14180         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
14181         fanotify_init returns EPERM.
14182
14183 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14184
14185         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
14186         errors.
14187         (top level): Treat second token from macro or constant entries for
14188         allowed headers as allowed.
14189         * include/complex.h: Condition internal declarations on
14190         [!_ISOMAC].
14191         * include/fenv.h: Condition include of <stdbool.h> and internal
14192         declarations on [!_ISOMAC].
14193
14194 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
14195
14196         [BZ #15923]
14197         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
14198
14199 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
14200
14201         * configure.in (--enable-versioning): Remove configure option.
14202         (libc_cv_asm_symver_directive): Remove configure test.
14203         (libc_cv_ld_version_script_option): Likewise.
14204         (VERSIONING): Remove variable and AC_SUBST.
14205         (DO_VERSIONING): Remove AC_DEFINE.
14206         * configure: Regenerated.
14207         * config.h.in (DO_VERSIONING): Remove macro.
14208         * Makerules [$(versioning) = yes]: Change conditionals to
14209         [$(build-shared) = yes].
14210         * config.make.in (versioning): Remove variable.
14211         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
14212         [$(build-shared) = yes].
14213         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
14214         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
14215         * elf/Makefile [$(versioning) = yes]: Change conditionals to
14216         [$(build-shared) = yes].
14217         * extra-lib.mk [$(versioning) = yes]: Likewise.
14218         * hurd/Makefile [$(versioning) = yes]: Likewise.
14219         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
14220         [SHARED].
14221         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
14222         [SHARED].
14223         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14224         [SHARED && !NO_HIDDEN].
14225         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
14226         [SHARED].
14227         [SHARED && DO_VERSIONING]: Likewise..
14228         * libio/Makefile [$(versioning) = yes]: Change conditionals to
14229         [$(build-shared) = yes].
14230         * manual/install.texi (--disable-versioning): Remove
14231         documentation.
14232         * INSTALL: Regenerated.
14233         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
14234         to [SHARED].
14235         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
14236         [$(build-shared) = yes].
14237         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
14238         * sysdeps/i386/i686/multiarch/strstr-c.c
14239         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
14240         [SHARED && !NO_HIDDEN].
14241         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
14242         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
14243         * sysdeps/powerpc/powerpc32/dl-machine.c
14244         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
14245         * sysdeps/powerpc/powerpc32/sysdep.h
14246         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
14247         to [SHARED && PIC && !NO_HIDDEN].
14248         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
14249         conditional to [SHARED].
14250
14251 2013-09-04   Will Newton  <will.newton@linaro.org>
14252
14253         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
14254         * benchtests/bench-string.h: Include bench-timing.h instead
14255         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
14256         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
14257         call to HP_TIMING_DIFF_INIT.
14258         * benchtests/bench-memccpy.c: Use bench-timing.h macros
14259         instead of hp-timing.h macros.
14260         * benchtests/bench-memchr.c: Likewise.
14261         * benchtests/bench-memcmp.c: Likewise.
14262         * benchtests/bench-memcpy.c: Likewise.
14263         * benchtests/bench-memmem.c: Likewise.
14264         * benchtests/bench-memmove.c: Likewise.
14265         * benchtests/bench-memset.c: Likewise.
14266         * benchtests/bench-rawmemchr.c: Likewise.
14267         * benchtests/bench-strcasecmp.c: Likewise.
14268         * benchtests/bench-strcasestr.c: Likewise.
14269         * benchtests/bench-strcat.c: Likewise.
14270         * benchtests/bench-strchr.c: Likewise.
14271         * benchtests/bench-strcmp.c: Likewise.
14272         * benchtests/bench-strcpy.c: Likewise.
14273         * benchtests/bench-strcpy_chk.c: Likewise.
14274         * benchtests/bench-strlen.c: Likewise.
14275         * benchtests/bench-strncasecmp.c: Likewise.
14276         * benchtests/bench-strncat.c: Likewise.
14277         * benchtests/bench-strncmp.c: Likewise.
14278         * benchtests/bench-strncpy.c: Likewise.
14279         * benchtests/bench-strnlen.c: Likewise.
14280         * benchtests/bench-strpbrk.c: Likewise.
14281         * benchtests/bench-strrchr.c: Likewise.
14282         * benchtests/bench-strspn.c: Likewise.
14283         * benchtests/bench-strstr.c: Likewise.
14284
14285 2013-09-04  Will Newton  <will.newton@linaro.org>
14286
14287         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
14288
14289 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
14290
14291         [BZ #15427]
14292         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
14293         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
14294         * math/libm-test.inc (lgamma_test_data): Add more tests.
14295         * sysdeps/i386/fpu/libm-test-ulps: Update.
14296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14297
14298 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
14299
14300         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
14301         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14302         Add ifunc.
14303         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14304         Add strcmp-sse2-unaligned
14305         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
14306
14307 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14308
14309         * Versions.def (libc): Add GLIBC_2.19.
14310
14311 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
14312
14313         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
14314         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
14315
14316 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
14317
14318         [BZ #14155]
14319         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
14320         intermediate calculations in recurrence.
14321         (__ieee754_ynf): Likewise.
14322         * math/libm-test.inc (jn_test_data): Do not allow spurious
14323         underflow exception.  Add more tests.
14324         (yn_test_data): Add more tests.
14325         * sysdeps/i386/fpu/libm-test-ulps: Update.
14326         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14327
14328 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
14329
14330         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
14331
14332 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14333
14334         * csu/init-first.c: Fix then/than typos.
14335         * locale/programs/ld-collate.c: Likewise.
14336         * locale/programs/linereader.h: Likewise.
14337         * manual/charset.texi: Likewise.
14338         * manual/filesys.texi: Likewise.
14339         * manual/stdio.texi: Likewise.
14340         * manual/string.texi: Likewise.
14341         * stdlib/fmtmsg.c: Likewise.
14342         * sysdeps/i386/stpncpy.S: Likewise.
14343         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14344         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
14345         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14346         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
14347
14348 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
14349
14350         * elf/dl-open.c: Fix typos.
14351         * iconvdata/gbbig5.c: Likewise.
14352         * iconvdata/iso-2022-jp.c: Likewise.
14353         * iconv/gconv_int.h: Likewise.
14354         * iconv/loop.c: Likewise.
14355         * nis/rpcsvc/nis.h: Likewise.
14356         * resolv/ns_name.c: Likewise.
14357         * stdio-common/vfscanf.c: Likewise.
14358         * streams/stropts.h: Likewise.
14359         * sunrpc/rpc_thread.c: Likewise.
14360         * sysdeps/i386/strpbrk.S: Likewise.
14361         * sysdeps/ieee754/k_standard.c: Likewise.
14362         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14363         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
14364         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
14365         * sysdeps/mach/hurd/profil.c: Likewise.
14366         * sysdeps/s390/dl-procinfo.h: Likewise.
14367         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
14368         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
14369         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
14370         * sysdeps/x86_64/dl-trampoline.S: Likewise.
14371         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
14372
14373 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
14374
14375         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
14376         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
14377
14378 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
14379
14380         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
14381         aix specific files.
14382         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
14383         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
14384         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
14385         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
14386         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
14387         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
14388         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
14389         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
14390
14391 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14392             Roland McGrath  <roland@hack.frob.com>
14393
14394         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
14395         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
14396
14397 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14398
14399         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
14400         __executable_start symbol instead of _start.
14401
14402 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
14403
14404         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
14405         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
14406         Move macros to...
14407         * sysdeps/gnu/ldsodefs.h: ... this new file.
14408
14409         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
14410         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
14411         instead of ELFOSABI_LINUX.
14412
14413         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
14414         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
14415         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
14416         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
14417         Likewise.
14418         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
14419         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
14420         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
14421         Likewise.
14422         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
14423         (ibm_extended_long_double): Add ieee_nan member.
14424         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
14425         (do_test): New function.
14426
14427         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
14428         TEST_TRUNC.
14429         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
14430         functions, renamed from truncdfsf_test, trunctfsf_test,
14431         trunctfdf_test.
14432         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
14433         functions.
14434         (do_test): Run all these.
14435
14436 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
14437
14438         * argp/argp-help.c: Fix typos.
14439         * argp/argp-parse.c: Likewise.
14440         * debug/backtracesyms.c: Likewise.
14441         * elf/elf.h: Likewise.
14442         * malloc/malloc.c: Likewise.
14443         * nis/nis_print.c: Likewise.
14444         * resolv/res_comp.c: Likewise.
14445         * stdlib/stdlib.h: Likewise.
14446         * sunrpc/clnt_tcp.c: Likewise.
14447         * sunrpc/clnt_udp.c: Likewise.
14448         * sunrpc/clnt_unix.c: Likewise.
14449         * sysdeps/unix/bsd/ptsname.c: Likewise.
14450         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
14451         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
14452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
14453         Likewise.
14454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
14455         Likewise.
14456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
14457         Likewise.
14458         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
14459
14460 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14461
14462         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
14463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14464
14465 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
14466
14467         [BZ #15897]
14468         * dlfcn/Makefile (tests): Add bug-dl-leaf.
14469         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
14470         ($(objpfx)bug-dl-leaf): New rule.
14471         ($(objpfx)bug-dl-leaf.so): Likewise.
14472         ($(objpfx)bug-dl-leaf.out): Likewise.
14473         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
14474         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
14475         * dlfcn/bug-dl-leaf.c: New test.
14476         * dlfcn/bug-dl-leaf-lib.c: Likewise.
14477         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
14478         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
14479         (dlclose): Likewise.
14480         (dlmopen): Likewise.
14481
14482 2013-08-27  Roland McGrath  <roland@hack.frob.com>
14483
14484         * include/netdb.h [!_ISOMAC]:
14485         Don't include <tls.h>.
14486         (h_errno, __libc_h_errno): Move declaration and macros out of
14487         [_LIBC_REENTRANT].
14488
14489         * include/resolv.h [_RESOLV_H_]:
14490         Don't include <tls.h>.
14491         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
14492         * resolv/res_libc.c: Don't include <tls.h>.
14493         (_res): Use __attribute__ ((nocommon)) in place of
14494         __attribute__ ((section (".bss"))).
14495
14496         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
14497         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
14498
14499         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
14500
14501         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
14502         only under [SIOCGIFCONF && SIOCGIFNETMASK].
14503
14504         * resolv/res_mkquery.c: Include <sys/time.h>.
14505
14506         * inet/ifreq.c: Moved to ...
14507         * sysdeps/unix/ifreq.c: ... here.
14508         * inet/ifreq.c: New file, true stub version.
14509
14510         * socket/sa_len.c: New file.
14511         * socket/Makefile (aux): Add it.
14512         * sysdeps/unix/sysv/linux/Makefile
14513         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
14514         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
14515         and #include <socket/sa_len.c>.
14516         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
14517         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
14518
14519         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
14520         * bits/socket.h: ... here.
14521
14522         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
14523         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
14524         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
14525
14526 2013-08-27  Andreas Schwab  <schwab@suse.de>
14527
14528         [BZ #15736]
14529         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
14530         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
14531         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
14532         * string/test-strcasecmp.c (test_main): Run tests in several
14533         locales.
14534         * string/test-strncasecmp.c (test_main): Likewise.
14535
14536         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
14537         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
14538         to __strcasecmp_nonascii and __strncasecmp_nonascii.
14539         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
14540         (__strncasecmp_ssse3) [PIC]: Likewise.
14541
14542 2013-08-26  Roland McGrath  <roland@hack.frob.com>
14543
14544         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
14545
14546         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
14547         instead of explicitly declaring xdecrypt.
14548         * nis/nss_nis/nis-publickey.c: Likewise.
14549
14550 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14551
14552         [BZ #15890]
14553         * nscd/aicache.c: Include res_hconf.h.
14554         (addhstaiX): Initialize res_hconf.
14555
14556 2013-08-26  Andreas Schwab  <schwab@suse.de>
14557
14558         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
14559         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
14560
14561 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
14562
14563         * nscd/aicache.c (addhstaiX): Fix indentation.
14564
14565 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
14566
14567         * configure.ac: Quote $build_pt_chown test.
14568         * configure: Regenerated.
14569
14570 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
14571
14572         [BZ #15532]
14573         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
14574         * math/s_cexpf.c (__cexpf): Likewise.
14575         * math/s_cexpl.c (__cexpl): Likewise.
14576         * math/libm-test.inc (cexp_test_data): Correct expected return
14577         value for NaN + i0.  Add another test.
14578
14579 2013-08-22  David S. Miller  <davem@davemloft.net>
14580
14581         * po/ca.po: Update Catalan translation from translation project.
14582         * po/uk.po: Add Ukrainian translations from translation project.
14583
14584 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
14585
14586         [BZ #15797]
14587         * math/s_fdim.c (__fdim): Check for infinite arguments if result
14588         is infinite, not alongside NaN test.
14589         * math/s_fdimf.c (__fdimf): Likewise.
14590         * math/s_fdiml.c (__fdiml): Likewise.
14591         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
14592         errno is unchanged.
14593
14594 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
14595
14596         * argp/argp-help.c: Fix typos.
14597         * crypt/speeds.c: Likewise.
14598         * csu/check_fds.c: Likewise.
14599         * elf/dl-load.c: Likewise.
14600         * elf/dl-open.c: Likewise.
14601         * elf/reldep3.c: Likewise.
14602         * elf/reldep.c: Likewise.
14603         * elf/sprof.c: Likewise.
14604         * iconv/iconv_charmap.c: Likewise.
14605         * iconv/skeleton.c: Likewise.
14606         * iconv/strtab.c: Likewise.
14607         * io/lockf64.c: Likewise.
14608         * libio/libioP.h: Likewise.
14609         * resolv/gai_notify.c: Likewise.
14610         * resolv/ns_name.c: Likewise.
14611         * resolv/ns_samedomain.c: Likewise.
14612         * resolv/res_send.c: Likewise.
14613         * stdlib/random.c: Likewise.
14614         * sunrpc/rpc/xdr.h: Likewise.
14615         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
14616         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
14617         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
14618         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
14619         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
14620         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
14621         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
14622         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
14623         * sysdeps/mach/hurd/check_fds.c: Likewise.
14624         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
14625         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
14626         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14627         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
14628         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
14629         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
14630         * sysdeps/pthread/aio_notify.c: Likewise.
14631         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
14632         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
14633         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
14634         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
14635         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
14636
14637 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14638
14639         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
14640         version if bit_Slow_SSE4_2 is set.
14641         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
14642         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
14643
14644 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14645
14646         [BZ #15867]
14647         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
14648         trampoline stack frame information.
14649         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14650         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
14651         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
14652         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
14653         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
14654         * sysdeps/unix/sysv/linux/powerpc/init-first.c
14655         (_libc_vdso_platform_setup): Initialize the signal trampolines.
14656         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
14657         sa_flags value.
14658         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
14659         interrupting a syscall and set with option SA_SIGINFO.
14660
14661 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14662
14663         [BZ #15531]
14664         * math/s_cproj.c (__cproj): Only return an infinity if one part of
14665         argument is infinite.
14666         * math/s_cprojf.c (__cprojf): Likewise.
14667         * math/s_cprojl.c (__cprojl): Likewise.
14668         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
14669         * math/libm-test.inc (cproj_test_data): Add more tests.
14670
14671         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
14672
14673         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
14674         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
14675         size.  Use __ffs to determine corresponding shift.
14676
14677 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
14678             Roland McGrath  <roland@hack.frob.com>
14679
14680         * Makefile (INSTALL): Remove trailing blank lines from output of
14681         makeinfo.
14682
14683 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14684
14685         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
14686         Align 32 bit compat elf_greg to 8 bytes.
14687
14688 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
14689
14690         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
14691
14692 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
14693
14694         * string/strcoll_l.c (coll_seq): New structure.
14695         (get_next_seq_cached): New function.
14696         (get_next_seq): New function.
14697         (do_compare): New function.
14698         (STRCOLL): Use GNU style definition.  Simplify implementation
14699         by using get_next_seq, get_next_seq_cached and do_compare.
14700
14701 2013-08-16  Florian Weimer  <fweimer@redhat.com>
14702
14703         [BZ #14699]
14704         CVE-2013-4237
14705         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
14706         member.
14707         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
14708         member.
14709         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
14710         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
14711         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
14712         conditional.
14713         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
14714         GETDENTS_64BIT_ALIGNED.
14715         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14716         * manual/filesys.texi (Reading/Closing Directory): Document
14717         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
14718         strongly.
14719         * manual/conf.texi (Limits for Files): Add portability note to
14720         NAME_MAX, PATH_MAX.
14721         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
14722
14723 2013-08-13  Andreas Schwab  <schwab@suse.de>
14724
14725         [BZ #15749]
14726         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
14727         of fabs.
14728         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
14729         LDBL_MAX_EXP >= 16384]: Add tests for it.
14730
14731 2013-08-12  David S. Miller  <davem@davemloft.net>
14732
14733         * version.h (RELEASE): Set to "development".
14734         (VERSION): Set to "2.18.90".
14735         * NEWS: Add 2.19 section.
14736
14737 2013-08-03  David S. Miller  <davem@davemloft.net>
14738
14739         * po/ko.po: Update Korean translation from translation project.
14740
14741 2013-08-01  David S. Miller  <davem@davemloft.net>
14742
14743         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
14744         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
14745         Bilka.
14746
14747 2013-07-30  David S. Miller  <davem@davemloft.net>
14748
14749         * po/fr.po: Update French translation from translation project.
14750
14751 2013-07-28  David S. Miller  <davem@davemloft.net>
14752
14753         * po/cs.po: Update Czech translation from translation project.
14754
14755         * po/sv.po: Update Swedish translation from translation project.
14756
14757 2013-07-27  David S. Miller  <davem@davemloft.net>
14758
14759         * po/eo.po: Update Esperanto translation from translation project.
14760
14761         * po/vi.po: Update Vietnamese translation from translation project.
14762
14763         * po/de.po: Update German translation from translation project.
14764
14765 2013-07-26  David S. Miller  <davem@davemloft.net>
14766
14767         * po/bg.po: Update Bulgarian translation from translation project.
14768
14769         * po/nl.po: Update Dutch translation from translation project.
14770         * po/pl.po: Update Polish translation from translation project.
14771         * po/ru.po: Update Russian translation from translation project.
14772
14773 2013-07-24  David S. Miller  <davem@davemloft.net>
14774
14775         * po/libc.pot: Update.
14776
14777 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14778
14779         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
14780         variable page size.
14781         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
14782         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
14783         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
14784
14785 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14786
14787         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
14788
14789 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14790             Andreas Schwab  <schwab@suse.de>
14791             Roland McGrath  <roland@hack.frob.com>
14792             Joseph Myers  <joseph@codesourcery.com>
14793             Carlos O'Donell  <carlos@redhat.com>
14794
14795         [BZ #15755]
14796         * config.h.in: Define HAVE_PT_CHOWN.
14797         * config.make.in (build-pt-chown): New variable.
14798         * configure.in (--enable-pt_chown): New configure option.
14799         * configure: Regenerate.
14800         * login/Makefile: Include Makeconfig.  Build pt_chown only if
14801         build-pt-chown is enabled.
14802         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
14803         pt_chown to fix pty ownership.
14804         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
14805         CLOSE_ALL_FDS.
14806         * manual/install.texi (Configuring and compiling): Mention
14807         --enable-pt_chown. Add @findex for grantpt.
14808         * INSTALL: Regenerate.
14809
14810 2013-07-20  David S. Miller  <davem@davemloft.net>
14811
14812         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
14813         difference between 32-bit and 64-bit.
14814
14815 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
14816
14817         [BZ #15711]
14818         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
14819         Avoid system header dependency with -ffreestanding.
14820         ($(objpfx)bits/syscall%d): Likewise.
14821
14822 2013-07-13  David S. Miller  <davem@davemloft.net>
14823
14824         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
14825         underflows from atanl/atan2l due to bug 15319.
14826         (casinh_test_data): Likewise.
14827
14828 2013-07-07  David S. Miller  <davem@davemloft.net>
14829
14830         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
14831
14832 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
14833
14834         * sysdeps/i386/fpu/libm-test-ulps: Update.
14835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14836
14837 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14838
14839         * configure.in (--enable-lock-elision): Fix message text.
14840         * INSTALL: Regenerate.
14841         * configure: Regenerate.
14842
14843 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14844
14845         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14846
14847 2013-07-03  Andreas Jaeger  <aj@suse.de>
14848
14849         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
14850         define.
14851         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
14852         (ptrace_peeksiginfo_args): Add.
14853         (__ptrace_peeksiginfo_flags): Add.
14854         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
14855         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
14856         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
14857
14858 2013-07-03  Allan McRae  <allan@archlinux.org>
14859
14860         * sysdeps/i386/fpu/libm-test-ulps: Update.
14861
14862 2013-07-02  David S. Miller  <davem@davemloft.net>
14863
14864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14865
14866 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
14867
14868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14869
14870 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14871
14872         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
14873         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14874
14875 2013-07-02  Andi Kleen <ak@linux.intel.com>
14876
14877         * config.h.in (ENABLE_LOCK_ELISION): Add.
14878         * configure.in (--enable-lock-elision): Add option.
14879         * manual/install.texi: Document --enable lock elision.
14880         * configure: Regenerate
14881         * INSTALL: Regenerate.
14882
14883 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
14884
14885         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
14886         SSE4.2 strcasecmp for libc.a.
14887         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
14888
14889 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
14890
14891         [BZ #13304]
14892         * soft-fp/op-common.h (_FP_FMA): New macro.
14893         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
14894         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
14895         (_FP_MUL_MEAT_1_imm): ... here.
14896         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
14897         (_FP_MUL_MEAT_1_wide): ... here.
14898         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
14899         (_FP_MUL_MEAT_1_hard): ... here.
14900         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
14901         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
14902         (_FP_MUL_MEAT_2_wide): ... here.
14903         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
14904         (_FP_MUL_MEAT_2_wide_3mul): ... here.
14905         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
14906         (_FP_MUL_MEAT_2_gmp): ... here.
14907         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
14908         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
14909         (_FP_MUL_MEAT_4_wide): ... here.
14910         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
14911         (_FP_MUL_MEAT_4_gmp): ... here.
14912         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
14913         (_FP_WFRACBITS_DW_S): Likewise.
14914         (_FP_WFRACXBITS_DW_S): Likewise.
14915         (_FP_HIGHBIT_DW_S): Likewise.
14916         (FP_FMA_S): Likewise.
14917         (_FP_FRAC_HIGH_DW_S): Likewise.
14918         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
14919         (_FP_WFRACBITS_DW_D): Likewise.
14920         (_FP_WFRACXBITS_DW_D): Likewise.
14921         (_FP_HIGHBIT_DW_D): Likewise.
14922         (FP_FMA_D): Likewise.
14923         (_FP_FRAC_HIGH_DW_D): Likewise.
14924         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
14925         (_FP_WFRACBITS_DW_E): Likewise.
14926         (_FP_WFRACXBITS_DW_E): Likewise.
14927         (_FP_HIGHBIT_DW_E): Likewise.
14928         (FP_FMA_E): Likewise.
14929         (_FP_FRAC_HIGH_DW_E): Likewise.
14930         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
14931         (_FP_WFRACBITS_DW_Q): Likewise.
14932         (_FP_WFRACXBITS_DW_Q): Likewise.
14933         (_FP_HIGHBIT_DW_Q): Likewise.
14934         (FP_FMA_Q): Likewise.
14935         (_FP_FRAC_HIGH_DW_Q): Likewise.
14936         * soft-fp/fmasf4.c: New file.
14937         * soft-fp/fmadf4.c: Likewise.
14938         * soft-fp/fmatf4.c: Likewise.
14939
14940 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
14941
14942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
14943         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
14944         Silvermont.
14945         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
14946         macro.
14947         (index_Slow_SSE4_2): Likewise.
14948         (index_Prefer_PMINUB_for_stringop): Likewise.
14949         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
14950         bit_Slow_SSE4_2 is set.
14951         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
14952         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
14953
14954 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14955
14956         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
14957         rtld_global._dl_hwcap2.
14958         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
14959         POWER8.
14960         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
14961         POWER8 feature descriptions defined in _dl_hwcap2.
14962         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
14963         string handling for POWER8 feature bits.
14964         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
14965         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
14966         _dl_powerpc_cap_flags.
14967         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
14968         * sysdeps/powerpc/rtld-global-offsets.sym
14969         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
14970         _dl_hwcap2 in the rtld_global_ro structure.
14971
14972 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14973
14974         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
14975         hardware capabilities in support of AT_HWCAP2.
14976         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
14977         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
14978         GLRO(dl_hwcap2).
14979         (_dl_show_auxv): Add support for calling _dl_procinfo to display
14980         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
14981         explicitly the unknown a_type display mechanism is used.
14982         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
14983         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
14984         struct member.
14985         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
14986         to macro prototype for AT_HWCAP2 support.
14987         * sysdeps/i386/dl-procinfo.h: Likewise.
14988         * sysdeps/s390/dl-procinfo.h: Likewise.
14989         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
14990         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
14991         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
14992         return -1 for unknown a_type display fallback.
14993         * sysdeps/sparc/dl-procinfo.h: Likewise.
14994         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
14995         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
14996
14997 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
14998
14999         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
15000         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
15001
15002 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
15003
15004         [BZ #12492]
15005         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
15006         mprotect making __stack_prot writable.
15007
15008 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
15009             Joseph Myers  <joseph@codesourcery.com>
15010
15011         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
15012         as being properly aligned.
15013
15014 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
15015
15016         * dlfcn/modstatic5.c: New file.
15017         * dlfcn/tststatic5.c: New file.
15018         * dlfcn/Makefile (tests): Add tststatic5.
15019         (tests-static): Likewise.
15020         (modules-names): Add modstatic5.
15021         (tststatic5-ENV): New variable.
15022         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
15023
15024         [BZ #15022]
15025         * elf/dl-support.c (_dl_main_map): New variable.
15026         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
15027         (_dl_nns, _dl_load_adds): Set to 1.
15028         (_dl_initial_searchlist): Refer to _dl_main_map.
15029         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
15030         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
15031         call to _dl_get_origin.
15032         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
15033         around call_map.
15034         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
15035         * dlfcn/modstatic3.c: New file.
15036         * dlfcn/tststatic3.c: New file.
15037         * dlfcn/tststatic4.c: New file.
15038         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
15039         (tests-static): Likewise.
15040         (modules-names): Add modstatic3.
15041         (tststatic3-ENV, tststatic4-ENV): New variables.
15042         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
15043         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
15044
15045 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
15046
15047         * configure.in (CC): Require GCC version 4.4 or later.
15048         * configure: Regenerated.
15049         * manual/install.texi (Tools for Compilation): Update GCC version
15050         requirement.
15051         * INSTALL: Regenerated.
15052
15053 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15054
15055         [BZ #15674]
15056         * string/test-memcmp.c (check2): New.
15057         (main): Call check2.
15058
15059         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
15060
15061 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
15062
15063         [BZ #15022]
15064         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
15065         over to...
15066         (dl_open_worker) [!SHARED]: ... here.
15067
15068 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15069
15070         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
15071
15072 2013-06-25  Richard Henderson  <rth@redhat.com>
15073
15074         * locale/programs/locarchive.c: Include <libc-internal.h>
15075
15076 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
15077
15078         * manual/texinfo.tex: Update to version 2013-06-21.17, with
15079         trailing whitespace removed.
15080
15081 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15082
15083         [BZ #10283]
15084         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
15085         * locale/programs/locarchive.c: Include libc-mmap.h.
15086         (prepare_address_space): Take two new outputs (the mmap base and len).
15087         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
15088         values.
15089         (create_archive): Declare new mmap base and len values for
15090         prepare_address_space, and store the result in ah.
15091         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
15092         (enlarge_archive): If ah->mmap_base is not NULL, use that and
15093         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15094         Declare new mmap base and len values for
15095         prepare_address_space, and store the result in new_ah.
15096         (open_archive): Declare new mmap base and len values for
15097         prepare_address_space, and store the result in ah.
15098         (close_archive): If ah->mmap_base is not NULL, use that and
15099         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
15100         * sysdeps/generic/libc-mmap.h: New file.
15101
15102 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
15103
15104         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
15105         (ALIGN_UP): Likewise.
15106         (PTR_ALIGN_DOWN): Likewise.
15107         (PTR_ALIGN_UP): Likewise.
15108
15109 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15110
15111         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
15112         entry mapped to PPC_PLATFORM_POWER8.
15113         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
15114         POWER8.
15115         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
15116         (_dl_string_platform): Add case for exporting platform position for
15117         POWER8.
15118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
15119         search path to sysdeps/powerpc/powerpc32/power8 directory.
15120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
15121         search path to sysdeps/powerpc/powerpc64/power8 directory.
15122         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
15123         power7 directories.
15124         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
15125         power7 directories.
15126
15127 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15128
15129         * INSTALL: Regenerate.
15130
15131         * nscd/connections.c (nscd_init): Fix comment.
15132
15133 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
15134
15135         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
15136
15137         [BZ #15667]
15138         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
15139         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
15140
15141 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15142
15143         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
15144         DL_DST_REQ_STATIC.
15145         (DL_DST_REQ_STATIC): Remove macro.
15146
15147 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
15148
15149         [BZ #7006]
15150         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
15151         with a shift of 0 bits.
15152
15153 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
15154
15155         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
15156         $(tststatic-ENV).
15157
15158 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15159
15160         [BZ #15655]
15161         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
15162
15163 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15164
15165         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
15166         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
15167         accepts -fno-tree-loop-distribute-patterns.
15168         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
15169         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
15170         recursive call.
15171         * string/memset.c (memset): Likewise.
15172         * string/test-memmove.c (simple_memmove): Disable loop transformation
15173         to library calls.
15174         * string/test-memset.c (simple_memset): Likewise.
15175         * benchtests/bench-memmove.c (simple_memmove): Likewise.
15176         * benchtests/bench-memset.c (simple_memset): Likewise.
15177         * configure: Regenerated.
15178
15179 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
15180
15181         * math/test-misc.c (main): Ignore fesetround failure when failures
15182         of subsequent rounding tests would be ignored.
15183
15184         [BZ #15654]
15185         * math/fedisblxcpt.c (fedisableexcept): Return 0.
15186         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
15187         * math/fegetenv.c (__fegetenv): Return 0.
15188         * math/fegetexcept.c (fegetexcept): Return 0.
15189         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
15190         FE_TONEAREST.
15191         * math/feholdexcpt.c (feholdexcept): Return 0.
15192         * math/fesetenv.c (__fesetenv): Return 0.
15193         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
15194         argument FE_TONEAREST.
15195         * math/feupdateenv.c (__feupdateenv): Return 0.
15196         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
15197
15198 2013-06-18  Roland McGrath  <roland@hack.frob.com>
15199
15200         * elf/rtld-Rules (rtld-compile-command.S): New variable.
15201         (rtld-compile-command.s, rtld-compile-command.c): New variables.
15202         ($(objpfx)rtld-%.os rules): Use them.
15203
15204 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15205
15206         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
15207         fields.
15208
15209 2013-06-17  Roland McGrath  <roland@hack.frob.com>
15210
15211         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
15212         length of target pattern, then descending length of dependency pattern.
15213         * configure.in (AWK): Require gawk 3.1.2 or newer.
15214         * manual/install.texi (Tools for Compilation): Say that we do.
15215         * configure: Regenerated.
15216
15217         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
15218         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
15219         * scripts/sysd-rules.awk: ... this new script.
15220         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
15221         than a glob-style pattern.
15222
15223 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
15224
15225         * math/test-misc.c (main): Do not treat incorrectly rounded
15226         conversions as failure unless ROUNDING_TESTS passes.
15227
15228 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
15229
15230         [BZ #15631]
15231         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
15232         restore exception state around main square root computation, then
15233         check for inexactness explicitly.
15234
15235         * math/libm-test.inc (fma_test_data): Add another test.
15236
15237 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
15238
15239         * manual/threads.texi (Non-POSIX Extensions): New document
15240         node.  Document pthread_getattr_default_np and
15241         pthread_setattr_default_np.
15242
15243         * Versions.def (libpthread): Add GLIBC_2.18.
15244         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
15245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
15246         Likewise.
15247         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
15248         Likewise.
15249         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15250         Likewise.
15251         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15252         Likewise.
15253         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
15256         Likewise.
15257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
15258         Likewise.
15259         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
15260         Likewise.
15261         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
15262         Likewise.
15263
15264 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
15265
15266         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15267         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
15268
15269 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
15270             H.J. Lu  <hjl.tools@gmail.com>
15271
15272         [BZ #15627]
15273         * sysdeps/x86_64/rtld-memset.c: Remove file.
15274         * sysdeps/x86_64/rtld-memset.S: New file.
15275
15276 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
15277
15278         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
15279         (test_in_one_mode): Take arguments for whether the rounding mode
15280         is supported for each floating-point type.
15281         (do_test): Pass new arguments to test_in_one_mode using
15282         ROUNDING_TESTS.
15283
15284 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15285
15286         * posix/tst-waitid.c (do_test): Distinguish different instances of
15287         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
15288         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
15289         before entering the kernel for waitpid.
15290
15291 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15292
15293         * NEWS: Fix note on clock function precision.  Text by Roland
15294         McGrath.
15295
15296 2013-06-13  Roland McGrath  <roland@hack.frob.com>
15297
15298         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
15299         it into place only when and if the sanity check passes.
15300
15301 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
15302
15303         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
15304         output for whether conversion result is exact.  Take argument
15305         indicating whether type is IBM long double.
15306         (round_for_all): Change need_exact field to ibm_ld.
15307         * stdlib/tst-strtod-round.c (struct exactness): New type.
15308         (struct test): Change bool ld_ok field to struct exactness exact.
15309         (TEST): Update all definitions for change to field.
15310         (tests): Regenerate array contents.
15311         (test_in_one_mode): Take pointer to new field instead of old ld_ok
15312         field value.  Check for IBM long double here.
15313         (do_test): Update calls to test_in_one_mode.
15314
15315 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15316
15317         [BZ #12515]
15318         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
15319         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
15320
15321 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15322
15323         [BZ #15605]
15324         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
15325         generated by the compiler on loop optimizations.
15326         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
15327         general definitions.
15328
15329 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
15330
15331         * math/bug-nextafter.c: Include <math-tests.h>.
15332         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15333         the relevant type.
15334         * math/bug-nexttoward.c: Include <math-tests.h>.
15335         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15336         the relevant type.
15337         * math/test-misc.c: Include <math-tests.h>.
15338         (main): Only test for exceptions if EXCEPTION_TESTS is true for
15339         the relevant type.
15340
15341 2013-06-12  Andreas Jaeger  <aj@suse.de>
15342
15343         * po/ia.po: Update Interlingua translation from translation
15344         project.
15345
15346 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15347
15348         * include/fenv.h: Include stdbool.h.
15349         (struct rm_ctx): New structure.
15350         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
15351         Define macro.
15352         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
15353         (SET_RESTORE_ROUNDF): Likewise.
15354         (SET_RESTORE_ROUNDL): Likewise.
15355         (SET_RESTORE_ROUND_NOEX): Likewise.
15356         (SET_RESTORE_ROUND_NOEXF): Likewise.
15357         (SET_RESTORE_ROUND_NOEXL): Likewise.
15358         (SET_RESTORE_ROUND_53BIT): Likewise.
15359         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
15360         (libc_feresetround_noexf_ctx): Likewise.
15361         (libc_feresetround_noexl_ctx): Likewise.
15362         (libc_feholdsetround_53bit_ctx): Likewise.
15363         (libc_feresetround_53bit_ctx): Likewise.
15364         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
15365         (libc_feholdexcept_setround_sse_ctx): New function.
15366         (libc_fesetenv_sse_ctx): Likewise.
15367         (libc_feupdateenv_sse_ctx): Likewise.
15368         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
15369         (libc_feholdexcept_setround_387_ctx): Likewise.
15370         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
15371         (libc_feholdsetround_387_prec_ctx): Likewise.
15372         (libc_feholdsetround_387_ctx): Likewise.
15373         (libc_feholdsetround_387_53bit_ctx): Likewise.
15374         (libc_feholdsetround_sse_ctx): Likewise.
15375         (libc_feresetround_sse_ctx): Likewise.
15376         (libc_feresetround_387_ctx): Likewise.
15377         (libc_feupdateenv_387_ctx): Likewise.
15378         (libc_feholdexcept_setroundf_ctx): Define macro.
15379         (libc_fesetenvf_ctx): Likewise.
15380         (libc_feupdateenvf_ctx): Likewise.
15381         (libc_feholdsetroundf_ctx): Likewise.
15382         (libc_feresetroundf_ctx): Likewise.
15383         (libc_feholdexcept_setround_ctx): Likewise.
15384         (libc_fesetenv_ctx): Likewise.
15385         (libc_feupdateenv_ctx): Likewise.
15386         (libc_feholdsetround_ctx): Likewise.
15387         (libc_feresetround_ctx): Likewise.
15388         (libc_feholdexcept_setroundl_ctx): Likewise.
15389         (libc_feupdateenvl_ctx): Likewise.
15390         (libc_feholdsetroundl_ctx): Likewise.
15391         (libc_feresetroundl_ctx): Likewise.
15392         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
15393         (libc_feresetround_53bit_ctx): Likewise.
15394
15395 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15396
15397         * locale/iso-639.def: Convert to UTF-8.
15398
15399 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
15400
15401         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
15402         (EXCEPTION_TESTS_double): Likewise.
15403         (EXCEPTION_TESTS_long_double): Likewise.
15404         (EXCEPTION_TESTS): Likewise.
15405         * math/libm-test.inc (test_exceptions): Only test exceptions if
15406         EXCEPTION_TESTS (FLOAT).
15407
15408 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15409
15410         * benchtests/Makefile (string-bench): Add strcpy_chk and
15411         stpcpy_chk.
15412         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
15413         * benchtests/bench-stpcpy_chk.c: New file.
15414         * benchtests/bench-strcpy_chk-ifunc.c: New file.
15415         * benchtests/bench-strcpy_chk.c: New file.
15416         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
15417         code.
15418         (do_test): Likewise.
15419
15420 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15421
15422         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
15423         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
15424         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
15425         with tabs where appropriate.
15426         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
15427         dl-procinfo.h.
15428         [PPC_PLATFORM_PPC440]: Likewise.
15429         [PPC_PLATFORM_PPC464]: Likewise.
15430         [PPC_PLATFORM_PPC476]: Likewise.
15431         (_dl_string_platform): Add support for detecting ppc405, ppc440,
15432         ppc464, and ppc476 platform strings merging from ports/
15433         dl-procinfo.h.
15434
15435 2013-06-11  Andreas Schwab  <schwab@suse.de>
15436
15437         [BZ #14991]
15438         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
15439         (from_ucs4_idx): Regenerate.
15440         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
15441         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
15442         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
15443         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
15444         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
15445         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
15446         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
15447         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
15448         from FROM_LOOP and TO_LOOP specific macros.
15449         (BODY): Handle combining characters.
15450         * iconvdata/BIG5HKSCS.irreversible: Update.
15451         * iconvdata/BIG5HKSCS.precomposed: New file.
15452         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
15453         characters.
15454         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
15455
15456 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15457
15458         * include/sys/time.h: Fix indentation and add copyright header.
15459
15460         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
15461         (do_test): Likewise.
15462         * string/test-memchr.c (do_one_test): Likewise.
15463         (do_test): Likewise.
15464         * string/test-memcmp.c (do_one_test): Likewise.
15465         (do_test): Likewise.
15466         * string/test-memcpy.c (do_one_test): Likewise.
15467         (do_test): Likewise.
15468         * string/test-memmem.c (do_one_test): Likewise.
15469         (do_test): Likewise.
15470         (do_random_tests): Likewise.
15471         * string/test-memmove.c (do_one_test): Likewise.
15472         (do_test): Likewise.
15473         * string/test-memset.c (do_one_test): Likewise.
15474         (do_test): Likewise.
15475         * string/test-rawmemchr.c (do_one_test): Likewise.
15476         (do_test): Likewise.
15477         * string/test-strcasecmp.c (do_one_test): Likewise.
15478         (do_test): Likewise.
15479         * string/test-strcasestr.c (do_one_test): Likewise.
15480         (do_test): Likewise.
15481         * string/test-strcat.c (do_one_test): Likewise.
15482         (do_test): Likewise.
15483         * string/test-strchr.c (do_one_test): Likewise.
15484         (do_test): Likewise.
15485         * string/test-strcmp.c (do_one_test): Likewise.
15486         (do_test): Likewise.
15487         * string/test-strcpy.c (do_one_test): Likewise.
15488         (do_test): Likewise.
15489         * string/test-string.h: Likewise.
15490         (test_init): Likewise.
15491         * string/test-strlen.c (do_one_test): Likewise.
15492         (do_test): Likewise.
15493         * string/test-strncasecmp.c (do_one_test): Likewise.
15494         (do_test): Likewise.
15495         * string/test-strncat.c (do_one_test): Likewise.
15496         (do_test): Likewise.
15497         * string/test-strncmp.c (do_one_test): Likewise.
15498         (do_test_limit): Likewise.
15499         (do_test): Likewise.
15500         * string/test-strncpy.c (do_one_test): Likewise.
15501         (do_test): Likewise.
15502         * string/test-strnlen.c (do_one_test): Likewise.
15503         (do_test): Likewise.
15504         * string/test-strpbrk.c (do_one_test): Likewise.
15505         (do_test): Likewise.
15506         * string/test-strrchr.c (do_one_test): Likewise.
15507         (do_test): Likewise.
15508         * string/test-strspn.c (do_one_test): Likewise.
15509         (do_test): Likewise.
15510         * string/test-strstr.c (do_one_test): Likewise.
15511         (do_test): Likewise.
15512
15513         * benchtests/Makefile (string-bench): Add string benchmarks.
15514         * benchtests/bench-bcopy-ifunc.c: New file.
15515         * benchtests/bench-bcopy.c: New file.
15516         * benchtests/bench-bzero-ifunc.c: New file.
15517         * benchtests/bench-bzero.c: New file.
15518         * benchtests/bench-memccpy-ifunc.c: New file.
15519         * benchtests/bench-memccpy.c: New file.
15520         * benchtests/bench-memchr-ifunc.c: New file.
15521         * benchtests/bench-memchr.c: New file.
15522         * benchtests/bench-memcmp-ifunc.c: New file.
15523         * benchtests/bench-memcmp.c: New file.
15524         * benchtests/bench-memmem-ifunc.c: New file.
15525         * benchtests/bench-memmem.c: New file.
15526         * benchtests/bench-memmove-ifunc.c: New file.
15527         * benchtests/bench-memmove.c: New file.
15528         * benchtests/bench-mempcpy-ifunc.c: New file.
15529         * benchtests/bench-mempcpy.c: New file.
15530         * benchtests/bench-memset-ifunc.c: New file.
15531         * benchtests/bench-memset.c: New file.
15532         * benchtests/bench-rawmemchr-ifunc.c: New file.
15533         * benchtests/bench-rawmemchr.c: New file.
15534         * benchtests/bench-stpcpy-ifunc.c: New file.
15535         * benchtests/bench-stpcpy.c: New file.
15536         * benchtests/bench-stpncpy-ifunc.c: New file.
15537         * benchtests/bench-stpncpy.c: New file.
15538         * benchtests/bench-strcasecmp-ifunc.c: New file.
15539         * benchtests/bench-strcasecmp.c: New file.
15540         * benchtests/bench-strcasestr-ifunc.c: New file.
15541         * benchtests/bench-strcasestr.c: New file.
15542         * benchtests/bench-strcat-ifunc.c: New file.
15543         * benchtests/bench-strcat.c: New file.
15544         * benchtests/bench-strchr-ifunc.c: New file.
15545         * benchtests/bench-strchr.c: New file.
15546         * benchtests/bench-strchrnul-ifunc.c: New file.
15547         * benchtests/bench-strchrnul.c: New file.
15548         * benchtests/bench-strcmp-ifunc.c: New file.
15549         * benchtests/bench-strcmp.c: New file.
15550         * benchtests/bench-strcpy-ifunc.c: New file.
15551         * benchtests/bench-strcpy.c: New file.
15552         * benchtests/bench-strcspn-ifunc.c: New file.
15553         * benchtests/bench-strcspn.c: New file.
15554         * benchtests/bench-strlen-ifunc.c: New file.
15555         * benchtests/bench-strlen.c: New file.
15556         * benchtests/bench-strncasecmp-ifunc.c: New file.
15557         * benchtests/bench-strncasecmp.c: New file.
15558         * benchtests/bench-strncat-ifunc.c: New file.
15559         * benchtests/bench-strncat.c: New file.
15560         * benchtests/bench-strncmp-ifunc.c: New file.
15561         * benchtests/bench-strncmp.c: New file.
15562         * benchtests/bench-strncpy-ifunc.c: New file.
15563         * benchtests/bench-strncpy.c: New file.
15564         * benchtests/bench-strnlen-ifunc.c: New file.
15565         * benchtests/bench-strnlen.c: New file.
15566         * benchtests/bench-strpbrk-ifunc.c: New file.
15567         * benchtests/bench-strpbrk.c: New file.
15568         * benchtests/bench-strrchr-ifunc.c: New file.
15569         * benchtests/bench-strrchr.c: New file.
15570         * benchtests/bench-strspn-ifunc.c: New file.
15571         * benchtests/bench-strspn.c: New file.
15572         * benchtests/bench-strstr-ifunc.c: New file.
15573         * benchtests/bench-strstr.c: New file.
15574
15575         * benchtests/Makefile: Disable parallel execution of targets.
15576         (string-bench): Add memcpy.
15577         (benchset): New variable to store a list of benchmark sets.
15578         (bench-func): Renamed from bench.
15579         (bench-set): New target.
15580         (bench): Depend on bench-func and bench-set.
15581         * benchtests/README: Add section on benchmark sets.
15582         * benchtests/bench-memcpy-ifunc.c: New file.
15583         * benchtests/bench-memcpy.c: New file.
15584         * benchtests/bench-string.h: New file.
15585
15586 2013-06-11  Andreas Schwab  <schwab@suse.de>
15587
15588         [BZ #15577]
15589         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
15590         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
15591         values in the triple.
15592         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
15593         terminator in the group key.
15594
15595 2013-06-11  Andreas Jaeger  <aj@suse.de>
15596
15597         * po/zh_TW.po: Update Chinese (traditional) translation from
15598         translation project.
15599
15600 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
15601
15602         * include/time.h (__clock_gettime): Add libc_hidden_proto.
15603         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
15604         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
15605         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
15606         (clock_getcpuclockid): Likewise.
15607         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
15608         Add weak_alias and libc_hidden_def.
15609         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
15610         * rt/clock_gettime.c (clock_gettime): Rename to
15611         __clock_gettime.  Add weak_alias and libc_hidden_def.
15612         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
15613         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
15614         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
15615         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
15616         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
15617         Likewise.
15618         * rt/clock_settime.c (clock_settime): Rename to
15619         __clock_settime.  Add weak_alias and libc_hidden_def.
15620         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
15621
15622 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
15623
15624         * mach/err_boot.sub: Remove trailing whitespace.
15625         * mach/err_ipc.sub: Likewise.
15626         * mach/err_mach.sub: Likewise.
15627
15628         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
15629         (ROUNDING_TESTS_double): Likewise.
15630         (ROUNDING_TESTS_long_double): Likewise.
15631         (ROUNDING_TESTS): Likewise.
15632         * math/libm-test.inc: Include <math-tests.h>.
15633         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
15634         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
15635         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
15636         (IF_ROUND_INIT_FE_UPWARD): Likewise.
15637
15638 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15639
15640         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
15641         of assigning.
15642
15643 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
15644
15645         * sysdeps/gnu/errlist.awk: Do not generate space at end of
15646         otherwise empty TRANS lines.
15647         * sysdeps/gnu/errlist.c: Regenerated.
15648
15649         * catgets/gencat.c (error_print): Use (void) in function
15650         definition.
15651         * crypt/crypt_util.c (__init_des): Likewise.
15652         * crypt/speeds.c (Stop): Likewise.
15653         (main): Likewise.
15654         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
15655         * inet/ruserpass.c (token): Likewise.
15656         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
15657         * intl/localealias.c (extend_alias_table): Likewise.
15658         * intl/plural-exp.c (init_germanic_plural): Likewise.
15659         * libio/fcloseall.c (__fcloseall): Likewise.
15660         * libio/genops.c (_IO_flush_all): Likewise.
15661         (_IO_flush_all_linebuffered): Likewise.
15662         (_IO_cleanup): Likewise.
15663         (_IO_iter_begin): Likewise.
15664         (_IO_iter_end): Likewise.
15665         (_IO_list_lock): Likewise.
15666         (_IO_list_unlock): Likewise.
15667         (_IO_list_resetlock): Likewise.
15668         * libio/getchar.c (getchar): Likewise.
15669         * libio/getchar_u.c (getchar_unlocked): Likewise.
15670         * libio/getwchar.c (getwchar): Likewise.
15671         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
15672         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
15673         * login/getpt.c (__getpt): Likewise.
15674         * login/tst-utmp.c (main): Likewise.
15675         * malloc/hooks.c (__malloc_check_init): Likewise.
15676         * malloc/malloc.c (__malloc_stats): Likewise.
15677         * malloc/mtrace.c (tr_break): Likewise.
15678         (mtrace): Likewise.
15679         (muntrace): Likewise.
15680         * misc/fstab.c (endfsent): Likewise.
15681         * misc/getclktck.c (__getclktck): Likewise.
15682         * misc/getdtsz.c (__getdtablesize): Likewise.
15683         * misc/gethostid.c (gethostid): Likewise.
15684         * misc/getpagesize.c (__getpagesize): Likewise.
15685         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
15686         (__get_nprocs): Likewise.
15687         (__get_phys_pages): Likewise.
15688         (__get_avphys_pages): Likewise.
15689         * misc/getttyent.c (getttyent): Likewise.
15690         (setttyent): Likewise.
15691         (endttyent): Likewise.
15692         * misc/getusershell.c (getusershell): Likewise.
15693         (endusershell): Likewise.
15694         (setusershell): Likewise.
15695         (initshells): Likewise.
15696         * misc/hsearch.c (__hdestroy): Likewise.
15697         * misc/sync.c (sync): Likewise.
15698         * misc/syslog.c (closelog_internal): Likewise.
15699         (closelog): Likewise.
15700         * misc/ttyslot.c (ttyslot): Likewise.
15701         * misc/vhangup.c (vhangup): Likewise.
15702         * posix/fork.c (__fork): Likewise.
15703         * posix/getegid.c (__getegid): Likewise.
15704         * posix/geteuid.c (__geteuid): Likewise.
15705         * posix/getgid.c (__getgid): Likewise.
15706         * posix/getpid.c (__getpid): Likewise.
15707         * posix/getppid.c (__getppid): Likewise.
15708         * posix/getuid.c (__getuid): Likewise.
15709         * posix/pause.c (pause): Likewise.
15710         * posix/setpgrp.c (setpgrp): Likewise.
15711         * posix/setsid.c (__setsid): Likewise.
15712         * posix/test-vfork.c (noop): Likewise.
15713         * resolv/gethnamaddr.c (_endhtent): Likewise.
15714         (_gethtent): Likewise.
15715         (ht_endhostent): Likewise.
15716         (gethostent): Likewise.
15717         (dns_service): Likewise.
15718         * stdlib/drand48.c (drand48): Likewise.
15719         * stdlib/lrand48.c (lrand48): Likewise.
15720         * stdlib/mrand48.c (mrand48): Likewise.
15721         * stdlib/rand.c (rand): Likewise.
15722         * stdlib/random.c (__random): Likewise.
15723         * stdlib/setenv.c (clearenv): Likewise.
15724         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
15725         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
15726         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
15727         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
15728         (__get_nprocs): Likewise.
15729         (__get_phys_pages): Likewise.
15730         (__get_avphys_pages): Likewise.
15731         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
15732         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
15733         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
15734         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
15735         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
15736         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
15737         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
15738         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
15739         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
15740         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
15741         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
15742         * sysdeps/mach/hurd/sync.c (sync): Likewise.
15743         * sysdeps/posix/clock.c (clock): Likewise.
15744         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
15745         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
15746         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
15747         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
15748         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
15749         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
15750         (__get_nprocs_conf): Likewise.
15751         (__get_phys_pages): Likewise.
15752         (__get_avphys_pages): Likewise.
15753         * time/clock.c (clock): Likewise.
15754         * time/tzset.c (__tzname_max): Likewise.
15755
15756 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
15757
15758         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
15759         (__bswap_32): Do not use "register".
15760         * crypt/crypt.c (_ufc_doit_r): Likewise.
15761         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15762         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15763         * gmon/gmon.c (__monstartup): Likewise.
15764         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
15765         * hurd/hurdmalloc.c (more_memory): Likewise.
15766         (malloc): Likewise.
15767         (free): Likewise.
15768         (realloc): Likewise.
15769         (malloc_fork_prepare): Likewise.
15770         (malloc_fork_parent): Likewise.
15771         (malloc_fork_child): Likewise.
15772         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
15773         (_svcauth_des): Likewise.
15774         * inet/inet_lnaof.c (inet_lnaof): Likewise.
15775         * inet/inet_net.c (inet_network): Likewise.
15776         * inet/inet_netof.c (inet_netof): Likewise.
15777         * inet/rcmd.c (__validuser2_sa): Likewise.
15778         * io/fts.c (fts_open): Likewise.
15779         (fts_load): Likewise.
15780         (fts_close): Likewise.
15781         (fts_read): Likewise.
15782         (fts_children): Likewise.
15783         (fts_build): Likewise.
15784         (fts_stat): Likewise.
15785         (fts_sort): Likewise.
15786         (fts_alloc): Likewise.
15787         (fts_lfree): Likewise.
15788         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
15789         (_IO_file_xsgetn): Likewise.
15790         (_IO_file_xsgetn_mmap): Likewise.
15791         * libio/iofopncook.c (_IO_cookie_read): Likewise.
15792         (_IO_cookie_write): Likewise.
15793         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
15794         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
15795         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
15796         * malloc/obstack.c (_obstack_begin): Likewise.
15797         (_obstack_begin_1): Likewise.
15798         (_obstack_newchunk): Likewise.
15799         (_obstack_allocated_p): Likewise.
15800         (obstack_free): Likewise.
15801         (_obstack_memory_used): Likewise.
15802         * misc/getttyent.c (getttynam): Likewise.
15803         (getttyent): Likewise.
15804         (skip): Likewise.
15805         (value): Likewise.
15806         * misc/getusershell.c (initshells): Likewise.
15807         * misc/syslog.c (__vsyslog_chk): Likewise.
15808         * misc/ttyslot.c (ttyslot): Likewise.
15809         * nis/nis_hash.c (__nis_hash): Likewise.
15810         * posix/fnmatch_loop.c (FCT): Likewise.
15811         * posix/getconf.c (print_all): Likewise.
15812         (main): Likewise.
15813         * posix/getopt.c (exchange): Likewise.
15814         * posix/glob.c (globfree): Likewise.
15815         (prefix_array): Likewise.
15816         (__glob_pattern_type): Likewise.
15817         * resolv/arpa/nameser.h (NS_GET16): Likewise.
15818         (NS_GET32): Likewise.
15819         (NS_PUT16): Likewise.
15820         (NS_PUT32): Likewise.
15821         * resolv/gethnamaddr.c (getanswer): Likewise.
15822         (gethostbyname2): Likewise.
15823         (gethostbyaddr): Likewise.
15824         (_gethtent): Likewise.
15825         (_gethtbyname2): Likewise.
15826         (_gethtbyaddr): Likewise.
15827         * resolv/ns_print.c (dst_s_get_int16): Likewise.
15828         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
15829         * resolv/res_init.c (__res_vinit): Likewise.
15830         (net_mask): Likewise.
15831         * resolv/res_mkquery.c (outchar): Likewise.
15832         (PRINT): Likewise.
15833         * stdio-common/printf_fp.c (outchar): Likewise.
15834         (PRINT): Likewise.
15835         * stdio-common/printf_fphex.c (outchar): Likewise.
15836         (PRINT): Likewise.
15837         * stdio-common/printf_size.c (outchar): Likewise.
15838         (PRINT): Likewise.
15839         * stdio-common/test_rdwr.c (main): Likewise.
15840         * stdio-common/tfformat.c (matches): Likewise.
15841         * stdio-common/vfprintf.c (outchar): Likewise.
15842         (printf_unknown): Likewise.
15843         (buffered_vfprintf): Likewise.
15844         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15845         * stdio-common/xbug.c (AppendToBuffer): Likewise.
15846         (ReadFile): Likewise.
15847         * stdlib/qsort.c (SWAP): Likewise.
15848         (_quicksort): Likewise.
15849         * stdlib/setenv.c (__add_to_environ): Likewise.
15850         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15851         * stdlib/strtol_l.c (__strtol_l): Likewise.
15852         * stdlib/tst-strtod.c (main): Likewise.
15853         * stdlib/tst-strtol.c (main): Likewise.
15854         * stdlib/tst-strtoll.c (main): Likewise.
15855         * string/bits/string2.h (__strcmp_cc): Likewise.
15856         (__strcmp_cg): Likewise.
15857         (__strcspn_c1): Likewise.
15858         (__strcspn_c2): Likewise.
15859         (__strcspn_c3): Likewise.
15860         (__strspn_c1): Likewise.
15861         (__strspn_c2): Likewise.
15862         (__strspn_c3): Likewise.
15863         (__strsep_1c): Likewise.
15864         (__strsep_2c): Likewise.
15865         (__strsep_3c): Likewise.
15866         * string/memccpy.c (__memccpy): Likewise.
15867         * string/stpcpy.c (__stpcpy): Likewise.
15868         * string/strcmp.c (strcmp): Likewise.
15869         * string/strrchr.c (strrchr): Likewise.
15870         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
15871         Likewise.
15872         * sysdeps/mach/hurd/getcwd.c
15873         (_hurd_canonicalize_directory_name_internal): Likewise.
15874         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
15875         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
15876         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
15877         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
15878         Likewise, in both definitions.
15879         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
15880         definitions.
15881         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
15882         64] (__bswap_64): Likewise.
15883         * time/test_time.c (main): Likewise.
15884         * time/tzfile.c (__tzfile_read): Likewise.
15885         (__tzfile_compute): Likewise.
15886         * time/tzset.c (__tzset_parse_tz): Likewise.
15887         (tzset_internal): Likewise.
15888         (compute_change): Likewise.
15889         * wcsmbs/wcscat.c (__wcscat): Likewise.
15890         * wcsmbs/wcschr.c (wcschr): Likewise.
15891         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
15892         * wcsmbs/wcscspn.c (wcscspn): Likewise.
15893         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
15894         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
15895         * wcsmbs/wcsspn.c (wcsspn): Likewise.
15896         * wcsmbs/wcsstr.c (wcsstr): Likewise.
15897         * wcsmbs/wmemchr.c (wmemchr): Likewise.
15898         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
15899         * wcsmbs/wmemset.c (wmemset): Likewise.
15900
15901 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
15902
15903         * scripts/config.guess: Update to version 2013-05-16.
15904         * scripts/config.sub: Update to version 2013-04-24.
15905         * scripts/install-sh: Update to version 2011-11-20.07.
15906         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
15907         * scripts/move-if-change: Update to version 2012-01-06 07:23.
15908
15909 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
15910
15911         * debug/fgetws_u_chk.c: Fix leading whitespaces.
15912         * elf/sln.c: Likewise.
15913         * hurd/hurd/ioctl.h: Likewise.
15914         * hurd/hurdmalloc.c: Likewise.
15915         * hurd/xattr.c: Likewise.
15916         * include/shlib-compat.h: Likewise.
15917         * inet/ruserpass.c: Likewise.
15918         * libio/iofgets_u.c: Likewise.
15919         * libio/iofgetws_u.c: Likewise.
15920         * locale/programs/ld-identification.c: Likewise.
15921         * locale/programs/ld-time.c: Likewise.
15922         * mach/msg-destroy.c: Likewise.
15923         * nss/nss_files/files-netgrp.c: Likewise.
15924         * resolv/res_data.c: Likewise.
15925         * soft-fp/op-1.h: Likewise.
15926         * soft-fp/op-2.h: Likewise.
15927         * soft-fp/op-4.h: Likewise.
15928         * soft-fp/op-common.h: Likewise.
15929         * stdio-common/printf_fphex.c: Likewise.
15930         * stdlib/strtod_l.c: Likewise.
15931         * sunrpc/rpc/clnt.h: Likewise.
15932         * sysdeps/generic/framestate.c: Likewise.
15933         * sysdeps/i386/bsd-_setjmp.S: Likewise.
15934         * sysdeps/i386/bsd-setjmp.S: Likewise.
15935         * sysdeps/i386/__longjmp.S: Likewise.
15936         * sysdeps/i386/setjmp.S: Likewise.
15937         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
15938         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
15939         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
15940         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
15941         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
15942         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
15943         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
15944         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
15945         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
15946         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
15947         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
15948         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
15949         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
15950         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
15951         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
15952         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
15953         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
15954         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
15955         * sysdeps/ieee754/support.c: Likewise.
15956         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
15957         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
15958         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
15959         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
15960         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
15961         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
15962         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
15963         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
15964         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
15965         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
15966         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
15967         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
15968         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
15969         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
15970         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
15971         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
15972         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
15974
15975 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
15976
15977         * posix/transbug.c: Remove executable mode.
15978
15979 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
15980
15981         * crypt/speeds.c: Remove trailing whitespace.
15982         * dlfcn/default.c: Likewise.
15983         * elf/ifuncdep2.c: Likewise.
15984         * elf/ifuncmain1.c: Likewise.
15985         * elf/ifuncmain1vis.c: Likewise.
15986         * elf/testobj.h: Likewise.
15987         * elf/tst-stackguard1.c: Likewise.
15988         * gmon/sys/gmon.h: Likewise.
15989         * hurd/hurdmsg.c: Likewise.
15990         * hurd/new-fd.c: Likewise.
15991         * hurd/ports-get.c: Likewise.
15992         * iconvdata/ibm1008_420.c: Likewise.
15993         * inet/tst-getni1.c: Likewise.
15994         * inet/tst-getni2.c: Likewise.
15995         * libio/ioungetc.c: Likewise.
15996         * libio/wfiledoalloc.c: Likewise.
15997         * manual/libm-err-tab.pl: Likewise.
15998         * math/w_dremf.c: Likewise.
15999         * misc/ftruncate.c: Likewise.
16000         * posix/bug-glob2.c: Likewise.
16001         * posix/tst-pcre.c: Likewise.
16002         * posix/wait4.c: Likewise.
16003         * resolv/README: Likewise.
16004         * resolv/res_debug.h: Likewise.
16005         * resolv/tst-inet_ntop.c: Likewise.
16006         * setjmp/bug269-setjmp.c: Likewise.
16007         * soft-fp/extended.h: Likewise.
16008         * soft-fp/op-1.h: Likewise.
16009         * soft-fp/op-2.h: Likewise.
16010         * soft-fp/op-4.h: Likewise.
16011         * soft-fp/op-8.h: Likewise.
16012         * soft-fp/testit.c: Likewise.
16013         * stdio-common/bug16.c: Likewise.
16014         * stdlib/random.c: Likewise.
16015         * sunrpc/rpcsvc/rquota.x: Likewise.
16016         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
16017         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
16018         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
16019         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
16020         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
16021         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
16022         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
16023         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
16024         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
16025         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
16026         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
16027         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16028         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16029         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16030         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16031         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16032         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16033         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
16034         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16035         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16036         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16037         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16038         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16039         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
16040         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
16041         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
16042         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
16043         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
16044         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
16045         * sysdeps/ieee754/s_lib_version.c: Likewise.
16046         * sysdeps/mach/hurd/check_fds.c: Likewise.
16047         * sysdeps/mach/hurd/getsockname.c: Likewise.
16048         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
16049         * sysdeps/mach/hurd/recvfrom.c: Likewise.
16050         * sysdeps/powerpc/bits/link.h: Likewise.
16051         * sysdeps/powerpc/dl-procinfo.c: Likewise.
16052         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
16053         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
16054         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
16055         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
16056         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
16057         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
16058         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
16059         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
16060         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
16061         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
16062         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
16063         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
16064         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
16065         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
16066         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
16067         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
16068         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
16069         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
16070         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
16071         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
16072         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
16073         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
16074         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
16075         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
16076         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
16077         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
16078         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
16079         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
16080         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
16081         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
16082         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
16083         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
16084         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
16085         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
16086         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
16087         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
16088         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
16089         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
16090         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
16091         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
16092         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
16093         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
16094         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
16095         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
16096         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
16097         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
16098         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
16099         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
16100         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
16101         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16102         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16103         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
16104         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
16105         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
16106         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
16107         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
16108         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
16109         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
16110         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
16111         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
16112         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
16113         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
16114         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
16115         * sysdeps/powerpc/sysdep.h: Likewise.
16116         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
16117         * sysdeps/s390/s390-64/sub_n.S: Likewise.
16118         * sysdeps/sh/dl-trampoline.S: Likewise.
16119         * sysdeps/sh/memset.S: Likewise.
16120         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
16121         * sysdeps/sh/strlen.S: Likewise.
16122         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
16123         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
16124         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
16125         * sysdeps/sparc/sparc32/rem.S: Likewise.
16126         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
16127         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
16128         * sysdeps/sparc/sparc32/strchr.S: Likewise.
16129         * sysdeps/sparc/sparc32/udiv.S: Likewise.
16130         * sysdeps/sparc/sparc32/urem.S: Likewise.
16131         * sysdeps/sparc/sparc64/add_n.S: Likewise.
16132         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
16133         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
16134         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
16135         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
16136         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
16137         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
16138         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
16139         * sysdeps/unix/bsd/times.c: Likewise.
16140         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
16141         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
16142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
16143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
16144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
16145         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
16146         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
16147         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
16148         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
16149         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
16150         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
16151         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16152         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
16153         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
16154         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16155         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
16156         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16157         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
16158         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
16159         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
16160         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
16161         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
16162         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
16163         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
16164         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
16165         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
16166         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
16167         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
16168         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
16169         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
16170         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
16171         * sysdeps/x86_64/strcspn.S: Likewise.
16172
16173 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
16174
16175         * locale/C-translit.h: Revert #include <stdint.h> because this is a
16176         generated file.  Regenerate properly from gen-translit.pl.
16177         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
16178         locale/C-translit.h.
16179
16180 2013-06-05  Andreas Schwab  <schwab@suse.de>
16181
16182         [BZ #15100]
16183         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
16184         week as 6 instead of -1.
16185         * time/tst-strptime.c (day_tests): Add test case.
16186
16187 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16188
16189         * sysdeps/generic/math_private.h
16190         (libc_feholdexcept_setround_53bit): Replace with
16191         libc_feholdsetround_53bit.
16192         (libc_feupdateenv_53bit): Replace with
16193         libc_feresetround_53bit.
16194         (SET_RESTORE_ROUND_53BIT): Adjust.
16195
16196 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16197
16198         * string/test-strchrnul.c: Add copyright header.
16199
16200         * posix/tst-getaddrinfo4.c: Increase test timeout.
16201
16202 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
16203
16204         [BZ #15536]
16205         * math/libm-test.inc (MAX_EXP): Remove
16206         (MIN_EXP): Define.
16207         (ulp): Use MIN_EXP - MANT_DIG.
16208         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
16209
16210 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
16211
16212         * po/be.po: Revert last change.
16213         * po/zh_CN.po: Likewise.
16214         * po/header.pot: Likewise.
16215
16216 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
16217
16218         * Makefile ($(common-objpfx)linkobj/libc.so): Define
16219         link-libc-deps to empty as target-specific variable.
16220         * Makerules (link-libc-args): New variable.
16221         (libc-for-link): Likewise.
16222         (link-libc-deps): Likewise.
16223         (lib%.so): Depend on $(link-libc-deps).  Link with
16224         $(link-libc-args).
16225         (build-module): Link with $(link-libc-args).
16226         (build-module-asneeded): Likewise.
16227         (build-module-helper-objlist): Filter out $(link-libc-deps) from
16228         list of objects.
16229         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
16230         target-specific variable.
16231         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
16232         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
16233         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
16234         libc.
16235         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
16236         libc and ld.so.
16237         ($(objpfx)libpcprofile.so): Likewise.
16238         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
16239         libc_nonshared.a.
16240         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
16241         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
16242         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
16243         $(link-libc-deps).
16244         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
16245         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
16246         * login/Makefile ($(objpfx)libutil.so): Likewise.
16247         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
16248         * math/Makefile ($(objpfx)libm.so): Likewise.
16249         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
16250         $(objpfx)libnsl.so): Define libc-for-link as target-specific
16251         variable instead of depending directly on libc.
16252         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
16253         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
16254         $(link-libc-deps).
16255         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
16256         libc.
16257         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
16258         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
16259         ($(objpfx)libanl.so): Likewise.
16260         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
16261         ld.so.
16262         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
16263         $(link-libc-deps).
16264         * sysdeps/i386/fpu/Makefile: Remove file.
16265         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
16266         ($(objpfx)libm.so): Remove dependency on ld.so.
16267
16268 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
16269
16270         [BZ # 15553]
16271         * nis/yp_xdr.c (XDRMAXNAME): Define.
16272         (XDRMAXRECORD): Define.
16273         (xdr_domainname): Use XDRMAXNAME.
16274         (xdr_mapname): Likewise.
16275         (xdr_peername): Likewise.
16276         (xdr_keydat): Use XDRMAXRECORD.
16277         (xdr_valdat): Likewise.
16278
16279 2013-05-30  Jeff Law  <law@redhat.com>
16280
16281         [BZ #14256]
16282         * manual/errno.texi (ESTALE): Update to account for more than
16283         just NFS file systems.
16284         * sysdeps/gnu/errlist.c: Regenerated.
16285
16286 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
16287
16288         [BZ #15465]
16289         * elf/Makefile (tests): Add tst-null-argv.
16290         (modules-names):  Add tst-null-argv-lib.
16291         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
16292         (tst-null-argv-ENV): Set environment for tst-null-argv.
16293         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
16294         (RTLD_PROGNAME): New macro.
16295         * elf/tst-null-argv.c: New test case.
16296         * elf/tst-null-argv-lib.c: Library for test case.
16297         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
16298         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
16299         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
16300         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
16301         * elf/dl-init.c (call_init): Likewise.
16302         (_dl_init): Likewise.
16303         * elf/dl-load.c (print_search_path): Likewise.
16304         (_dl_map_object): Likewise.
16305         * elf/dl-lookup.c (do_lookup_x): Likewise.
16306         (add_dependency): Likewise.
16307         (_dl_lookup_symbol_x): Likewise.
16308         (_dl_debug_bindings): Likewise.
16309         * elf/dl-open.c (_dl_show_scope): Likewise.
16310         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
16311         * elf/dl-version.c (match_symbol): Likewise.
16312         (_dl_check_map_versions): Likewise.
16313         * elf/rtld.c (dl_main): Likewise.
16314         (print_unresolved): Use RTLD_PROGNAME.
16315         (print_missing_version): Likewise.
16316         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
16317         (elf_machine_rela): Likewise.
16318         * sysdeps/powerpc/powerpc32/dl-machine.c
16319         (__process_machine_rela): Likewise.
16320         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
16321         Likewise.
16322         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
16323         Likewise.
16324         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
16325         Likewise.
16326         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16327         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
16328         Likewise.
16329         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
16330         Likewise.
16331         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
16332
16333 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
16334
16335         * po/be.po: Add descriptive title.
16336         * po/zh_CN.po: Likewise.
16337         * po/header.pot: Likewise.
16338
16339 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
16340
16341         * locale/programs/locarchive.c (create_archive): Inlucde fname in
16342         error message.
16343         (enlarge_archive): Likewise.
16344
16345 2013-05-28  Ben North  <ben@redfrontdoor.org>
16346
16347         * manual/arith.texi (frexp): It is the magnitude of the return
16348         value which lies in [0.5, 1), not the return value itself.
16349
16350 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16351
16352         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16353
16354 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
16355
16356         * stdio-common/bug26.c (main): Correct fscanf template.
16357
16358         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
16359         declare _dl_skip_args.
16360
16361         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
16362         Don't declare.
16363
16364         * manual/platform.texi: Add missing @end deftypefun.
16365
16366 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16367
16368         [BZ #15529]
16369         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
16370         bit of mantissa of 2^16382.
16371         * math/libm-test.inc (hypot_test_data): Add more tests.
16372
16373         * math/libm-test.inc: Add drem and pow10 to list of tested
16374         functions.
16375         (pow10_test): New function.
16376         (drem_test): Likewise.
16377         (drem_test_tonearest): Likewise.
16378         (drem_test_towardzero): Likewise.
16379         (drem_test_downward): Likewise.
16380         (drem_test_upward): Likewise.
16381         (main): Call the new functions.
16382
16383         * math/libm-test.inc (finite_test_data): Remove.
16384         (finite_test): Run tests from isfinite_test_data.
16385         (gamma_test_data): Remove.
16386         (gamma_test): Run tests from lgamma_test_data.
16387         * sysdeps/i386/fpu/libm-test-ulps: Update.
16388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16389
16390 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16391
16392         * manual/platform.texi: Add PowerPC PPR function set documentation.
16393         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
16394         implementation.
16395
16396 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
16397
16398         * math/libm-test.inc (MAX_EXP): Define.
16399         (ULPDIFF): Define.
16400         (ulp): New function.
16401         (check_float_internal): Use ULPDIFF.
16402         (cpow_test): Disable failing test.
16403         (check_ulp): Test ulp() implemetnation.
16404         (main): Call check_ulp before starting tests.
16405
16406 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
16407
16408         * math/gen-libm-test.pl (generate_testfile): Do not handle
16409         START_DATA and END_DATA.
16410         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
16411         END_DATA.
16412         (acos_tonearest_test_data): Likewise.
16413         (acos_towardzero_test_data): Likewise.
16414         (acos_downward_test_data): Likewise.
16415         (acos_upward_test_data): Likewise.
16416         (acosh_test_data): Likewise.
16417         (asin_test_data): Likewise.
16418         (asin_tonearest_test_data): Likewise.
16419         (asin_towardzero_test_data): Likewise.
16420         (asin_downward_test_data): Likewise.
16421         (asin_upward_test_data): Likewise.
16422         (asinh_test_data): Likewise.
16423         (atan_test_data): Likewise.
16424         (atanh_test_data): Likewise.
16425         (atan2_test_data): Likewise.
16426         (cabs_test_data): Likewise.
16427         (cacos_test_data): Likewise.
16428         (cacosh_test_data): Likewise.
16429         (carg_test_data): Likewise.
16430         (casin_test_data): Likewise.
16431         (casinh_test_data): Likewise.
16432         (catan_test_data): Likewise.
16433         (catanh_test_data): Likewise.
16434         (cbrt_test_data): Likewise.
16435         (ccos_test_data): Likewise.
16436         (ccosh_test_data): Likewise.
16437         (ceil_test_data): Likewise.
16438         (cexp_test_data): Likewise.
16439         (cimag_test_data): Likewise.
16440         (clog_test_data): Likewise.
16441         (clog10_test_data): Likewise.
16442         (conj_test_data): Likewise.
16443         (copysign_test_data): Likewise.
16444         (cos_test_data): Likewise.
16445         (cos_tonearest_test_data): Likewise.
16446         (cos_towardzero_test_data): Likewise.
16447         (cos_downward_test_data): Likewise.
16448         (cos_upward_test_data): Likewise.
16449         (cosh_test_data): Likewise.
16450         (cosh_tonearest_test_data): Likewise.
16451         (cosh_towardzero_test_data): Likewise.
16452         (cosh_downward_test_data): Likewise.
16453         (cosh_upward_test_data): Likewise.
16454         (cpow_test_data): Likewise.
16455         (cproj_test_data): Likewise.
16456         (creal_test_data): Likewise.
16457         (csin_test_data): Likewise.
16458         (csinh_test_data): Likewise.
16459         (csqrt_test_data): Likewise.
16460         (ctan_test_data): Likewise.
16461         (ctan_tonearest_test_data): Likewise.
16462         (ctan_towardzero_test_data): Likewise.
16463         (ctan_downward_test_data): Likewise.
16464         (ctan_upward_test_data): Likewise.
16465         (ctanh_test_data): Likewise.
16466         (ctanh_tonearest_test_data): Likewise.
16467         (ctanh_towardzero_test_data): Likewise.
16468         (ctanh_downward_test_data): Likewise.
16469         (ctanh_upward_test_data): Likewise.
16470         (erf_test_data): Likewise.
16471         (erfc_test_data): Likewise.
16472         (exp_test_data): Likewise.
16473         (exp_tonearest_test_data): Likewise.
16474         (exp_towardzero_test_data): Likewise.
16475         (exp_downward_test_data): Likewise.
16476         (exp_upward_test_data): Likewise.
16477         (exp10_test_data): Likewise.
16478         (exp2_test_data): Likewise.
16479         (expm1_test_data): Likewise.
16480         (fabs_test_data): Likewise.
16481         (fdim_test_data): Likewise.
16482         (finite_test_data): Likewise.
16483         (floor_test_data): Likewise.
16484         (fma_test_data): Likewise.
16485         (fma_towardzero_test_data): Likewise.
16486         (fma_downward_test_data): Likewise.
16487         (fma_upward_test_data): Likewise.
16488         (fmax_test_data): Likewise.
16489         (fmin_test_data): Likewise.
16490         (fmod_test_data): Likewise.
16491         (fpclassify_test_data): Likewise.
16492         (frexp_test_data): Likewise.
16493         (gamma_test_data): Likewise.
16494         (hypot_test_data): Likewise.
16495         (ilogb_test_data): Likewise.
16496         (isfinite_test_data): Likewise.
16497         (isgreater_test_data): Likewise.
16498         (isgreaterequal_test_data): Likewise.
16499         (isinf_test_data): Likewise.
16500         (isless_test_data): Likewise.
16501         (islessequal_test_data): Likewise.
16502         (islessgreater_test_data): Likewise.
16503         (isnan_test_data): Likewise.
16504         (isnormal_test_data): Likewise.
16505         (issignaling_test_data): Likewise.
16506         (isunordered_test_data): Likewise.
16507         (j0_test_data): Likewise.
16508         (j1_test_data): Likewise.
16509         (jn_test_data): Likewise.
16510         (ldexp_test_data): Likewise.
16511         (lgamma_test_data): Likewise.
16512         (lrint_test_data): Likewise.
16513         (lrint_tonearest_test_data): Likewise.
16514         (lrint_towardzero_test_data): Likewise.
16515         (lrint_downward_test_data): Likewise.
16516         (lrint_upward_test_data): Likewise.
16517         (llrint_test_data): Likewise.
16518         (llrint_tonearest_test_data): Likewise.
16519         (llrint_towardzero_test_data): Likewise.
16520         (llrint_downward_test_data): Likewise.
16521         (llrint_upward_test_data): Likewise.
16522         (log_test_data): Likewise.
16523         (log10_test_data): Likewise.
16524         (log1p_test_data): Likewise.
16525         (log2_test_data): Likewise.
16526         (logb_test_data): Likewise.
16527         (logb_downward_test_data): Likewise.
16528         (lround_test_data): Likewise.
16529         (llround_test_data): Likewise.
16530         (modf_test_data): Likewise.
16531         (nearbyint_test_data): Likewise.
16532         (nextafter_test_data): Likewise.
16533         (nexttoward_test_data): Likewise.
16534         (pow_test_data): Likewise.
16535         (pow_tonearest_test_data): Likewise.
16536         (pow_towardzero_test_data): Likewise.
16537         (pow_downward_test_data): Likewise.
16538         (pow_upward_test_data): Likewise.
16539         (remainder_test_data): Likewise.
16540         (remainder_tonearest_test_data): Likewise.
16541         (remainder_towardzero_test_data): Likewise.
16542         (remainder_downward_test_data): Likewise.
16543         (remainder_upward_test_data): Likewise.
16544         (remquo_test_data): Likewise.
16545         (rint_test_data): Likewise.
16546         (rint_tonearest_test_data): Likewise.
16547         (rint_towardzero_test_data): Likewise.
16548         (rint_downward_test_data): Likewise.
16549         (rint_upward_test_data): Likewise.
16550         (round_test_data): Likewise.
16551         (scalb_test_data): Likewise.
16552         (scalbn_test_data): Likewise.
16553         (scalbln_test_data): Likewise.
16554         (signbit_test_data): Likewise.
16555         (sin_test_data): Likewise.
16556         (sin_tonearest_test_data): Likewise.
16557         (sin_towardzero_test_data): Likewise.
16558         (sin_downward_test_data): Likewise.
16559         (sin_upward_test_data): Likewise.
16560         (sincos_test_data): Likewise.
16561         (sinh_test_data): Likewise.
16562         (sinh_tonearest_test_data): Likewise.
16563         (sinh_towardzero_test_data): Likewise.
16564         (sinh_downward_test_data): Likewise.
16565         (sinh_upward_test_data): Likewise.
16566         (sqrt_test_data): Likewise.
16567         (tan_test_data): Likewise.
16568         (tan_tonearest_test_data): Likewise.
16569         (tan_towardzero_test_data): Likewise.
16570         (tan_downward_test_data): Likewise.
16571         (tan_upward_test_data): Likewise.
16572         (tanh_test_data): Likewise.
16573         (tgamma_test_data): Likewise.
16574         (trunc_test_data): Likewise.
16575         (y0_test_data): Likewise.
16576         (y1_test_data): Likewise.
16577         (yn_test_data): Likewise.
16578         (significand_test_data): Likewise.
16579
16580         * math/gen-libm-test.pl (@functions): Remove variable.
16581         (generate_testfile): Don't handle START and END lines.
16582         * math/libm-test.inc (START): New macro.
16583         (END): Likewise.
16584         (END_COMPLEX): Likewise.
16585         (acos_test): Use END macro without arguments.
16586         (acos_test_tonearest): Likewise.
16587         (acos_test_towardzero): Likewise.
16588         (acos_test_downward): Likewise.
16589         (acos_test_upward): Likewise.
16590         (acosh_test): Likewise.
16591         (asin_test): Likewise.
16592         (asin_test_tonearest): Likewise.
16593         (asin_test_towardzero): Likewise.
16594         (asin_test_downward): Likewise.
16595         (asin_test_upward): Likewise.
16596         (asinh_test): Likewise.
16597         (atan_test): Likewise.
16598         (atanh_test): Likewise.
16599         (atan2_test): Likewise.
16600         (cabs_test): Likewise.
16601         (cacos_test): Use END_COMPLEX macro without arguments.
16602         (cacosh_test): Likewise.
16603         (carg_test): Use END macro without arguments.
16604         (casin_test): Use END_COMPLEX macro without arguments.
16605         (casinh_test): Likewise.
16606         (catan_test): Likewise.
16607         (catanh_test): Likewise.
16608         (cbrt_test): Use END macro without arguments.
16609         (ccos_test): Use END_COMPLEX macro without arguments.
16610         (ccosh_test): Likewise.
16611         (ceil_test): Use END macro without arguments.
16612         (cexp_test): Use END_COMPLEX macro without arguments.
16613         (cimag_test): Use END macro without arguments.
16614         (clog_test): Use END_COMPLEX macro without arguments.
16615         (clog10_test): Likewise.
16616         (conj_test): Likewise.
16617         (copysign_test): Use END macro without arguments.
16618         (cos_test): Likewise.
16619         (cos_test_tonearest): Likewise.
16620         (cos_test_towardzero): Likewise.
16621         (cos_test_downward): Likewise.
16622         (cos_test_upward): Likewise.
16623         (cosh_test): Likewise.
16624         (cosh_test_tonearest): Likewise.
16625         (cosh_test_towardzero): Likewise.
16626         (cosh_test_downward): Likewise.
16627         (cosh_test_upward): Likewise.
16628         (cpow_test): Use END_COMPLEX macro without arguments.
16629         (cproj_test): Likewise.
16630         (creal_test): Use END macro without arguments.
16631         (csin_test): Use END_COMPLEX macro without arguments.
16632         (csinh_test): Likewise.
16633         (csqrt_test): Likewise.
16634         (ctan_test): Likewise.
16635         (ctan_test_tonearest): Likewise.
16636         (ctan_test_towardzero): Likewise.
16637         (ctan_test_downward): Likewise.
16638         (ctan_test_upward): Likewise.
16639         (ctanh_test): Likewise.
16640         (ctanh_test_tonearest): Likewise.
16641         (ctanh_test_towardzero): Likewise.
16642         (ctanh_test_downward): Likewise.
16643         (ctanh_test_upward): Likewise.
16644         (erf_test): Use END macro without arguments.
16645         (erfc_test): Likewise.
16646         (exp_test): Likewise.
16647         (exp_test_tonearest): Likewise.
16648         (exp_test_towardzero): Likewise.
16649         (exp_test_downward): Likewise.
16650         (exp_test_upward): Likewise.
16651         (exp10_test): Likewise.
16652         (exp2_test): Likewise.
16653         (expm1_test): Likewise.
16654         (fabs_test): Likewise.
16655         (fdim_test): Likewise.
16656         (finite_test): Likewise.
16657         (floor_test): Likewise.
16658         (fma_test): Likewise.
16659         (fma_test_towardzero): Likewise.
16660         (fma_test_downward): Likewise.
16661         (fma_test_upward): Likewise.
16662         (fmax_test): Likewise.
16663         (fmin_test): Likewise.
16664         (fmod_test): Likewise.
16665         (fpclassify_test): Likewise.
16666         (frexp_test): Likewise.
16667         (gamma_test): Likewise.
16668         (hypot_test): Likewise.
16669         (ilogb_test): Likewise.
16670         (isfinite_test): Likewise.
16671         (isgreater_test): Likewise.
16672         (isgreaterequal_test): Likewise.
16673         (isinf_test): Likewise.
16674         (isless_test): Likewise.
16675         (islessequal_test): Likewise.
16676         (islessgreater_test): Likewise.
16677         (isnan_test): Likewise.
16678         (isnormal_test): Likewise.
16679         (issignaling_test): Likewise.
16680         (isunordered_test): Likewise.
16681         (j0_test): Likewise.
16682         (j1_test): Likewise.
16683         (jn_test): Likewise.
16684         (ldexp_test): Likewise.
16685         (lgamma_test): Likewise.
16686         (lrint_test): Likewise.
16687         (lrint_test_tonearest): Likewise.
16688         (lrint_test_towardzero): Likewise.
16689         (lrint_test_downward): Likewise.
16690         (lrint_test_upward): Likewise.
16691         (llrint_test): Likewise.
16692         (llrint_test_tonearest): Likewise.
16693         (llrint_test_towardzero): Likewise.
16694         (llrint_test_downward): Likewise.
16695         (llrint_test_upward): Likewise.
16696         (log_test): Likewise.
16697         (log10_test): Likewise.
16698         (log1p_test): Likewise.
16699         (log2_test): Likewise.
16700         (logb_test): Likewise.
16701         (logb_test_downward): Likewise.
16702         (lround_test): Likewise.
16703         (llround_test): Likewise.
16704         (modf_test): Likewise.
16705         (nearbyint_test): Likewise.
16706         (nextafter_test): Likewise.
16707         (nexttoward_test): Likewise.
16708         (pow_test): Likewise.
16709         (pow_test_tonearest): Likewise.
16710         (pow_test_towardzero): Likewise.
16711         (pow_test_downward): Likewise.
16712         (pow_test_upward): Likewise.
16713         (remainder_test): Likewise.
16714         (remainder_test_tonearest): Likewise.
16715         (remainder_test_towardzero): Likewise.
16716         (remainder_test_downward): Likewise.
16717         (remainder_test_upward): Likewise.
16718         (remquo_test): Likewise.
16719         (rint_test): Likewise.
16720         (rint_test_tonearest): Likewise.
16721         (rint_test_towardzero): Likewise.
16722         (rint_test_downward): Likewise.
16723         (rint_test_upward): Likewise.
16724         (round_test): Likewise.
16725         (scalb_test): Likewise.
16726         (scalbn_test): Likewise.
16727         (scalbln_test): Likewise.
16728         (signbit_test): Likewise.
16729         (sin_test): Likewise.
16730         (sin_test_tonearest): Likewise.
16731         (sin_test_towardzero): Likewise.
16732         (sin_test_downward): Likewise.
16733         (sin_test_upward): Likewise.
16734         (sincos_test): Likewise.
16735         (sinh_test): Likewise.
16736         (sinh_test_tonearest): Likewise.
16737         (sinh_test_towardzero): Likewise.
16738         (sinh_test_downward): Likewise.
16739         (sinh_test_upward): Likewise.
16740         (sqrt_test): Likewise.
16741         (tan_test): Likewise.
16742         (tan_test_tonearest): Likewise.
16743         (tan_test_towardzero): Likewise.
16744         (tan_test_downward): Likewise.
16745         (tan_test_upward): Likewise.
16746         (tanh_test): Likewise.
16747         (tgamma_test): Likewise.
16748         (trunc_test): Likewise.
16749         (y0_test): Likewise.
16750         (y1_test): Likewise.
16751         (yn_test): Likewise.
16752         (significand_test): Likewise.
16753
16754 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
16755
16756         [BZ #15381]
16757         * libio/genops.c (_IO_no_init): Initialize wide struct info.
16758
16759 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
16760
16761         [BZ #14894]
16762         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
16763         __ppc_mdoio and __ppc_mdoom.
16764         * manual/platform.texi: Document new functions __ppc_yield,
16765         __ppc_mdoio and __ppc_mdoom.
16766
16767 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
16768
16769         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
16770         (main): Mention "tls" pseudo-hwcap is legacy.
16771         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
16772
16773 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16774
16775         * math/gen-libm-test.pl (parse_args): Output only string of
16776         arguments as text for test name, not full call or descriptions of
16777         tests for extra outputs.
16778         (generate_testfile): Do not pass function name to parse_args.
16779         Generate this_func variable from START.
16780         * math/libm-test.inc (struct test_f_f_data): Rename test_name
16781         field to arg_str.
16782         (struct test_ff_f_data): Likewise.
16783         (test_ff_f_data_nexttoward): Likewise.
16784         (struct test_fi_f_data): Likewise.
16785         (struct test_fl_f_data): Likewise.
16786         (struct test_if_f_data): Likewise.
16787         (struct test_fff_f_data): Likewise.
16788         (struct test_c_f_data): Likewise.
16789         (struct test_f_f1_data): Likewise.  Remove field extra_name.
16790         (struct test_fF_f1_data): Likewise.
16791         (struct test_ffI_f1_data): Likewise.
16792         (struct test_c_c_data): Rename test_name field to arg_str.
16793         (struct test_cc_c_data): Likewise.
16794         (struct test_f_i_data): Likewise.
16795         (struct test_ff_i_data): Likewise.
16796         (struct test_f_l_data): Likewise.
16797         (struct test_f_L_data): Likewise.
16798         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
16799         and extra2_name.
16800         (COMMON_TEST_SETUP): New macro.
16801         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
16802         (COMMON_TEST_CLEANUP): Likewise.
16803         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
16804         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
16805         macros.
16806         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
16807         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
16808         macros.
16809         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
16810         (RUN_TEST_fff_f): Take argument string.  Call new setup and
16811         cleanup macros.
16812         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
16813         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
16814         macros.
16815         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
16816         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
16817         macros.
16818         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
16819         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
16820         cleanup macros.
16821         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
16822         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
16823         cleanup macros.
16824         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
16825         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
16826         cleanup macros.
16827         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
16828         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
16829         macros.
16830         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
16831         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
16832         macros.
16833         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
16834         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
16835         macros.
16836         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
16837         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
16838         cleanup macros.
16839         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
16840         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
16841         cleanup macros.
16842         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
16843         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
16844         macros.
16845         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
16846         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
16847         cleanup macros.
16848         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
16849         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
16850         macros.
16851         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
16852         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
16853         macros.
16854         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
16855         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
16856         cleanup macros.
16857         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
16858
16859 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
16860
16861         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
16862         to _sifields.sigfault.
16863         (si_addr_lsb): Define new macro.
16864         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
16865         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
16866         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
16867
16868 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
16869
16870         [BZ #15441]
16871         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
16872         returns -1.
16873         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
16874         null return -1.
16875         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
16876         loading the domain.
16877
16878 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
16879
16880         * math/gen-libm-test.pl (parse_args): Do not include expected
16881         result in test name.
16882         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
16883         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16884         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16885         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16886         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16888
16889 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16890
16891         * benchtests/Makefile: Sort function entries.
16892
16893         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
16894         tanh, asinh, acosh, atanh.
16895         * benchtests/acos-inputs: New file.
16896         * benchtests/acosh-inputs: New file.
16897         * benchtests/asin-inputs: New file.
16898         * benchtests/asinh-inputs: New file.
16899         * benchtests/atanh-inputs: New file.
16900         * benchtests/cosh-inputs: New file.
16901         * benchtests/log-inputs: New file.
16902         * benchtests/sinh-inputs: New file.
16903         * benchtests/tanh-inputs: New file.
16904
16905 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
16906
16907         [BZ #15339]
16908         * posix/tst-getaddrinfo4.c: New test.
16909         * posix/Makefile (tests): Add it.
16910
16911 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16912
16913         [BZ #15339]
16914         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
16915         when no services were used.
16916         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
16917         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
16918
16919 2013-05-21  Andreas Schwab  <schwab@suse.de>
16920
16921         [BZ #15014]
16922         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
16923         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
16924         successful.
16925         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
16926         redundant variable declarations and reallocation of buffer when
16927         parsing as IPv6 address.  Always set NSS status when called from
16928         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
16929         buffer too small.  Correct computation of needed size.
16930         * nss/Makefile (tests): Add test-digits-dots.
16931         * nss/test-digits-dots.c: New test.
16932
16933 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16934
16935         * benchtests/Makefile: Remove instructions for adding
16936         benchmark tests.
16937         * benchtests/README: New file to explain how to execute and
16938         enhance the benchmark tests.
16939
16940 2013-05-21  Andreas Schwab  <schwab@suse.de>
16941
16942         [BZ #15493]
16943         * setjmp/Makefile (tests): Add tst-sigsetjmp.
16944         * setjmp/tst-sigsetjmp.c: New test.
16945
16946 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16947
16948         * sysdeps/x86_64/memset.S (memset): New implementation.
16949         (__bzero): Likewise.
16950         (__memset_tail): New function.
16951
16952 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
16953
16954         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
16955         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
16956         __memcpy_sse2_unaligned ifunc selection.
16957         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16958         Add memcpy-sse2-unaligned.S.
16959         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
16960         Add: __memcpy_sse2_unaligned.
16961
16962 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
16963
16964         [BZ #15490]
16965         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
16966         math_force_eval before restoring floating-point envrionment.
16967         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
16968         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
16969         Likewise.
16970         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
16971         <math_private.h>.
16972         (__nearbyintl): Use math_force_eval before restoring
16973         floating-point environment.
16974         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
16975
16976         * math/gen-libm-test.pl (special_functions): Remove.
16977         (parse_args): Don't handle TEST_extra.  Handle functions with no
16978         return value.
16979         * math/libm-test.inc (struct test_sincos_data): Replace with
16980         struct test_fFF_11_data.
16981         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
16982         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
16983         (sincos_test_data): Change element type to struct
16984         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
16985         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
16986         RUN_TEST_LOOP_sincos.
16987         * math/README.libm-test: Don't mention special handling of
16988         individual functions.
16989         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
16990         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16991         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16992         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
16993         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16995
16996         * math/gen-libm-test.pl (get_variable): Remove function.
16997         (parse_args): Don't show pointer parameters to call in test
16998         names.  Use "extra output N" in test names for extra outputs
16999         rather than naming variables.
17000
17001 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
17002
17003         [BZ #15488]
17004         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
17005         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
17006         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
17007         double tests.
17008         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
17009         disable.
17010         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
17011         check_long_double.
17012
17013         * math/gen-libm-test.pl (@tests): Remove variable.
17014         ($count): Likewise.
17015         (new_test): Remove function.
17016         (show_exceptions): New function.
17017         (special_functions): Use show_exceptions instead of new_test.
17018         (parse_args): Likewise.
17019         (generate_testfile): Pass only function name in generated call to
17020         print_max_error or print_complex_max_error.
17021         (get_ulps): Do not handle complex tests specially.
17022         (output_test): Rename to ...
17023         (get_all_ulps_for_test): ... this.  Return a string rather than
17024         printing to a file.  Require ulps to be present.
17025         (output_ulps): Generate arrays rather than #defines.
17026         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
17027         (struct ulp_data): New type.
17028         (BUILD_COMPLEX_ULP): Remove macro.
17029         (compare_ulp_data): New function.
17030         (find_ulps): Likewise.
17031         (find_test_ulps): Likewise.
17032         (find_function_ulps): Likewise.
17033         (find_complex_function_ulps): Likewise.
17034         (print_max_error): Determine allowed ulps using
17035         find_function_ulps.
17036         (print_complex_max_error): Determine allowed ulps using
17037         find_complex_function_ulps.
17038         (check_float_internal): Determine max ulps using find_test_ulps.
17039         (check_float): Do not take max_ulp parameter.  Update call to
17040         check_float_internal.
17041         (check_complex): Likewise.
17042         (check_int): Do not take max_ulp parameter.
17043         (check_long): Likewise.
17044         (check_bool): Likewise.
17045         (check_longlong): Likewise.
17046         (struct test_f_f_data): Remove max_ulp field.
17047         (struct test_ff_f_data): Likewise.
17048         (struct test_ff_f_data_nexttoward): Likewise.
17049         (struct test_fi_f_data): Likewise.
17050         (struct test_fl_f_data): Likewise.
17051         (struct test_if_f_data): Likewise.
17052         (struct test_fff_f_data): Likewise.
17053         (struct test_c_f_data): Likewise.
17054         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
17055         (struct test_fF_f1_data): Likewise.
17056         (struct test_ffI_f1_data): Likewise.
17057         (struct test_c_c_data): Remove max_ulp field.
17058         (struct test_cc_c_data): Likewise.
17059         (struct test_f_i_data): Likewise.
17060         (struct test_ff_i_data): Likewise.
17061         (struct test_f_l_data): Likewise.
17062         (struct test_f_L_data): Likewise.
17063         (struct test_sincos_data): Likewise.
17064         (RUN_TEST_f_f): Do not handle ulps.
17065         (RUN_TEST_LOOP_f_f): Likewise.
17066         (RUN_TEST_2_f): Likewise.
17067         (RUN_TEST_LOOP_2_f): Likewise.
17068         (RUN_TEST_fff_f): Likewise.
17069         (RUN_TEST_LOOP_fff_f): Likewise.
17070         (RUN_TEST_c_f): Likewise.
17071         (RUN_TEST_LOOP_c_f): Likewise.
17072         (RUN_TEST_f_f1): Likewise.
17073         (RUN_TEST_LOOP_f_f1): Likewise.
17074         (RUN_TEST_fF_f1): Likewise.
17075         (RUN_TEST_LOOP_fF_f1): Likewise.
17076         (RUN_TEST_fI_f1): Likewise.
17077         (RUN_TEST_LOOP_fI_f1): Likewise.
17078         (RUN_TEST_ffI_f1): Likewise.
17079         (RUN_TEST_LOOP_ffI_f1): Likewise.
17080         (RUN_TEST_c_c): Likewise.
17081         (RUN_TEST_LOOP_c_c): Likewise.
17082         (RUN_TEST_cc_c): Likewise.
17083         (RUN_TEST_LOOP_cc_c): Likewise.
17084         (RUN_TEST_f_i): Likewise.
17085         (RUN_TEST_LOOP_f_i): Likewise.
17086         (RUN_TEST_f_i_tg): Likewise.
17087         (RUN_TEST_LOOP_f_i_tg): Likewise.
17088         (RUN_TEST_ff_i_tg): Likewise.
17089         (RUN_TEST_LOOP_ff_i_tg): Likewise.
17090         (RUN_TEST_f_b): Likewise.
17091         (RUN_TEST_LOOP_f_b): Likewise.
17092         (RUN_TEST_f_b_tg): Likewise.
17093         (RUN_TEST_LOOP_f_b_tg): Likewise.
17094         (RUN_TEST_f_l): Likewise.
17095         (RUN_TEST_LOOP_f_l): Likewise.
17096         (RUN_TEST_f_L): Likewise.
17097         (RUN_TEST_LOOP_f_L): Likewise.
17098         (RUN_TEST_sincos): Likewise.
17099         (RUN_TEST_LOOP_sincos): Likewise.
17100
17101 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
17102
17103         [BZ #15480]
17104         [BZ #15485]
17105         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
17106         main case of finite arguments, set rounding mode to FE_TONEAREST
17107         and discard exceptions.
17108         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
17109         exceptions.
17110         (remainder_tonearest_test_data): New variable.
17111         (remainder_test_tonearest): New function.
17112         (remainder_towardzero_test_data): New variable.
17113         (remainder_test_towardzero): New function.
17114         (remainder_downward_test_data): New variable.
17115         (remainder_test_downward): New function.
17116         (remainder_upward_test_data): New variable.
17117         (remainder_test_upward): New function.
17118         (main): Call the new test functions.
17119
17120         * math/libm-test.inc (struct test_f_f1_data): Remove field
17121         extra_init.
17122         (struct test_fF_f1_data): Likewise.
17123         (struct test_ffI_f1_data): Likewise.
17124         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
17125         based on value of EXTRA_EXPECTED.
17126         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
17127         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
17128         EXTRA_VAR based on value of EXTRA_EXPECTED.
17129         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
17130         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
17131         EXTRA_VAR based on value of EXTRA_EXPECTED.
17132         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
17133         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
17134         EXTRA_VAR based on value of EXTRA_EXPECTED.
17135         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
17136         * math/gen-libm-test.pl (parse_args): Don't output initializers
17137         for extra output values.
17138
17139         * math/libm-test.inc (check_int): Expect result to be exactly
17140         equal to expected value and do not handle ulps.
17141         (check_long): Likewise.
17142         (check_longlong): Likewise.
17143
17144         * math/libm-test.inc (ceil_test_data): Test for "inexact"
17145         exceptions.
17146         (cimag_test_data): Likewise.
17147         (conj_test_data): Likewise.
17148         (copysign_test_data): Likewise.
17149         (cproj_test_data): Likewise.
17150         (creal_test_data): Likewise.
17151         (fabs_test_data): Likewise.
17152         (fdim_test_data): Likewise.
17153         (finite_test_data): Likewise.
17154         (floor_test_data): Likewise.
17155         (fmax_test_data): Likewise.
17156         (fmin_test_data): Likewise.
17157         (fmod_test_data): Likewise.
17158         (fpclassify_test_data): Likewise.
17159         (frexp_test_data): Likewise.
17160         (ilogb_test_data): Likewise.
17161         (isfinite_test_data): Likewise.
17162         (isgreater_test_data): Likewise.
17163         (isgreaterequal_test_data): Likewise.
17164         (isinf_test_data): Likewise.
17165         (isless_test_data): Likewise.
17166         (islessequal_test_data): Likewise.
17167         (islessgreater_test_data): Likewise.
17168         (isnan_test_data): Likewise.
17169         (isnormal_test_data): Likewise.
17170         (issignaling_test_data): Likewise.
17171         (isunordered_test_data): Likewise.
17172         (ldexp_test_data): Likewise.
17173         (lrint_test_data): Likewise.
17174         (lrint_test_data) [TEST_FLOAT]: Disable one test.
17175         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
17176         (lrint_tonearest_test_data): Test for "inexact" exceptions.
17177         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17178         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
17179         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17180         test input.
17181         (lrint_towardzero_test_data): Test for "inexact" exceptions.
17182         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17183         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
17184         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
17185         that test input.
17186         (lrint_downward_test_data): Test for "inexact" exceptions.
17187         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17188         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
17189         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
17190         test input.
17191         (lrint_upward_test_data): Test for "inexact" exceptions.
17192         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
17193         test input.
17194         (llrint_test_data): Test for "inexact" exceptions.
17195         (llrint_test_data) [TEST_FLOAT]: Disable one test.
17196         (llrint_tonearest_test_data): Test for "inexact" exceptions.
17197         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
17198         (llrint_towardzero_test_data): Test for "inexact" exceptions.
17199         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
17200         (llrint_downward_test_data): Test for "inexact" exceptions.
17201         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
17202         (llrint_upward_test_data): Test for "inexact" exceptions.
17203         (logb_test_data): Likewise.
17204         (logb_downward_test_data): Likewise.
17205         (nextafter_test_data): Likewise.
17206         (nexttoward_test_data): Likewise.
17207         (remainder_test_data): Likewise.
17208         (remquo_test_data): Likewise.
17209         (scalbn_test_data): Likewise.
17210         (scalbln_test_data): Likewise.
17211         (signbit_test_data): Likewise.
17212         (sqrt_test_data): Likewise.
17213         (significand_test_data): Likewise.
17214
17215 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17216
17217         [BZ #15424]
17218         * benchtests/bench-modf.c (struct args): Mark arg0 as
17219         volatile.
17220         * scripts/bench.pl: Mark members of struct args as volatile.
17221
17222 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17223
17224         [BZ # 15497]
17225         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
17226         negative infinity on POWER6 or lower.
17227         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
17228
17229 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
17230
17231         [BZ #15442]
17232         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
17233         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
17234         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
17235         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
17236         (_FP_SETQNAN): New macro.
17237         (_FP_SETQNAN_SEMIRAW): Likewise.
17238         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
17239         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
17240         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
17241         (FP_EXTEND): Use _FP_FRAC_SNANP.
17242         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
17243         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
17244         into account.
17245         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17246         New macro.
17247         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
17248         Likewise.
17249
17250 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17251
17252         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
17253         with DIVIDE_BY_ZERO_EXCEPTION.
17254         (gamma_test_data): Likewise.
17255         (lgamma_test_data): Likewise.
17256         (log_test_data): Likewise.
17257         (log10_test_data): Likewise.
17258         (log2_test_data): Likewise.
17259         (tgamma_test_data): Likewise.
17260
17261         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
17262         (acos_test_tonearest): Likewise.
17263         (acos_test_towardzero): Likewise.
17264         (acos_test_downward): Likewise.
17265         (acos_test_upward): Likewise.
17266         (acosh_test): Likewise.
17267         (asin_test): Likewise.
17268         (asin_test_tonearest): Likewise.
17269         (asin_test_towardzero): Likewise.
17270         (asin_test_downward): Likewise.
17271         (asin_test_upward): Likewise.
17272         (asinh_test): Likewise.
17273         (atan_test): Likewise.
17274         (atanh_test): Likewise.
17275         (atan2_test): Likewise.
17276         (cabs_test): Likewise.
17277         (cacos_test): Likewise.
17278         (cacosh_test): Likewise.
17279         (casin_test): Likewise.
17280         (casinh_test): Likewise.
17281         (catan_test): Likewise.
17282         (catanh_test): Likewise.
17283         (cbrt_test): Likewise.
17284         (ccos_test): Likewise.
17285         (ccosh_test): Likewise.
17286         (cexp_test): Likewise.
17287         (clog_test): Likewise.
17288         (clog10_test): Likewise.
17289         (cos_test): Likewise.
17290         (cos_test_tonearest): Likewise.
17291         (cos_test_towardzero): Likewise.
17292         (cos_test_downward): Likewise.
17293         (cos_test_upward): Likewise.
17294         (cosh_test): Likewise.
17295         (cosh_test_tonearest): Likewise.
17296         (cosh_test_towardzero): Likewise.
17297         (cosh_test_downward): Likewise.
17298         (cosh_test_upward): Likewise.
17299         (cpow_test): Likewise.
17300         (csin_test): Likewise.
17301         (csinh_test): Likewise.
17302         (csqrt_test): Likewise.
17303         (ctan_test): Likewise.
17304         (ctan_test_tonearest): Likewise.
17305         (ctan_test_towardzero): Likewise.
17306         (ctan_test_downward): Likewise.
17307         (ctan_test_upward): Likewise.
17308         (ctanh_test): Likewise.
17309         (ctanh_test_tonearest): Likewise.
17310         (ctanh_test_towardzero): Likewise.
17311         (ctanh_test_downward): Likewise.
17312         (ctanh_test_upward): Likewise.
17313         (erf_test): Likewise.
17314         (erfc_test): Likewise.
17315         (exp_test): Likewise.
17316         (exp_test_tonearest): Likewise.
17317         (exp_test_towardzero): Likewise.
17318         (exp_test_downward): Likewise.
17319         (exp_test_upward): Likewise.
17320         (exp10_test): Likewise.
17321         (exp2_test): Likewise.
17322         (expm1_test): Likewise.
17323         (fmod_test): Likewise.
17324         (gamma_test): Likewise.
17325         (hypot_test): Likewise.
17326         (j0_test): Likewise.
17327         (j1_test): Likewise.
17328         (jn_test): Likewise.
17329         (lgamma_test): Likewise.
17330         (log_test): Likewise.
17331         (log10_test): Likewise.
17332         (log1p_test): Likewise.
17333         (log2_test): Likewise.
17334         (logb_test_downward): Likewise.
17335         (pow_test): Likewise.
17336         (pow_test_tonearest): Likewise.
17337         (pow_test_towardzero): Likewise.
17338         (pow_test_downward): Likewise.
17339         (pow_test_upward): Likewise.
17340         (remainder_test): Likewise.
17341         (remquo_test): Likewise.
17342         (sin_test): Likewise.
17343         (sin_test_tonearest): Likewise.
17344         (sin_test_towardzero): Likewise.
17345         (sin_test_downward): Likewise.
17346         (sin_test_upward): Likewise.
17347         (sincos_test): Likewise.
17348         (sinh_test): Likewise.
17349         (sinh_test_tonearest): Likewise.
17350         (sinh_test_towardzero): Likewise.
17351         (sinh_test_downward): Likewise.
17352         (sinh_test_upward): Likewise.
17353         (sqrt_test): Likewise.
17354         (tan_test): Likewise.
17355         (tan_test_tonearest): Likewise.
17356         (tan_test_towardzero): Likewise.
17357         (tan_test_downward): Likewise.
17358         (tan_test_upward): Likewise.
17359         (tanh_test): Likewise.
17360         (tgamma_test): Likewise.
17361         (y0_test): Likewise.
17362         (y1_test): Likewise.
17363         (yn_test): Likewise.
17364
17365         * math/gen-libm-test.pl (adjust_arg): Remove function.
17366         (special_function): Remove argument $in_func.  Only handle
17367         generating output for tables of tests, not inside functions.
17368         (parse_args): Likewise.
17369         (generate_testfile): Remove variable $in_func.  Update call to
17370         parse_args.
17371         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
17372         (MINUS_ZERO_INIT): Rename macro to minus_zero.
17373         (PLUS_INFTY_INIT): Rename macro to plus_infty.
17374         (MINUS_INFTY_INIT): Rename macro to minus_infty.
17375         (QNAN_VALUE_INIT): Rename macro to qnan_value.
17376         (MAX_VALUE_INIT): Rename macro to max_value.
17377         (MIN_VALUE_INIT): Rename macro to min_value.
17378         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
17379         (plus_zero): Remove variable.
17380         (minus_zero): Likewise.
17381         (plus_infty): Likewise.
17382         (minus_infty): Likewise.
17383         (qnan_value): Likewise.
17384         (max_value): Likewise.
17385         (min_value): Likewise.
17386         (min_subnorm_value): Likewise.
17387
17388 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
17389
17390         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
17391         uint64_t or uint32_t usage.
17392         * crypt/sha256-block.c: Likewise.
17393         * crypt/sha256-crypt.c: Likewise.
17394         * crypt/sha256.c: Likewise.
17395         * crypt/sha512-block.c: Likewise.
17396         * crypt/sha512-crypt.c: Likewise.
17397         * crypt/sha512.c: Likewise.
17398         * debug/backtrace-tst.c: Likewise.
17399         * debug/pcprofiledump.c: Likewise.
17400         * elf/cache.c: Likewise.
17401         * elf/dl-cache.c: Likewise.
17402         * elf/dl-misc.c: Likewise.
17403         * elf/dl-profile.c: Likewise.
17404         * elf/dl-support.c: Likewise.
17405         * elf/ldconfig.c: Likewise.
17406         * elf/sprof.c: Likewise.
17407         * iconv/dummy-repertoire.c: Likewise.
17408         * iconv/iconv_charmap.c: Likewise.
17409         * iconv/skeleton.c: Likewise.
17410         * iconvdata/8bit-generic.c: Likewise.
17411         * iconvdata/cp737.h: Likewise.
17412         * iconvdata/cp775.h: Likewise.
17413         * iconvdata/ibm1008.h: Likewise.
17414         * iconvdata/ibm1025.h: Likewise.
17415         * iconvdata/ibm1046.h: Likewise.
17416         * iconvdata/ibm1097.h: Likewise.
17417         * iconvdata/ibm1112.h: Likewise.
17418         * iconvdata/ibm1122.h: Likewise.
17419         * iconvdata/ibm1123.h: Likewise.
17420         * iconvdata/ibm1124.h: Likewise.
17421         * iconvdata/ibm1129.h: Likewise.
17422         * iconvdata/ibm1130.h: Likewise.
17423         * iconvdata/ibm1132.h: Likewise.
17424         * iconvdata/ibm1133.h: Likewise.
17425         * iconvdata/ibm1137.h: Likewise.
17426         * iconvdata/ibm1140.h: Likewise.
17427         * iconvdata/ibm1141.h: Likewise.
17428         * iconvdata/ibm1142.h: Likewise.
17429         * iconvdata/ibm1143.h: Likewise.
17430         * iconvdata/ibm1144.h: Likewise.
17431         * iconvdata/ibm1145.h: Likewise.
17432         * iconvdata/ibm1146.h: Likewise.
17433         * iconvdata/ibm1147.h: Likewise.
17434         * iconvdata/ibm1148.h: Likewise.
17435         * iconvdata/ibm1149.h: Likewise.
17436         * iconvdata/ibm1153.h: Likewise.
17437         * iconvdata/ibm1154.h: Likewise.
17438         * iconvdata/ibm1155.h: Likewise.
17439         * iconvdata/ibm1156.h: Likewise.
17440         * iconvdata/ibm1157.h: Likewise.
17441         * iconvdata/ibm1158.h: Likewise.
17442         * iconvdata/ibm1160.h: Likewise.
17443         * iconvdata/ibm1161.h: Likewise.
17444         * iconvdata/ibm1162.h: Likewise.
17445         * iconvdata/ibm1163.h: Likewise.
17446         * iconvdata/ibm1164.h: Likewise.
17447         * iconvdata/ibm1166.h: Likewise.
17448         * iconvdata/ibm1167.h: Likewise.
17449         * iconvdata/ibm12712.h: Likewise.
17450         * iconvdata/ibm1390.h: Likewise.
17451         * iconvdata/ibm1399.h: Likewise.
17452         * iconvdata/ibm16804.h: Likewise.
17453         * iconvdata/ibm4517.h: Likewise.
17454         * iconvdata/ibm4899.h: Likewise.
17455         * iconvdata/ibm4909.h: Likewise.
17456         * iconvdata/ibm4971.h: Likewise.
17457         * iconvdata/ibm5347.h: Likewise.
17458         * iconvdata/ibm803.h: Likewise.
17459         * iconvdata/ibm856.h: Likewise.
17460         * iconvdata/ibm901.h: Likewise.
17461         * iconvdata/ibm902.h: Likewise.
17462         * iconvdata/ibm9030.h: Likewise.
17463         * iconvdata/ibm9066.h: Likewise.
17464         * iconvdata/ibm921.h: Likewise.
17465         * iconvdata/ibm922.h: Likewise.
17466         * iconvdata/ibm9448.h: Likewise.
17467         * iconvdata/isiri-3342.h: Likewise.
17468         * iconvdata/jis0201.h: Likewise.
17469         * include/link.h: Likewise.
17470         * include/netdb.h: Likewise.
17471         * inet/check_native.c: Likewise.
17472         * inet/check_pf.c: Likewise.
17473         * inet/getipv4sourcefilter.c: Likewise.
17474         * inet/getnameinfo.c: Likewise.
17475         * inet/getsourcefilter.c: Likewise.
17476         * inet/htonl.c: Likewise.
17477         * inet/setipv4sourcefilter.c: Likewise.
17478         * inet/setsourcefilter.c: Likewise.
17479         * inet/test-inet6_opt.c: Likewise.
17480         * inet/tst-network.c: Likewise.
17481         * locale/C-collate.c: Likewise.
17482         * locale/C-ctype.c: Likewise.
17483         * locale/C-time.c: Likewise.
17484         * locale/C-translit.h: Likewise.
17485         * locale/loadarchive.c: Likewise.
17486         * locale/programs/3level.h: Likewise.
17487         * locale/programs/charmap.c: Likewise.
17488         * locale/programs/charmap.h: Likewise.
17489         * locale/programs/ld-address.c: Likewise.
17490         * locale/programs/ld-collate.c: Likewise.
17491         * locale/programs/ld-ctype.c: Likewise.
17492         * locale/programs/ld-identification.c: Likewise.
17493         * locale/programs/ld-measurement.c: Likewise.
17494         * locale/programs/ld-messages.c: Likewise.
17495         * locale/programs/ld-monetary.c: Likewise.
17496         * locale/programs/ld-name.c: Likewise.
17497         * locale/programs/ld-numeric.c: Likewise.
17498         * locale/programs/ld-paper.c: Likewise.
17499         * locale/programs/ld-telephone.c: Likewise.
17500         * locale/programs/ld-time.c: Likewise.
17501         * locale/programs/linereader.c: Likewise.
17502         * locale/programs/locale.c: Likewise.
17503         * locale/programs/locarchive.c: Likewise.
17504         * locale/programs/locfile.h: Likewise.
17505         * locale/programs/repertoire.c: Likewise.
17506         * locale/programs/simple-hash.c: Likewise.
17507         * locale/programs/simple-hash.h: Likewise.
17508         * malloc/memusage.c: Likewise.
17509         * malloc/memusagestat.c: Likewise.
17510         * nis/nis_defaults.c: Likewise.
17511         * nis/nis_hash.c: Likewise.
17512         * nis/nis_print.c: Likewise.
17513         * nis/nis_xdr.c: Likewise.
17514         * nscd/connections.c: Likewise.
17515         * nscd/hstcache.c: Likewise.
17516         * nscd/nscd_gethst_r.c: Likewise.
17517         * nscd/nscd_getserv_r.c: Likewise.
17518         * nscd/nscd_helper.c: Likewise.
17519         * nscd/servicescache.c: Likewise.
17520         * nss/makedb.c: Likewise.
17521         * nss/nss_db/db-XXX.c: Likewise.
17522         * nss/nss_db/db-initgroups.c: Likewise.
17523         * nss/nss_db/db-netgrp.c: Likewise.
17524         * nss/nss_files/files-network.c: Likewise.
17525         * nss/nss_files/files-parse.c: Likewise.
17526         * posix/bug-regex5.c: Likewise.
17527         * posix/fnmatch_loop.c: Likewise.
17528         * posix/regcomp.c: Likewise.
17529         * posix/regexec.c: Likewise.
17530         * posix/tst-rfc3484-2.c: Likewise.
17531         * posix/tst-rfc3484-3.c: Likewise.
17532         * posix/tst-rfc3484.c: Likewise.
17533         * resolv/nss_dns/dns-canon.c: Likewise.
17534         * resolv/nss_dns/dns-network.c: Likewise.
17535         * resolv/res_init.c: Likewise.
17536         * resolv/res_mkquery.c: Likewise.
17537         * resolv/tst-aton.c: Likewise.
17538         * stdlib/cxa_atexit.c: Likewise.
17539         * stdlib/cxa_finalize.c: Likewise.
17540         * stdlib/gen-fpioconst.c: Likewise.
17541         * stdlib/strtol_l.c: Likewise.
17542         * string/tst-endian.c: Likewise.
17543         * sunrpc/auth_des.c: Likewise.
17544         * sunrpc/clnt_udp.c: Likewise.
17545         * sunrpc/rtime.c: Likewise.
17546         * sunrpc/svcauth_des.c: Likewise.
17547         * sunrpc/xdr.c: Likewise.
17548         * sunrpc/xdr_intXX_t.c: Likewise.
17549         * sunrpc/xdr_rec.c: Likewise.
17550         * sysdeps/generic/ldconfig.h: Likewise.
17551         * sysdeps/generic/ldsodefs.h: Likewise.
17552         * sysdeps/generic/memusage.h: Likewise.
17553         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
17554         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
17555         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
17556         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
17557         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
17558         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
17559         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
17560         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
17561         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
17562         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
17563         * sysdeps/posix/getaddrinfo.c: Likewise.
17564         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
17565         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
17566         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
17567         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
17568         * sysdeps/powerpc/test-gettimebase.c: Likewise.
17569         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
17570         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
17571         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
17572         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
17573         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
17574         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
17575         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
17576         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
17577         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
17578         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
17579         * sysdeps/x86_64/dl-tls.h: Likewise.
17580         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
17581         * time/alt_digit.c: Likewise.
17582         * time/era.c: Likewise.
17583         * wcsmbs/tst-c16c32-1.c: Likewise.
17584
17585 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17586
17587         * math/libm-test.inc (struct test_sincos_data): New type.
17588         (RUN_TEST_LOOP_sincos): New macro.
17589         (sincos_test_data): New variable.
17590         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
17591
17592 2013-05-16  Richard Henderson  <rth@redhat.com>
17593
17594         * math/atest-exp2.c (LIMB64): New macro.
17595         (CONSTSZ): New macro.
17596         (mp_exp1, mp_exp_m1, mp_log2): New variables.
17597         (hexdig): Move ...
17598         (print_mpn_fp): ... to function scope.
17599         (read_mpn_hex): Remove.
17600         (get_log2): Remove.
17601         (exp2_mpn): Use mp_log2.
17602         (main): Use mp_exp1.
17603
17604 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
17605
17606         * math/libm-test.inc: Remove comment about not testing "inexact"
17607         exceptions.
17608         (INEXACT_EXCEPTION): New macro.
17609         (NO_INEXACT_EXCEPTION): Likewise.
17610         (INVALID_EXCEPTION_OK): Update value.
17611         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
17612         (OVERFLOW_EXCEPTION_OK): Likewise.
17613         (UNDERFLOW_EXCEPTION_OK): Likewise.
17614         (IGNORE_ZERO_INF_SIGN): Likewise.
17615         (ERRNO_UNCHANGED): Likewise.
17616         (ERRNO_EDOM): Likewise.
17617         (ERRNO_ERANGE): Likewise.
17618         (test_exceptions): Handle testing "inexact" exceptions.
17619         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
17620         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
17621         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
17622         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
17623         INEXACT_EXCEPTION.
17624         (rint_towardzero_test_data): Likewise.
17625         (rint_downward_test_data): Likewise.
17626         (rint_upward_test_data): Likewise.
17627
17628         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
17629         with OVERFLOW_EXCEPTION.
17630         (exp10_test_data): Likewise.
17631         (exp2_test_data): Likewise.
17632         (expm1_test_data): Likewise.
17633         (lgamma_test_data): Likewise.
17634         (pow_test_data): Likewise.
17635         (tgamma_test_data): Likewise.
17636         (yn_test_data): Remove duplicate test of overflow.
17637
17638         * math/libm-test.inc (struct test_cc_c_data): New type.
17639         (RUN_TEST_LOOP_cc_c): New macro.
17640         (cpow_test_data): New variable.
17641         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
17642
17643         * math/libm-test.inc (struct test_f_L_data): New type.
17644         (RUN_TEST_LOOP_f_L): New macro.
17645         (llrint_test_data): New variable.
17646         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
17647         (llrint_tonearest_test_data): New variable.
17648         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
17649         (llrint_towardzero_test_data): New variable.
17650         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
17651         (llrint_downward_test_data): New variable.
17652         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
17653         (llrint_upward_test_data): New variable.
17654         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
17655         (llround_test_data): New variable.
17656         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
17657
17658 2013-05-13  Peter Collingbourne  <pcc@google.com>
17659
17660         * math/atest-exp2.c (get_log2): Remove const attribute.
17661
17662 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17663
17664         * math/libm-test.inc (struct test_f_l_data): New type.
17665         (RUN_TEST_LOOP_f_l): New macro.
17666         (lrint_test_data): New variable.
17667         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
17668         (lrint_tonearest_test_data): New variable.
17669         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
17670         (lrint_towardzero_test_data): New variable.
17671         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
17672         (lrint_downward_test_data): New variable.
17673         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
17674         (lrint_upward_test_data): New variable.
17675         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
17676         (lround_test_data): New variable.
17677         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
17678
17679 2013-05-15  Peter Collingbourne  <pcc@google.com>
17680
17681         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
17682         (EXTRACT_WORDS64) Use where appropriate.
17683         (INSERT_WORDS64) Likewise.
17684
17685         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
17686         constraints with x constraints.
17687         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
17688
17689         * malloc/obstack.c (_obstack_compat): Add initializer.
17690
17691 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
17692
17693         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
17694         si_trapno and add si_addr_lsb to _sifields.sigfault.
17695         (si_trapno): Remove macro.
17696         (si_addr_lsb): Define new macro.
17697         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
17698
17699 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
17700
17701         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
17702         instead of TEST_f_l.
17703         (llrint_test_tonearest): Likewise.
17704         (llrint_test_towardzero): Likewise.
17705         (llrint_test_downward): Likewise.
17706         (llrint_test_upward): Likewise.
17707         (llround_test): Likewise.
17708
17709         * math/libm-test.inc (struct test_f_i_data): Add comment.
17710         (RUN_TEST_LOOP_f_b): New macro.
17711         (RUN_TEST_LOOP_f_b_tg): Likewise.
17712         (finite_test_data): New variable.
17713         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
17714         (isfinite_test_data): New variable.
17715         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17716         (isinf_test_data): New variable.
17717         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17718         (isnan_test_data): New variable.
17719         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17720         (isnormal_test_data): New variable.
17721         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17722         (issignaling_test_data): New variable.
17723         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17724         (signbit_test_data): New variable.
17725         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
17726
17727         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
17728         with INVALID_EXCEPTION.
17729         (acosh_test_data): Likewise.
17730         (asin_test_data): Likewise.
17731         (atanh_test_data): Likewise.
17732         (fmod_test_data): Likewise.
17733         (log_test_data): Likewise.
17734         (log10_test_data): Likewise.
17735         (log2_test_data): Likewise.
17736         (pow_test_data): Likewise.
17737         (sqrt_test_data): Likewise.
17738         (y0_test_data): Likewise.
17739         (y1_test_data): Likewise.
17740         (yn_test_data): Likewise.
17741
17742         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
17743         function contents.
17744
17745         * math/libm-test.inc (struct test_ff_i_data): New type.
17746         (RUN_TEST_LOOP_ff_i_tg): New macro.
17747         (isgreater_test_data): New variable.
17748         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17749         (isgreaterequal_test_data): New variable.
17750         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17751         (isless_test_data): New variable.
17752         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17753         (islessequal_test_data): New variable.
17754         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17755         (islessgreater_test_data): New variable.
17756         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17757         (isunordered_test_data): New variable.
17758         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
17759
17760 2013-05-14  David S. Miller  <davem@davemloft.net>
17761
17762         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17763
17764 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
17765
17766         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
17767
17768         * math/libm-test.inc (struct test_fF_f1_data): Change type of
17769         extra_test to int.
17770         (struct test_f_i_data): Change type of max_ulp to int.
17771
17772         * math/libm-test.inc (test_ffI_f1_data): New type.
17773         (RUN_TEST_LOOP_ffI_f1): New macro.
17774         (remquo_test_data): New variable.
17775         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
17776
17777         * setjmp/tst-setjmp-fp.c: New file.
17778         * setjmp/Makefile (tests): Add tst-setjmp-fp.
17779         (link-libm): New variable.
17780         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
17781
17782         * math/libm-test.inc (struct test_f_i_data): New type.
17783         (RUN_TEST_LOOP_f_i): New macro.
17784         (RUN_TEST_LOOP_f_i_tg): Likewise.
17785         (fpclassify_test_data): New variable.
17786         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
17787         (ilogb_test_data): New variable.
17788         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
17789
17790         * math/libm-test.inc (scalbln_test): Correct function name in END
17791         call.
17792
17793         * math/libm-test.inc (struct test_f_f1_data): Add comment.
17794         (RUN_TEST_LOOP_fI_f1): New macro.
17795         (frexp_test_data): New variable.
17796         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
17797
17798         * math/libm-test.inc (struct test_fF_f1_data): New type.
17799         (RUN_TEST_LOOP_fF_f1): New macro.
17800         (modf_test_data): New variable.
17801         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
17802
17803         * math/libm-test.inc (struct test_f_f1_data): New type.
17804         (RUN_TEST_LOOP_f_f1): New macro.
17805         (gamma_test_data): New variable.
17806         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17807         (lgamma_test_data): New variable.
17808         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
17809
17810 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
17811
17812         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
17813         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
17814         (main): Comment "tls" pseudo-hwcap.
17815
17816 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
17817
17818         * math/libm-test.inc (struct test_fl_f_data): New type.
17819         (RUN_TEST_LOOP_fl_f): New variable.
17820         (scalbln_test_data): New variable.
17821         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
17822
17823         * math/libm-test.inc (struct test_fi_f_data): New type.
17824         (RUN_TEST_LOOP_fi_f): New macro.
17825         (ldexp_test_data): New variable.
17826         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
17827         (scalbn_test_data): New variable.
17828         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
17829
17830         * math/libm-test.inc (struct test_c_f_data): New type.
17831         (RUN_TEST_LOOP_c_f): New macro.
17832         (cabs_test_data): New variable.
17833         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
17834         (carg_test_data): New variable.
17835         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
17836         (cimag_test_data): New variable.
17837         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
17838         (creal_test_data): New variable.
17839         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
17840
17841         * math/libm-test.inc (struct test_if_f_data): New type.
17842         (RUN_TEST_LOOP_if_f): New macro.
17843         (jn_test_data): New variable.
17844         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
17845         (yn_test_data): New variable.
17846         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
17847
17848         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
17849
17850 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17851
17852         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
17853         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
17854
17855 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
17856
17857         * benchtests/Makefile (CPPFLAGS-nonlib): Add
17858         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
17859         (bench-deps): Add bench-timing.h.
17860         * benchtests-bench-skeleton.c: Include bench-timing.h.
17861         (main): Use TIMING_* macros instead of clock_gettime.
17862         * benchtests/bench-timing.h: New file.
17863
17864         [BZ #14582]
17865         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
17866         Renamed from _LIB_VERSION.
17867         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
17868
17869 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
17870
17871         * math/libm-test.inc (struct test_fff_f_data): New type.
17872         (RUN_TEST_LOOP_fff_f): New macro.
17873         (fma_test_data): New variable.
17874         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
17875         (fma_towardzero_test_data): New variable.
17876         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
17877         (fma_downward_test_data): New variable.
17878         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
17879         (fma_upward_test_data): New variable.
17880         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
17881
17882         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
17883         (struct test_c_c_data): New type.
17884         (RUN_TEST_LOOP_c_c): New macro.
17885         (cacos_test_data): New variable.
17886         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
17887         (cacosh_test_data): New variable.
17888         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
17889         (casin_test_data): New variable.
17890         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
17891         (casinh_test_data): New variable.
17892         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
17893         (catan_test_data): New variable.
17894         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
17895         (catanh_test_data): New variable.
17896         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
17897         (ccos_test_data): New variable.
17898         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
17899         (ccosh_test_data): New variable.
17900         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
17901         (cexp_test_data): New variable.
17902         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
17903         (clog_test_data): New variable.
17904         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
17905         (clog10_test_data): New variable.
17906         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
17907         (conj_test_data): New variable.
17908         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
17909         (cproj_test_data): New variable.
17910         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
17911         (csin_test_data): New variable.
17912         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
17913         (csinh_test_data): New variable.
17914         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
17915         (csqrt_test_data): New variable.
17916         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
17917         (ctan_test_data): New variable.
17918         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
17919         (ctan_tonearest_test_data): New variable.
17920         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17921         (ctan_towardzero_test_data): New variable.
17922         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17923         (ctan_downward_test_data): New variable.
17924         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17925         (ctan_upward_test_data): New variable.
17926         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17927         (ctanh_test_data): New variable.
17928         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
17929         (ctanh_tonearest_test_data): New variable.
17930         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
17931         (ctanh_towardzero_test_data): New variable.
17932         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
17933         (ctanh_downward_test_data): New variable.
17934         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
17935         (ctanh_upward_test_data): New variable.
17936         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
17937         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
17938         of BUILD_COMPLEX.
17939
17940         * math/libm-test.inc (struct test_ff_f_data): New type.
17941         (struct test_ff_f_data_nexttoward): Likewise.
17942         (RUN_TEST_LOOP_2_f): New macro.
17943         (RUN_TEST_LOOP_ff_f): Likewise.
17944         (atan2_test_data): New variable.
17945         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
17946         (copysign_test_data): New variable.
17947         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
17948         (fdim_test_data): New variable.
17949         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
17950         (fmax_test_data): New variable.
17951         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
17952         (fmin_test_data): New variable.
17953         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
17954         (fmod_test_data): New variable.
17955         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
17956         (hypot_test_data): New variable.
17957         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
17958         (nextafter_test_data): New variable.
17959         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
17960         (nexttoward_test_data): New variable.
17961         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
17962         (pow_test_data): New variable.
17963         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
17964         (pow_tonearest_test_data): New variable.
17965         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
17966         (pow_towardzero_test_data): New variable.
17967         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
17968         (pow_downward_test_data): New variable.
17969         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
17970         (pow_upward_test_data): New variable.
17971         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
17972         (remainder_test_data): New variable.
17973         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
17974         (scalb_test_data): New variable.
17975         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
17976         * sysdeps/i386/fpu/libm-test-ulps: Update.
17977
17978 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
17979
17980         * math/libm-test.inc (fma_test): Use max_value instead of local
17981         variable fltmax.
17982         (nextafter_test): Likewise.
17983
17984         * math/libm-test.inc (acos_towardzero_test_data): New variable.
17985         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17986         (acos_downward_test_data): New variable.
17987         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
17988         (acos_upward_test_data): New variable.
17989         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
17990         (acosh_test_data): New variable.
17991         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
17992         (asin_test_data): New variable.
17993         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
17994         (asin_tonearest_test_data): New variable.
17995         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
17996         (asin_towardzero_test_data): New variable.
17997         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
17998         (asin_downward_test_data): New variable.
17999         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18000         (asin_upward_test_data): New variable.
18001         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18002         (asinh_test_data): New variable.
18003         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
18004         (atan_test_data): New variable.
18005         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
18006         (atanh_test_data): New variable.
18007         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
18008         (cbrt_test_data): New variable.
18009         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
18010         (ceil_test_data): New variable.
18011         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
18012         (cos_test_data): New variable.
18013         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
18014         (cos_tonearest_test_data): New variable.
18015         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18016         (cos_towardzero_test_data): New variable.
18017         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18018         (cos_downward_test_data): New variable.
18019         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18020         (cos_upward_test_data): New variable.
18021         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18022         (cosh_test_data): New variable.
18023         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
18024         (cosh_tonearest_test_data): New variable.
18025         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18026         (cosh_towardzero_test_data): New variable.
18027         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18028         (cosh_downward_test_data): New variable.
18029         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18030         (cosh_upward_test_data): New variable.
18031         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18032         (erf_test_data): New variable.
18033         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
18034         (erfc_test_data): New variable.
18035         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
18036         (exp_test_data): New variable.
18037         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
18038         (exp_tonearest_test_data): New variable.
18039         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18040         (exp_towardzero_test_data): New variable.
18041         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18042         (exp_downward_test_data): New variable.
18043         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18044         (exp_upward_test_data): New variable.
18045         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18046         (exp10_test_data): New variable.
18047         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
18048         (exp2_test_data): New variable.
18049         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
18050         (expm1_test_data): New variable.
18051         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
18052         (fabs_test_data): New variable.
18053         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
18054         (floor_test_data): New variable.
18055         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
18056         (j0_test_data): New variable.
18057         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
18058         (j1_test_data): New variable.
18059         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
18060         (log_test_data): New variable.
18061         (log_test): Run tests with RUN_TEST_LOOP_f_f.
18062         (log10_test_data): New variable.
18063         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
18064         (log1p_test_data): New variable.
18065         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
18066         (log2_test_data): New variable.
18067         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
18068         (logb_test_data): New variable.
18069         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
18070         (logb_downward_test_data): New variable.
18071         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18072         (nearbyint_test_data): New variable.
18073         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
18074         (rint_test_data): New variable.
18075         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
18076         (rint_tonearest_test_data): New variable.
18077         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18078         (rint_towardzero_test_data): New variable.
18079         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18080         (rint_downward_test_data): New variable.
18081         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18082         (rint_upward_test_data): New variable.
18083         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18084         (round_test_data): New variable.
18085         (round_test): Run tests with RUN_TEST_LOOP_f_f.
18086         (sin_test_data): New variable.
18087         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
18088         (sin_tonearest_test_data): New variable.
18089         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18090         (sin_towardzero_test_data): New variable.
18091         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18092         (sin_downward_test_data): New variable.
18093         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18094         (sin_upward_test_data): New variable.
18095         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18096         (sinh_test_data): New variable.
18097         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
18098         (sinh_tonearest_test_data): New variable.
18099         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18100         (sinh_towardzero_test_data): New variable.
18101         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18102         (sinh_downward_test_data): New variable.
18103         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18104         (sinh_upward_test_data): New variable.
18105         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18106         (sqrt_test_data): New variable.
18107         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
18108         (tan_test_data): New variable.
18109         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
18110         (tan_tonearest_test_data): New variable.
18111         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18112         (tan_towardzero_test_data): New variable.
18113         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
18114         (tan_downward_test_data): New variable.
18115         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
18116         (tan_upward_test_data): New variable.
18117         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
18118         (tanh_test_data): New variable.
18119         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
18120         (tgamma_test_data): New variable.
18121         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
18122         (trunc_test_data): New variable.
18123         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
18124         (y0_test_data): New variable.
18125         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
18126         (y1_test_data): New variable.
18127         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
18128         (significand_test_data): New variable.
18129         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
18130
18131 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
18132
18133         [BZ #12387]
18134         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
18135
18136 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
18137
18138         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
18139
18140 2013-05-10  Andreas Jaeger  <aj@suse.de>
18141
18142         [BZ #15448]
18143         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
18144         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
18145
18146 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18147
18148         * math/gen-libm-test.pl (adjust_arg): New function.
18149         (special_functions): Handle generating output in both functions
18150         and arrays.
18151         (parse_args): Likewise.
18152         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
18153         $in_func argument to parse_args.
18154         * math/libm-test.inc (struct test_f_f_data): New type.
18155         (IF_ROUND_INIT_): New macro.
18156         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
18157         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
18158         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
18159         (IF_ROUND_INIT_FE_UPWARD): Likewise.
18160         (ROUND_RESTORE_): Likewise.
18161         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
18162         (ROUND_RESTORE_FE_TONEAREST): Likewise.
18163         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
18164         (ROUND_RESTORE_FE_UPWARD): Likewise.
18165         (RUN_TEST_LOOP_f_f): New macro.
18166         (acos_test_data): New variable.
18167         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
18168         (acos_tonearest_test_data): New variable.
18169         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
18170
18171 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18172
18173         * benchtests/bench-skeleton.c (startup): Fix coding style.
18174
18175 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
18176
18177         [BZ #6809]
18178         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
18179         negative infinity argument.
18180         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
18181         negative infinity argument.
18182         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
18183         negative infinity argument.
18184         * math/libm-test.inc (tgamma_test): Expect errno to be set for
18185         domain errors.
18186
18187 2013-05-10  Florian Weimer  <fweimer@redhat.com>
18188
18189         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
18190         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
18191         * iconv/iconv_prog.c (main): Likewise.
18192         * locale/programs/charmap-dir.c (charmap_readdir)
18193         (fopen_uncompressed): Likewise.
18194         * locale/programs/locfile.c (siblings_uncached)
18195         (write_locale_data): Use lstat64 instead of lstat.
18196         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
18197         stat.
18198
18199 2013-05-10  Andreas Jaeger  <aj@suse.de>
18200
18201         [BZ #15395]
18202         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
18203         localization.
18204         Include <locale.h>.
18205
18206 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
18207
18208         * elf/dl-close.c (_dl_close_worker): Add comments.
18209
18210 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
18211
18212         [BZ #15359]
18213         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
18214         high part of pi/2.
18215         (__ieee754_rem_pio2l): Update comments.
18216
18217         [BZ #15429]
18218         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
18219         high part of pi/2.
18220         (__ieee754_rem_pio2l): Update comments.
18221
18222         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
18223         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
18224
18225         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
18226         M_PI_4l.
18227
18228         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
18229         (M_PI_34_LOG10El): Likewise.
18230         (M_PI2_LOG10El): Likewise.
18231         (M_PI4_LOG10El): Likewise.
18232         (M_PI_LOG10El): Likewise.
18233
18234 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18235
18236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18237
18238 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
18239
18240         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
18241         (MINUS_ZERO_INIT): Likewise.
18242         (PLUS_INFTY_INIT): Likewise.
18243         (MINUS_INFTY_INIT): Likewise.
18244         (QNAN_VALUE_INIT): Likewise.
18245         (MAX_VALUE_INIT): Likewise.
18246         (MIN_VALUE_INIT): Likewise.
18247         (MIN_SUBNORM_VALUE_INIT): Likewise.
18248         (plus_zero): Initialize with PLUS_ZERO_INIT.
18249         (minus_zero): Initialize with MINUS_ZERO_INIT.
18250         (plus_infty): Initialize with PLUS_INFTY_INIT.
18251         (minus_infty): Initialize with MINUS_INFTY_INIT.
18252         (qnan_value): Initialize with QNAN_VALUE_INIT.
18253         (max_value): Initialize with MAX_VALUE_INIT.
18254         (min_value): Initialize with MIN_VALUE_INIT.
18255         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
18256
18257         * math/libm-test.inc (RUN_TEST_if_f): New macro.
18258         (jn_test): Use TEST_if_f instead of TEST_ff_f.
18259         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
18260         (yn_test): Use TEST_if_f instead of TEST_ff_f.
18261
18262         * math/libm-test.inc (RUN_TEST_f_f): New macro.
18263         (RUN_TEST_2_f): Likewise.
18264         (RUN_TEST_ff_f): Likewise.
18265         (RUN_TEST_fi_f): Likewise.
18266         (RUN_TEST_fl_f): Likewise.
18267         (RUN_TEST_fff_f): Likewise.
18268         (RUN_TEST_c_f): Likewise.
18269         (RUN_TEST_f_f1): Likewise.
18270         (RUN_TEST_fF_f1): Likewise.
18271         (RUN_TEST_fI_f1): Likewise.
18272         (RUN_TEST_ffI_f1): Likewise.
18273         (RUN_TEST_c_c): Likewise.
18274         (RUN_TEST_cc_c): Likewise.
18275         (RUN_TEST_f_i): Likewise.
18276         (RUN_TEST_f_i_tg): Likewise.
18277         (RUN_TEST_ff_i_tg): Likewise.
18278         (RUN_TEST_f_b): Likewise.
18279         (RUN_TEST_f_b_tg): Likewise.
18280         (RUN_TEST_f_l): Likewise.
18281         (RUN_TEST_f_L): Likewise.
18282         (RUN_TEST_sincos): Likewise.
18283         * math/gen-libm-test.pl (new_test): Take new argument to indicate
18284         whether to show exceptions.  Do not include ");\n" in return
18285         value.
18286         (special_functions): Output call to RUN_TEST_sincos instead of
18287         check_float calls.  Update calls to new_test.
18288         (parse_args): Output call to single RUN_TEST_* macro instead of
18289         check_* calls and other assignments.  Update calls to new_test.
18290
18291         [BZ #2546]
18292         [BZ #2560]
18293         [BZ #5159]
18294         [BZ #15426]
18295         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
18296         input to result for tgamma overflow.
18297         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
18298         (gamma_coeff): New variable.
18299         (NCOEFF): New macro.
18300         (gamma_positive): New function.
18301         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
18302         underflow here.  Use gamma_positive instead of exp (lgamma) for
18303         other arguments.
18304         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
18305         (gamma_coeff): New variable.
18306         (NCOEFF): New macro.
18307         (gammaf_positive): New function.
18308         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
18309         underflow here.  Use gamma_positive instead of exp (lgamma) for
18310         other arguments.
18311         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
18312         (gamma_coeff): New variable.
18313         (NCOEFF): New macro.
18314         (gammal_positive): New function.
18315         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
18316         underflow here.  Use gamma_positive instead of exp (lgamma) for
18317         other arguments.
18318         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
18319         (gamma_coeff): New variable.
18320         (NCOEFF): New macro.
18321         (gammal_positive): New function.
18322         (__ieee754_gammal_r): Handle positive infinity, overflow and
18323         underflow here.  Handle NaN the same as positive infinity.  Remove
18324         check x < 0xffffffff for negative integers.  Use gamma_positive
18325         instead of exp (lgamma) for other arguments.
18326         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
18327         (gamma_coeff): New variable.
18328         (NCOEFF): New macro.
18329         (gammal_positive): New function.
18330         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
18331         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
18332         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
18333         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
18334         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
18335         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
18336         * sysdeps/generic/math_private.h (__gamma_productf): New
18337         prototype.
18338         (__gamma_product): Likewise.
18339         (__gamma_productl): Likewise.
18340         * math/Makefile (libm-calls): Add gamma_product.
18341         * math/libm-test.inc (tgamma_test): Add more tests.
18342         * sysdeps/i386/fpu/libm-test-ulps: Update.
18343         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18344
18345 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
18346
18347         * benchtests/bench-skeleton.c (main): Preheat CPU.
18348
18349 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
18350
18351         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
18352
18353 2013-05-07  Roland McGrath  <roland@hack.frob.com>
18354
18355         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
18356         and _dl_skip_args_internal.
18357
18358 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
18359
18360         * manual/message.texi (Message Translation): Talk about users.
18361         Message to key mapping impacts design.
18362
18363 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18364
18365         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
18366
18367         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
18368
18369         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
18370         * sysdeps/wordsize-64/glob64.c: ... here.
18371
18372         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
18373         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
18374         New macros.
18375
18376         * debug/getlogin_r_chk.c: Moved to ...
18377         * login/getlogin_r_chk.c: ... here.
18378         * debug/Makefile (routines): Move getlogin_r_chk to ...
18379         * login/Makefile (routines): ... here.
18380         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
18381         * login/Versions (libc: GLIBC_2.4): ... here.
18382
18383         * io/poll.c (__poll): Renamed from poll.
18384         Add libc_hidden_def.
18385         (poll): Define as weak alias.
18386
18387         * debug/ptsname_r_chk.c: Moved to ...
18388         * login/ptsname_r_chk.c: ... here.
18389         * debug/Makefile (routines): Move ptsname_r_chk to ...
18390         * login/Makefile (routines): ... here.
18391         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
18392         * login/Versions (libc: GLIBC_2.4): ... here.
18393
18394         * posix/getlogin.c: Moved to ...
18395         * login/getlogin.c: ... here.
18396         * posix/getlogin_r.c: Moved to ...
18397         * login/getlogin_r.c: ... here.
18398         * posix/getlogin_r.c: Moved to ...
18399         * login/getlogin_r.c: ... here.
18400         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
18401         * login/Makefile (routines): ... here.
18402         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
18403         * login/Versions (libc: GLIBC_2.0): ... here.
18404
18405         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
18406         (setrlimit): Define as weak alias.
18407
18408         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
18409         Call __ names for open, ftruncate, and close.
18410         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
18411         (truncate): Define as weak alias.
18412
18413 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
18414
18415         * math/gen-libm-test.pl (parse_args): Initialize x before each
18416         test of frexp, modf and remquo.
18417
18418         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
18419         test signgam value.
18420
18421 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18422
18423         [BZ #15418]
18424         [BZ #15419]
18425         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
18426         internal tests.
18427         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
18428
18429 2013-05-06  Roland McGrath  <roland@hack.frob.com>
18430
18431         * elf/dl-writev.h: New file.
18432         * elf/dl-misc.c: Include it.
18433         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
18434         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
18435
18436 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
18437
18438         * math/libm-test.inc (noXFails): Remove variable.
18439         (noXPasses): Likewise.
18440         (BUILD_COMPLEX_INT): Remove macro.
18441         (print_screen): Remove xfail argument.
18442         (print_screen_max_error): Likewise.
18443         (update_stats): Likewise.
18444         (print_max_error): Likewise.  Update calls to other affected
18445         functions.
18446         (print_complex_max_error): Likewise.
18447         (test_single_exception): Update calls to print_screen.
18448         (test_single_errno): Likewise.
18449         (check_float_internal): Remove xfail argument.  Update calls to
18450         other affected functions.
18451         (check_float): Likewise.
18452         (check_complex): Likewise.
18453         (check_int): Likewise.
18454         (check_long): Likewise.
18455         (check_bool): Likewise.
18456         (check_longlong): Likewise.
18457         (main): Don't print noXFails and noXPasses.
18458         * math/gen-libm-test.pl (top level): Don't mention expected
18459         failure handling in comment.
18460         (new_test): Don't handle expected failures.
18461         (parse_args): Don't mention expected failure handling in comment.
18462         (generate_testfile): Don't handle expected failures.
18463         (parse_ulps): Likewise.
18464         (print_ulps_file): Likewise.
18465         (get_failure): Remove function.
18466         (output_test): Don't handle expected failures.
18467         * make/README.libm-test: Don't mention expected failure handling.
18468
18469         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
18470         (minus_zero): Likewise.
18471         (plus_infty): Likewise.
18472         (minus_infty): Likewise.
18473         (qnan_value): Likewise.
18474         (max_value): Likewise.
18475         (min_value): Likewise.
18476         (min_subnorm_value): Likewise.
18477         (initialize): Do not initialize those variables dynamically.
18478
18479 2013-05-03  Roland McGrath  <roland@hack.frob.com>
18480
18481         * io/open.c (__open_2): Moved to ...
18482         * io/open_2.c: ... this new file.
18483         * io/open64.c (__open64_2): Moved to ...
18484         * io/open64_2.c: ... this new file.
18485         * io/openat.c (__openat_2): Moved to ...
18486         * io/openat_2.c: ... this new file.
18487         * io/openat64.c (__openat64_2): Moved to ...
18488         * io/openat64_2.c: ... this new file.
18489         * io/Makefile (routines): Add them.
18490         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
18491         * sysdeps/unix/sysv/linux/open_2.c: File removed.
18492         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
18493         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
18494         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
18495         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
18496         (__openat64): Add hidden_ver.
18497         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
18498         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
18499
18500         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
18501         Separately conditionalize setting of GLRO(dl_sysinfo) so
18502         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
18503         as well, but the actual setting is only under [NEED_DL_SYSINFO].
18504
18505 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18506
18507         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
18508         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
18509         definition.
18510         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
18511         * sysdeps/unix/sysv/linux/powerpc/init-first.c
18512         (_libc_vdso_platform_setup): Add __vdso_time initialization.
18513         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
18514         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
18515
18516 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
18517
18518         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
18519         test signgam value.
18520
18521         * math/libm-test.inc (hypot_test): Do not use
18522         IGNORE_ZERO_INF_SIGN.
18523
18524 2013-05-03  Andreas Jaeger  <aj@suse.de>
18525
18526         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
18527         Linux 3.9.
18528         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
18529         (PF_MAX): Adjust for VSOCK change.
18530
18531 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18532
18533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18534
18535 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
18536
18537         [BZ #15264]
18538         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
18539         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
18540         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
18541
18542 2013-05-02  David S. Miller  <davem@davemloft.net>
18543
18544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
18545
18546 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
18547
18548         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
18549
18550 2013-05-01  Roland McGrath  <roland@hack.frob.com>
18551
18552         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
18553
18554 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
18555
18556         [BZ #14952]
18557         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
18558         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18559         Use __attribute__ ((__gnu_inline__)).
18560         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
18561         Don't use __attribute__ ((__gnu_inline__)).
18562
18563 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
18564
18565         [BZ #15423]
18566         * math/s_catan.c (__catan): Handle small real or imaginary part of
18567         input specially to avoid spurious underflow.
18568         * math/s_catanf.c (__catanf): Likewise.
18569         * math/s_catanh.c (__catanh): Likewise.
18570         * math/s_catanhf.c (__catanhf): Likewise.
18571         * math/s_catanhl.c (__catanhl): Likewise.
18572         * math/s_catanl.c (__catanl): Likewise.
18573         * math/libm-test.inc (catan_test): Add more tests.
18574         (catanh_test): Likewise.
18575         * sysdeps/i386/fpu/libm-test-ulps: Update.
18576         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18577
18578 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18579
18580         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18581
18582 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
18583
18584         [BZ #15416]
18585         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
18586         accurately for denominator in atan2.
18587         * math/s_catanf.c (__catanf): Likewise.
18588         * math/s_catanh.c (__catanh): Likewise.
18589         * math/s_catanhf.c (__catanhf): Likewise.
18590         * math/s_catanhl.c (__catanhl): Likewise.
18591         * math/s_catanl.c (__catanl): Likewise.
18592         * math/libm-test.inc (catan_test): Add more tests.
18593         (catanh_test): Likewise.
18594         * sysdeps/i386/fpu/libm-test-ulps: Update.
18595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18596
18597 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18598
18599         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
18600
18601         * benchtests/Makefile (bench): Remove slow benchmarks.
18602         * benchtests/atan-inputs: Add slow benchmark inputs.
18603         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
18604         (BENCH_FUNC): Accept variant offset.
18605         (VARIANT): Define.
18606         * benchtests/bench-skeleton.c (main): Run benchmark for each
18607         variant.
18608         * benchtests/cos-inputs: Add slow benchmark inputs.
18609         * benchtests/exp-inputs: Likewise.
18610         * benchtests/pow-inputs: Likewise.
18611         * benchtests/sin-inputs: Likewise.
18612         * benchtests/slowatan-inputs: Remove.
18613         * benchtests/slowatan.c: Remove.
18614         * benchtests/slowcos-inputs: Remove.
18615         * benchtests/slowcos.c: Remove.
18616         * benchtests/slowexp-inputs: Remove.
18617         * benchtests/slowexp.c: Remove.
18618         * benchtests/slowpow-inputs: Remove.
18619         * benchtests/slowpow.c: Remove.
18620         * benchtests/slowsin-inputs: Remove.
18621         * benchtests/slowsin.c: Remove.
18622         * benchtests/slowtan-inputs: Remove.
18623         * benchtests/slowtan.c: Remove.
18624         * benchtests/tan-inputs: Add slow benchmark inputs.
18625         * scripts/bench.pl: Parse comments and directives.
18626
18627         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
18628         in CPPFLAGS.
18629         ($(objpfx)bench-%.c): Remove *-ITER.
18630         * benchtests/bench-modf.c: Remove definition of ITER.
18631         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
18632         (main): Loop for DURATION seconds instead of fixed number of
18633         iterations.
18634         * scripts/bench.pl: Don't expect iterations in parameters.
18635
18636 2013-04-29  Roland McGrath  <roland@hack.frob.com>
18637
18638         * io/fchdir.c (__fchdir): Renamed from fchdir.
18639         (fchdir): Define as weak alias.
18640
18641 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18642
18643         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
18644         (ERRNO_EDOM): Likewise.
18645         (ERRNO_ERANGE): Likewise.
18646         (noErrnoTests): New variable.
18647         (init_max_error): Set errno to 0.
18648         (test_single_errno): New function.
18649         (test_errno): Likewise.
18650         (check_float_internal): Call test_errno.  Set errno to 0.
18651         (check_complex): Refer to errno tests in comment.
18652         (check_int): Call test_errno.  Set errno to 0.
18653         (check_long): Likewise.
18654         (check_bool): Likewise.
18655         (check_longlong): Likewise.
18656         (cos_test): Use ERRNO_* flags for errno tests instead of
18657         check_int.
18658         (expm1_test): Likewise.
18659         (fmod_test): Likewise.
18660         (ilogb_test): Likewise.
18661         (lgamma_test): Likewise.
18662         (pow_test): Likewise.
18663         (remainder_test): Likewise.
18664         (sin_test): Likewise.
18665         (tan_test): Likewise.
18666         (yn_test): Likewise.
18667         (initialize): Set errno to 0.
18668         (main): Print number of errno tests.
18669         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
18670
18671 2013-04-29  Andreas Jaeger  <aj@suse.de>
18672
18673         [BZ #15084]
18674         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
18675         and RES_USEVC.
18676
18677         [BZ #15085]
18678         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
18679         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
18680         unimplemented.
18681
18682         [BZ #15380]
18683         * stdlib/random.c (__initstate): Return NULL if
18684         __initstate fails.
18685
18686         [BZ #15086]
18687         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
18688         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
18689         RES_SNGLKUPREOP.
18690
18691 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18692
18693         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18694
18695 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
18696
18697         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
18698         of individual tests.
18699         (casin_test): Likewise.
18700         (casinh_test): Likewise.
18701
18702 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
18703
18704         [BZ #15409]
18705         * math/s_catan.c (__catan): Handle arguments with large real or
18706         imaginary part separately without squaring.
18707         * math/s_catanf.c (__catanf): Likewise.
18708         * math/s_catanh.c (__catanh): Likewise.
18709         * math/s_catanhf.c (__catanhf): Likewise.
18710         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18711         and redefine.
18712         (__catanhl): Handle arguments with large real or imaginary part
18713         separately without squaring.
18714         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18715         and redefine.
18716         (__catanl): Handle arguments with large real or imaginary part
18717         separately without squaring.
18718         * math/libm-test.inc (catan_test): Add more tests.
18719         (catanh_test): Likewise.
18720         * sysdeps/i386/fpu/libm-test-ulps: Update.
18721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18722
18723 2013-04-27  Andreas Jaeger  <aj@suse.de>
18724
18725         [BZ #15007]
18726         * stdlib/stdlib.h: Update guards for qecvt.
18727         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
18728         <stdlib.h>.
18729
18730 2013-04-27  Allan McRae  <allan@archlinux.org>
18731
18732         * sysdeps/i386/fpu/libm-test-ulps: Update.
18733
18734 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
18735
18736         [BZ #15406]
18737         * math/s_catan.c: Include <float.h>.
18738         (__catan): Ensure underflow exception occurs for underflowed
18739         result.
18740         * math/s_catanf.c: Include <float.h>.
18741         (__catanf): Ensure underflow exception occurs for underflowed
18742         result.
18743         * math/s_catanh.c: Include <float.h>.
18744         (__catanh): Ensure underflow exception occurs for underflowed
18745         result.
18746         * math/s_catanhf.c: Include <float.h>.
18747         (__catanhf): Ensure underflow exception occurs for underflowed
18748         result.
18749         * math/s_catanhl.c: Include <float.h>.
18750         (__catanhl): Ensure underflow exception occurs for underflowed
18751         result.
18752         * math/s_catanl.c: Include <float.h>.
18753         (__catanl): Ensure underflow exception occurs for underflowed
18754         result.
18755         * math/libm-test.inc (catan_test): Add more tests.
18756         (catanh_test): Likewise.
18757
18758         [BZ #15405]
18759         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
18760         underflowed result.
18761         * math/s_ccoshf.c (__ccoshf): Likewise.
18762         * math/s_ccoshl.c (__ccoshl): Likewise.
18763         * math/s_csin.c (__csin): Likewise.
18764         * math/s_csinf.c (__csinf): Likewise.
18765         * math/s_csinh.c (__csinh): Likewise.
18766         * math/s_csinhf.c (__csinhf): Likewise.
18767         * math/s_csinhl.c (__csinhl): Likewise.
18768         * math/s_csinl.c (__csinl): Likewise.
18769         * math/libm-test.inc (ccos_test): Add more tests.
18770         (ccosh_test): Likewise.
18771         (csin_test): Likewise.
18772         (csinh_test): Likewise.
18773
18774 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18775
18776         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
18777         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
18778         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
18779         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
18780         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
18781         powerpc/power5+/fpu folders.
18782         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
18783
18784
18785 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
18786
18787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18788
18789 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
18790
18791         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
18792         additions to variable.
18793         [$(config-machine) = x86_64] (modules-names): Likewise.
18794         ($(objpfx)tst-audit3): Remove dependency.
18795         ($(objpfx)tst-audit3.out): Likewise.
18796         ($(objpfx)tst-audit4): Likewise.
18797         ($(objpfx)tst-audit4.out): Likewise.
18798         ($(objpfx)tst-audit5): Likewise.
18799         ($(objpfx)tst-audit5.out): Likewise.
18800         ($(objpfx)tst-audit6): Likewise.
18801         ($(objpfx)tst-audit6.out): Likewise.
18802         ($(objpfx)tst-audit7): Likewise.
18803         ($(objpfx)tst-audit7.out): Likewise.
18804         (tst-audit3-ENV): Remove variable.
18805         (tst-audit4-ENV): Likewise.
18806         (tst-audit5-ENV): Likewise.
18807         (tst-audit6-ENV): Likewise.
18808         (tst-audit7-ENV): Likewise.
18809         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
18810         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
18811         addition to variable.
18812         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
18813         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
18814         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
18815         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
18816         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
18817         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
18818         tst-audit3, tst-audit4 and tst-audit5.
18819         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
18820         tst-audit6 and tst-audit7.
18821         [$(subdir) = elf] (modules-names): Add audit modules for those
18822         tests.
18823         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
18824         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
18825         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
18826         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
18827         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
18828         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
18829         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
18830         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
18831         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
18832         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
18833         [$(subdir) = elf] (tst-audit3-ENV): New variable.
18834         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
18835         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
18836         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
18837         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
18838         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
18839         Likewise.
18840         [$(subdir) = elf && $(config-cflags-avx) = yes]
18841         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
18842         [$(subdir) = elf && $(config-cflags-avx) = yes]
18843         (CFLAGS-tst-auditmod4a.c): Likewise.
18844         [$(subdir) = elf && $(config-cflags-avx) = yes]
18845         (CFLAGS-tst-auditmod4b.c): Likewise.
18846         [$(subdir) = elf && $(config-cflags-avx) = yes]
18847         (CFLAGS-tst-auditmod6b.c): Likewise.
18848         [$(subdir) = elf && $(config-cflags-avx) = yes]
18849         (CFLAGS-tst-auditmod6c.c): Likewise.
18850         [$(subdir) = elf && $(config-cflags-avx) = yes]
18851         (CFLAGS-tst-auditmod7b.c): Likewise.
18852         * elf/tst-audit3.c: Move to ...
18853         * sysdeps/x86_64/tst-audit3.c: ... here.
18854         * elf/tst-audit4.c: Move to ...
18855         * sysdeps/x86_64/tst-audit4.c: ... here.
18856         * elf/tst-audit5.c: Move to ...
18857         * sysdeps/x86_64/tst-audit5.c: ... here.
18858         * elf/tst-audit6.c: Move to ...
18859         * sysdeps/x86_64/tst-audit6.c: ... here.
18860         * elf/tst-audit7.c: Move to ...
18861         * sysdeps/x86_64/tst-audit7.c: ... here.
18862         * elf/tst-auditmod3a.c: Move to ...
18863         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
18864         * elf/tst-auditmod3b.c: Move to ...
18865         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
18866         * elf/tst-auditmod4a.c: Move to ...
18867         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
18868         * elf/tst-auditmod4b.c: Move to ...
18869         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
18870         * elf/tst-auditmod5a.c: Move to ...
18871         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
18872         * elf/tst-auditmod5b.c: Move to ...
18873         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
18874         * elf/tst-auditmod6a.c: Move to ...
18875         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
18876         * elf/tst-auditmod6b.c: Move to ...
18877         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
18878         * elf/tst-auditmod6c.c: Move to ...
18879         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
18880         * elf/tst-auditmod7a.c: Move to ...
18881         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
18882         * elf/tst-auditmod7b.c: Move to ...
18883         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
18884
18885 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
18886
18887         [BZ #15366]
18888         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
18889         define unconditionally.
18890         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
18891         define unconditionally.
18892         (INT8_C, INT16_C, etc.): Likewise.
18893
18894 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
18895
18896         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
18897         __ehdr_start with hidden visibility.
18898
18899         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
18900
18901 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
18902
18903         * math/libm-test.inc (cos_test): Use accurate hex constants.
18904         (sincost_test): Likewise.
18905
18906 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
18907
18908         * math/libm-test.inc (catan_test): Add more tests.
18909         (catanh_test): Likewise.
18910
18911         * math/s_catanf.c (__catanf): Use suffixed floating-point
18912         constants.
18913         * math/s_catanhf.c (__catanhf): Likewise.
18914         * math/s_catanhl.c (__catanhl): Likewise.
18915         * math/s_catanl.c (__catanl): Likewise.
18916
18917         [BZ #15394]
18918         * math/s_catan.c (__catan): Calculate imaginary part of result
18919         with log1p not log unless computing log of number close to 0.
18920         * math/s_catanf.c (__catanf): Likewise.
18921         * math/s_catanl.c (__catanl): Likewise.
18922         * math/s_catanh.c (__catanh): Calculate real part of result with
18923         log1p not log unless computing log of number close to 0.
18924         * math/s_catanhf.c (__catanhf): Likewise.
18925         * math/s_catanhl.c (__catanhl): Likewise.
18926         * math/libm-test.inc (catan_test): Add more tests.
18927         (catanh_test): Likewise.
18928         * sysdeps/i386/fpu/libm-test-ulps: Update.
18929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18930
18931 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18932
18933         * benchtests/Makefile: Mention files in which fast and slow
18934         paths of math functions are implemented.
18935
18936 2013-04-23  Roland McGrath  <roland@hack.frob.com>
18937
18938         * sysdeps/posix/timespec_get.c: New file.
18939
18940 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18941
18942         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
18943         POWER.
18944         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
18945         for POWER.
18946         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
18947         powerpc/power5/fpu folders.
18948         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
18949         * benchtests/Makefile: Add modf testcase.
18950         * benchtests/bench-modf.c: New file: Benchmark test for mo
18951
18952 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
18953
18954         [BZ #14888]
18955         * time/Makefile (tests): Add tst-strptime-whitespace.
18956         * time/strptime_l.c (get_number): Use ISSPACE.
18957         (__strptime_internal): Likewise.
18958         * time/tst-strptime-whitespace.c: New test case.
18959
18960 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
18961
18962         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
18963         member.
18964         (_nss_files_init): Set it here.
18965
18966 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
18967
18968         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
18969         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
18970         unsigned.
18971
18972 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
18973
18974         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
18975
18976 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
18977
18978         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
18979         size just once.
18980
18981 2013-04-21  David S. Miller  <davem@davemloft.net>
18982
18983         * po/ru.po: Update Russion translation from translation project.
18984
18985 2013-04-17  Adam Conrad  <adconrad@0c3.net>
18986
18987         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
18988         and setfsgid.
18989
18990 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
18991
18992         * configure.in: Remove i386 configure warning. Remove i386 case.
18993         * configure: Regenerate.
18994         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
18995         Add example to error message.
18996         * sysdeps/i386/configure: Regenerate.
18997
18998 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
18999
19000         * benchtests/Makefile (bench): Add cos, tan, slowcos and
19001         slowtan.
19002         * benchtests/cos-inputs: New file.
19003         * benchtests/slowcos-inputs: New file.
19004         * benchtests/slowcos.c: New file.
19005         * benchtests/slowtan-inputs: New file.
19006         * benchtests/slowtan.c: New file.
19007         * benchtests/tan-inputs: New file.
19008
19009 2013-04-16  Roland McGrath  <roland@hack.frob.com>
19010
19011         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
19012         considered kosher.
19013
19014 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19015
19016         * benchtests/Makefile: Include cppflags-iterator.mk to add
19017         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
19018
19019         * Makefile.in (bench-clean): New target.
19020         * benchtests/Makefile (bench-clean): Likewise.
19021
19022 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
19023
19024         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
19025
19026 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
19027
19028         * stdio-common/tstdiomisc.c: Fix coding-style violation.
19029
19030 2013-04-15  Andreas Schwab  <schwab@suse.de>
19031
19032         * nscd/grpcache.c (cache_addgr): Properly check for short write.
19033         * nscd/initgrcache.c (addinitgroupsX): Likewise.
19034         * nscd/pwdcache.c (cache_addpw): Likewise.
19035         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
19036         more than recsize.
19037
19038 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19039
19040         * benchtests/Makefile (bench): Write all output to
19041         bench-out.tmp together.
19042
19043 2013-04-15  Andreas Schwab  <schwab@suse.de>
19044
19045         * nscd/nscd.c (main): Don't fork again after closing files.
19046
19047 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19048
19049         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
19050
19051         * benchtests/Rules (bench-deps): Collect dependencies into a
19052         single variable.  Add Makefile to dependencies.
19053         ($(objpfx)bench-%.c): Depend on bench-deps.
19054
19055 2013-04-12  Roland McGrath  <roland@hack.frob.com>
19056             Xavier Roche  <roche+kml2@exalead.com>
19057
19058         [BZ #15361]
19059         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
19060         just that it's a file descriptor.
19061         * manual/llio.texi (Synchronizing AIO Operations): Update description
19062         for EBADF error from aio_fsync.
19063
19064 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19065
19066         * Rules (bench): Move target definition...
19067         * benchtests/Makefile: ... here.
19068
19069 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
19070
19071         * math/libm-test.inc (cos_test): Fix PI/2 test.
19072         (sincos_test): Likewise.
19073         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
19074         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
19075
19076 2013-04-11  Andreas Schwab  <schwab@suse.de>
19077
19078         [BZ #13988]
19079         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
19080         accept exponent character only when digits were seen.
19081         * stdio-common/Makefile (tests): Add bug26.
19082         * stdio-common/bug26.c: New file.
19083
19084         [BZ #14293]
19085         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
19086         non-freeable.
19087
19088 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19089
19090         * Makeconfig (rtld-prefix): Define built linker prefix.
19091         * Rules (run-bench): Use it.
19092         * math/Makefile (run-regen-ulps): Likewise.
19093
19094         * Rules (bench): Remove eval.
19095
19096 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19097             Roland McGrath  <roland@hack.frob.com>
19098             Ondrej Bilka  <neleai@seznam.cz>
19099
19100         [BZ #15346]
19101         * time/getdate.c: Include ctype.h and alloca.h.
19102         (__getdate_r): Trim leading and trailing spaces of input.
19103         * time/tst-getdate.c (tests): Add tests with leading and
19104         trailing spaces.
19105
19106 2013-04-08  Roland McGrath  <roland@hack.frob.com>
19107
19108         [BZ #14280]
19109         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
19110         when computing value.
19111
19112 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19113
19114         * math/README.libm-test (How can I generate "libm-test-ulps"?):
19115         Use testrun.sh to run libm tests.
19116
19117         [BZ #15309]
19118         * elf/dl-open.c (dl_open_worker): memset all of seen array.
19119
19120 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
19121
19122         [BZ #15264]
19123         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
19124
19125 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19126
19127         * Makefile.in (regen-ulps): New target.
19128         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
19129         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
19130         [ifneq (no,$(PERL)] (regen-ulps): New target.
19131         [ifeq (no,$(PERL)] (regen-ulps): New target.
19132         * math/libm-test.inc (ulps_file_name): Define.
19133         (output_dir): New variable.
19134         (options): Add "output-dir" option.
19135         (parse_opt): Handle 'o' case.
19136         (main): If output_dir is non-NULL use it as a prefix
19137         otherwise use "".
19138         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
19139
19140 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19141
19142         [BZ #10060, #10062]
19143         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
19144         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
19145         fail configure if __sync_val_compare_and_swap is not inlined.
19146         * sysdeps/i386/configure: Regenerate.
19147         * configure.in: Build for i686 when configured for i386.
19148         * configure: Regenerate.
19149         * README: Remove i386 reference.
19150
19151 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
19152
19153         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
19154         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19155
19156 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
19157
19158         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
19159         (lmsnanval): New variables.
19160         (F): Add conversion tests.
19161         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
19162         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
19163
19164         * stdio-common/tstdiomisc.c (F): Properly collect individual
19165         tests' results.
19166
19167         [BZ #14686, #15336]
19168         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
19169         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
19170         Instead, use input NaN values or generate a qNaN by arithmetic
19171         operation.  Also fix bugs to comply with the standard.
19172         * math/libm-test.inc (remainder_test): Add more tests.
19173
19174         [BZ #15335, #15342]
19175         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
19176         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
19177         input NaN values or generate a qNaN by arithmetic operation.
19178
19179         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
19180         unreachable code.
19181
19182         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
19183         definitions.
19184
19185 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
19186
19187         [BZ #14478]
19188         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
19189         underflowed result.
19190         * math/s_cexpf.c (__cexpf): Likewise.
19191         * math/s_cexpl.c (__cexpl): Likewise.
19192         * math/libm-test.inc (cexp_test): Add more tests.
19193
19194 2013-04-03  Andreas Schwab  <schwab@suse.de>
19195
19196         [BZ #15330]
19197         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
19198         order arrays from heap if bigger than alloca cutoff.
19199
19200 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
19201
19202         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
19203         (SNAN_TESTS_double): Refer to GCC PR56831.
19204         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
19205         GCC PR56828.
19206
19207 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19208
19209         * Rules (bench): Move bench.out after the run is complete.
19210
19211         * Rules (bench): Echo currently running benchmark.
19212
19213         * benchtests/Makefile (bench): Add atan and slowatan.
19214         * benchtests/atan-inputs: New file.
19215         * benchtests/slowatan-inputs: New file.
19216         * benchtests/slowatan.c: New file.
19217
19218         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
19219         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
19220         its value.
19221
19222         [BZ #15305]
19223         * sysdeps/unix/sysv/linux/kernel-features.h
19224         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
19225         __ASSUME_XFS_RESTRICTED_CHOWN.
19226         * sysdeps/unix/sysv/linux/pathconf.c
19227         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
19228         Save and restore errno.
19229
19230 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
19231
19232         [BZ #15327]
19233         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
19234         arguments using __kernel_casinh.
19235         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
19236         arguments using __kernel_casinhf.
19237         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
19238         arguments using __kernel_casinhl.
19239         * math/libm-test.inc (cacosh_test): Add more tests.
19240         * sysdeps/i386/fpu/libm-test-ulps: Update.
19241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19242
19243 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19244
19245         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
19246         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
19247
19248         * bench/Makefile (bench): Add sin and slowsin.
19249         * benchtests/sin-inputs: New file.
19250         * benchtests/slowsin-inputs: New file.
19251         * benchtests/slowsin.c: New file.
19252
19253         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
19254         (bench): Add slowexp and slowpow.
19255         (exp-ITER): Increase iterations.
19256         (pow-ITER): Likewise.
19257         * benchtests/exp-inputs: Change input.
19258         * benchtests/pow-inputs: Likewise.
19259         * benchtests/slowexp-inputs: New file.
19260         * benchtests/slowexp.c: New file.
19261         * benchtests/slowpow-inputs: New file.
19262         * benchtests/slowpow.c: New file.
19263
19264 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19265
19266         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
19267         instructions.
19268         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
19269         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
19270         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19271         * benchtests/Makefile: Add rint benchtest.
19272         * benchtests/rint-inputs: Input for rint benchtest.
19273
19274 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
19275
19276         * Versions.def (libm): Add GLIBC_2.18.
19277         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
19278         hidden libm prototypes.
19279         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
19280         * math/Makefile (libm-calls): Add s_issignaling.
19281         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
19282         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
19283         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
19284         declaration.
19285         * math/math.h [__USE_GNU] (issignaling): New macro.
19286         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
19287         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
19288         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
19289         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
19290         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
19291         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
19292         * manual/arith.texi (issignaling): New section.
19293         * manual/libm-err-tab.pl (@all_functions): Update comment.
19294         * math/gen-libm-test.pl (parse_args): Apply special handling for
19295         issignaling.
19296         * math/libm-test.inc (print_float, issignaling_test): New
19297         functions.
19298         (check_float_internal): Add issignaling checks.
19299         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
19300         default definition.
19301         * sysdeps/powerpc/math-tests.h: New file.
19302         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
19303         tests.
19304         * math/test-snan.c (TEST_FUNC): Likewise.
19305
19306 2013-03-30  David S. Miller  <davem@davemloft.net>
19307
19308         * po/de.po: Update from translation team.
19309
19310 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
19311
19312         [BZ #10357]
19313         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19314         imaginary part less than 1.0 and real part less than 0.5
19315         specially.
19316         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19317         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19318         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
19319         (cacos_test): Add more tests.
19320         (casin_test): Likewise.
19321         (casinh_test): Likewise.
19322         * sysdeps/i386/fpu/libm-test-ulps: Update.
19323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19324
19325 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19326
19327         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
19328         ONE with its value.
19329
19330         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
19331         (__pow_mp): Replace ONE and MONE with their values.
19332         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19333         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
19334         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19335         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
19336         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19337         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19338
19339         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
19340
19341         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
19342         (__pow_mp): Replace ZERO and MZERO with their values.
19343         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19344         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19345         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19346         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19347         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19348         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
19349         (__sqr): Likewise.
19350
19351         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
19352
19353         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
19354
19355 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19356
19357         * include/stdlib.h [!SHARED] (__call_tls_dtors):
19358         Declare with __attribute__ ((weak)).
19359         * stdlib/exit.c (__libc_atexit) [!SHARED]:
19360         Call __call_tls_dtors only if it's not NULL.
19361
19362 2013-03-28  Roland McGrath  <roland@hack.frob.com>
19363
19364         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
19365         didn't do it already, then set _dl_phdr and _dl_phnum based on the
19366         magic __ehdr_start linker symbol if it's defined.
19367         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
19368         them up here if it was already done.
19369
19370         * elf/dl-support.c (_dl_phdr): Make pointer to const.
19371         (_dl_aux_init): Use const in cast when setting it.
19372         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
19373         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
19374         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
19375
19376         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
19377         Declare them here.
19378         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
19379         * csu/libc-tls.c: Nor here.
19380         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
19381
19382         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
19383         (__libc_message): Never call vsyslog.
19384
19385 2013-03-28  Alan Modra  <amodra@gmail.com>
19386
19387         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
19388         Define as empty.
19389         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
19390         Likewise.
19391
19392 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19393
19394         [BZ #15214]
19395         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
19396         underflow.
19397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19398
19399 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19400
19401         [BZ #15304]
19402         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19403         Don't add gid passed as argument.
19404
19405         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
19406
19407 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
19408
19409         [BZ #15307]
19410         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19411         imaginary part between 1.0 and 1.5 and real part less than 0.5
19412         specially.
19413         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19414         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19415         * math/libm-test.inc (cacos_test): Add more tests.
19416         (casin_test): Likewise.
19417         (casinh_test): Likewise.
19418         * sysdeps/i386/fpu/libm-test-ulps: Update.
19419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19420
19421 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
19422
19423         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
19424         constants.
19425         (norm): Likewise.
19426         (denorm): Likewise.
19427         (__dbl_mp): Likewise.
19428         (add_magnitudes): Likewise.
19429         (sub_magnitudes): Likewise.
19430         (__add): Likewise.
19431         (__sub): Likewise.
19432         (__mul): Likewise.
19433         (__sqr): Likewise.
19434         (__inv): Likewise.
19435         (__dvd): Likewise.
19436
19437         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
19438         commented code.
19439         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
19440         (__dubcos): Likewise.
19441         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
19442         (__ieee754_acos): Likewise.
19443         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
19444         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
19445         (__exp1): Likewise.
19446         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19447         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
19448         (log1): Likewise.
19449         (my_log2): Likewise.
19450         (checkint): Likewise.
19451         * sysdeps/ieee754/dbl-64/e_remainder.c
19452         (__ieee754_remainder): Likewise.
19453         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
19454         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
19455         (bsloww): Likewise.
19456         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19457
19458         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19459         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
19460         MANTISSA_STORE_T to store computations on mantissa.  Use
19461         macros for rounding and division.
19462         (denorm): Likewise.
19463         (__dbl_mp): Likewise.
19464         (add_magnitudes): Likewise.
19465         (sub_magnitudes): Likewise.
19466         (__mul): Likewise.
19467         (__sqr): Likewise.
19468         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19469         powers of two in terms of TWOPOW macro.
19470         (mp_no): Make type of mantissa as MANTISSA_T.
19471         [!RADIXI]: Define RADIXI.
19472         [!TWO52]: Define TWO52.
19473         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19474
19475 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19476
19477         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
19478         llroundl symbol when building for PPC32.
19479
19480 2013-03-24  Mark H Weaver  <mhw@netris.org>
19481
19482         * manual/arith.texi (Normalization Functions): Fix prototypes for
19483         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
19484
19485 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19486
19487         [BZ #13889]
19488         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
19489         high value to check if expl overflow.
19490         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
19491         to check for underflow and overflow.
19492         * math/libm-test.inc: Add exp test.
19493
19494 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
19495
19496         [BZ #11120]
19497         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
19498         with NOT_IN_libc.
19499
19500 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19501
19502         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
19503         symbol.
19504
19505 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
19506
19507         * math/gen-libm-test.pl (parse_args, special_functions): Properly
19508         wrap blocks consisting of several statements.
19509
19510         * sysdeps/generic/math-tests.h: New file.
19511         * sysdeps/i386/fpu/math-tests.h: Likewise.
19512         * math/test-snan.c: Include it.
19513         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
19514
19515 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19516
19517         [BZ #15285]
19518         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
19519         (__ieee754_j0l): Do not improve calculations using cos of twice
19520         input for inputs above LDBL_MAX / 2.0L.
19521         (__ieee754_y0l): Likewise.
19522         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
19523         (__ieee754_j1l): Do not improve calculations using cos of twice
19524         input for inputs above LDBL_MAX / 2.0L.
19525         (__ieee754_y1l): Likewise.
19526         * math/libm-test.inc (j0_test): Add another test.
19527         (j1_test): Likewise.
19528         (y0_test): Likewise.
19529         (y1_test): Likewise.
19530         * sysdeps/i386/fpu/libm-test-ulps: Update.
19531
19532 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19533
19534         * Rules ($(objpfx)bench-%.c): Include code from a C source
19535         file.
19536
19537 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
19538
19539         [BZ #15287]
19540         * math/k_casinh.c (__kernel_casinh): Handle arguments with
19541         imaginary part 1.0 and real part less than 0.5 specially.
19542         * math/k_casinhf.c (__kernel_casinhf): Likewise.
19543         * math/k_casinhl.c (__kernel_casinhl): Likewise.
19544         * math/libm-test.inc (cacos_test): Add more tests.
19545         (casin_test): Likewise.
19546         (casinh_test): Likewise.
19547         * sysdeps/i386/fpu/libm-test-ulps: Update.
19548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19549
19550 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19551
19552         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
19553         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
19554
19555 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
19556
19557         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
19558         * config.make.in (config-cflags-sse4): Remove variable.
19559         (config-cflags-avx): Likewise.
19560         (config-cflags-sse2avx): Likewise.
19561         (config-cflags-novzeroupper): Likewise.
19562         (config-asflags-i686): Likewise.
19563         (have-mfma4): Likewise.
19564         (have-as-vis3): Likewise.
19565         (MIG): Likewise.
19566         * configure.in (MIG): Do not AC_SUBST.
19567         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
19568         (libc_cv_cc_sse4): Do not AC_SUBST.
19569         (libc_cv_cc_avx): Likewise.
19570         (libc_cv_cc_sse2avx): Likewise.
19571         (libc_cv_cc_novzeroupper): Likewise.
19572         (libc_cv_cc_fma4): Likewise.
19573         (libc_cv_as_i686): Likewise.
19574         (libc_cv_sparc_as_vis3): Likewise.
19575         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
19576         LIBC_CONFIG_VAR.
19577         (config-asflags-i686): Likewise.
19578         (config-cflags-avx): Likewise.
19579         (config-cflags-sse2avx): Likewise.
19580         (have-mfma4): Likewise.
19581         (config-cflags-novzeroupper): Likewise.
19582         * sysdeps/mach/configure.in (MIG): Likewise.
19583         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
19584         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
19585         LIBC_CONFIG_VAR.
19586         (config-cflags-avx): Likewise.
19587         (config-cflags-sse2avx): Likewise.
19588         (have-mfma4): Likewise.
19589         (config-cflags-novzeroupper): Likewise.
19590         * configure: Regenerated.
19591         * sysdeps/i386/configure: Likewise.
19592         * sysdeps/mach/configure: Likewise.
19593         * sysdeps/sparc/configure: Likewise.
19594         * sysdeps/x86_64/configure: Likewise.
19595
19596 2013-03-20  Roland McGrath  <roland@hack.frob.com>
19597
19598         [BZ #14812]
19599         * locale/programs/localedef.c (options): Put N_ translation marker
19600         on argument names, not just descriptions.
19601
19602 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19603
19604         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
19605
19606 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
19607
19608         [BZ #14176]
19609         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
19610
19611 2013-03-19  Roland McGrath  <roland@hack.frob.com>
19612
19613         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
19614         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
19615         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
19616         [!BEFORE_ABORT] (before_abort): New function.
19617         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
19618         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
19619         (writev_for_fatal): New function.
19620         (WRITEV_FOR_FATAL): New macro; call that.
19621         (backtrace_and_maps): New function.
19622         (BEFORE_ABORT): New macro; call that.
19623         (struct str_list): Type removed.
19624         (__libc_message, __libc_fatal): Functions removed.
19625         Include <sysdeps/posix/libc_fatal.c> instead.
19626
19627 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
19628
19629         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
19630         constants.
19631         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
19632         double constants.
19633
19634 2013-03-19  Andreas Schwab  <schwab@suse.de>
19635
19636         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
19637         * sysdeps/gnu/configure: Regenerate.
19638
19639         * configure.in: Substitute libc_cv_rtlddir.
19640         * configure: Regenerate.
19641         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
19642         * Makeconfig (rtlddir, inst_rtlddir): New variables.
19643         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
19644         * elf/Makefile (install-others, CFLAGS-interp.c)
19645         (ldso_install, common-ldd-rewrite): Likewise.
19646         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
19647         $(inst_slibdir)/$(rtld-installed-name).
19648         * scripts/rellns-sh: Add -p option.
19649         * Makerules (make-shlib-link): Use rellns-sh to get relative name
19650         for source.
19651
19652 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19653
19654         * manual/nptl.texi: Renamed to ...
19655         * manual/threads.texi: ... this.
19656         * manual/Makefile (chapters): Update.
19657
19658 2013-03-18  Roland McGrath  <roland@hack.frob.com>
19659
19660         [BZ #14812]
19661         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
19662         on argument names, not just descriptions.
19663         * malloc/memusagestat.c (options): Likewise.
19664         * nss/getent.c (options): Likewise.
19665
19666 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
19667
19668         [BZ #14812]
19669         * iconv/iconv_prog.c (options): Put N_ translation marker
19670         on argument names, not just descriptions.
19671         * iconv/iconvconfig.c (options): Likewise.
19672
19673 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
19674
19675         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
19676         implementation which is faster on all x86_64 architectures.
19677         Tested on AMD, Intel Nehalem, SNB, IVB.
19678         * sysdeps/x86_64/strnlen.S: Likewise.
19679
19680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
19681         Remove all multiarch strlen and strnlen versions.
19682         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19683         Remove strlen and strnlen related parts.
19684
19685         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
19686         Inline strlen part.
19687         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
19688
19689         * sysdeps/x86_64/multiarch/strlen.S: Remove.
19690         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
19691         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
19692         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
19693         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
19694         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
19695
19696 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
19697
19698         * manual/memory.texi (Malloc Tunable Parameters):
19699         Sort parameters alphabetically. Add comments for missing entries.
19700
19701 2013-03-17  David S. Miller  <davem@davemloft.net>
19702
19703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19704
19705 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
19706
19707         [BZ #15283]
19708         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
19709         for arguments at most half maximum finite value.
19710         * math/libm-test.inc (j0_test): Add more tests.
19711         (j1_test): Likewise.
19712         (y0_test): Likewise.
19713         (y1_test): Likewise.
19714         * sysdeps/i386/fpu/libm-test-ulps: Update.
19715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19716
19717         [BZ #14155]
19718         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
19719         1 / x and functions P and Q for arguments above 0x1p256L.
19720         (__ieee754_y0l): Likewise.
19721         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
19722         (__ieee754_y1l): Likewise.
19723         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
19724         (j1_test): Likewise.
19725         (y0_test): Likewise.
19726         (y1_test): Likewise.
19727
19728 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
19729
19730         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
19731         variable.
19732
19733 2013-03-15  Roland McGrath  <roland@hack.frob.com>
19734
19735         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
19736         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
19737         zero since it's initialized to EXEC_PAGESIZE.
19738
19739         * sysdeps/unix/sysv/linux/ldsodefs.h
19740         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
19741         * sysdeps/generic/ldsodefs.h: ... here.
19742
19743 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
19744
19745         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
19746
19747         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
19748         math/test-snan.c.
19749         * math/test-snan.c: Renamed from
19750         sysdeps/powerpc/fpu/test-powerpc-snan.c.
19751         * math/Makefile (tests): Add test-snan.
19752         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
19753         test-powerpc-snan.
19754
19755         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
19756         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
19757         functions.
19758         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
19759         __builtin_nan family of functions.
19760         * math/libm-test.inc (initialize): Initialize qnan_value with
19761         __builtin_nan family of functions.
19762         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
19763         Remove variables.
19764         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
19765         Remove functions.
19766         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
19767         storage class.  Initialize qNaN_var and sNaN_var with
19768         __builtin_nan and __builtin_nans families of functions,
19769         respectively.
19770
19771         * math/libm-test.inc (acosh_test): Also test with qNaN input.
19772         (sqrt_test): Remove duplicate test with qNaN input.
19773         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
19774         (round_test, signbit_test, significand_test): Note missing +/-Inf
19775         as well as qNaN tests.
19776
19777         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
19778         qNaN_var.  Fix a few strings, too.
19779         * math/libm-test.inc (nan_value): Rename to qnan_value.
19780         * math/gen-libm-test.pl (%beautify): Adjust to that.
19781         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
19782         * math/test-misc.c (main): Likewise.
19783         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
19784         to __qnan_bytes, and __qnan_union, respectively.
19785         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
19786         Likewise.
19787         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
19788         and lqnanval, respectively.
19789         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
19790         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
19791         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
19792         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
19793
19794         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
19795         * math/test-misc.c (main) [__x86_64__]: Enable test for long
19796         doubles.
19797
19798         * math/test-misc.c (main): Fix copy'n'pastos.
19799         * misc/tst-efgcvt.c (special): Likewise.
19800
19801         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
19802         Remove declarations.
19803
19804 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19805
19806         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
19807         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
19808         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
19809         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
19810
19811 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19812
19813         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
19814         macro to return vdso values correctly in IFUNC implementations.
19815         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
19816         Optimization by using IFUNC.
19817
19818 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19819             Richard Henderson  <rth@redhat.com>
19820             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19821
19822         * Makefile.in (bench): New target.
19823         * NEWS: Mention the benchmark framework.
19824         * Rules (bench): Likewise.
19825         (binaries-bench): Generate binaries for functions to
19826         benchmark.
19827         * benchtests/Makefile: New makefile for benchmark tests.
19828         * benchtests/bench-skeleton.c: New skeleton file for benchmark
19829         programs.
19830         * benchtests/exp-inputs: New input file for EXP function.
19831         * benchtests/pow-inputs: New input file for POW function.
19832         * scripts/bench.pl: New script to generate source files for
19833         benchmark programs.
19834
19835 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19836
19837         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
19838         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
19839         computations on mantissa.  Use macros for rounding and
19840         division.
19841         (denorm): Likewise.
19842         (__dbl_mp): Likewise.
19843         (add_magnitudes): Likewise.
19844         (sub_magnitudes): Likewise.
19845         (__mul): Likewise.
19846         (__sqr): Likewise.
19847         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
19848         powers of two in terms of TWOPOW macro.
19849         (mp_no): Make type of mantissa as MANTISSA_T.
19850         [!RADIXI]: Define RADIXI.
19851         [!TWO52]: Define TWO52.
19852         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
19853
19854         * manual/nptl.texi (cindex): Modify threads to pthreads.
19855
19856 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
19857
19858         * sysdeps/x86_64/preconfigure: Regenerated.
19859
19860 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
19861
19862         [BZ #14155]
19863         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
19864         0x1p28 and above.
19865         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
19866         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
19867         0x1p28 and above.
19868         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
19869         * math/libm-test.inc (j0_test): Do not allow one spurious
19870         underflow exception.
19871         (y1_test): Likewise.
19872
19873 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19874
19875         * manual/Makefile (chapters): Add nptl.
19876         * manual/debug.texi (Debugging Support): Add link to Threads
19877         chapter.
19878         * manual/nptl.texi: New file.
19879
19880         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
19881
19882 2013-03-14  Petr Baudis  <pasky@ucw.cz>
19883
19884         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
19885         for non-NULL pointer before the memory validity test. Pointed
19886         out by Holger Brunck <holger.brunck@keymile.com>.
19887
19888 2013-03-13  Andreas Schwab  <schwab@suse.de>
19889
19890         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
19891         instead of .os.
19892
19893 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
19894
19895         * timezone/zic.c: Update from tzcode 2013b.
19896
19897 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
19898
19899         * manual/install.texi (Configuring and compiling):
19900         Mention i686 and i586.
19901         * INSTALL: Regenerate.
19902
19903 2013-03-12  Roland McGrath  <roland@hack.frob.com>
19904
19905         * sysdeps/init_array/elf-init.c: New file.
19906         * csu/elf-init.c
19907         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
19908         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
19909
19910         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
19911         __gmon_start__ as global, but as static with a .preinit_array pointer.
19912         * sysdeps/init_array/gmon-start.c: New file.  Use that.
19913         * sysdeps/init_array/crti.S: New file, empty except for comments.
19914         * sysdeps/init_array/crtn.S: Likewise.
19915
19916 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
19917
19918         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
19919         definining bcopy.
19920         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19921         Remove Prefer_SSE_for_memop.
19922         * sysdeps/x86_64/multiarch/init-arch.h: Remove
19923         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
19924         HAS_PREFER_SSE_FOR_MEMOP.
19925         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19926         memset-x86-64.
19927         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
19928         Remove bzero, memset ifunc support.
19929         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
19930         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
19931         * sysdeps/x86_64/multiarch/memset.S: Likewise.
19932         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
19933
19934 2013-03-11  Andreas Schwab  <schwab@suse.de>
19935
19936         [BZ #15234]
19937         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
19938         by SHLIB_COMPAT.
19939         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
19940         (GLIBC_2.16): Remove pthread_atfork.
19941
19942 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
19943
19944         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
19945         (ptestcases.h): Likewise.
19946
19947 2013-03-08  Roland McGrath  <roland@hack.frob.com>
19948
19949         * Makeconfig ($(common-objpfx)config.status): Depend on
19950         sysdeps/*/preconfigure{,.in} too.
19951
19952 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
19953
19954         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
19955         (__free_hook): Use void * instead of __malloc_ptr_t.
19956         (__malloc_hook): Likewise.
19957         (__realloc_hook): Likewise.
19958         (__memalign_hook): Likewise.
19959         (__after_morecore_hook): Likewise.
19960         * malloc/arena.c (save_malloc_hook): Likewise.
19961         (save_free_hook): Likewise.
19962         * malloc/hooks.c (malloc_hook_ini): Likewise.
19963         (realloc_hook_ini): Likewise.
19964         (memalign_hook_ini): Likewise.
19965         * malloc/malloc.c (malloc_hook_ini): Likewise.
19966         (realloc_hook_ini): Likewise.
19967         (memalign_hook_ini): Likewise.
19968         (__free_hook): Likewise.
19969         (__malloc_hook): Likewise.
19970         (__realloc_hook): Likewise.
19971         (__memalign_hook): Likewise.
19972         (__libc_malloc): Likewise.
19973         (__libc_free): Likewise.
19974         (__libc_realloc): Likewise.
19975         (__libc_memalign): Likewise.
19976         (__libc_valloc): Likewise.
19977         (__libc_pvalloc): Likewise.
19978         (__libc_calloc): Likewise.
19979         (__posix_memalign): Likewise.
19980         * malloc/morecore.c (__sbrk): Likewise.
19981         (__default_morecore): Likewise.
19982
19983         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
19984
19985         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
19986         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
19987         __malloc_ptrdiff_t.
19988
19989         * malloc/malloc.h (__malloc_size_t): Remove macro.
19990         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
19991         __malloc_size_t.
19992         (old_memalign_hook): Likewise.
19993         (old_realloc_hook): Likewise.
19994         (struct hdr): Likewise.
19995         (flood): Likewise.
19996         (mallochook): Likewise.
19997         (memalignhook): Likewise.
19998         (reallochook): Likewise.
19999         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
20000         (tr_old_realloc_hook): Likewise.
20001         (tr_old_memalign_hook): Likewise.
20002         (tr_mallochook): Likewise.
20003         (tr_reallochook): Likewise.
20004         (tr_memalignhook): Likewise.
20005
20006 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20007
20008         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
20009         default_ldbl_pack and using as default implementation.
20010         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
20011         implementation.
20012         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
20013         redundant definition.
20014         (ldbl_insert_mantissa): Likewise.
20015         (ldbl_canonicalize): Likewise.
20016         (ldbl_nearbyint): Likewise.
20017         (ldbl_pack): Rename to ldbl_pack_ppc.
20018         (ldbl_unpack): Rename to ldbl_unpack_ppc.
20019         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
20020         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
20021
20022 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20023
20024         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
20025         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
20026         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
20027         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
20028         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
20029         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
20030         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
20031         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
20032
20033 2013-03-07  Andreas Jaeger  <aj@suse.de>
20034
20035         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20036         bits/mman-linux.h.
20037
20038 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20039
20040         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
20041         Include mpa.h and declare __MPEXP.
20042         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
20043         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20044         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20045         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
20046         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20047         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
20048         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
20049
20050         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
20051         (__slowpow): Use long double EXPL and LOGL functions to
20052         compute POW.
20053         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
20054         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20055         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
20056         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
20057         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
20058         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
20059
20060         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
20061         intermediate variable to calculate exponent.
20062         (__sqr): Likewise.
20063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
20064         Likewise.
20065         (__sqr): Likewise.
20066
20067         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
20068         [!NO__SQR]: Define __sqr.
20069         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
20070         and NO__SQR.  Remove all code except __mul and __sqr.  Include
20071         sysdeps/ieee754/dbl-64/mpa.c.
20072         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20073
20074         [BZ #12723]
20075         * posix/Makefile (tests): Add tst-pathconf.
20076         * posix/tst-pathconf.c: New test case.
20077         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
20078         _PC_PIPE_BUF.
20079         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
20080
20081 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
20082
20083         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
20084
20085 2013-03-06  Andreas Jaeger  <aj@suse.de>
20086
20087         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
20088         definition via __MAP_ANONYMOUS.
20089
20090         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
20091         it's not part of Linux headers.
20092
20093         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
20094         (MAP_HUGE_MASK): Define.
20095
20096         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20097         Define.
20098         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20099         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20100         Define.
20101         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20102         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
20103         Define.
20104         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20105         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
20106         Define.
20107         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
20108
20109         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
20110         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
20111         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
20112         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
20113         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
20114         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
20115
20116         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
20117         Handle f2fs.
20118
20119         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
20120         Handle f2fs and efivarfs.
20121
20122         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
20123         f2fs.
20124
20125         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
20126         (EFIVARFS_MAGIC): Add.
20127         (F2FS_LINK_MAX): Add.
20128
20129 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
20130
20131         * stdio-common/vfprintf.c: Replace __builtin_expect with
20132         __glibc_unlikely.
20133
20134 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
20135
20136         [BZ #13550]
20137         * sysdeps/generic/bp-sym.h: Remove file.
20138         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
20139         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
20140         <bp-sym.h> and <bp-asm.h>.
20141         (__longjmp): Don't use BP_SYM.
20142         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
20143         and <bp-asm.h>.
20144         (memcpy): Don't use BP_SYM.
20145         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
20146         <bp-sym.h> and <bp-asm.h>.
20147         (memcpy): Don't use BP_SYM.
20148         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
20149         <bp-asm.h>.
20150         (memcpy): Don't use BP_SYM.
20151         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
20152         <bp-asm.h>.
20153         (memset): Don't use BP_SYM.
20154         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20155         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20156         (__bzero): Don't use BP_SYM.
20157         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20158         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20159         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
20160         <bp-sym.h> and <bp-asm.h>.
20161         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20162         pointers.
20163         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
20164         <bp-sym.h> and <bp-asm.h>.
20165         (memcpy): Don't use BP_SYM.
20166         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
20167         <bp-sym.h> and <bp-asm.h>.
20168         (memset): Don't use BP_SYM.
20169         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20170         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20171         (__bzero): Don't use BP_SYM.
20172         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20173         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20174         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
20175         <bp-sym.h> and <bp-asm.h>.
20176         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20177         pointers.
20178         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
20179         <bp-sym.h> and <bp-asm.h>.
20180         (memcpy): Don't use BP_SYM.
20181         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
20182         <bp-sym.h> and <bp-asm.h>.
20183         (memset): Don't use BP_SYM.
20184         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20185         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20186         (__bzero): Don't use BP_SYM.
20187         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20188         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20189         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
20190         <bp-sym.h> and <bp-asm.h>.
20191         (__memchr): Don't use BP_SYM.
20192         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
20193         <bp-sym.h> and <bp-asm.h>.
20194         (memcmp): Don't use BP_SYM.  Remove comment about bounded
20195         pointers.
20196         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
20197         <bp-sym.h> and <bp-asm.h>.
20198         (memcpy): Don't use BP_SYM.
20199         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
20200         <bp-sym.h> and <bp-asm.h>.
20201         (__mempcpy): Don't use BP_SYM.
20202         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
20203         <bp-sym.h> and <bp-asm.h>.
20204         (__memrchr): Don't use BP_SYM.
20205         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
20206         <bp-sym.h> and <bp-asm.h>.
20207         (memset): Don't use BP_SYM.
20208         (__bzero): Likewise.
20209         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
20210         <bp-sym.h> and <bp-asm.h>.
20211         (__rawmemchr): Don't use BP_SYM.
20212         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
20213         <bp-sym.h> and <bp-asm.h>.
20214         (__STRCMP): Don't use BP_SYM.
20215         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
20216         <bp-sym.h> and <bp-asm.h>.
20217         (strchr): Don't use BP_SYM.
20218         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
20219         <bp-sym.h> and <bp-asm.h>.
20220         (__strchrnul): Don't use BP_SYM.
20221         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
20222         <bp-sym.h> and <bp-asm.h>.
20223         (strlen): Don't use BP_SYM.
20224         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
20225         <bp-sym.h> and <bp-asm.h>.
20226         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20227         pointers.
20228         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
20229         <bp-sym.h> and <bp-asm.h>.
20230         (__strnlen): Don't use BP_SYM.
20231         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
20232         <bp-sym.h> and <bp-asm.h>.
20233         (__GI__setjmp): Don't use BP_SYM.
20234         (_setjmp): Likewise.
20235         (__sigsetjmp): Likewise.
20236         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
20237         (L(start_addresses)): Don't use BP_SYM.
20238         (_start): Likewise.
20239         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
20240         <bp-asm.h>.
20241         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
20242         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
20243         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20244         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20245         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
20246         <bp-asm.h>.
20247         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
20248         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
20249         about bounded pointers.
20250         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20251         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20252         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
20253         <bp-asm.h>.
20254         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20255         about bounded pointers.  Remove GKM FIXME comments.
20256         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20257         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
20258         <bp-asm.h>.
20259         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
20260         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
20261         Remove GKM FIXME comments.
20262         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20263         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20264         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
20265         <bp-asm.h>.
20266         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
20267         about bounded pointers.  Remove GKM FIXME comment.
20268         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
20269         and <bp-asm.h>.
20270         (strncmp): Don't use BP_SYM.  Remove comment about bounded
20271         pointers.
20272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
20273         <bp-sym.h> and <bp-asm.h>.
20274         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
20276         <bp-sym.h> and <bp-asm.h>.
20277         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20278         comment.
20279
20280 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20281
20282         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
20283         call free(NULL).
20284
20285 2013-03-05  David S. Miller  <davem@davemloft.net>
20286
20287         * po/es.po: Update from translation team.
20288
20289 2013-03-05  Andreas Jaeger  <aj@suse.de>
20290
20291         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
20292         <bits/mman-linux.h>.
20293         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20294         is fine.
20295         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
20296         <bits/mman-linux.h> to end of file.
20297         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20298         is fine.
20299         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
20300         <bits/mman-linux.h> to end of file.
20301         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
20302         is fine.
20303         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
20304         <bits/mman-linux.h> to end of file.
20305
20306         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
20307         (MCL_CURRENT, MCL_FUTURE): Define here.
20308
20309 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20310
20311         [BZ #15232]
20312         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
20313         attribute_hidden.
20314         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
20315
20316 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20317
20318         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
20319         fourth parameter needed for rt_sigprocmask syscall.
20320         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
20321         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
20322         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
20323         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
20324         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
20325         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
20326
20327 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
20328
20329         [BZ #13550]
20330         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
20331         comment about bounded pointers.
20332         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
20333         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
20334
20335 2013-03-04  Andreas Jaeger  <aj@suse.de>
20336
20337         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
20338         common definitions.
20339
20340         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
20341         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
20342         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
20343         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
20344         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
20345         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
20346
20347 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20348
20349         [BZ #15055]
20350         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
20351         __ieee754_sqrl instead of __sqrl.
20352
20353 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
20354
20355         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
20356         * sysdeps/powerpc/fpu_control.h: ... here.
20357         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
20358         * sysdeps/powerpc/bits/fenvinline.h: ... here.
20359         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
20360         * sysdeps/powerpc/bits/mathinline.h: ... here.
20361
20362 2013-03-01  Roland McGrath  <roland@hack.frob.com>
20363
20364         * elf/dl-hwcaps.c (_dl_important_hwcaps):
20365         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
20366         to just [NEED_DL_SYSINFO_DSO].
20367         * elf/dl-support.c: Likewise.
20368         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
20369         * elf/rtld.c (dl_main): Likewise.
20370         * elf/setup-vdso.h (setup_vdso): Likewise.
20371         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
20372         * sysdeps/unix/sysv/linux/dl-sysdep.c
20373         (_dl_discover_osversion): Likewise.
20374
20375 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
20376
20377         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
20378         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20379
20380 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
20381
20382         * NEWS: Mention libm performance improvements and non-x86 PI
20383         futex support.
20384
20385         * csu/libc-start.c (__pthread_initialize_minimal): Change
20386         function arguments.
20387         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
20388
20389 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
20390
20391         [BZ #13550]
20392         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
20393         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
20394         <bp-sym.h> and <bp-asm.h>.
20395         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20396         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
20397         and <bp-asm.h>.
20398         (memcpy): Don't use BP_SYM.
20399         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
20400         <bp-asm.h>.
20401         (__mpn_add_n): Don't use BP_SYM.
20402         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
20403         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
20404         and <bp-asm.h>.
20405         (__mpn_addmul_1): Don't use BP_SYM.
20406         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20407         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
20408         <bp-sym.h>.
20409         (_setjmp): Don't use BP_SYM.
20410         (__novmx_setjmp): Likewise.
20411         (__GI__setjmp): Likewise.
20412         (__vmx_setjmp): Likewise.
20413         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
20414         <bp-sym.h>.
20415         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
20416         (__bzero): Don't use BP_SYM.
20417         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
20418         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
20419         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
20420         <bp-sym.h> and <bp-asm.h>.
20421         (memcpy): Don't use BP_SYM.
20422         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
20423         <bp-sym.h> and <bp-asm.h>.
20424         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20425         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
20426         <bp-sym.h> and <bp-asm.h>.
20427         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
20428         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
20429         <bp-asm.h>.
20430         (__mpn_lshift): Don't use BP_SYM.
20431         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20432         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
20433         <bp-asm.h>.
20434         (memset): Don't use BP_SYM.
20435         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
20436         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
20437         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
20438         <bp-asm.h>.
20439         (__mpn_mul_1): Don't use BP_SYM.
20440         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20441         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
20442         <bp-sym.h> and <bp-asm.h>.
20443         (memcmp): Don't use BP_SYM.
20444         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
20445         <bp-sym.h> and <bp-asm.h>.
20446         (memcpy): Don't use BP_SYM.
20447         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
20448         <bp-sym.h> and <bp-asm.h>.
20449         (memset): Don't use BP_SYM.
20450         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
20451         <bp-sym.h> and <bp-asm.h>.
20452         (strncmp): Don't use BP_SYM.
20453         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
20454         <bp-sym.h> and <bp-asm.h>.
20455         (memcpy): Don't use BP_SYM.
20456         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
20457         <bp-sym.h> and <bp-asm.h>.
20458         (memset): Don't use BP_SYM.
20459         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
20460         <bp-sym.h> and <bp-asm.h>.
20461         (__memchr): Don't use BP_SYM.
20462         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
20463         <bp-sym.h> and <bp-asm.h>.
20464         (memcmp): Don't use BP_SYM.
20465         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
20466         <bp-sym.h> and <bp-asm.h>.
20467         (memcpy): Don't use BP_SYM.
20468         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
20469         <bp-sym.h> and <bp-asm.h>.
20470         (__mempcpy): Don't use BP_SYM.
20471         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
20472         <bp-sym.h> and <bp-asm.h>.
20473         (__memrchr): Don't use BP_SYM.
20474         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
20475         <bp-sym.h> and <bp-asm.h>.
20476         (memset): Don't use BP_SYM.
20477         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
20478         <bp-sym.h> and <bp-asm.h>.
20479         (__rawmemchr): Don't use BP_SYM.
20480         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
20481         <bp-sym.h> and <bp-asm.h>.
20482         (__STRCMP): Don't use BP_SYM.
20483         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
20484         <bp-sym.h> and <bp-asm.h>.
20485         (strchr): Don't use BP_SYM.
20486         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
20487         <bp-sym.h> and <bp-asm.h>.
20488         (__strchrnul): Don't use BP_SYM.
20489         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
20490         <bp-sym.h> and <bp-asm.h>.
20491         (strlen): Don't use BP_SYM.
20492         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
20493         <bp-sym.h> and <bp-asm.h>.
20494         (strncmp): Don't use BP_SYM.
20495         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
20496         <bp-sym.h> and <bp-asm.h>.
20497         (__strnlen): Don't use BP_SYM.
20498         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
20499         <bp-asm.h>.
20500         (__mpn_rshift): Don't use BP_SYM.
20501         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
20502         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
20503         <bp-sym.h> and <bp-asm.h>.
20504         (__sigsetjmp): Don't use BP_SYM.
20505         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
20506         (L(start_addresses)): Don't use BP_SYM.
20507         (_start): Likewise.
20508         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
20509         <bp-asm.h>.
20510         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
20511         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20512         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20513         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
20514         <bp-asm.h>.
20515         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
20516         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
20517         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
20518         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
20519         <bp-asm.h>.
20520         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20521         comments.
20522         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
20523         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
20524         <bp-asm.h>.
20525         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
20526         FIXME comments.
20527         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
20528         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
20529         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
20530         <bp-asm.h>.
20531         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
20532         comment.
20533         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
20534         and <bp-asm.h>.
20535         (strncmp): Don't use BP_SYM,
20536         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
20537         <bp-asm.h>.
20538         (__mpn_sub_n): Don't use BP_SYM.
20539         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
20540         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
20541         and <bp-asm.h>.
20542         (__mpn_submul_1): Don't use BP_SYM.
20543         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
20544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
20545         <bp-sym.h> and <bp-asm.h>.
20546         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
20547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
20548         <bp-sym.h> and <bp-asm.h>.
20549         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
20550         comment.
20551
20552 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20553
20554         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
20555         Use ZK to minimize writes to Z.
20556         (sub_magnitudes): Simplify code a bit.
20557         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
20558         Use ZK to minimize writes to Z.
20559         (sub_magnitudes): Simplify code a bit.
20560
20561 2013-02-27  Roland McGrath  <roland@hack.frob.com>
20562
20563         * csu/gmon-start.c: Add special exception to license text.
20564
20565 2013-02-27  Richard Henderson  <rth@redhat.com>
20566
20567         * scripts/config.guess: Update from config.git.
20568         * scripts/config.sub: Likewise.
20569
20570 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
20571
20572         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
20573
20574         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
20575
20576         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
20577
20578         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
20579
20580         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
20581
20582 2013-02-26  Roland McGrath  <roland@hack.frob.com>
20583
20584         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
20585         [$(build-shared = yes].
20586
20587 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20588
20589         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
20590         (__mul): Reduce iterations for calculating mantissa.
20591
20592         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
20593         MPTWO.
20594         (__mpranred): Likewise.
20595
20596         [BZ #15160]
20597         * malloc/memusagestat.c (main): Draw graphs for heap and stack
20598         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
20599
20600 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
20601
20602         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
20603         Define __attribute__.
20604
20605 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
20606
20607         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
20608         unused.
20609         * posix/regex_internal.h (__attribute): Remove.
20610         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
20611         (re_string_context_at): Likewise.
20612         (bitset_not): Use __attribute__ and mark function as possibly
20613         unused.
20614         (bitset_merge): Likewise.
20615         (bitset_mask): Likewise.
20616         (re_string_char_size_at): Likewise.
20617         (re_string_wchar_at): Likewise.
20618         (re_string_elem_size_at): Likewise.
20619
20620 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20621
20622         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
20623         code.
20624         (cc32): Likewise.
20625
20626         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
20627         (__acr): Likewise.
20628         (__cpy): Likewise.
20629         (norm): Likewise.
20630         (denorm): Likewise.
20631         (__dbl_mp): Likewise.
20632         (add_magnitudes): Likewise.
20633         (sub_magnitudes): Likewise.
20634         (__mul): Likewise.
20635         (__inv): Likewise.
20636
20637         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
20638         style.
20639
20640         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
20641         style.
20642
20643         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
20644         code.
20645
20646         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
20647         up changes with default code.
20648         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
20649         Likewise.
20650
20651 2013-02-24  Allan McRae  <allan@archlinux.org>
20652
20653         * manual/socket.texi (The Internet Namespace): Order menu items
20654         to match that in the file.
20655
20656         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
20657         node listing of the info page menu.
20658
20659 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
20660
20661         [BZ #13550]
20662         * sysdeps/i386/bp-asm.h: Remove file.
20663         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20664         (PARMS): Do not use macros from bp-asm.h.
20665         (S1): Likewise.
20666         (S2): Likewise.
20667         (SIZE): Likewise.
20668         (__mpn_add_n): Do not use BP_SYM
20669         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
20670         "bp-asm.h".
20671         (PARMS): Do not use macros from bp-asm.h.
20672         (S1): Likewise.
20673         (SIZE): Likewise.
20674         (__mpn_addmul_1): Do not use BP_SYM
20675         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
20676         "bp-asm.h".
20677         (PARMS): Do not use macros from bp-asm.h.
20678         (SIGMSK): Likewise.
20679         (_setjmp): Likewise.  Do not use BP_SYM.
20680         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
20681         "bp-asm.h".
20682         (PARMS): Do not use macros from bp-asm.h.
20683         (SIGMSK): Likewise.
20684         (setjmp): Likewise.  Do not use BP_SYM.
20685         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
20686         "bp-asm.h".
20687         (PARMS): Do not use macros from bp-asm.h.
20688         (__frexp): Do not use BP_SYM.
20689         (frexp): Likewise.
20690         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
20691         "bp-asm.h".
20692         (PARMS): Do not use macros from bp-asm.h.
20693         (__frexpf): Do not use BP_SYM.
20694         (frexpf): Likewise.
20695         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
20696         "bp-asm.h".
20697         (PARMS): Do not use macros from bp-asm.h.
20698         (__frexpl): Do not use BP_SYM.
20699         (frexpl): Likewise.
20700         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
20701         "bp-asm.h".
20702         (PARMS): Do not use macros from bp-asm.h.
20703         (__remquo): Do not use BP_SYM.
20704         (remquo): Likewise.
20705         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
20706         "bp-asm.h".
20707         (PARMS): Do not use macros from bp-asm.h.
20708         (__remquof): Do not use BP_SYM.
20709         (remquof): Likewise.
20710         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
20711         "bp-asm.h".
20712         (PARMS): Do not use macros from bp-asm.h.
20713         (__remquol): Do not use BP_SYM.
20714         (remquol): Likewise.
20715         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
20716         "bp-asm.h".
20717         (PARMS): Do not use macros from bp-asm.h.
20718         (DEST): Likewise.
20719         (SRC): Likewise.
20720         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
20721         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
20722         "bp-asm.h".
20723         (PARMS): Do not use macros from bp-asm.h.
20724         (strlen): Do not use BP_SYM.
20725         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
20726         "bp-asm.h".
20727         (PARMS): Do not use macros from bp-asm.h.
20728         (S1): Likewise.
20729         (S2): Likewise.
20730         (SIZE): Likewise.
20731         (__mpn_add_n): Do not use BP_SYM.
20732         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
20733         "bp-asm.h".
20734         (PARMS): Do not use macros from bp-asm.h.
20735         (S1): Likewise.
20736         (SIZE): Likewise.
20737         (__mpn_addmul_1): Do not use BP_SYM.
20738         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
20739         weak_alias.
20740         (bzero): Likewise.
20741         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
20742         "bp-asm.h".
20743         (PARMS): Do not use macros from bp-asm.h.
20744         (S): Likewise.
20745         (SIZE): Likewise.
20746         (__mpn_lshift): Do not use BP_SYM.
20747         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
20748         "bp-asm.h".
20749         (PARMS): Do not use macros from bp-asm.h.
20750         (DEST): Likewise.
20751         (SRC): Likewise.
20752         (LEN): Likewise.
20753         (memcpy): Likewise.  Do not use BP_SYM.
20754         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
20755         libc_hidden_def and weak_alias.
20756         (mempcpy): Do not use BP_SYM in weak_alias.
20757         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
20758         "bp-asm.h".
20759         (PARMS): Do not use macros from bp-asm.h.
20760         (DEST): Likewise.
20761         (LEN): Likewise.
20762         [!BZERO_P] (CHR): Likewise.
20763         (memset): Likewise.  Do not use BP_SYM.
20764         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
20765         "bp-asm.h".
20766         (PARMS): Do not use macros from bp-asm.h.
20767         (S1): Likewise.
20768         (SIZE): Likewise.
20769         (__mpn_mul_1): Do not use BP_SYM.
20770         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
20771         "bp-asm.h".
20772         (PARMS): Do not use macros from bp-asm.h.
20773         (S): Likewise.
20774         (SIZE): Likewise.
20775         (__mpn_rshift): Do not use BP_SYM.
20776         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
20777         "bp-asm.h".
20778         (PARMS): Do not use macros from bp-asm.h.
20779         (STR): Likewise.
20780         (CHR): Likewise.
20781         (strchr): Likewise.  Do not use BP_SYM.
20782         (index): Do not use BP_SYM in weak_alias.
20783         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
20784         "bp-asm.h".
20785         (PARMS): Do not use macros from bp-asm.h.
20786         (DEST): Likewise.
20787         (SRC): Likewise.
20788         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
20789         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
20790         "bp-asm.h".
20791         (PARMS): Do not use macros from bp-asm.h.
20792         (strlen): Do not use BP_SYM.
20793         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
20794         "bp-asm.h".
20795         (PARMS): Do not use macros from bp-asm.h.
20796         (S1): Likewise.
20797         (S2): Likewise.
20798         (SIZE): Likewise.
20799         (__mpn_sub_n): Do not use BP_SYM.
20800         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
20801         "bp-asm.h".
20802         (PARMS): Do not use macros from bp-asm.h.
20803         (S1): Likewise.
20804         (SIZE): Likewise.
20805         (__mpn_submul_1): Do not use BP_SYM.
20806         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
20807         "bp-asm.h".
20808         (PARMS): Do not use macros from bp-asm.h.
20809         (S1): Likewise.
20810         (S2): Likewise.
20811         (SIZE): Likewise.
20812         (__mpn_add_n): Do not use BP_SYM.
20813         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
20814         weak_alias.
20815         (bzero): Likewise.
20816         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
20817         "bp-asm.h".
20818         (PARMS): Do not use macros from bp-asm.h.
20819         (BLK2): Likewise.
20820         (LEN): Likewise.
20821         (memcmp): Do not use BP_SYM.
20822         (bcmp): Do not use BP_SYM in weak_alias.
20823         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
20824         "bp-asm.h".
20825         (PARMS): Do not use macros from bp-asm.h.
20826         (DEST): Likewise.
20827         (SRC): Likewise.
20828         (LEN): Likewise.
20829         (memcpy): Likewise.  Do not use BP_SYM.
20830         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
20831         "bp-asm.h".
20832         (PARMS): Do not use macros from bp-asm.h.
20833         (DEST): Likewise.
20834         (SRC): Likewise.
20835         (LEN): Likewise.
20836         (memmove): Likewise.  Do not use BP_SYM.
20837         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
20838         "bp-asm.h".
20839         (PARMS): Do not use macros from bp-asm.h.
20840         (DEST): Likewise.
20841         (SRC): Likewise.
20842         (LEN): Likewise.
20843         (__mempcpy): Likewise.  Do not use BP_SYM.
20844         (mempcpy): Do not use BP_SYM in weak_alias.
20845         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
20846         "bp-asm.h".
20847         (PARMS): Do not use macros from bp-asm.h.
20848         (DEST): Likewise.
20849         (LEN): Likewise.
20850         [!BZERO_P] (CHR): Likewise.
20851         (memset): Likewise.  Do not use BP_SYM.
20852         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
20853         "bp-asm.h".
20854         (PARMS): Do not use macros from bp-asm.h.
20855         (STR2): Likewise.
20856         (strcmp): Do not use BP_SYM.
20857         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
20858         "bp-asm.h".
20859         (PARMS): Do not use macros from bp-asm.h.
20860         (STR): Likewise.
20861         (DELIM): Likewise.
20862         [USE_AS_STRTOK_R] (SAVE): Likewise.
20863         (FUNCTION): Likewise.  Do not use BP_SYM.
20864         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
20865         aliases.
20866         (strtok_r): Likewise.
20867         (__GI___strtok_r): Likewise.
20868         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20869         (PARMS): Do not use macros from bp-asm.h.
20870         (S): Likewise.
20871         (SIZE): Likewise.
20872         (__mpn_lshift): Do not use BP_SYM.
20873         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20874         (PARMS): Do not use macros from bp-asm.h.
20875         (STR): Likewise.
20876         (CHR): Likewise.
20877         (__memchr): Do not use BP_SYM.
20878         (memchr): Do not use BP_SYM in weak_alias.
20879         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20880         (PARMS): Do not use macros from bp-asm.h.
20881         (BLK2): Likewise.
20882         (LEN): Likewise.
20883         (memcmp): Do not use BP_SYM.
20884         (bcmp): Do not use BP_SYM in weak_alias.
20885         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
20886         (PARMS): Do not use macros from bp-asm.h.
20887         (S1): Likewise.
20888         (SIZE): Likewise.
20889         (__mpn_mul_1): Do not use BP_SYM.
20890         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
20891         "bp-asm.h".
20892         (PARMS): Do not use macros from bp-asm.h.
20893         (STR): Likewise.
20894         (CHR): Likewise.
20895         (__rawmemchr): Do not use BP_SYM.
20896         (rawmemchr): Do not use BP_SYM in weak_alias.
20897         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
20898         (PARMS): Do not use macros from bp-asm.h.
20899         (S): Likewise.
20900         (SIZE): Likewise.
20901         (__mpn_rshift): Do not use BP_SYM.
20902         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
20903         (PARMS): Do not use macros from bp-asm.h.
20904         (SIGMSK): Likewise.
20905         (__sigsetjmp): Likewise.  Do not use BP_SYM.
20906         * sysdeps/i386/start.S: Do not include "bp-sym.h".
20907         (_start): Do not use BP_SYM.
20908         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
20909         (PARMS): Do not use macros from bp-asm.h.
20910         (DEST): Likewise.
20911         (SRC): Likewise.
20912         (__stpcpy): Likewise.  Do not use BP_SYM.
20913         (stpcpy): Do not use BP_SYM in weak_alias.
20914         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
20915         "bp-asm.h".
20916         (PARMS): Do not use macros from bp-asm.h.
20917         (DEST): Likewise.
20918         (SRC): Likewise.
20919         (LEN): Likewise.
20920         (__stpncpy): Likewise.  Do not use BP_SYM.
20921         (stpncpy): Do not use BP_SYM in weak_alias.
20922         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
20923         (PARMS): Do not use macros from bp-asm.h.
20924         (STR): Likewise.
20925         (CHR): Likewise.
20926         (strchr): Likewise.  Do not use BP_SYM.
20927         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
20928         "bp-asm.h".
20929         (PARMS): Do not use macros from bp-asm.h.
20930         (STR): Likewise.
20931         (CHR): Likewise.
20932         (__strchrnul): Likewise.  Do not use BP_SYM.
20933         (strchrnul): Do not use BP_SYM in weak_alias.
20934         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
20935         "bp-asm.h".
20936         (PARMS): Do not use macros from bp-asm.h.
20937         (STOP): Likewise.
20938         (strcspn): Do not use BP_SYM.
20939         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
20940         "bp-asm.h".
20941         (PARMS): Do not use macros from bp-asm.h.
20942         (STR): Likewise.
20943         (STOP): Likewise.
20944         (strpbrk): Likewise.  Do not use BP_SYM.
20945         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
20946         "bp-asm.h".
20947         (PARMS): Do not use macros from bp-asm.h.
20948         (STR): Likewise.
20949         (CHR): Likewise.
20950         (strrchr): Likewise.  Do not use BP_SYM.
20951         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
20952         (PARMS): Do not use macros from bp-asm.h.
20953         (SKIP): Likewise.
20954         (strspn): Do not use BP_SYM.
20955         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
20956         (PARMS): Do not use macros from bp-asm.h.
20957         (STR): Likewise.
20958         (DELIM): Likewise.
20959         (SAVE): Likewise.
20960         (FUNCTION): Likewise.  Do not use BP_SYM.
20961         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
20962         aliases.
20963         (strtok_r): Likewise.
20964         (__GI___strtok_r): Likewise.
20965         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
20966         (PARMS): Do not use macros from bp-asm.h.
20967         (S1): Likewise.
20968         (S2): Likewise.
20969         (SIZE): Likewise.
20970         (__mpn_sub_n): Do not use BP_SYM.
20971         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
20972         "bp-asm.h".
20973         (PARMS): Do not use macros from bp-asm.h.
20974         (S1): Likewise.
20975         (SIZE): Likewise.
20976         (__mpn_submul_1): Do not use BP_SYM.
20977         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
20978         <bp-sym.h>.
20979         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
20980         and <bp-asm.h>.
20981         (PARMS): Do not use macros from bp-asm.h.
20982         (FLAGS): Likewise.
20983         (PTID): Likewise.
20984         (TLS): Likewise.
20985         (CTID): Likewise.
20986         (__clone): Do not use BP_SYM.
20987         (clone): Do not use BP_SYM in weak_alias.
20988         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
20989         and <bp-asm.h>.
20990         (PARMS): Do not use macros from bp-asm.h.
20991         (LEN): Likewise.
20992         (__mmap64): Do not use BP_SYM.
20993         (mmap64): Do not use BP_SYM in weak_alias.
20994         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
20995         <bp-sym.h> and <bp-asm.h>.
20996         (PARMS): Do not use macros from bp-asm.h.
20997         (__posix_fadvise64_l64): Do not use BP_SYM.
20998         * sysdeps/unix/sysv/linux/i386/semtimedop.S
20999         (PARMS): Do not use macros from bp-asm.h.
21000         (NSOPS): Likewise.
21001         (semtimedop): Do not use BP_SYM.
21002         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
21003         and <bp-asm.h>.
21004
21005 2013-02-21  Allan McRae  <allan@archlinux.org>
21006
21007         * manual/message.texi (Charset conversion in gettext):
21008         Move @end statement to beginning of line.
21009
21010 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21011
21012         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
21013         static.
21014         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
21015         Likewise.
21016
21017         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
21018         (denorm): Likewise.
21019         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
21020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
21021
21022 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21023
21024         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
21025         tail-call to the resolved function if pltexit isn't needed.
21026
21027 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21028
21029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
21030         or Y being zero as being unlikely.
21031         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
21032         Likewise.
21033
21034 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
21035
21036         * manual/nss.texi (System Databases and Name Service Switch):
21037         Remove frobnicate @pxref.
21038
21039 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21040
21041         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21042         __attribute__ ((unused)) to __attribute__ ((__unused__)).
21043
21044 2013-02-20  Petr Machata  <pmachata@redhat.com>
21045
21046         * elf/elf.h (R_ARM_TARGET1): New macro.
21047         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
21048         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
21049         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
21050         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
21051         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
21052         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
21053         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
21054         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
21055         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
21056         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
21057         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
21058         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
21059         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
21060         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
21061         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
21062         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
21063         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
21064         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
21065         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
21066         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
21067         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
21068         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
21069         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
21070         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
21071         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
21072         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
21073         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
21074         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
21075         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
21076         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
21077         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
21078         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
21079         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
21080         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
21081         (R_ARM_THM_GOT_BREL12): Likewise.
21082         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
21083         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
21084         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
21085         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
21086         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
21087         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
21088         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
21089         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
21090         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
21091
21092 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
21093
21094         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
21095         __attribute_used__ to __attribute__ ((unused)).
21096
21097 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21098
21099         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
21100         powerpc mpa.c.
21101         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
21102         comment formatting.
21103         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
21104
21105 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
21106
21107         [BZ #13550]
21108         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
21109         Remove macro.
21110         (ENTER): Remove both macro definitions.
21111         (LEAVE): Likewise.
21112         (CHECK_BOUNDS_LOW): Likewise.
21113         (CHECK_BOUNDS_HIGH): Likewise.
21114         (CHECK_BOUNDS_BOTH): Likewise.
21115         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
21116         (RETURN_BOUNDED_POINTER): Likewise.
21117         (RETURN_NULL_BOUNDED_POINTER): Likewise.
21118         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
21119         (POP_ERRNO_LOCATION_RETURN): Likewise.
21120         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
21121         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21122         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
21123         macros.
21124         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21125         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
21126         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
21127         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
21128         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
21129         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
21130         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
21131         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
21132         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
21133         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
21134         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
21135         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
21136         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21137         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
21138         removed macros.
21139         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21140         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
21141         macros.
21142         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21143         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
21144         * sysdeps/i386/i586/memset.S (memset): Likewise.
21145         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
21146         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21147         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
21148         macros.
21149         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21150         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
21151         Change uses of L(2) to L(out).
21152         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
21153         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
21154         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
21155         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21156         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
21157         removed macros.
21158         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21159         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
21160         macros.
21161         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21162         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
21163         (RETURN): Do not use macro LEAVE.
21164         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
21165         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
21166         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
21167         * sysdeps/i386/i686/memset.S (memset): Likewise.
21168         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
21169         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
21170         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
21171         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
21172         Likewise.
21173         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21174         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
21175         L(1_2) and L(1_3) into L(1).
21176         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21177         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
21178         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21179         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
21180         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
21181         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
21182         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
21183         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21184         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
21185         macros.
21186         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
21187         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
21188         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
21189         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
21190         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
21191         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
21192         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
21193         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
21194         * sysdeps/i386/strcspn.S (strcspn): Likewise.
21195         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
21196         * sysdeps/i386/strrchr.S (strrchr): Likewise.
21197         * sysdeps/i386/strspn.S (strspn): Likewise.
21198         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
21199         conditional code.
21200         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
21201         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
21202         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
21203         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
21204         L(1_3) into L(1_1).
21205         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
21206         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
21207         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
21208         macros.
21209         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
21210
21211 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
21212
21213         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
21214         macro.
21215
21216 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21217
21218         * math/atest-exp.c (exp_mpn): Remove ROUND.
21219         * math/atest-exp2.c (exp_mpn): Likewise.
21220         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
21221
21222         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
21223         * stdlib/tst-tls-atexit-lib.c: Likewise.
21224         * stdlib/tst-tls-atexit.c: Likewise.
21225
21226 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21227
21228         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
21229         and __attribute_alloc_size__.
21230
21231 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21232
21233         * include/programs/xmalloc.h: Change __attribute_alloc_size to
21234         __attribute_alloc_size__.
21235         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
21236         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
21237
21238 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
21239
21240         * include/programs/xmalloc.h: New file.
21241         * catgets/gencat.c: Include it.
21242         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
21243         * elf/pldd.c: Likewise.
21244         * iconv/iconv_charmap.c: Likewise.
21245         * iconv/iconvconfig.c: Likewise.
21246         * iconv/strtab.c: Likewise.
21247         * locale/programs/locale.c: Likewise.
21248         * locale/programs/localedef.h: Likewise.
21249         * locale/programs/simple-hash.c: Likewise.
21250         * nscd/nscd.h: Likewise.
21251         * nss/makedb.c: Likewise.
21252         * sysdeps/generic/ldconfig.h: Likewise.
21253
21254 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21255
21256         * Versions.def: Add GLIBC_2.18.
21257         * include/link.h (struct link_map): New member l_tls_dtor_count.
21258         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
21259         (__call_tls_dtors): Likewise.
21260         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
21261         __cxa_thread_atexit_impl.
21262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21263         Likewise.
21264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
21265         Likewise.
21266         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
21267         Likewise.
21268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
21269         Likewise.
21270         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
21271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
21272         Likewise.
21273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
21274         Likewise.
21275         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
21276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21277         Likewise.
21278         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
21279         (tests): Add test case tst-tls-atexit.
21280         (modules-names): Add shared library for tst-tls-atexit.
21281         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
21282         (GLIBC_PRIVATE): Add __call_tls_dtors.
21283         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
21284         for libstdc++.
21285         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
21286         * stdlib/tst-tls-atexit.c: New test case.
21287         * stdlib/tst-tls-atexit-lib.c: New test case.
21288
21289         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
21290
21291         * elf/Versions (ld): Add _dl_find_dso_for_object.
21292         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
21293         * elf/dl-open.c (_dl_find_dso_for_object): New function.
21294         (dl_open_worker): Use _dl_find_dso_for_object.
21295         * elf/dl-sym.c (do_sym): Likewise.
21296         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
21297
21298 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21299
21300         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
21301         Syntactic changes only.
21302         (_dl_runtime_profile): Do a tail-call to the resolved function.
21303
21304 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
21305
21306         [BZ #13550]
21307         * sysdeps/x86_64/bp-asm.h: Remove file.
21308         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
21309         <bp-sym.h> and <bp-asm.h>.
21310         (__clone): Do not use BP_SYM.
21311         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
21312         <bp-sym.h> and <bp-asm.h>.
21313         * sysdeps/unix/x86_64/sysdep.S: Likewise.
21314         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
21315         "bp-asm.h".
21316         (_setjmp): Do not use BP_SYM.
21317         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
21318         "bp-asm.h".
21319         (setjmp): Do not use BP_SYM.
21320         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
21321         libc_hidden_def.
21322         (mempcpy): Do not use BP_SYM in weak_alias.
21323         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
21324         "bp-asm.h".
21325         (strchr): Do not use BP_SYM.
21326         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
21327         "bp-asm.h".
21328         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
21329         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
21330         (_start): Do not use BP_SYM.
21331         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
21332         "bp-asm.h".
21333         (strcat): Do not use BP_SYM.
21334         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
21335         "bp-asm.h".
21336         (STRCMP): Do not use BP_SYM.
21337         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
21338         "bp-asm.h".
21339         (STRCPY): Do not use BP_SYM.
21340         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
21341         "bp-asm.h".
21342         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
21343         "bp-asm.h".
21344         (FUNCTION): Do not use BP_SYM.
21345         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
21346         weak_alias.
21347         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
21348
21349 2013-02-17  Andreas Jaeger  <aj@suse.de>
21350
21351         * time/Versions: Sort entries.
21352         * string/Versions: Likewise.
21353         * resolv/Versions: Likewise.
21354         * posix/Versions: Likewise.
21355         * iconv/Versions: Likewise.
21356         * elf/Versions: Likewise.
21357         * wcsmbs/Versions: Likewise.
21358
21359 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21360
21361         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
21362         loop termination condition.
21363
21364         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
21365         variable to calculate EZ.
21366         (__sqr): Likewise.
21367
21368         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
21369         the lower precision input.
21370
21371 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
21372
21373         [BZ #13550]
21374         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
21375         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
21376         (run-via-rtld-prefix): Do not handle %-bp tests.
21377         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
21378         (all-object-suffixes): Remove .ob.
21379         (bppfx): Remove variable.
21380         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
21381         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
21382         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
21383         [$(build-bounded) = yes] (libtype.ob): Likewise.
21384         * Makerules (elide-routines.ob): Remove variable.
21385         (do-tests-clean): Do not handle *-bp.out.
21386         (common-mostlyclean): Do not handle *-bp and *-bp.out.
21387         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
21388         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
21389         (tests): Do not include $(tests-bp.out).
21390         (xtests): Do not include $(xtests-bp.out).
21391         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
21392         [$(build-bounded) = yes] ($(addprefix
21393         $(objpfx),$(binaries-bounded))): Remove rule.
21394         ($(objpfx)%-bp.out): Remove rule.
21395         * config.make.in (build-bounded): Remove variable.
21396         * crypt/Makefile [$(build-bounded) = yes]
21397         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
21398         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
21399         append to variable.
21400         [$(build-bounded) = yes] (install-lib): Likewise.
21401         [$(build-bounded) = yes] (generated): Likewise.
21402         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
21403         Remove rule.
21404         * intl/Makefile [$(build-bounded) = yes]
21405         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
21406         * math/Makefile [$(build-bounded) = yes]
21407         ($(tests:%=$(objpfx)%-bp): Likewise.
21408         * misc/Makefile [$(build-bounded) = yes]
21409         ($(objpfx)tst-tsearch-bp): Likewise.
21410         * nptl/Makeconfig (bounded-thread-library): Remove variable.
21411         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
21412         Remove dependency.
21413         * string/Makefile (o-objects.ob): Remove variable.
21414         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
21415         (CFLAGS-.ob): Remove variable.
21416         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
21417         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
21418         both definitions of variable.
21419         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
21420         (ASFLAGS-.ob): Remove variable.
21421
21422 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
21423
21424         [BZ #13550]
21425         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
21426         Remove __BOUNDED_POINTERS__ from condition.
21427         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
21428         * string/bits/string2.h [!__NO_STRING_INLINES &&
21429         !__BOUNDED_POINTERS__]: Likewise.
21430         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
21431         Likewise.
21432         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
21433         Remove conditional code.
21434         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
21435         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
21436         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
21437         condition.
21438
21439         [BZ #13550]
21440         * csu/libc-start.c: Do not include <bp-sym.h>.
21441         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
21442         * elf/dl-open.c: Do not include <bp-sym.h>.
21443         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
21444         * math/fegetenv.c: Do not include <bp-sym.h>.
21445         (fegetenv): Do not use BP_SYM in versioned symbols.
21446         * nptl/sysdeps/pthread/bits/libc-lockP.h
21447         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
21448         <bp-sym.h>.
21449         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21450         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
21451         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21452         (__pthread_mutex_destroy): Likewise.
21453         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21454         (__pthread_mutex_lock): Likewise.
21455         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21456         (__pthread_mutex_trylock): Likewise.
21457         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21458         (__pthread_mutex_unlock): Likewise.
21459         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21460         (__pthread_mutexattr_init): Likewise.
21461         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21462         (__pthread_mutexattr_destroy): Likewise.
21463         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21464         (__pthread_mutexattr_settype): Likewise.
21465         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21466         (__pthread_rwlock_init): Likewise.
21467         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21468         (__pthread_rwlock_destroy): Likewise.
21469         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21470         (__pthread_rwlock_rdlock): Likewise.
21471         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21472         (__pthread_rwlock_tryrdlock): Likewise.
21473         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21474         (__pthread_rwlock_wrlock): Likewise.
21475         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21476         (__pthread_rwlock_trywrlock): Likewise.
21477         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21478         (__pthread_rwlock_unlock): Likewise.
21479         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21480         (__pthread_key_create): Likewise.
21481         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21482         (__pthread_setspecific): Likewise.
21483         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21484         (__pthread_getspecific): Likewise.
21485         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
21486         Likewise.
21487         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21488         (_pthread_cleanup_push_defer): Likewise.
21489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21490         (_pthread_cleanup_pop_restore): Likewise.
21491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
21492         (pthread_setcancelstate): Likewise.
21493         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
21494         <bp-sym.h>.
21495         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
21496         (memchr): Do not use BP_SYM in weak_alias.
21497         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
21498         (fegetenv): Do not use BP_SYM in versioned symbols.
21499         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
21500         (fesetenv): Do not use BP_SYM in versioned symbols.
21501         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21502         (feupdateenv): Do not use BP_SYM in versioned symbols.
21503         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21504         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21505         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
21506         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
21507         (open64): Do not use BP_SYM in weak_alias.
21508         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
21509         (fegetenv): Do not use BP_SYM in versioned symbols.
21510         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
21511         (fesetenv): Do not use BP_SYM in versioned symbols.
21512         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
21513         (feupdateenv): Do not use BP_SYM in versioned symbols.
21514         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
21515         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
21516         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
21517         (feraiseexcept): Do not use BP_SYM in versioned symbols.
21518         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
21519         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
21520         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
21521         <bp-sym.h>.
21522         (__libc_start_main): Do not use BP_SYM.
21523
21524 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21525
21526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
21527         redundant return line.
21528         (norm): Likewise.
21529         (denorm): Likewise.
21530         (dbl_mp): Likewise.
21531         (sub_magnitudes): Likewise.
21532         (__add): Likewise.
21533         (__sub): Likewise.
21534         (__mul): Likewise.
21535         (__inv): Likewise.
21536         (__dvd): Likewise.
21537         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
21538         (norm): Likewise.
21539         (denorm): Likewise.
21540         (dbl_mp): Likewise.
21541         (sub_magnitudes): Likewise.
21542         (__add): Likewise.
21543         (__sub): Likewise.
21544         (__mul): Likewise.
21545         (__inv): Likewise.
21546         (__dvd): Likewise.
21547
21548         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
21549         instead of __mul.
21550         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
21551         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
21552         (cc32): Likewise.
21553
21554         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
21555         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
21556         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
21557         of __mul for squares.
21558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
21559         function
21560         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
21561         Likewise.
21562         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
21563         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21564
21565 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
21566
21567         [BZ #13550]
21568         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
21569         code.
21570         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
21571         prototype or function definition.  Rename ubp_* variables and
21572         parameters.  Remove argv definitions conditional on
21573         [__BOUNDED_POINTERS__].
21574         * debug/backtrace.c (__backtrace): Do not use __unbounded.
21575         * elf/dl-runtime.c (_dl_fixup): Likewise.
21576         * include/set-hooks.h (RUN_HOOK): Likewise.
21577         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
21578         definition.
21579         * string/strcpy.c (strcpy): Do not use __unbounded.
21580         * sysdeps/generic/frame.h (struct layout): Likewise.
21581         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
21582         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
21583         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
21584         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
21585         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
21586         (__backtrace): Likewise.
21587         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
21588         use __ptrvalue.
21589         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
21590         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
21591         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
21592         Likewise.
21593         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
21594         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
21595         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
21596         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
21597         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
21598         Do not use __unbounded.
21599         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
21600         Rename __unboundedrlimits parameter to rlimits in prototype.
21601         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
21602         Do not use __unbounded.
21603         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
21604         not use __ptrvalue.
21605         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
21606         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
21607         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
21608         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
21609         __ptrvalue or __unbounded.
21610         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
21611         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
21612         use __unbounded.
21613         (__new_msgctl): Do not use __ptrvalue.
21614         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
21615         __unbounded.
21616         (__libc_msgrcv): Do not use __ptrvalue.
21617         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
21618         startup_info): Do not use __unbounded.
21619         (__libc_start_main): Likewise.  Rename ubp_* variables and
21620         parameters.  Remove argv definitions conditional on
21621         [__BOUNDED_POINTERS__].
21622         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
21623         __ptrvalue.
21624         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
21625         use __unbounded.
21626         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
21627         or __ptrvalue.
21628         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
21629         use __unbounded.
21630         (__new_shmctl): Do not use __ptrvalue.
21631         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
21632         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
21633         Likewise.
21634         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
21635         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
21636         (__libc_sigaction): Likewise.
21637         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
21638         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
21639         Likewise.
21640         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
21641
21642 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
21643
21644         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
21645
21646         * string/mempcpy.c: Implement by calling memcpy.
21647
21648 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21649
21650         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
21651
21652         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
21653         evaluation.
21654
21655         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
21656         values in the mantissa.
21657
21658         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
21659         minimize writes to Z.
21660         (sub_magnitudes): Simplify code a bit.
21661
21662 2013-02-12  Roland McGrath  <roland@hack.frob.com>
21663
21664         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
21665         from the message.  The linker prefixes all warnings with that already.
21666
21667 2013-02-12  Andreas Schwab  <schwab@suse.de>
21668
21669         [BZ #15078]
21670         * posix/regexec.c (extend_buffers): Add parameter min_len.
21671         (check_matching): Pass minimum needed length.
21672         (clean_state_log_if_needed): Likewise.
21673         (get_subexp): Likewise.
21674         * posix/Makefile (tests): Add bug-regex34.
21675         (bug-regex34-ENV): Define.
21676         * posix/bug-regex34.c: New file.
21677
21678         [BZ #11561]
21679         * posix/regcomp.c (parse_bracket_exp): When looking up collating
21680         elements compare against the byte sequence of it, not its name.
21681         * posix/Makefile (tests): Add bug-regex35.
21682         (bug-regex35-ENV): Define.
21683         * posix/bug-regex35.c: New file.
21684
21685 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21686
21687         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
21688         comment.
21689         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
21690         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
21691         (CHECK_EOL): Add undef.
21692
21693 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
21694
21695         * bits/stdlib-bsearch.h: New file.
21696         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
21697         * stdlib/stdlib.h: Likewise.
21698
21699 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21700
21701         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
21702         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
21703         declaration.
21704         * manual/search.texi (Array Search Function): Add missing const in
21705         lfind prototype.
21706         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
21707         declaration to use rlim_t.
21708         (Basic Scheduling Functions): Remove erroneous const from
21709         sched_getparam prototype.  Remove erroneous * from
21710         sched_get_priority_max and sched_get_priority_min prototypes.
21711         (Resource Usage): Fix summary @comment on vtimes to refer to
21712         sys/vtimes.h rather than vtimes.h.
21713         Add missing *s in vtimes prototype.
21714         (Limits on Resources): Fix ulimit prototype to return long int.
21715         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
21716         prototypes to use long int rather than double.
21717         (BSD Random): Fix initstate and setstate to use char *, not void *.
21718         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
21719         prototype to make second argument 'struct aiocb64 *const[]'.
21720         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
21721         (Status of AIO Operations): Remove erroneous const in aio_return and
21722         aio_return64 prototypes.
21723         (Synchronizing I/O): Fix sync prototype to return void.
21724         * manual/startup.texi (Suboptions): Remove an erroneous const in
21725         getsubopt prototype.
21726         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
21727         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
21728         use size_t rather than int.
21729         (Scanning All Users): Likewise for getpwent_r.
21730         (Setting Groups): Add missing const to setgroups prototype.
21731         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
21732         * manual/socket.texi (Host Names): Fix gethostbyaddr and
21733         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
21734         'const void *' rather than 'const char *'.
21735         (Host Address Functions): Likewise for inet_ntop.
21736         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
21737         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
21738         ssize_t for return value.
21739         (Sending Data): Likewise for send, sendto, sendmsg.
21740         (Socket Option Functions): Add a missing const in setsockopt prototype.
21741         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
21742         use wchar_t for the argument.
21743         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
21744         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
21745         take no arguments.
21746         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
21747         double/float/long double for second argument.
21748         Fix return types of significand, significandf, significandl.
21749         * manual/filesys.texi (Setting Permissions): Use mode_t for second
21750         argument in fchmod prototype.
21751         (File Owner): Use uid_t and gid_t in fchown prototype.
21752         (File Times): Add const to utimes, futimes, and lutimes prototypes.
21753         (Making Special Files): Use mode_t and dev_t in mknod prototype.
21754         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
21755         use 'const struct dirent **' as argument types to CMP function pointer
21756         argument.
21757         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
21758         (File Times): Fix summary magic @comment for struct utimbuf and utime
21759         to refer to utime.h, not time.h.
21760         * manual/string.texi (Argz Functions): Add missing const in
21761         argz_extract and argz_next prototypes.
21762         (Finding Tokens in a String): Likewise for basename.
21763         (String/Array Comparison): Fix typo in wcscasecmp prototype.
21764         (Copying and Concatenation): Fix typo in wmemmove prototype.
21765         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
21766         (Signal Stack): Remove erroneous const in sigstack prototype.
21767         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
21768         prototype.
21769         (Simple Calendar Time): Likewise for stime.
21770         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
21771         prototype.
21772         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
21773         say sys/sysctl.h instead.
21774         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
21775         and vsyslog prototypes.
21776
21777 2013-02-11  Tom de Vries  <tom@codesourcery.com>
21778
21779         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
21780         Remove.
21781
21782 2013-02-11  Roland McGrath  <roland@hack.frob.com>
21783
21784         * misc/sys/mman.h: Fix typo in mremap comment.
21785
21786 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21787
21788         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
21789         the '\0' terminator.
21790
21791 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21792
21793         [BZ #13550]
21794         * debug/segfault.c: Don't include <bp-checks.h>.
21795         * sysdeps/generic/bp-checks.h: Remove file.
21796         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
21797         (__GETDENTS): Don't use CHECK_N.
21798         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
21799         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
21800         (__getgroups): Don't use CHECK_N.
21801         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
21802         (setgroups): Don't use CHECK_N.
21803         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
21804         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
21805         (__libc_msgrcv): Don't use CHECK_N.
21806         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
21807         (__libc_msgsnd): Don't use CHECK_N.
21808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
21809         <bp-checks.h>.
21810         (__libc_pread): Don't use CHECK_N.
21811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
21812         include <bp-checks.h>.
21813         (__libc_pread64): Don't use CHECK_N.
21814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
21815         include <bp-checks.h>.
21816         (__libc_pwrite): Don't use CHECK_N.
21817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
21818         include <bp-checks.h>.
21819         (__libc_pwrite64): Don't use CHECK_N.
21820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
21821         <bp-checks.h>.
21822         (__libc_pread): Don't use CHECK_N.
21823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
21824         include <bp-checks.h>.
21825         (__libc_pread64): Don't use CHECK_N.
21826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
21827         include <bp-checks.h>.
21828         (__libc_pwrite): Don't use CHECK_N.
21829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
21830         include <bp-checks.h>.
21831         (__libc_pwrite64): Don't use CHECK_N.
21832         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
21833         (do_pread): Don't use CHECK_N.
21834         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
21835         (do_pread64): Don't use CHECK_N.
21836         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
21837         (do_pwrite): Don't use CHECK_N.
21838         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
21839         (do_pwrite64): Don't use CHECK_N.
21840         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
21841         (__libc_readv): Don't use CHECK_N.
21842         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
21843         (semop): Don't use CHECK_N.
21844         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
21845         <bp-checks.h>.
21846         (semtimedop): Don't use CHECK_N.
21847         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
21848         (__libc_pread): Don't use CHECK_N.
21849         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
21850         <bp-checks.h>.
21851         (__libc_pread64): Don't use CHECK_N.
21852         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
21853         <bp-checks.h>.
21854         (__libc_pwrite): Don't use CHECK_N.
21855         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
21856         <bp-checks.h>.
21857         (__libc_pwrite64): Don't use CHECK_N.
21858         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
21859         <bp-checks.h>.
21860         (__libc_msgrcv): Don't use CHECK_N.
21861         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
21862         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
21863         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
21864         (__libc_writev): Don't use CHECK_N.
21865
21866 2013-02-08  Roland McGrath  <roland@hack.frob.com>
21867
21868         * string/strcpy.c: Removed unused variable.
21869
21870         * Makeconfig (+sysdep-includes): Define with := rather than =.
21871         Use an existing include/ subdir of each sysdeps dir before it.
21872
21873 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21874
21875         * nscd/connection.c (register_traced_file): Comment function.
21876         [HAVE_INOTIFY] (union __inev): Define.
21877         [HAVE_INOTIFY] (inotify_check_files): New function.
21878         [HAVE_INOTIFY] (clear_db_cache): Likewise.
21879         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
21880         clear_db_cache.
21881         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
21882
21883 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21884
21885         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
21886         loaded if not already and that a failure is permanent.
21887
21888 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
21889
21890         [BZ #15006]
21891         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
21892         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
21893
21894 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
21895
21896         [BZ #13550]
21897         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
21898         (CHECK_1_NULL_OK): Likewise.
21899         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
21900         (__fxstat): Do not use CHECK_1.
21901         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
21902         <bp-checks.h>.
21903         (___fxstat64): Do not use CHECK_1.
21904         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
21905         <bp-checks.h>.
21906         (__fxstatat): Do not use CHECK_1.
21907         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
21908         <bp-checks.h>.
21909         (__fxstatat64): Do not use CHECK_1.
21910         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
21911         <bp-checks.h>.
21912         (__fxstat): Do not use CHECK_1.
21913         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
21914         <bp-checks.h>.
21915         (__fxstatat): Do not use CHECK_1.
21916         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21917         <bp-checks.h>.
21918         (__getresgid): Do not use CHECK_1.
21919         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21920         <bp-checks.h>.
21921         (__getresuid): Do not use CHECK_1.
21922         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
21923         <bp-checks.h>.
21924         (__lxstat): Do not use CHECK_1.
21925         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21926         <bp-checks.h>.
21927         (__old_msgctl): Do not use CHECK_1.
21928         (__new_msgctl): Likewise.
21929         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
21930         <bp-checks.h>.
21931         (__new_setrlimit): Do not use CHECK_1.
21932         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21933         <bp-checks.h>.
21934         (__old_shmctl): Do not use CHECK_1.
21935         (__new_shmctl): Likewise.
21936         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
21937         <bp-checks.h>.
21938         (__xstat): Do not use CHECK_1.
21939         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
21940         (__lxstat): Do not use CHECK_1.
21941         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
21942         <bp-checks.h>.
21943         (___lxstat64): Do not use CHECK_1.
21944         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
21945         (__old_msgctl): Do not use CHECK_1.
21946         (__new_msgctl): Likewise.
21947         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
21948         <bp-checks.h>.
21949         (__gettimeofday): Do not use CHECK_1.
21950         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
21951         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
21952         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
21953         <bp-checks.h>.
21954         (__gettimeofday): Do not use CHECK_1.
21955         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
21956         (__old_shmctl): Do not use CHECK_1_NULL_OK.
21957         (__new_shmctl): Do not use CHECK_1.
21958         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
21959         <bp-checks.h>.
21960         (do_sigtimedwait): Do not use CHECK_1.
21961         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
21962         <bp-checks.h>.
21963         (do_sigwaitinfo): Do not use CHECK_1.
21964         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
21965         <bp-checks.h>.
21966         (msgctl): Do not use CHECK_1.
21967         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
21968         <bp-checks.h>.
21969         (shmctl): Do not use CHECK_1.
21970         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
21971         (ustat): Do not use CHECK_1.
21972         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
21973         <bp-checks.h>.
21974         (__fxstat): Do not use CHECK_1.
21975         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
21976         <bp-checks.h>.
21977         (__fxstatat): Do not use CHECK_1.
21978         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
21979         <bp-checks.h>.
21980         (__lxstat): Do not use CHECK_1.
21981         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
21982         <bp-checks.h>.
21983         (__xstat): Do not use CHECK_1.
21984         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
21985         (__xstat): Do not use CHECK_1.
21986         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
21987         (___xstat64): Do not use CHECK_1.
21988
21989         [BZ #13550]
21990         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
21991         definitions.
21992         (CHECK_BOUNDS_HIGH): Likewise.
21993         * string/strcpy.c: Do not include <bp-checks.h>.
21994         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
21995
21996 2013-02-07  Roland McGrath  <roland@hack.frob.com>
21997
21998         * nscd/nscd-client.h (__nscd_drop_map_ref):
21999         Add __attribute__ ((unused)).
22000         * nis/nss-nisplus.h (niserr2nss): Likewise.
22001
22002         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
22003         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
22004
22005         * csu/libc-tls.c (init_static_tls, init_slotinfo):
22006         Remove inline keyword.
22007         * include/rounding-mode.h (round_away): Likewise.
22008         * libio/wfileops.c (adjust_wide_data): Likewise.
22009         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
22010         (__m128i_strloadu_tolower): Likewise.
22011         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
22012         (__m128i_strloadu_tolower): Likewise.
22013         * time/mktime.c (ydhms_diff): Likewise.
22014         * locale/elem-hash.h (elem_hash): Likewise.
22015         * locale/setlocale.c (setdata): Likewise.
22016         * posix/regex_internal.h (re_string_char_size_at): Likewise.
22017         (re_string_wchar_at): Likewise.
22018         (bitset_not, bitset_merge, bitset_mask): Likewise.
22019         [!(__GNUC__ > 3)] (inline): Remove macro.
22020         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
22021         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
22022         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
22023         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
22024         * string/memcmp.c (memcmp_bytes): Likewise.
22025         * locale/programs/locarchive.c (compute_hashval): Likewise.
22026         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
22027         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
22028         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
22029         * nss/getent.c (print_rpc, print_protocols): Likewise.
22030         (print_passwd, print_group, print_aliases): Likewise.
22031         * nis/nss-nisplus.h (niserr2nss): Likewise.
22032         * nscd/connections.c (restart_p): Likewise.
22033         Change return type to bool.
22034
22035 2013-02-05  Roland McGrath  <roland@hack.frob.com>
22036
22037         * Makeconfig (all-Depend-files): Add existing
22038         $(sorted-subdirs:=/Depend) files.
22039         (all-subdirs): Remove nss.
22040         * sysdeps/unix/inet/Subdirs: Add it here instead.
22041         * hesiod/Depend: New file.
22042
22043         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
22044         instead of calling alloca.
22045
22046         * io/lseek.c (__lseek): Rename to __libc_lseek.
22047         Define __lseek as an alias.
22048
22049         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
22050
22051 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
22052
22053         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
22054         else clause and remove check for non-standard endianness.
22055
22056 2013-02-04  David S. Miller  <davem@davemloft.net>
22057
22058         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22059
22060 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
22061
22062         [BZ #13550]
22063         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
22064         (__ubp_memchr): Remove prototype.
22065         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
22066         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22067         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
22068         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
22069         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
22070         Remove alias.
22071         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
22072         (__ubp_memchr): Likewise.
22073         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
22074         (__ubp_memchr): Likewise.
22075         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
22076         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
22077         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
22078         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
22079         CHECK_STRING.
22080         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
22081         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
22082         (__getcwd): Do not use CHECK_STRING.
22083         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
22084         <bp-checks.h>.
22085         (__real_chown): Do not use CHECK_STRING.
22086         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
22087         <bp-checks.h>.
22088         (fchownat): Do not use CHECK_STRING.
22089         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
22090         CHECK_STRING.
22091         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
22092         <bp-checks.h>.
22093         (__lchown): Do not use CHECK_STRING.
22094         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
22095         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
22096         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
22097         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
22099         include <bp-checks.h>.
22100         (truncate64): Do not use CHECK_STRING.
22101         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
22102         <bp-checks.h>.
22103         (__real_chown): Do not use CHECK_STRING.
22104         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
22105         <bp-checks.h>.
22106         (__lchown): Do not use CHECK_STRING.
22107         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
22108         <bp-checks.h>.
22109         (__chown): Do not use CHECK_STRING.
22110         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
22111         <bp-checks.h>.
22112         (truncate64): Do not use CHECK_STRING.
22113         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
22114         Likewise.
22115         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
22116         (__xmknod): Do not use CHECK_STRING.
22117         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
22118         <bp-checks.h>.
22119         (__xmknodat): Do not use CHECK_STRING.
22120         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
22121         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22122
22123 2013-02-04  Andreas Schwab  <schwab@suse.de>
22124
22125         [BZ #14142]
22126         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
22127         * include/netdb.h: Likewise for h_errno.
22128         * elf/tst-stackguard1.c: Include <tls.h>.
22129
22130 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
22131
22132         * elf/link.h (struct link_map): Extend the l_addr comment.
22133         * include/link.h (struct link_map): Likewise.
22134
22135 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
22136
22137         [BZ #13550]
22138         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
22139         (BOUNDED_1): Remove macro.
22140         * debug/backtrace.c: Don't include <bp-checks.h>.
22141         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
22142         (__backtrace): Likewise.
22143         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
22144         <bp-checks.h>.
22145         (__backtrace): Don't use BOUNDED_1.
22146         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
22147         <bp-checks.h>.
22148         (__backtrace): Don't use BOUNDED_1.
22149         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
22150         (__backtrace): Don't use BOUNDED_1.
22151         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
22152         (shmat): Don't use BOUNDED_N.
22153
22154 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
22155
22156         [BZ #13550]
22157         * sysdeps/generic/bp-start.h: Remove file.
22158         * csu/libc-start.c: Don't include <bp-start.h>.
22159         (LIBC_START_MAIN): Set up __environ directly instead of using
22160         INIT_ARGV_and_ENVIRON.
22161         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
22162         <bp-start.h>.
22163
22164         [BZ #13550]
22165         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
22166         definitions.
22167         (CHECK_FCNTL): Likewise.
22168         (CHECK_N_PAGES): Likewise.
22169
22170         [BZ #13550]
22171         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
22172         definitions.
22173         (CHECK_SIGSET_NULL_OK): Likewise.
22174         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
22175         <bp-checks.h>.
22176         (sigpending): Don't use CHECK_SIGSET.
22177         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
22178         <bp-checks.h>.
22179         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22180         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
22181         <bp-checks.h>.
22182         (do_sigsuspend): Don't use CHECK_SIGSET.
22183         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
22184         use CHECK_SIGSET.
22185         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
22186         (do_sigwait): Don't use CHECK_SIGSET.
22187         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
22188         use CHECK_SIGSET.
22189         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
22190         include <bp-checks.h>.
22191         (sigpending): Don't use CHECK_SIGSET.
22192         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
22193         include <bp-checks.h>.
22194         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22195         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
22196         <bp-checks.h>.
22197         (sigpending): Don't use CHECK_SIGSET.
22198         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
22199         <bp-checks.h>.
22200         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
22201
22202         [BZ #13550]
22203         * sysdeps/generic/bp-semctl.h: Remove file.
22204         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
22205         <bp-checks.h> and <bp-semctl.h>.
22206         (__old_semctl): Don't use CHECK_SEMCTL.
22207         (__new_semctl): Likewise.
22208         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
22209         and <bp-semctl.h>.
22210         (__old_semctl): Don't use CHECK_SEMCTL.
22211         (__new_semctl): Likewise.
22212         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
22213         <bp-checks.h> and <bp-semctl.h>.
22214         (__old_semctl): Don't use CHECK_SEMCTL.
22215         (__new_semctl): Likewise.
22216         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
22217         <bp-checks.h> and <bp-semctl.h>.
22218         (semctl): Don't use CHECK_SEMCTL.
22219
22220         [BZ #13550]
22221         * Makerules (elide-bp-thunks): Remove variable.
22222         (elide-routines.oS): Don't use $(elide-bp-thunks).
22223         (elide-routines.os): Likewise.
22224         (elide-routines.o): Likewise.
22225         (elide-routines.op): Likewise.
22226         (elide-routines.og): Likewise.
22227         (objects): Don't use $(bp-thunks).
22228         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
22229         include.
22230         (common-generated): Do not add s-proto-bp.d.
22231         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
22232         (int): Likewise.
22233         (typ): Likewise.
22234         Do not generate makefile rules for bounded-pointer thunks.
22235         * sysdeps/generic/bp-thunks.h: Remove file.
22236         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
22237         * sysdeps/unix/s-proto-bp.S: Likewise.
22238
22239         [BZ #15062]
22240         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
22241         parts of result separately when argument is not close to line from
22242         -i to i and one part of argument is small.
22243         * math/k_casinhf.c (__kernel_casinhf): Likewise.
22244         * math/k_casinhl.c (__kernel_casinhl): Likewise.
22245         * math/libm-test.inc (cacos_test): Add more tests.
22246         (casin_test): Likewise.
22247         (casinh_test): Likewise.
22248         * sysdeps/i386/fpu/libm-test-ulps: Update.
22249         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22250
22251 2013-01-31  David S. Miller  <davem@davemloft.net>
22252
22253         * po/de.po: Update from translation team.
22254
22255 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
22256
22257         * time/tzfile.c: Include stdint.h for SIZE_MAX.
22258
22259 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
22260
22261         * configure.in (_AC_PROG_CC_C89): New definition.
22262         * configure: Regenerate.
22263
22264         * configure.in (AC_PROG_CPP): New definition.
22265         * configure: Regenerate.
22266
22267 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22268
22269         * debug/tst-backtrace.h: New file.
22270         * debug/tst-backtrace2.c: Include tst-backtrace.h.
22271         (ret): Remove variable.
22272         (x): Likewise.
22273         (FAIL): Remove macro.
22274         (NO_INLINE): Likewise.
22275         (fn1): Use match function instead of strstr.
22276         * debug/tst-backtrace3.c: Include tst-backtrace.h.
22277         (ret): Remove variable.
22278         (x): Likewise.
22279         (FAIL): Remove macro.
22280         (NO_INLINE): Likewise.
22281         (fn): Use match function instead of strstr.
22282         * debug/tst-backtrace4.c: Include tst-backtrace.h.
22283         (ret): Remove variable.
22284         (x): Likewise.
22285         (FAIL): Remove macro.
22286         (NO_INLINE): Likewise.
22287         (handle_signal): Use match function instead of strstr.
22288         * debug/tst-backtrace5.c: Include tst-backtrace.h.
22289         (ret): Remove variable.
22290         (x): Likewise.
22291         (FAIL): Remove macro.
22292         (NO_INLINE): Likewise.
22293         (handle_signal): Use match function instead of strstr.
22294
22295 2013-01-23  Roland McGrath  <roland@hack.frob.com>
22296
22297         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
22298
22299 2013-01-23  David S. Miller  <davem@davemloft.net>
22300
22301         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
22302         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
22303         argument of CAS if possible.
22304         * sysdeps/sparc/sparc64/bits/atomic.h
22305         (__arch_compare_and_exchange_val_32_acq): Likewise.
22306         (__arch_compare_and_exchange_val_64_acq): Likewise.
22307
22308 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
22309
22310         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
22311         * sysdeps/posix/ulimit.c: ... this.
22312         Include <limits.h>.
22313         * sysdeps/unix/bsd/ulimit.c: Remove file.
22314
22315 2013-01-23  Adam Conrad  <adconrad@0c3.net>
22316
22317         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
22318         (LDFLAGS-tst-array5): Likewise.
22319
22320 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
22321
22322         [BZ #15036]
22323         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
22324         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
22325         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
22326         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
22327
22328 2013-01-21  David S. Miller  <davem@davemloft.net>
22329
22330         * sysdeps/sparc/backtrace.c: New file.
22331         * sysdeps/sparc/sparc32/backtrace.h: New file.
22332         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
22333         * sysdeps/sparc/sparc64/backtrace.h: New file.
22334         * sysdeps/sparc/sparc64/backtrace.c: Delete.
22335         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
22336         -funwind-tables.
22337
22338 2013-01-21  Andreas Schwab  <schwab@suse.de>
22339
22340         [BZ #15020]
22341         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
22342         closed its stdout.
22343
22344 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
22345
22346         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
22347         "mpa2.h".
22348         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22349
22350 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
22351             Mark Mitchell  <mark@codesourcery.com>
22352             Tom de Vries  <tom@codesourcery.com>
22353             Paul Pluzhnikov  <ppluzhnikov@google.com>
22354
22355         * debug/tst-backtrace2.c: New file.
22356         * debug/tst-backtrace3.c: Likewise.
22357         * debug/tst-backtrace4.c: Likewise.
22358         * debug/tst-backtrace5.c: Likewise.
22359         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
22360         (CFLAGS-tst-backtrace3.c): Likewise.
22361         (CFLAGS-tst-backtrace4.c): Likewise.
22362         (CFLAGS-tst-backtrace5.c): Likewise.
22363         (LDFLAGS-tst-backtrace2): Likewise.
22364         (LDFLAGS-tst-backtrace3): Likewise.
22365         (LDFLAGS-tst-backtrace4): Likewise.
22366         (LDFLAGS-tst-backtrace5): Likewise.
22367         (tests): Add new tests tst-backtrace2, tst-backtrace3,
22368         tst-backtrace4 and tst-backtrace5.
22369
22370 2013-01-18  Anton Blanchard  <anton@samba.org>
22371             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22372
22373         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
22374         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
22375         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
22376         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
22377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22378         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
22379         "+r" and remove output regs list as redundant.  Add explicit inline
22380         asm to specify register of return val to work around compiler codegen
22381         bug.  Remove (int) cast on return value.  Add return type parameter to
22382         use in macro so that this macro does not truncate return value for
22383         64-bit values.
22384         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
22385         pass to INTERNAL_VSYSCALL_NCS.
22386         (INLINE_VSYSCALL): Add 'long int' as return type to
22387         INTERNAL_VSYSCALL_NCS macro invocation.
22388         (INTERNAL_VSYSCALL): Add 'long int' as return type to
22389         INTERNAL_VSYSCALL_NCS macro invocation.
22390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
22391
22392 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22393
22394         [BZ #14496]
22395         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
22396         Fix application of SIMD FP exception mask.
22397
22398         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
22399         mp_no from a power of two.
22400         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
22401         __mpexp_twomm1.  Use __pow_mp.
22402
22403         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
22404         multiplication.
22405
22406 2013-01-17  David S. Miller  <davem@davemloft.net>
22407
22408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22409
22410 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22411
22412         [BZ #15023]
22413         * include/complex.h: Condition contents on [!_COMPLEX_H].
22414         (__kernel_casinhf): New prototype.
22415         (__kernel_casinh): Likewise.
22416         (__kernel_casinhl): Likewise.
22417         * math/Makefile (libm_calls): Add k_casinh.
22418         * math/k_casinh.c: New file.
22419         * math/k_casinhf.c: Likewise.
22420         * math/k_casinhl.c: Likewise.
22421         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
22422         finite nonzero arguments.
22423         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
22424         finite nonzero arguments.
22425         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
22426         finite nonzero arguments.
22427         * math/s_casinh.c: Do not include <float.h>.
22428         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
22429         * math/s_casinhf.c: Do not include <float.h>.
22430         (__casinhf): Move code for finite nonzero arguments to
22431         k_casinhf.c.
22432         * math/s_casinhl.c: Do not include <float.h>.
22433         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
22434         redefine.
22435         (__casinhl): Move code for finite nonzero arguments to
22436         k_casinhl.c.
22437         * math/libm-test.inc (cacos_test): Add more tests.
22438         * sysdeps/i386/fpu/libm-test-ulps: Update.
22439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22440
22441 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
22442
22443         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
22444         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
22445         [!HAVE_MREMAP]: Remove [defined linux] case.
22446         * malloc/arena.c: Do not include <malloc-sysdep.h>.
22447
22448 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
22449
22450         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
22451
22452 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
22453
22454         * elf/elf.h (R_386_SIZE32): New relocation.
22455         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
22456         R_386_SIZE32.
22457         (elf_machine_rela): Likewise.
22458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22459         R_X86_64_SIZE64 and R_X86_64_SIZE32.
22460
22461 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
22462
22463         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
22464         (FP_FAST_FMA): Do not define.
22465         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
22466         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
22467         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
22468         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
22469         !_SOFT_FLOAT]: Likewise.
22470         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
22471         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
22472         value.
22473         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
22474         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
22475         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
22476         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
22477         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
22478         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
22479         file.
22480
22481 2013-01-16  Andreas Schwab  <schwab@suse.de>
22482
22483         [BZ #14327]
22484         * include/stdlib.h (__mktemp): Add declaration.
22485         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
22486         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
22487
22488 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22489
22490         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
22491         definitions.
22492         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
22493         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
22494         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
22495         definitions here.
22496         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
22497         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
22498         definitions.
22499         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
22500         and ONE.
22501         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
22502         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
22503         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
22504         definitions.
22505         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
22506         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
22507         definitions.
22508         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
22509
22510         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
22511
22512 2013-01-15  David S. Miller  <davem@davemloft.net>
22513
22514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22515         trunc{,f} to libm-sysdep_routes.
22516         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
22518         file.
22519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
22520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
22521         file.
22522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
22523         file.
22524         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
22525         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
22526         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
22527         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
22528         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
22529         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
22530         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
22531         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
22532
22533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22534         nearbyint{,f} to libm-sysdep_routes.
22535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
22537         New file.
22538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
22539         file.
22540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
22541         New file.
22542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
22543         file.
22544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
22545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
22546         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
22547         file.
22548         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
22549         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
22550         file.
22551         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
22552         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
22553         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
22554
22555         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
22556         libc_feholdexcept and libc_fesetenv.
22557
22558 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
22559
22560         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
22561
22562 2013-01-14  David S. Miller  <davem@davemloft.net>
22563
22564         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
22565         (SPARC_ASM_VIS2_IFUNC): Likewise.
22566         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
22567         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
22568         use of 'siam' instruction.
22569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
22570         Likewise.
22571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
22572         Likewise.
22573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
22574         Likewise.
22575         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
22576         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
22577         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
22578         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
22579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
22580         file.
22581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
22582         file.
22583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
22584         file.
22585         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
22586         file.
22587         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
22588         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
22589         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
22590         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
22591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
22592         new VIS2 routines.
22593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
22594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
22595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22596         Likewise.
22597         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22598         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22599         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22600         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
22602         routines to libm-sysdep_routines.
22603         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
22604
22605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
22606         fdim/fdimf to libm-sysdep_routines.
22607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
22608         file.
22609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
22610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
22611         file.
22612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
22613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
22614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
22615         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
22616         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
22617         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
22618         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
22619
22620 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
22621
22622         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
22623         to optimize copies.
22624
22625         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
22626         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
22627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
22628
22629         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
22630         local variable MPTWO.
22631         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
22632         Likewise.
22633
22634 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22635
22636         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
22637         GLOB_NOESCAPE.
22638
22639 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22640
22641         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
22642
22643 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
22644
22645         * manual/pattern.texi (glob_t): Document gl_flags.
22646         (glob64_t): Likewise.
22647
22648 2013-01-11  David S. Miller  <davem@davemloft.net>
22649
22650         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
22651         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
22652         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
22653         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
22654         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
22655         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
22656         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
22657         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
22658         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
22659         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
22660         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
22661         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
22662         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
22663
22664         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22665         sparc V9 rather than using V8 code.
22666         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22667         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22668
22669         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22670         Move to...
22671         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
22672         Here.
22673
22674 2013-01-11  Roland McGrath  <roland@hack.frob.com>
22675
22676         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
22677         not in the main loop.
22678         * configure: Regenerated.
22679
22680 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
22681
22682         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
22683         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
22684         to just #else.
22685         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
22686         [!__GLIBC_HAVE_LONG_LONG] case.
22687         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
22688         condition to just #else.
22689         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
22690         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
22691         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
22692         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
22693         unconditional.
22694         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
22695         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22696         #elif condition to just #else.
22697         * sysdeps/unix/sysv/linux/sys/sysmacros.h
22698         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
22699         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
22700         #elif condition to just #else.
22701
22702 2013-01-11  Steve Ellcey  <sellcey@mips.com>
22703
22704         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
22705         (EF_MIPS_ARCH_64): Fix value.
22706         (EF_MIPS_ARCH_32R2): New.
22707         (EF_MIPS_ARCH_64R2): New.
22708
22709 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
22710
22711         * Makeconfig (+link-pie-before-libc): New.
22712         (+link-pie-after-libc): Likewise.
22713         (+link-pie-tests): Likewise.
22714         (+link-pie): Rewritten.
22715         (link-before-libc): Remove $(config-LDFLAGS).
22716         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
22717         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
22718         (config-LDFLAGS): Renamed to ...
22719         (rtld-LDFLAGS): This.
22720         (rtld-tests-LDFLAGS): New macro.
22721         (link-libc-rpath-link): Likewise.
22722         (link-libc-tests-rpath-link): Likewise.
22723         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
22724         (link-libc): Prepand $(link-libc-rpath-link).
22725         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
22726         (test-program-prefix): New macro.
22727         (test-via-rtld-prefix): Likewise.
22728         (test-program-cmd): Likewise.
22729         (host-test-program-cmd): Likewise.
22730         * Makefile ($(common-objpfx)testrun.sh): Replace
22731         $(run-program-prefix) with $(test-program-prefix).
22732         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
22733         $(rtld-LDFLAGS).
22734         ($(common-objpfx)shlib.lds): Likewise.
22735         (build-module-helper): Likewise.
22736         ($(common-objpfx)format.lds): Likewise.
22737         * Rules (binaries-pie-tests): New.
22738         (binaries-pie-notests): Likewise.
22739         (binaries-pie): Rewritten.
22740         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
22741         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
22742         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
22743         (make-test-out): Replace $(host-built-program-cmd) with
22744         $(host-test-program-cmd).
22745         * config.make.in (build-hardcoded-path-in-tests): New variable.
22746         * configure.in (--enable-hardcoded-path-in-tests): New configure
22747         option.
22748         (hardcoded_path_in_tests): New AC_SUBST.
22749         * configure: Regenerated.
22750         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
22751         $(built-program-cmd) with $(test-program-cmd).
22752         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
22753         (test_program_cmd): This.
22754         * elf/Makefile ($(objpfx)order.out): Run test with
22755         $(test-program-prefix).
22756         ($(objpfx)order2.out): Likewise.
22757         ($(objpfx)tst-initorder.out): Likewise.
22758         ($(objpfx)tst-initorder2.out): Likewise.
22759         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
22760         $(test-program-cmd).
22761         ($(objpfx)tst-array1-static.out): Likewise.
22762         ($(objpfx)tst-array2.out): Likewise.
22763         ($(objpfx)tst-array3.out): Likewise.
22764         ($(objpfx)tst-array4.out): Likewise.
22765         ($(objpfx)tst-array5.out): Likewise.
22766         ($(objpfx)tst-array5-static.out): Likewise.
22767         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
22768         $(test-program-cmd).
22769         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
22770         $(run-program-prefix) with $(test-program-prefix).
22771         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
22772         (test_program_prefix): This.
22773         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
22774         $(run-program-prefix) with $(test-program-prefix).
22775         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
22776         (test_program_prefix): This.
22777         * iconvdata/tst-tables.sh: Likewise.
22778         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
22779         $(run-program-prefix) with $(test-program-prefix).
22780         ($(objpfx)tst-translit.out): Likewise.
22781         ($(objpfx)tst-gettext2.out): Likewise.
22782         ($(objpfx)tst-gettext4.out): Likewise.
22783         ($(objpfx)tst-gettext6.out): Likewise.
22784         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
22785         (test_program_prefix): This.
22786         * intl/tst-gettext2.sh: Likewise.
22787         * intl/tst-gettext4.sh  Likewise.
22788         * intl/tst-gettext6.sh: Likewise.
22789         * intl/tst-translit.sh: Likewise.
22790         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
22791         with $(test-program-cmd).
22792         * libio/Makefile ($(objpfx)test-freopen.out): Replace
22793         $(run-program-prefix) with $(test-program-prefix).
22794         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
22795         (test_program_prefix): This.
22796         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
22797         $(run-program-prefix) with $(test-program-prefix).
22798         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
22799         (test_program_prefix): This.
22800         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
22801         * posix/Makefile ($(objpfx)globtest.out): Replace
22802         $(run-via-rtld-prefix) and $(test-wrapper) with
22803         $(test-program-prefix) and $(test-via-rtld-prefix).
22804         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
22805         $(test-program-prefix).
22806         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
22807         $(host-test-program-cmd).
22808         (tst-spawn-ARGS): Likewise.
22809         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
22810         $(test-program-prefix).
22811         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
22812         (test_via_rtld_prefix): This.
22813         (test_wrapper): Renamed to ...
22814         (test_program_prefix): This.
22815         (run_program_prefix): Replaced by test_program_prefix.
22816         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
22817         (test_program_prefix): This.
22818         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
22819         with $(host-test-program-cmd).
22820         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
22821         $(run-program-prefix) with $(test-program-prefix).
22822         ($(objpfx)tst-printf.out): Likewise.
22823         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
22824         $(test-program-cmd).
22825         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
22826         (test_program_prefix): This.
22827         * stdio-common/tst-unbputc.sh: Likewise.
22828         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
22829         $(run-program-prefix) with $(test-program-prefix).
22830         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
22831         (test_program_prefix): This.
22832         * string/Makefile ($(objpfx)tst-svc.out):  Replace
22833         $(built-program-cmd) with $(test-program-cmd).
22834
22835 2013-01-11  Andreas Jaeger  <aj@suse.de>
22836
22837         [BZ #15003]
22838         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
22839         value. Sync with Linux 3.7.
22840
22841 2013-01-10  David S. Miller  <davem@davemloft.net>
22842
22843         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
22844         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22845         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22846
22847 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22848
22849         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
22850         never set.
22851         * configure: Regenerated.
22852
22853 2013-01-10  David S. Miller  <davem@davemloft.net>
22854
22855         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
22856         sparc V9 rather than using V8 code.
22857         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
22858         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
22859
22860 2013-01-10  Roland McGrath  <roland@hack.frob.com>
22861
22862         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
22863         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
22864         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
22865         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
22866         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
22867         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
22868         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
22869         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
22870         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
22871         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
22872         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
22873         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
22874         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
22875         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
22876         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
22877         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
22878         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
22879         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
22880         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
22881         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
22882         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
22883         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
22884         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
22885         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
22886         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
22887         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
22888         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
22889
22890 2013-01-10  David S. Miller  <davem@davemloft.net>
22891
22892         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22893
22894 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22895
22896         * posix/Makefile (tests-static): New variable.
22897         (tests): Add $(tests-static).
22898         (tst-exec-static-ARGS): New variable.
22899         (tst-spawn-static-ARGS): Likewise.
22900         * posix/tst-exec-static.c: New file.
22901         * posix/tst-spawn-static.c: Likewise.
22902         * posix/tst-exec.c: Support run directly.
22903         * posix/tst-spawn.c: Likewise.
22904
22905 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
22906
22907         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
22908         long.
22909         * math/bits/mathcalls.h (llrint): Likewise.
22910         (llround): Likewise.
22911         * stdlib/stdlib.h (struct drand48_data): Likewise.
22912         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
22913         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
22914         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
22915         Likewise.
22916         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
22917         Likewise.
22918         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
22919         (elf_greg_t): Likewise.
22920         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
22921         (__jmp_buf): Likewise.
22922         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
22923         definitions.
22924         (llrint): Likewise, for all definitions.
22925         (llrintl): Likewise.
22926
22927         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
22928         Remove [__GNUC__] condition.
22929         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
22930         condition to just [__USE_ISOC99].
22931         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
22932
22933 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
22934
22935         [BZ #14200]
22936         * sysdeps/unix/sysv/linux/x86/bits/environments.h
22937         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
22938         defined.
22939         (_POSIX_V6_ILP32_OFF32): Likewise.
22940         (_XBS5_ILP32_OFF32): Likewise.
22941         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
22942         (__ILP32_OFFBIG_LDFLAGS): Likewise.
22943
22944 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22945
22946         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
22947
22948         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
22949         doubles __mpexp_twomm1.  Adjust usage.
22950         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
22951         Remove.
22952
22953 2013-01-10  Andreas Schwab  <schwab@suse.de>
22954
22955         [BZ #14964]
22956         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
22957         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
22958
22959 2013-01-09  David S. Miller  <davem@davemloft.net>
22960
22961         [BZ #15003]
22962         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
22963         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
22964         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
22965         (TCP_FASTOPEN): Define.
22966         (tcp_repair_opt): New structure.
22967         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
22968         enum values.
22969         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
22970         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
22971         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
22972         (tcp_cookie_transactions): New structure.
22973
22974 2013-01-09  Anton Blanchard  <anton@samba.org>
22975
22976         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
22977         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
22978         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
22979         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
22980
22981 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
22982
22983         * include/features.h (__USE_ANSI): Remove.
22984
22985 2013-01-09  Roland McGrath  <roland@hack.frob.com>
22986
22987         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
22988
22989         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
22990
22991 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
22992
22993         * sysdeps/s390/fpu/libm-test-ulps: Update.
22994
22995         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22996
22997         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
22998         (__acr): Likewise.
22999         (__cpy): Likewise.
23000         (norm): Likewise.
23001         (denorm): Likewise.
23002         (__mp_dbl): Likewise.
23003         (__dbl_mp): Likewise.
23004         (add_magnitudes): Likewise.
23005         (sub_magnitudes): Likewise.
23006         (__add): Likewise.
23007         (__sub): Likewise.
23008         (__mul): Likewise.
23009         (__inv): Likewise.
23010         (__dvd): Likewise.
23011         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
23012         (__acr): Likewise.
23013         (__cpy): Likewise.
23014         (norm): Likewise.
23015         (denorm): Likewise.
23016         (__mp_dbl): Likewise.
23017         (__dbl_mp): Likewise.
23018         (add_magnitudes): Likewise.
23019         (sub_magnitudes): Likewise.
23020         (__add): Likewise.
23021         (__sub): Likewise.
23022         (__mul): Likewise.
23023         (__inv): Likewise.
23024         (__dvd): Likewise.
23025         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
23026         (__acr): Likewise.
23027         (__cpy): Likewise.
23028         (norm): Likewise.
23029         (denorm): Likewise.
23030         (__mp_dbl): Likewise.
23031         (__dbl_mp): Likewise.
23032         (add_magnitudes): Likewise.
23033         (sub_magnitudes): Likewise.
23034         (__add): Likewise.
23035         (__sub): Likewise.
23036         (__mul): Likewise.
23037         (__inv): Likewise.
23038         (__dvd): Likewise.
23039
23040 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
23041
23042         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
23043         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
23044         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
23045         2 && __USE_EXTERN_INLINES]: Likewise.
23046
23047 2013-01-08  Andreas Jaeger  <aj@suse.de>
23048
23049         [BZ# 14985]
23050         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
23051         Remove.
23052         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23053         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
23054
23055 2013-01-07  Anton Blanchard  <anton@samba.org>
23056
23057         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
23058         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23059         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
23060         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23061         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
23062         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23063         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
23064         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23066         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23067         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
23068         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
23069         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
23070         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23071         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23072         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
23073         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
23074         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23075         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23076         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
23077         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23078         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
23079         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23080         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23081         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
23082         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
23083         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
23084         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
23085         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
23086         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
23087         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23088         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23089         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23090         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23091         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23092         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23093         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23094         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
23095         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
23096         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
23097         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
23098         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23099         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23100
23101 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
23102
23103         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
23104         (__MALLOC_PMT): Likewise.
23105         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
23106         [__GNUC__], only on [_LIBC].
23107         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23108         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
23109         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
23110         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
23111         forward declaration.
23112         (realloc_hook_ini): Likewise.
23113         (memalign_hook_ini): Likewise.
23114         (__libc_memalign): Do not use __MALLOC_PMT in variable
23115         declaration.
23116         (__libc_valloc): Likewise.
23117         (__libc_pvalloc): Likewise.
23118         (__libc_calloc): Likewise.
23119         (__posix_memalign): Likewise.
23120
23121         [BZ #14996]
23122         * math/s_casinh.c: Include <float.h>.
23123         (__casinh): Do not do computation with squaring and square root
23124         for large arguments.
23125         * math/s_casinhf.c: Include <float.h>.
23126         (__casinhf): Do not do computation with squaring and square root
23127         for large arguments.
23128         * math/s_casinhl.c: Include <float.h>.
23129         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
23130         (__casinhl): Do not do computation with squaring and square root
23131         for large arguments.
23132         * math/libm-test.inc (casin_test): Add more tests.
23133         (casinh_test): Likewise.
23134         * sysdeps/i386/fpu/libm-test-ulps: Update.
23135         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23136
23137 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
23138
23139         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
23140         (__x86_64_raw_data_cache_size): Likewise.
23141         (__x86_64_data_cache_size_half): Likewise.
23142         (__x86_64_raw_data_cache_size_half): Likewise.
23143         (__x86_64_shared_cache_size): Likewise.
23144         (__x86_64_raw_shared_cache_size): Likewise.
23145         (__x86_64_shared_cache_size_half): Likewise.
23146         (__x86_64_raw_shared_cache_size_half): Likewise.
23147         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
23148         to ...
23149         (__x86_data_cache_size): This.
23150         (__x86_64_raw_data_cache_size): Renamed to ...
23151         (__x86_raw_data_cache_size): This.
23152         (__x86_64_data_cache_size_half): Renamed to ...
23153         (__x86_data_cache_size_half): This.
23154         (__x86_64_raw_data_cache_size_half): Renamed to ...
23155         (__x86_raw_data_cache_size_half): This.
23156         (__x86_64_shared_cache_size): Renamed to ...
23157         (__x86_shared_cache_size): This.
23158         (__x86_64_raw_shared_cache_size): Renamed to ...
23159         (__x86_raw_shared_cache_size): This.
23160         (__x86_64_shared_cache_size_half): Renamed to ...
23161         (__x86_shared_cache_size_half): This.
23162         (__x86_64_raw_shared_cache_size_half): Renamed to ...
23163         (__x86_raw_shared_cache_size_half): This.
23164         * sysdeps/x86_64/memcpy.S: Updated.
23165         * sysdeps/x86_64/memset.S: Likewise.
23166         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23167         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23168         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23169
23170 2013-01-04  David S. Miller  <davem@davemloft.net>
23171
23172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23173
23174 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
23175
23176         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
23177         1 to avoid redefinition warning.
23178         (__USE_GNU): Don't define.
23179         (init_signaling_nan): Protoize.
23180
23181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23182
23183 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23184
23185         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
23186         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
23187         (__cpymn): Likewise.
23188         (norm): Remove commented code.
23189         (denorm): Likewise.
23190         (__mp_dbl): Likewise.
23191         (__inv): Likewise.
23192         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
23193         (__cpymn): Likewise.
23194         (norm): Remove commented code.
23195         (denorm): Likewise.
23196         (__mp_dbl): Likewise.
23197         (__inv): Likewise.
23198
23199         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
23200         mp_no value for 1.0 and 2.0.
23201         (norm): Use RADIXI instead of radixi.d.
23202         (denorm): Likewise.
23203         (__mul): Use 0.0 instead of zero.d.
23204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
23205         mp_no value for 1.0 and 2.0.
23206         (norm): Use RADIXI instead of radixi.d.
23207         (denorm): Likewise.
23208         (__mul): Use 0.0 instead of zero.d.
23209
23210 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
23211
23212         [BZ #14994]
23213         * math/s_casinh.c (__casinh): Reduce finite argument to first
23214         quadrant then set signs of results at the end.
23215         * math/s_casinhf.c (__casinhf): Likewise.
23216         * math/s_casinhl.c (__casinhl): Likewise.
23217         * math/libm-test.inc (casin_test): Add more tests.
23218         (casinh_test): Likewise.
23219         * sysdeps/i386/fpu/libm-test-ulps: Update.
23220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23221
23222 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23223
23224         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
23225
23226         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
23227
23228         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
23229         declarations.
23230         (denorm): Likewise.
23231         (__mp_dbl): Likewise.
23232         (__inv): Likewise.
23233
23234         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
23235         and adjust the header comment.
23236
23237         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
23238         variable name from declaration.
23239
23240 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
23241
23242         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23243         Initialize COMMON_CPUID_INDEX_7 element.
23244         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
23245         (CPUID_RTM): Likewise.
23246         (HAS_RTM): Likewise.
23247         (COMMON_CPUID_INDEX_7): New enum.
23248
23249 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
23250
23251         [BZ #14981]
23252         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
23253         size is zero, record memory as freed.
23254
23255 2013-01-03  Andreas Jaeger  <aj@suse.de>
23256
23257         * po/ia.po: Add new Interlingua translation.
23258
23259 2012-01-03  Allan McRae  <allan@archlinux.org>
23260
23261         * locale/programs/localedef.c: Fix description of '--posix' flag.
23262
23263 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
23264
23265         * NEWS: Update dates in second copyright notice.
23266         * README: Update copyright dates in example.
23267         * manual/libc.texinfo: Update copyright dates.
23268         * scripts/test-installation.pl: Update copyright date in --version
23269         output.
23270
23271         * hurd/ctty-input.c: Fix copyright notice formatting.
23272         * hurd/ctty-output.c: Likewise.
23273         * hurd/dtable.c: Likewise.
23274         * hurd/hurd-raise.c: Likewise.
23275         * hurd/hurdprio.c: Likewise.
23276         * hurd/msgportdemux.c: Likewise.
23277         * misc/sys/file.h: Likewise.
23278         * misc/sys/ioctl.h: Likewise.
23279         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23280         * sysdeps/mach/hurd/chdir.c: Likewise.
23281         * sysdeps/mach/hurd/fchdir.c: Likewise.
23282         * sysdeps/mach/hurd/rename.c: Likewise.
23283         * sysdeps/mach/hurd/rmdir.c: Likewise.
23284         * sysdeps/mach/hurd/seekdir.c: Likewise.
23285         * sysdeps/mach/hurd/setsid.c: Likewise.
23286         * sysdeps/posix/wait3.c: Likewise.
23287
23288         * All files with FSF copyright notices: Update copyright dates
23289         using scripts/update-copyrights.
23290         * intl/plural.c: Regenerated.
23291         * locale/programs/charmap-kw.h: Likewise.
23292         * locale/programs/locfile-kw.h: Likewise.
23293
23294 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
23295
23296         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
23297         four values.
23298
23299         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
23300         calculation loop and add branch prediction.
23301
23302         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
23303         check access beyond bounds of m1np.
23304
23305         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23306         MPTWO.
23307         (__inv): Remove local variable MPTWO to use the global
23308         constant.
23309         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
23310         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23311         variable MPTWO.
23312         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
23313         MP3HALFS static const.
23314
23315 2013-01-01  David S. Miller  <davem@davemloft.net>
23316
23317         * po/ca.po: Update from translation team.
23318
23319 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
23320
23321         * scripts/update-copyrights: New file.
23322         * Makeconfig: Reformat copyright notice.
23323         * ctype/ctype.h: Likewise.
23324         * debug/swprintf_chk.c: Likewise.
23325         * elf/dl-cache.c: Likewise.
23326         * elf/dl-debug.c: Likewise.
23327         * elf/dl-object.c: Likewise.
23328         * grp/initgroups.c: Likewise.
23329         * hurd/Makefile: Likewise.
23330         * hurd/hurd/signal.h: Likewise.
23331         * hurd/hurdfault.c: Likewise.
23332         * hurd/hurdioctl.c: Likewise.
23333         * hurd/hurdlookup.c: Likewise.
23334         * hurd/intr-msg.c: Likewise.
23335         * iconv/gconv_open.c: Likewise.
23336         * libio/swprintf.c: Likewise.
23337         * locale/lc-ctype.c: Likewise.
23338         * locale/nl_langinfo.c: Likewise.
23339         * mach/Machrules: Likewise.
23340         * mach/Makefile: Likewise.
23341         * malloc/obstack.h: Likewise.
23342         * manual/Makefile: Likewise.
23343         * manual/tsort.awk: Likewise.
23344         * misc/bits/stab.def: Likewise.
23345         * nis/nis_print_group_entry.c: Likewise.
23346         * nis/nis_table.c: Likewise.
23347         * nis/nss_compat/compat-pwd.c: Likewise.
23348         * nis/nss_compat/compat-spwd.c: Likewise.
23349         * po/Makefile: Likewise.
23350         * posix/fnmatch.c: Likewise.
23351         * posix/regex.h: Likewise.
23352         * resolv/Makefile: Likewise.
23353         * resolv/nss_dns/dns-network.c: Likewise.
23354         * resolv/res_hconf.c: Likewise.
23355         * scripts/gen-sorted.awk: Likewise.
23356         * soft-fp/soft-fp.h: Likewise.
23357         * stdio-common/printf.h: Likewise.
23358         * stdlib/monetary.h: Likewise.
23359         * stdlib/random.c: Likewise.
23360         * stdlib/random_r.c: Likewise.
23361         * sysdeps/generic/Makefile: Likewise.
23362         * sysdeps/gnu/Makefile: Likewise.
23363         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
23364         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
23365         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
23366         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
23367         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
23368         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
23369         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
23370         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
23371         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
23372         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
23373         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
23374         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
23375         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
23376         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
23377         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
23378         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
23379         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
23380         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
23381         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23382         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
23383         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
23384         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
23385         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
23386         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23387         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
23388         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
23389         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23390         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
23391         * sysdeps/mach/hurd/errnos.awk: Likewise.
23392         * sysdeps/mach/hurd/fork.c: Likewise.
23393         * sysdeps/mach/hurd/getcwd.c: Likewise.
23394         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
23395         * sysdeps/mach/hurd/mmap.c: Likewise.
23396         * sysdeps/mach/hurd/utimes.c: Likewise.
23397         * sysdeps/mach/hurd/xmknod.c: Likewise.
23398         * sysdeps/posix/profil.c: Likewise.
23399         * sysdeps/posix/readdir_r.c: Likewise.
23400         * sysdeps/powerpc/bits/mathdef.h: Likewise.
23401         * sysdeps/powerpc/bits/setjmp.h: Likewise.
23402         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
23403         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
23404         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
23405         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
23406         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
23407         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
23408         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
23409         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
23410         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
23411         * sysdeps/pthread/lio_listio.c: Likewise.
23412         * sysdeps/sparc/dl-procinfo.h: Likewise.
23413         * sysdeps/unix/i386/sysdep.S: Likewise.
23414         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
23415         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
23416         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
23417         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
23418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
23419         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
23420         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
23421         * sysdeps/unix/sysv/linux/speed.c: Likewise.
23422         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
23423         * sysdeps/wordsize-32/divdi3.c: Likewise.
23424         * time/sys/time.h: Likewise.
23425         * wcsmbs/Makefile: Likewise.
23426
23427 2013-01-01  David S. Miller  <davem@davemloft.net>
23428
23429         * po/fr.po: Update from translation team.
23430
23431         * catgets/gencat.c: Update copyright year.
23432         * csu/version.c: Likewise.
23433         * debug/catchsegv.sh: Likewise.
23434         * debug/pcprofiledump.c: Likewise.
23435         * debug/xtrace.sh: Likewise.
23436         * elf/ldconfig.c: Likewise.
23437         * elf/ldd.bash.in: Likewise.
23438         * elf/pldd.c: Likewise.
23439         * elf/sotruss.ksh: Likewise.
23440         * elf/sprof.c: Likewise.
23441         * iconv/iconv_prog.c: Likewise.
23442         * iconv/iconvconfig.c: Likewise.
23443         * locale/programs/locale.c: Likewise.
23444         * locale/programs/localedef.c: Likewise.
23445         * login/programs/pt_chown.c: Likewise.
23446         * malloc/memusage.sh: Likewise.
23447         * malloc/memusagestat.c: Likewise.
23448         * malloc/mtrace.pl: Likewise.
23449         * nscd/nscd.c: Likewise.
23450         * nss/getent.c: Likewise.
23451         * nss/makedb.c: Likewise.
23452         * posix/getconf.c: Likewise.
23453
23454 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
23455
23456         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
23457         numbers.
23458
23459 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
23460
23461         * math/bits/mathcalls.h (modf): Use __nonnull.
23462
23463 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
23464
23465         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
23466         (split): Use macro CN instead of the bare value.
23467         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
23468         could be used.
23469         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
23470         instead of the bare value.
23471         (power1): Likewise.
23472
23473 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23474
23475         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
23476         __ATAN_TWOM.
23477         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23478
23479         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
23480         their values.
23481         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
23482         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
23483         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
23484         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
23485
23486 2012-12-28  Andreas Jaeger  <aj@suse.de>
23487
23488         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
23489         values are from Linux 3.7.
23490
23491         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
23492         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
23493
23494 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23495
23496         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
23497         TRUE case.
23498
23499         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
23500         (norm): Likewise.
23501         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
23502         variables with preprocessor constants.
23503         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
23504         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
23505         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
23506
23507 2012-12-27  Bruno Haible  <bruno@clisp.org>
23508
23509         [BZ #14317]
23510         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
23511         only if needed.
23512
23513 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23514
23515         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
23516         and use variable directly.
23517         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
23518
23519         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
23520         MPONE.
23521         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
23522         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
23523         variable MPONE.
23524         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
23525         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
23526         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
23527         include directive.  Remove local variable MPONE.
23528         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
23529         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
23530         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
23531
23532 2012-12-25  David S. Miller  <davem@davemloft.net>
23533
23534         * version.h (RELEASE): Set to "development".
23535         (VERSION): Set to "2.17.90".
23536         * NEWS: Add 2.18 section.
23537
23538 2012-12-21  David S. Miller  <davem@davemloft.net>
23539
23540         * po/hr.po: Update from translation team.
23541
23542 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23543
23544         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
23545
23546 2012-12-19  Steve Ellcey  <sellcey@mips.com>
23547
23548         * NEWS:  Mention new memcpy for MIPS.
23549
23550 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23551
23552         * manual/contrib.texi (Contributors): Spelling correction.
23553
23554 2012-12-15  David S. Miller  <davem@davemloft.net>
23555
23556         * po/ru.po: Update from translation team.
23557
23558 2012-12-13  David S. Miller  <davem@davemloft.net>
23559
23560         * NEWS: Mention IFUNC testsuite enhancements.
23561
23562         * po/pl.po: Update from translation team.
23563         * po/bg.po: Likewise.
23564
23565         * manual/contrib.texi (Contributors): Update entries for Hongjiu
23566         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
23567
23568 2012-12-11  David S. Miller  <davem@davemloft.net>
23569
23570         * po/sv.po: Update from translation team.
23571
23572         * po/vi.po: Update from translation team.
23573
23574         * po/cs.po: Update from translation team.
23575
23576         * po/de.po: Update from translation team.
23577         * po/eo.po: Likewise.
23578         * po/nl.po: Likewise.
23579
23580 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23581
23582         [BZ #14246]
23583         * manual/argp.texi (Argp Helper Functions): Move node to follow
23584         Argp Parsing State.
23585
23586         [BZ #14872]
23587         * manual/conf.texi (Limits on File System Capacity): Mention if
23588         terminating null is included in the max size.
23589
23590 2012-12-10  Andreas Jaeger  <aj@suse.de>
23591
23592         * po/cs.po: Update from translation team.
23593
23594 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23595
23596         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
23597         void pointer and cast to uintptr_t.
23598         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
23599         path.
23600         * sysdeps/s390/s390-64/memcpy.S: Likewise.
23601         * sysdeps/s390/s390-64/memset.S: Likewise.
23602
23603 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
23604
23605         [BZ #14833]
23606         * menual/message.texi (Message Translation): Fix typos.
23607         (Helper programs for gettext): Likewise.
23608
23609 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
23610
23611         [BZ #14898]
23612         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
23613         Change to -1.
23614
23615 2012-12-07  David S. Miller  <davem@davemloft.net>
23616
23617         * po/libc.pot: Update.
23618
23619 2012-12-07  Richard Henderson  <rth@redhat.com>
23620
23621         [BZ #10114]
23622         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
23623         normal/normal case to before the switch.
23624         (_FP_DIV): Likewise.
23625
23626 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
23627             Mike Frysinger  <vapier@gentoo.org>
23628
23629         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
23630         check for __NR_fadvise64_64.
23631
23632 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
23633
23634         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
23635         0, not just to plain "0" as a statement.
23636         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
23637         with cw.
23638
23639 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
23640
23641         * NEWS: Use sourceware.org in Bugzilla URL.
23642
23643 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
23644
23645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23646         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23647
23648         * stdio-common/tst-put-error.c (do_test): Add newline to the
23649         padded test to ensure flush.
23650
23651 2012-12-05  Jeff Law  <law@redhat.com>
23652
23653         * sunrpc/etc.rpc (fedfs_admin): Add entry.
23654
23655 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
23656
23657         * README: Don't refer to ports add-on as distributed separately.
23658         Mention AArch64 in list of systems supported in the ports add-on.
23659
23660         * LICENSES: Add more non-FSF copyright and license notices.
23661
23662         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
23663         ((unused)).
23664
23665         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
23666
23667         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
23668         10000 as width of padded output.
23669
23670 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23671
23672         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
23673
23674         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
23675         variable LX with __attribute__ ((unused)).
23676         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23677         Likewise.
23678         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23679         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23680         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
23681         with __attribute__ ((unused)).
23682
23683 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
23684
23685         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
23686
23687 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
23688
23689         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
23690         (CFLAGS-nldbl-acos.c): New variable.
23691         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
23692         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
23693         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
23694         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
23695         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
23696         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
23697         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
23698         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
23699         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
23700         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
23701         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
23702         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
23703         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
23704         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
23705         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
23706         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
23707         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
23708         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
23709         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
23710         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
23711         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
23712         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
23713         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
23714         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
23715         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
23716         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
23717         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
23718         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
23719         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
23720         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
23721         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
23722         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
23723         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
23724         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
23725         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
23726         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
23727         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
23728         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
23729         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
23730         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
23731         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
23732         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
23733         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
23734         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
23735         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
23736         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
23737         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
23738         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
23739         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
23740         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
23741         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
23742         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
23743         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
23744         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
23745         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
23746         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
23747         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
23748         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
23749         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
23750         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
23751         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
23752         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
23753         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
23754         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
23755         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
23756         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
23757         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
23758         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
23759         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
23760         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
23761         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
23762         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
23763         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
23764         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
23765         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
23766         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
23767         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
23768         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
23769         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
23770         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
23771         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
23772         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
23773         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
23774         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
23775         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
23776         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
23777         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
23778         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
23779         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
23780         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
23781         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
23782         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
23783         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
23784         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
23785         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
23786         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
23787         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
23788
23789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23790         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
23791
23792         [BZ #14914]
23793         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
23794         whole low double instead of just low 47 bits when splitting values
23795         into two parts.
23796
23797 2012-12-03  Allan McRae  <allan@archlinux.org>
23798
23799         * manual/stdio.texi (Predefined Printf Handlers): Remove
23800         @hsep and @vsep usage.
23801
23802 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
23803
23804         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
23805         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
23806
23807 2012-12-03  Jeff Law  <law@redhat.com>
23808
23809         * time/sys/time.h (settimeofday): Do not mark TV argument
23810         as __nonnull.
23811
23812 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
23813
23814         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
23815         when currently writing and seek to current position when not.
23816         * libio/Makefile (tests): Remove bug-fclose1.
23817         * libio/bug-fclose1.c: Delete.
23818
23819 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
23820
23821         * manual/arith.texi (feenableexcept): Fix typo.
23822         (fedisableexcept): Likewise.
23823
23824 2012-11-30  Roland McGrath  <roland@hack.frob.com>
23825
23826         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
23827         second, differently-typed declaration, rather than a cast.
23828
23829 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
23830
23831         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
23832         * include/rpc/svc.h: ... here.
23833
23834 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
23835
23836         [BZ #13013]
23837         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
23838         depending n and resplen2 to catch cases where answer
23839         equals answerp2.
23840
23841 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
23842
23843         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
23844         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
23845
23846 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
23847
23848         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
23849
23850 2012-11-29  Roland McGrath  <roland@hack.frob.com>
23851
23852         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
23853
23854 2012-11-28  Jeff Law  <law@redhat.com>
23855
23856         [BZ #13761]
23857         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
23858         dataset_temporary.  Track alloca usage into alloca_used.
23859         If dataset is large allocate and release it via malloc/free.
23860
23861 2012-06-04  Florian Weimer  <fweimer@redhat.com>
23862
23863         [BZ #14197]
23864         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
23865
23866 2012-11-28  David S. Miller  <davem@davemloft.net>
23867
23868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23869
23870 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23871
23872         [BZ #14803]
23873         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
23874         of pi/2 rounded to nearest to 64 bits.
23875         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
23876         nearest to 64 bits.
23877         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
23878         bits.
23879
23880 2012-11-28  Jeff Law <law@redhat.com>
23881             Martin Osvald <mosvald@redhat.com>
23882
23883         [BZ #14889]
23884         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
23885         * sunrpc/svc.c: Include time.h.
23886         (__svc_accept_failed): New function.
23887         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
23888         any reason other than EINTR, call __svc_accept_failed.
23889         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
23890         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
23891
23892 2012-11-28  Andreas Schwab  <schwab@suse.de>
23893
23894         * scripts/abilist.awk: Also handle indirect functions in .opd
23895         section.
23896
23897 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
23898
23899         [BZ #13881]
23900         * sysdeps/x86/fpu/powl_helper.c: New file.
23901         * sysdeps/x86/fpu/Makefile: Likewise.
23902         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
23903         (p3): New object.
23904         (__ieee754_powl): Use __powl_helper for finite arguments except
23905         integer exponents below 8.
23906         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
23907         (p3): New object.
23908         (__ieee754_powl): Use __powl_helper for finite arguments except
23909         integer exponents below 8.
23910         * math/libm-test.inc (pow_test): Add more tests and enable some
23911         previously disabled tests.
23912         * sysdeps/i386/fpu/libm-test-ulps: Update.
23913         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23914
23915 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
23916             Carlos O'Donell  <carlos_odonell@mentor.com>
23917
23918         * nss/makedb.c (is_prime): Assert that input is odd and greater
23919         than 4.  Note that fact in a comment too.
23920         (next_prime): Add 4 to input.
23921
23922 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
23923
23924         [BZ #11741]
23925         * libio/Makefile (tests): Add test case tst-fwrite-error.
23926         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
23927         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
23928         * libio/tst-fwrite-error.c: New test case.
23929
23930 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
23931
23932         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
23933         before casting to void *.
23934         * include/libc-internal.h (__pointer_type): New macro.
23935         (__integer_if_pointer_type_sub): Likewise.
23936         (__integer_if_pointer_type): Likewise.
23937         (cast_to_integer): Likewise.
23938         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
23939         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
23940         before casting to atomic64_t.
23941         (atomic_exchange_acq): Likewise.
23942         (__arch_exchange_and_add_body): Likewise.
23943         (__arch_add_body): Likewise.
23944         (atomic_add_negative): Likewise.
23945         (atomic_add_zero): Likewise.
23946
23947 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
23948
23949         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
23950         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
23951         (add_fdes): Likewise.
23952         (linear_search_fdes): Likewise.
23953         (binary_search_unencoded_fdes): Likewise.
23954
23955 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
23956
23957         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
23958
23959 2012-11-24  Adam Conrad  <adconrad@0c3.net>
23960
23961         * configure.in: Autodetect C++ header directories.
23962         * configure: Regenerated.
23963
23964 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
23965
23966         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
23967
23968 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
23969
23970         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23971
23972 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
23973
23974         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
23975         LDBL_MANT_DIG == 106]: Disable some tests.
23976         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23977         Likewise.
23978         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
23979         Likewise.
23980
23981         [BZ #14871]
23982         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
23983         input for small inputs.  Return +/- pi/2 for large inputs.
23984         * math/libm-test.inc (atan_test): Add more tests.
23985
23986         * sysdeps/generic/unwind-dw2-fde-glibc.c
23987         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
23988         __attribute__ ((unused)).
23989
23990         [BZ #14645]
23991         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
23992         x * y if x and y are nonzero and z is zero.
23993
23994         [BZ #14811]
23995         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
23996         nonzero exponents with absolute value below 0x1p-117 to +/-
23997         0x1p-117.
23998
23999         [BZ #14869]
24000         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
24001         up arguments below 2**-450, not just those below 2**-500.
24002         * math/libm-test.inc (hypot_test): Add another test.
24003
24004         [BZ #14868]
24005         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
24006         Return a+b for ratio over 2**120, not 2**60.
24007         * math/libm-test.inc (hypot_test): Add another test.
24008
24009         * math/libm-test.inc (clog_test): Use
24010         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
24011         (clog10_test): Likewise.
24012
24013         [BZ #6778]
24014         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
24015
24016 2012-11-22  Andreas Schwab  <schwab@suse.de>
24017
24018         * sysdeps/i386/fpu/libm-test-ulps: Update.
24019
24020 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
24021
24022         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
24023         printf output with newline.
24024
24025 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
24026
24027         [BZ #14865]
24028         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
24029         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
24030         -z nodlopen, -z initfirst and -z execstack support.
24031         * configure: Regenerated.
24032
24033         * elf/elf.h (DF_1_NODIRECT): New macro.
24034         (DF_1_IGNMULDEF): Likewise.
24035         (DF_1_NOKSYMS): Likewise.
24036         (DF_1_NOHDR): Likewise.
24037         (DF_1_EDITED): Likewise.
24038         (DF_1_NORELOC): Likewise.
24039         (DF_1_SYMINTPOSE): Likewise.
24040         (DF_1_GLOBAUDIT): Likewise.
24041         (DF_1_SINGLETON): Likewise.
24042         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
24043         DT_1_SUPPORTED_MASK bits.
24044         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
24045
24046 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
24047
24048         * sysdeps/unix/make-syscalls.sh: Document prefixes.
24049
24050 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
24051
24052         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
24053         macro.
24054
24055         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
24056         (sendmmsg): Move declarations...
24057         * socket/sys/socket.h: ... here.
24058         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
24059         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
24060         include it from...
24061         * socket/recvmmsg.c: ... this new file.
24062         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
24063         (sendmmsg): Rename to __sendmmsg, create weak alias and make
24064         definition of __sendmmsg hidden.
24065         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
24066         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
24067         Move ENOSYS stub into and include it from...
24068         * socket/sendmmsg.c: ... this new file.
24069         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
24070         (sysdep_routines): Move recvmmsg and sendmmsg...
24071         * socket/Makefile (routines): ... here.
24072         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
24073         (GLIBC_PRIVATE): Add __sendmmsg.
24074         * include/sys/socket.h (__sendmmsg): Add declarations.
24075         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
24076         sendmmsg.
24077
24078 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
24079
24080         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
24081         variable I1 with __attribute__ ((unused)).
24082         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
24083
24084 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24085
24086         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
24087         DUMMY variables with __attribute__ ((unused)).
24088
24089         * bits/byteswap.h: Include <bits/types.h>.
24090         (__bswap_64): Use __uint64_t instead of unsigned long long int.
24091
24092 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24093
24094         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
24095         string_t.  Do not manually set errno.
24096         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
24097         length with __strnlen.  Make sure to both set errno and return it on
24098         failure.
24099
24100 2012-11-19  David S. Miller  <davem@davemloft.net>
24101
24102         With help from Joseph Myers.
24103         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
24104         very large arguments properly.
24105         * math/libm-test.inc (atan_test): New tests.
24106         (atan2_test): New tests.
24107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24108         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24109
24110 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
24111
24112         [BZ #14856]
24113         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
24114         Define to 3.
24115
24116         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
24117         [POSIX] (EADDRNOTAVAIL): Likewise.
24118         [POSIX] (EAFNOSUPPORT): Likewise.
24119         [POSIX] (EALREADY): Likewise.
24120         [POSIX] (ECONNABORTED): Likewise.
24121         [POSIX] (ECONNREFUSED): Likewise.
24122         [POSIX] (ECONNRESET): Likewise.
24123         [POSIX] (EDESTADDRREQ): Likewise.
24124         [POSIX] (EDQUOT): Likewise.
24125         [POSIX] (EHOSTUNREACH): Likewise.
24126         [POSIX] (EIDRM): Likewise.
24127         [POSIX] (EISCONN): Likewise.
24128         [POSIX] (ELOOP): Likewise.
24129         [POSIX] (EMULTIHOP): Likewise.
24130         [POSIX] (ENETDOWN): Likewise.
24131         [POSIX] (ENETUNREACH): Likewise.
24132         [POSIX] (ENOBUFS): Likewise.
24133         [POSIX] (ENODATA): Likewise.
24134         [POSIX] (ENOLINK): Likewise.
24135         [POSIX] (ENOMSG): Likewise.
24136         [POSIX] (ENOPROTOOPT): Likewise.
24137         [POSIX] (ENOSR): Likewise.
24138         [POSIX] (ENOSTR): Likewise.
24139         [POSIX] (ENOTCONN): Likewise.
24140         [POSIX] (ENOTSOCK): Likewise.
24141         [POSIX] (EOPNOTSUPP): Likewise.
24142         [POSIX] (EOVERFLOW): Likewise.
24143         [POSIX] (EPROTO): Likewise.
24144         [POSIX] (EPROTONOSUPPORT): Likewise.
24145         [POSIX] (EPROTOTYPE): Likewise.
24146         [POSIX] (ESTALE): Likewise.
24147         [POSIX] (ETIME): Likewise.
24148         [POSIX] (ETXTBSY): Likewise.
24149         [POSIX] (EWOULDBLOCK): Likewise.
24150         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
24151         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
24152         [POSIX] (SEEK_CUR): Likewise.
24153         [POSIX] (SEEK_END): Likewise.
24154         [POSIX || UNIX98] (mode_t): Do not require.
24155         [POSIX] (off_t): Likewise.
24156         [POSIX] (pid_t): Likewise.
24157         [POSIX] (sys/stat.h): Do not allow header.
24158         [POSIX] (unistd.h): Likewise.
24159         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
24160         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
24161         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
24162         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
24163         require.
24164         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
24165         sigevent): Specify elements.
24166         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
24167         entry.
24168         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
24169         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
24170
24171         * conform/data/cpio.h-data [POSIX]: Disable whole file.
24172         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
24173         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
24174         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
24175         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
24176         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
24177         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
24178         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
24179         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
24180         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
24181         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
24182         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
24183         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
24184         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
24185         Likewise.
24186         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
24187         Likewise.
24188         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
24189         Likewise.
24190         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
24191         Likewise.
24192         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
24193         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
24194         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
24195         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
24196         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
24197         Specify lower bound on value.
24198         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
24199         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
24200         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
24201         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
24202         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
24203         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
24204         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
24205         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
24206         value.
24207         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
24208         as optional.
24209         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
24210         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
24211         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
24212         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
24213         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
24214         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
24215         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
24216         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
24217         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
24218         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
24219         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
24220         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
24221         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
24222         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
24223         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
24224         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
24225         entry.
24226         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
24227         optional.
24228         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
24229         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
24230         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
24231         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
24232         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
24233         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
24234         Likewise.
24235         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
24236         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
24237         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
24238         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
24239         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
24240         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
24241         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
24242         as optional.
24243         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
24244         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
24245         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
24246         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
24247         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
24248         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
24249         specify as optional.
24250         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
24251         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
24252         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
24253         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
24254         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
24255         [XPG3] (NL_LANGMAX): Likewise.
24256         [POSIX || XPG3] (NL_MSGMAX): Likewise.
24257         [POSIX || XPG3] (NL_NMAX): Likewise.
24258         [POSIX || XPG3] (NL_SETMAX): Likewise.
24259         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
24260         [XPG3] (NZERO): Likewise.
24261         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
24262         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
24263         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
24264         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
24265         (REG_ERANGE): Expect.
24266         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
24267         optional-constant.
24268         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
24269         Use (void) in prototype.
24270         [POSIX] (*_t): Allow.
24271         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
24272         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
24273         (WRDE_BADVAL): Expect.
24274
24275         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
24276         expect.
24277         [XPG3 || XPG4] (O_RSYNC): Likewise.
24278         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
24279         Likewise.
24280         [XPG3 || XPG4] (pthread_sigmask): Likewise.
24281         [XPG3 || XPG4] (sigqueue): Likewise.
24282         [XPG3 || XPG4] (sigtimedwait): Likewise.
24283         [XPG3 || XPG4] (sigwaitinfo): Likewise.
24284         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
24285         [XPG3 || XPG4] (vsnprintf): Likewise.
24286         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
24287         Likewise.
24288         [XPG3 || XPG4] (blksize_t): Likewise.
24289         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
24290         Likewise.
24291         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
24292         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
24293         [XPG3 || XPG4] (struct itimerspec): Likewise.
24294         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
24295         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
24296         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
24297         [XPG3 || XPG4] (clockid_t): Likewise.
24298         [XPG3 || XPG4] (timer_t): Likewise.
24299         [XPG3 || XPG4] (clock_getres): Likewise.
24300         [XPG3 || XPG4] (clock_gettime): Likewise.
24301         [XPG3 || XPG4] (clock_settime): Likewise.
24302         [XPG3 || XPG4] (nanosleep): Likewise.
24303         [XPG3 || XPG4] (timer_create): Likewise.
24304         [XPG3 || XPG4] (timer_delete): Likewise.
24305         [XPG3 || XPG4] (timer_gettime): Likewise.
24306         [XPG3 || XPG4] (timer_getoverrun): Likewise.
24307         [XPG3 || XPG4] (timer_settime): Likewise.
24308         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
24309         [XPG3 || XPG4] (getlogin_r): Likewise.
24310         [XPG3 || XPG4] (pread): Likewise.
24311         [XPG3 || XPG4] (pthread_atfork): Likewise.
24312         [XPG3 || XPG4] (pwrite): Likewise.
24313
24314         [BZ #14835]
24315         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
24316         <bits/siginfo.h>.
24317
24318 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
24319
24320         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
24321         finalizing MALLSTREAM.
24322
24323         * sysdeps/mach/hurd/syncfs.c: New file.
24324
24325 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24326
24327         [BZ #14719]
24328         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
24329         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
24330         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
24331         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
24332         (_nss_dns_gethostbyname4_r): Likewise.
24333         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
24334         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
24335
24336 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
24337
24338         [BZ #13763]
24339         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
24340
24341 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
24342
24343         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
24344         * elf/cache.c (print_entry): Print ",AArch64" for
24345         FLAG_AARCH64_LIB64
24346
24347         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
24348         * elf/cache.c (print_entry): Print ",hard-float" for
24349         FLAG_ARM_LIBHF.
24350
24351 2012-11-18  David S. Miller  <davem@davemloft.net>
24352
24353         With help from Joseph Myers.
24354         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
24355         cutoff to 2**-13.
24356         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
24357         cutoff to 2**-25.
24358         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
24359         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
24360         small.
24361         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
24362         * math/libm-test.inc (y0_test): New tests.
24363         (y1_test): New tests.
24364         * sysdeps/i386/fpu/libm-test-ulps: Update.
24365         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24366         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24367
24368 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
24369
24370         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
24371         64-bit targets.
24372         * configure: Regenerated.
24373
24374 2012-11-17  David S. Miller  <davem@davemloft.net>
24375
24376         [BZ #14811]
24377         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
24378         nonzero exponents with absolute value below 0x1p-128 to +/-
24379         0x1p-128.
24380
24381 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
24382
24383         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
24384
24385         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
24386
24387         * posix/getconf-speclist.c: New file.
24388         * posix/posix-envs.def: Likewise.
24389         * posix/confstr.c (START_ENV_GROUP): New macro.
24390         (END_ENV_GROUP): Likewise.
24391         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24392         (KNOWN_PRESENT_ENV_STRING): Likewise.
24393         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24394         (UNKNOWN_ENVIRONMENT): Likewise.
24395         (confstr): Include posix-envs.def instead of handling
24396         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
24397         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
24398         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
24399         (END_ENV_GROUP): Likewise.
24400         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
24401         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
24402         (UNKNOWN_ENVIRONMENT): Likewise.
24403         (__sysconf): Include posix-envs.def instead of handling associated
24404         cases directly here.
24405         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
24406         preprocessing getconf-speclist.c rather than running getconf or
24407         generating empty file.
24408
24409 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
24410
24411         * scripts/check-local-headers.sh: Ignore 'mach' headers.
24412
24413 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
24414
24415         [BZ #14672]
24416         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
24417
24418 2012-11-16  David S. Miller  <davem@davemloft.net>
24419
24420         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
24421         smaller than LDBL_EPSILON/2.0L, just return xm1.
24422
24423 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
24424
24425         * elf/tst-array1.c (init): Set constructor priority to 1000.
24426         (fini): Set destructor priority to 1000.
24427         * elf/tst-array2dep.c: Likewise.
24428
24429 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24430
24431         [BZ #11741]
24432         * libio/fileops.c (_IO_new_file_write): Correctly return error.
24433         (_IO_new_file_xsputn): Also return EOF if none of the input
24434         data was written when overflow failed.
24435         * libio/iopadn.c (_IO_padn): Likewise.
24436         * libio/iowpadn.c (_IO_wpadn): Likewise.
24437         * stdio-common/tst-put-error.c: Add copyright notice.
24438         (do_test): Add case for printing padded string.
24439         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
24440         _IO_padn returned error.
24441         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
24442         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
24443         return EOF.
24444
24445 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
24446
24447         * libio/libioP.h: Add comment note that the references to C++
24448         bits are now obsolete.
24449
24450 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24451
24452         * math/libm-test.inc (check_complex): Use asprintf.
24453
24454 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
24455
24456         * debug/pcprofiledump.c (print_version): Update copyright year.
24457         * malloc/memusagestat.c (print_version): Likewise.
24458
24459 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
24460
24461         [BZ #14831]
24462         * elf/Makefile (tests): Add tst-audit8.
24463         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
24464         ($(objpfx)tst-audit8.out): New target.
24465         (tst-audit8-ENV): New variable.
24466         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
24467         audit if l_reloc_result is NULL.
24468         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
24469         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
24470         * elf/tst-audit8.c: New file.
24471
24472 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24473
24474         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
24475         * misc/Makefile (CFLAGS-select.c): Define.
24476         * posix/Makefile (CFLAGS-pause.c): Define.
24477
24478 2012-11-13  David S. Miller  <davem@davemloft.net>
24479
24480         * crypt/Makefile: Move test targets after toplevel Rules
24481         inclusion.  Grab any necessary sysdep routines when linking.
24482         * crypt/md5.c (md5_process_block): Remove define, we will always
24483         name it __md5_process_block.
24484         (md5_finish_ctx): Update md5_process_block call.
24485         (md5_stream): Likewise.
24486         (md5_process_bytes): Likewise.
24487         (md5_process_block): Rename to __md5_process_block and move to ...
24488         * crypt/md5-block.c: ... here.
24489         * crypt/sha256.c (sha256_process_block): Move to ...
24490         * crypt/sha256-block.c: ... here.
24491         * crypt/sha512.c (sha512_process_block): Move to ...
24492         * crypt/sha512-block.c: ... here.
24493         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
24494         path.
24495         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
24496         * sysdeps/sparc/sparc64/multiarch/Makefile
24497         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
24498         crypt subdir.
24499         (localedef-aux): Add md5 crypto assembler when in locale subdir.
24500         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
24501         multiarch changes.
24502         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
24503         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
24504         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
24505         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
24506         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
24507         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
24508         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
24509         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
24510         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
24511         file.
24512         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
24513         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
24514         file.
24515         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
24516
24517 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
24518
24519         * timezone/tzselect.ksh: Update from tzcode git revision
24520         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
24521         * timezone/zdump.c: Likewise.
24522         * timezone/zic.c: Likewise.
24523         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
24524         in TZVERSION setting, not $(PKGVERSION).
24525         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
24526         REPORT_BUGS_TO settings.
24527
24528         [BZ #14838]
24529         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
24530         macro.
24531
24532 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24533
24534         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
24535         detection to immediately after _FP_ROUND().
24536         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
24537         bits are 0.
24538
24539 2012-11-11  David S. Miller  <davem@davemloft.net>
24540
24541         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
24542         inttypes.h
24543         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
24544         __close rather than their public counterparts.
24545
24546 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
24547
24548         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
24549         file.
24550         [UNIX98] (sem_timedwait): Do not expect.
24551         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
24552         [XPG4 || UNIX98] (sockatmark): Do not expect.
24553         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
24554         (clock_getcpuclockid): Do not expect.
24555         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
24556         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
24557         Do not expect.
24558         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
24559         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
24560         [UNIX98] (vwscanf): Likewise.
24561         [UNIX98] (vswscanf): Likewise.
24562
24563 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
24564
24565         * timezone/version.h: Remove file.
24566         * timezone/README: Do not refer to version.h.
24567         * timezone/Makefile ($(objpfx)zic.o): New dependency on
24568         $(objpfx)version.h.
24569         ($(objpfx)zdump.o): Likewise.
24570         ($(objpfx)version.h): New target.
24571
24572         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
24573         2012i.
24574         * timezone/README: Don't mention modification to tzselect.ksh.
24575         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
24576         work on unmodified tzselect.ksh.  Substitute version numbers in
24577         tzselect.ksh.
24578
24579         * Makefile (format-me): Remove.
24580         (INSTALL): Adjust indentation.  Use commands directly instead of
24581         using $(format-me).
24582
24583         * aclocal.m4 (ACX_PKGVERSION): New macro.
24584         (ACX_BUGURL): Likewise.
24585         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
24586         (PKGVERSION): New AC_DEFINE_UNQUOTED.
24587         (REPORT_BUGS_TO): Likewise.
24588         * configure: Regenerated.
24589         * config.h.in (PKGVERSION): New macro.
24590         (REPORT_BUGS_TO): Likewise.
24591         * config.make.in (PKGVERSION): New variable.
24592         (PKGVERSION_TEXI): Likewise.
24593         (REPORT_BUGS_TO): Likewise.
24594         (REPORT_BUGS_TEXI): Likewise.
24595         * Makefile (format-me): Use -I$(common-objpfx)manual.
24596         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
24597         ($(common-objpfx)manual/%): New target.
24598         (manual/%): Remove target.
24599         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
24600         (print_version): Use PKGVERSION.
24601         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
24602         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
24603         and REPORT_BUGS_TO.
24604         ($(objpfx)xtrace): Likewise.
24605         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
24606         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
24607         (print_version): Use PKGVERSION.
24608         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
24609         (do_version): Use PKGVERSION.
24610         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
24611         REPORT_BUGS_TO.
24612         (common-ldd-rewrite): Likewise.
24613         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
24614         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
24615         (print_version): Use PKGVERSION.
24616         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
24617         * elf/pldd.c (argp_program_bug_address): Remove variable.
24618         (more_help): New function.
24619         (argp): Use more_help.
24620         (print_version): Use PKGVERSION.
24621         * elf/sln.c (main): Use PKGVERSION.
24622         (usage): Use REPORT_BUGS_TO.
24623         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
24624         (top level): Use PKGVERSION.
24625         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
24626         (print_version): Use PKGVERSION.
24627         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
24628         (print_version): Use PKGVERSION.
24629         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
24630         (print_version): Use PKGVERSION.
24631         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
24632         (print_version): Use PKGVERSION.
24633         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
24634         (print_version): Use PKGVERSION.
24635         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
24636         (print_version): Use PKGVERSION.
24637         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
24638         and BUGURL.
24639         ($(objpfx)memusage): Likewise.
24640         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
24641         (do_version): Use PKGVERSION.
24642         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
24643         (print_version): Use PKGVERSION.
24644         * malloc/mtrace.pl ($PACKAGE): Remove variable.
24645         ($PKGVERSION): New variable.
24646         ($REPORT_BUGS_TO): Likewise.
24647         (usage): Use $REPORT_BUGS_TO.
24648         (top level): Use $PKGVERSION.
24649         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
24650         ($(objpfx)pkgvers.texi): New rule.
24651         ($(objpfx)stamp-pkgvers): Likewise.
24652         * manual/install.texi: Include pkgvers.texi.
24653         (--with-pkgversion): Document new configure option.
24654         (--with-bugurl): Likewise.
24655         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
24656         than necessarily for this particular distribution.  Use
24657         REPORT_BUGS_TO for where to report bugs.
24658         * INSTALL: Regenerated.
24659         * manual/libc.texinfo: Include pkgvers.texi.
24660         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
24661         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
24662         (print_version): Use PKGVERSION.
24663         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
24664         (print_version): Use PKGVERSION.
24665         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
24666         (print_version): Use PKGVERSION.
24667         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
24668         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
24669         macro.
24670         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
24671         (print_version): Use PKGVERSION.
24672         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
24673         (print_version): Use PKGVERSION.
24674         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
24675         and PKGVERSION.
24676
24677         * timezone/checktab.awk: Update from tzcode 2012i.
24678         * timezone/ialloc.c: Likewise.
24679         * timezone/private.h: Likewise.
24680         * timezone/scheck.c: Likewise.
24681         * timezone/tzfile.h: Likewise.
24682         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
24683         (TZVERSION): Hardcode tzcode version number.
24684         * timezone/zdump.c: Update from tzcode 2012i.
24685         * timezone/zic.c: Likewise.
24686         * timezone/version.h: New file.
24687         * timezone/README: Describe version.h.  Update upstream location.
24688
24689         [BZ #14824]
24690         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
24691         (mktemp): Enable declaration.
24692         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
24693         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
24694         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
24695         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
24696         Likewise.
24697         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
24698         Likewise.
24699         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
24700         Likewise.
24701         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
24702         Likewise.
24703         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
24704         Likewise.
24705         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
24706         Likewise.
24707
24708         [BZ #14821]
24709         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
24710         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
24711         for copies of such integer values.
24712         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
24713         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
24714
24715 2012-11-09  Andreas Jaeger  <aj@suse.de>
24716
24717         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
24718         definitions and declarations that are provided by
24719         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24720
24721 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24722
24723         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
24724         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
24725         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
24726         definition.
24727
24728 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
24729
24730         * elf/elf.h: Update comment before AArch64 relocations.
24731
24732 2012-11-07  David S. Miller  <davem@davemloft.net>
24733
24734         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
24735         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
24736         (__start_context): Declare.
24737         (__makecontext_ret): Delete.
24738         (__makecontext): Hook up __start_context instead of
24739         __makecontext_ret.
24740         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
24741         (sysdep_routines): Add __start_context when in stdlib.
24742
24743 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24744
24745         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
24746         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
24747         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
24748         hardcoded "nm".
24749         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
24750         (READELF): New variable.  Use it instead of hardcoded "readelf".
24751
24752 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
24753
24754         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
24755         * sysdeps/x86/Makefile: Here.
24756         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
24757         * sysdeps/x86/tst-xmmymm.sh: This.
24758
24759 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
24760
24761         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
24762         expectations.
24763         [UNIX98] (pthread_barrier_t): Do not expect.
24764         [UNIX98] (pthread_barrierattr_t): Likewise.
24765         [UNIX98] (pthread_spinlock_t): Likewise.
24766         [UNIX98] (pthread_barrier_destroy): Likewise.
24767         [UNIX98] (pthread_barrier_init): Likewise.
24768         [UNIX98] (pthread_barrier_wait): Likewise.
24769         [UNIX98] (pthread_barrierattr_destroy): Likewise.
24770         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
24771         [UNIX98] (pthread_barrierattr_init): Likewise.
24772         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
24773         [UNIX98] (pthread_getcpuclockid): Likewise.
24774         [UNIX98] (pthread_mutex_timedlock): Likewise.
24775         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
24776         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
24777         [UNIX98] (pthread_sigmask): Likewise.
24778         [UNIX98] (pthread_spin_destroy): Likewise.
24779         [UNIX98] (pthread_spin_init): Likewise.
24780         [UNIX98] (pthread_spin_lock): Likewise.
24781         [UNIX98] (pthread_spin_trylock): Likewise.
24782         [UNIX98] (pthread_spin_unlock): Likewise.
24783         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
24784         Do not expect.
24785         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
24786         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
24787         [XPG3 || XPG4] (pthread_cond_t): Likewise.
24788         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
24789         [XPG3 || XPG4] (pthread_key_t): Likewise.
24790         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
24791         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
24792         [XPG3 || XPG4] (pthread_once_t): Likewise.
24793         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
24794         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
24795         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
24796         [XPG3 || XPG4] (pthread_t): Likewise.
24797
24798         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
24799         not expect.
24800         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
24801
24802         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
24803         Change function return type to int.
24804
24805         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
24806         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
24807         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
24808         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
24809         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
24810         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
24811         [!POSIX] (posix_madvise): Likewise.
24812         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
24813         && !UNIX98].
24814         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
24815         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
24816         (mode_t): Likewise.
24817         (posix_mem_offset): Likewise.
24818         (posix_typed_mem_get_info): Likewise.
24819         (posix_typed_mem_open): Likewise.
24820
24821         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
24822         Change condition to [XOPEN2K8].
24823
24824         * conform/conformtest.pl: Preprocess allow-header data with -x c
24825         instead of from stdin.
24826         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
24827         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
24828         [C99-based standards] (cerfc): Likewise.
24829         [C99-based standards] (cexp2): Likewise.
24830         [C99-based standards] (cexpm1): Likewise.
24831         [C99-based standards] (clog10): Likewise.
24832         [C99-based standards] (clog1p): Likewise.
24833         [C99-based standards] (clog2): Likewise.
24834         [C99-based standards] (clgamma): Likewise.
24835         [C99-based standards] (ctgamma): Likewise.
24836         [C99-based standards] (cerff): Likewise.
24837         [C99-based standards] (cerfcf): Likewise.
24838         [C99-based standards] (cexp2f): Likewise.
24839         [C99-based standards] (cexpm1f): Likewise.
24840         [C99-based standards] (clog10f): Likewise.
24841         [C99-based standards] (clog1pf): Likewise.
24842         [C99-based standards] (clog2f): Likewise.
24843         [C99-based standards] (clgammaf): Likewise.
24844         [C99-based standards] (ctgammaf): Likewise.
24845         [C99-based standards] (cerfl): Likewise.
24846         [C99-based standards] (cerfcl): Likewise.
24847         [C99-based standards] (cexp2l): Likewise.
24848         [C99-based standards] (cexpm1l): Likewise.
24849         [C99-based standards] (clog10l): Likewise.
24850         [C99-based standards] (clog1pl): Likewise.
24851         [C99-based standards] (clog2l): Likewise.
24852         [C99-based standards] (clgammal): Likewise.
24853         [C99-based standards] (ctgammal): Likewise.
24854         * conform/data/inttypes.h-data [C99-based standards]: Include
24855         stdint.h-data.  Remove all expectations for stdint.h contents.
24856         [C99-based standards] (PRI*): Do not allow.
24857         [C99-based standards] (SCN*): Likewise.
24858         [C99-based standards] (*_t): Likewise.
24859         [C99-based-standards] (PRId8): Expect macro.
24860         [C99-based-standards] (PRIi8): Likewise.
24861         [C99-based-standards] (PRIo8): Likewise.
24862         [C99-based-standards] (PRIu8): Likewise.
24863         [C99-based-standards] (PRIx8): Likewise.
24864         [C99-based-standards] (PRIX8): Likewise.
24865         [C99-based-standards] (SCNd8): Likewise.
24866         [C99-based-standards] (SCNi8): Likewise.
24867         [C99-based-standards] (SCNo8): Likewise.
24868         [C99-based-standards] (SCNu8): Likewise.
24869         [C99-based-standards] (SCNx8): Likewise.
24870         [C99-based-standards] (PRIdLEAST8): Likewise.
24871         [C99-based-standards] (PRIiLEAST8): Likewise.
24872         [C99-based-standards] (PRIoLEAST8): Likewise.
24873         [C99-based-standards] (PRIuLEAST8): Likewise.
24874         [C99-based-standards] (PRIxLEAST8): Likewise.
24875         [C99-based-standards] (PRIXLEAST8): Likewise.
24876         [C99-based-standards] (SCNdLEAST8): Likewise.
24877         [C99-based-standards] (SCNiLEAST8): Likewise.
24878         [C99-based-standards] (SCNoLEAST8): Likewise.
24879         [C99-based-standards] (SCNuLEAST8): Likewise.
24880         [C99-based-standards] (SCNxLEAST8): Likewise.
24881         [C99-based-standards] (PRIdFAST8): Likewise.
24882         [C99-based-standards] (PRIiFAST8): Likewise.
24883         [C99-based-standards] (PRIoFAST8): Likewise.
24884         [C99-based-standards] (PRIuFAST8): Likewise.
24885         [C99-based-standards] (PRIxFAST8): Likewise.
24886         [C99-based-standards] (PRIXFAST8): Likewise.
24887         [C99-based-standards] (SCNdFAST8): Likewise.
24888         [C99-based-standards] (SCNiFAST8): Likewise.
24889         [C99-based-standards] (SCNoFAST8): Likewise.
24890         [C99-based-standards] (SCNuFAST8): Likewise.
24891         [C99-based-standards] (SCNxFAST8): Likewise.
24892         [C99-based-standards] (PRId16): Likewise.
24893         [C99-based-standards] (PRIi16): Likewise.
24894         [C99-based-standards] (PRIo16): Likewise.
24895         [C99-based-standards] (PRIu16): Likewise.
24896         [C99-based-standards] (PRIx16): Likewise.
24897         [C99-based-standards] (PRIX16): Likewise.
24898         [C99-based-standards] (SCNd16): Likewise.
24899         [C99-based-standards] (SCNi16): Likewise.
24900         [C99-based-standards] (SCNo16): Likewise.
24901         [C99-based-standards] (SCNu16): Likewise.
24902         [C99-based-standards] (SCNx16): Likewise.
24903         [C99-based-standards] (PRIdLEAST16): Likewise.
24904         [C99-based-standards] (PRIiLEAST16): Likewise.
24905         [C99-based-standards] (PRIoLEAST16): Likewise.
24906         [C99-based-standards] (PRIuLEAST16): Likewise.
24907         [C99-based-standards] (PRIxLEAST16): Likewise.
24908         [C99-based-standards] (PRIXLEAST16): Likewise.
24909         [C99-based-standards] (SCNdLEAST16): Likewise.
24910         [C99-based-standards] (SCNiLEAST16): Likewise.
24911         [C99-based-standards] (SCNoLEAST16): Likewise.
24912         [C99-based-standards] (SCNuLEAST16): Likewise.
24913         [C99-based-standards] (SCNxLEAST16): Likewise.
24914         [C99-based-standards] (PRIdFAST16): Likewise.
24915         [C99-based-standards] (PRIiFAST16): Likewise.
24916         [C99-based-standards] (PRIoFAST16): Likewise.
24917         [C99-based-standards] (PRIuFAST16): Likewise.
24918         [C99-based-standards] (PRIxFAST16): Likewise.
24919         [C99-based-standards] (PRIXFAST16): Likewise.
24920         [C99-based-standards] (SCNdFAST16): Likewise.
24921         [C99-based-standards] (SCNiFAST16): Likewise.
24922         [C99-based-standards] (SCNoFAST16): Likewise.
24923         [C99-based-standards] (SCNuFAST16): Likewise.
24924         [C99-based-standards] (SCNxFAST16): Likewise.
24925         [C99-based-standards] (PRId32): Likewise.
24926         [C99-based-standards] (PRIi32): Likewise.
24927         [C99-based-standards] (PRIo32): Likewise.
24928         [C99-based-standards] (PRIu32): Likewise.
24929         [C99-based-standards] (PRIx32): Likewise.
24930         [C99-based-standards] (PRIX32): Likewise.
24931         [C99-based-standards] (SCNd32): Likewise.
24932         [C99-based-standards] (SCNi32): Likewise.
24933         [C99-based-standards] (SCNo32): Likewise.
24934         [C99-based-standards] (SCNu32): Likewise.
24935         [C99-based-standards] (SCNx32): Likewise.
24936         [C99-based-standards] (PRIdLEAST32): Likewise.
24937         [C99-based-standards] (PRIiLEAST32): Likewise.
24938         [C99-based-standards] (PRIoLEAST32): Likewise.
24939         [C99-based-standards] (PRIuLEAST32): Likewise.
24940         [C99-based-standards] (PRIxLEAST32): Likewise.
24941         [C99-based-standards] (PRIXLEAST32): Likewise.
24942         [C99-based-standards] (SCNdLEAST32): Likewise.
24943         [C99-based-standards] (SCNiLEAST32): Likewise.
24944         [C99-based-standards] (SCNoLEAST32): Likewise.
24945         [C99-based-standards] (SCNuLEAST32): Likewise.
24946         [C99-based-standards] (SCNxLEAST32): Likewise.
24947         [C99-based-standards] (PRIdFAST32): Likewise.
24948         [C99-based-standards] (PRIiFAST32): Likewise.
24949         [C99-based-standards] (PRIoFAST32): Likewise.
24950         [C99-based-standards] (PRIuFAST32): Likewise.
24951         [C99-based-standards] (PRIxFAST32): Likewise.
24952         [C99-based-standards] (PRIXFAST32): Likewise.
24953         [C99-based-standards] (SCNdFAST32): Likewise.
24954         [C99-based-standards] (SCNiFAST32): Likewise.
24955         [C99-based-standards] (SCNoFAST32): Likewise.
24956         [C99-based-standards] (SCNuFAST32): Likewise.
24957         [C99-based-standards] (SCNxFAST32): Likewise.
24958         [C99-based-standards] (PRId64): Likewise.
24959         [C99-based-standards] (PRIi64): Likewise.
24960         [C99-based-standards] (PRIo64): Likewise.
24961         [C99-based-standards] (PRIu64): Likewise.
24962         [C99-based-standards] (PRIx64): Likewise.
24963         [C99-based-standards] (PRIX64): Likewise.
24964         [C99-based-standards] (SCNd64): Likewise.
24965         [C99-based-standards] (SCNi64): Likewise.
24966         [C99-based-standards] (SCNo64): Likewise.
24967         [C99-based-standards] (SCNu64): Likewise.
24968         [C99-based-standards] (SCNx64): Likewise.
24969         [C99-based-standards] (PRIdLEAST64): Likewise.
24970         [C99-based-standards] (PRIiLEAST64): Likewise.
24971         [C99-based-standards] (PRIoLEAST64): Likewise.
24972         [C99-based-standards] (PRIuLEAST64): Likewise.
24973         [C99-based-standards] (PRIxLEAST64): Likewise.
24974         [C99-based-standards] (PRIXLEAST64): Likewise.
24975         [C99-based-standards] (SCNdLEAST64): Likewise.
24976         [C99-based-standards] (SCNiLEAST64): Likewise.
24977         [C99-based-standards] (SCNoLEAST64): Likewise.
24978         [C99-based-standards] (SCNuLEAST64): Likewise.
24979         [C99-based-standards] (SCNxLEAST64): Likewise.
24980         [C99-based-standards] (PRIdFAST64): Likewise.
24981         [C99-based-standards] (PRIiFAST64): Likewise.
24982         [C99-based-standards] (PRIoFAST64): Likewise.
24983         [C99-based-standards] (PRIuFAST64): Likewise.
24984         [C99-based-standards] (PRIxFAST64): Likewise.
24985         [C99-based-standards] (PRIXFAST64): Likewise.
24986         [C99-based-standards] (SCNdFAST64): Likewise.
24987         [C99-based-standards] (SCNiFAST64): Likewise.
24988         [C99-based-standards] (SCNoFAST64): Likewise.
24989         [C99-based-standards] (SCNuFAST64): Likewise.
24990         [C99-based-standards] (SCNxFAST64): Likewise.
24991         [C99-based-standards] (PRIdMAX): Likewise.
24992         [C99-based-standards] (PRIiMAX): Likewise.
24993         [C99-based-standards] (PRIoMAX): Likewise.
24994         [C99-based-standards] (PRIuMAX): Likewise.
24995         [C99-based-standards] (PRIxMAX): Likewise.
24996         [C99-based-standards] (PRIXMAX): Likewise.
24997         [C99-based-standards] (SCNdMAX): Likewise.
24998         [C99-based-standards] (SCNiMAX): Likewise.
24999         [C99-based-standards] (SCNoMAX): Likewise.
25000         [C99-based-standards] (SCNuMAX): Likewise.
25001         [C99-based-standards] (SCNxMAX): Likewise.
25002         [C99-based-standards] (PRIdPTR): Likewise.
25003         [C99-based-standards] (PRIiPTR): Likewise.
25004         [C99-based-standards] (PRIoPTR): Likewise.
25005         [C99-based-standards] (PRIuPTR): Likewise.
25006         [C99-based-standards] (PRIxPTR): Likewise.
25007         [C99-based-standards] (PRIXPTR): Likewise.
25008         [C99-based-standards] (SCNdPTR): Likewise.
25009         [C99-based-standards] (SCNiPTR): Likewise.
25010         [C99-based-standards] (SCNoPTR): Likewise.
25011         [C99-based-standards] (SCNuPTR): Likewise.
25012         [C99-based-standards] (SCNxPTR): Likewise.
25013         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
25014         allow.
25015         * conform/data/stdint.h-data: Update comments to clarify
25016         requirements.
25017         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
25018         type.
25019         [C99-based standards] (INT8_MAX): Likewise.
25020         [C99-based standards] (INT16_MIN): Likewise.
25021         [C99-based standards] (INT16_MAX): Likewise.
25022         [C99-based standards] (INT32_MIN): Likewise.
25023         [C99-based standards] (INT32_MAX): Likewise.
25024         [C99-based standards] (INT64_MIN): Likewise.
25025         [C99-based standards] (INT64_MAX): Likewise.
25026         [C99-based standards] (UINT8_MAX): Likewise.
25027         [C99-based standards] (UINT16_MAX): Likewise.
25028         [C99-based standards] (UINT32_MAX): Likewise.
25029         [C99-based standards] (UINT64_MAX): Likewise.
25030         [C99-based standards] (INT_LEAST8_MIN): Likewise.
25031         [C99-based standards] (INT_LEAST8_MAX): Likewise.
25032         [C99-based standards] (INT_LEAST16_MIN): Likewise.
25033         [C99-based standards] (INT_LEAST16_MAX): Likewise.
25034         [C99-based standards] (INT_LEAST32_MIN): Likewise.
25035         [C99-based standards] (INT_LEAST32_MAX): Likewise.
25036         [C99-based standards] (INT_LEAST64_MIN): Likewise.
25037         [C99-based standards] (INT_LEAST64_MAX): Likewise.
25038         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
25039         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
25040         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
25041         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
25042         [C99-based standards] (INT_FAST8_MIN): Likewise.
25043         [C99-based standards] (INT_FAST8_MAX): Likewise.
25044         [C99-based standards] (INT_FAST16_MIN): Likewise.
25045         [C99-based standards] (INT_FAST16_MAX): Likewise.
25046         [C99-based standards] (INT_FAST32_MIN): Likewise.
25047         [C99-based standards] (INT_FAST32_MAX): Likewise.
25048         [C99-based standards] (INT_FAST64_MIN): Likewise.
25049         [C99-based standards] (INT_FAST64_MAX): Likewise.
25050         [C99-based standards] (UINT_FAST8_MAX): Likewise.
25051         [C99-based standards] (UINT_FAST16_MAX): Likewise.
25052         [C99-based standards] (UINT_FAST32_MAX): Likewise.
25053         [C99-based standards] (UINT_FAST64_MAX): Likewise.
25054         [C99-based standards] (INTPTR_MIN): Likewise.
25055         [C99-based standards] (INTPTR_MAX): Likewise.
25056         [C99-based standards] (UINTPTR_MAX): Likewise.
25057         [C99-based standards] (INTMAX_MIN): Likewise.
25058         [C99-based standards] (INTMAX_MAX): Likewise.
25059         [C99-based standards] (UINTMAX_MAX): Likewise.
25060         [C99-based standards] (PTRDIFF_MIN): Likewise.
25061         [C99-based standards] (PTRDIFF_MAX): Likewise.
25062         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
25063         [C99-based standards] (SIZE_MAX): Likewise.
25064         [C99-based standards] (WCHAR_MAX): Likewise.
25065         [C99-based standards] (WINT_MAX): Likewise.
25066         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
25067         constraint on value.
25068         [C99-based standards] (WCHAR_MIN): Likewise.
25069         [C99-based standards] (WINT_MIN): Likewise.
25070         [C99-based standards] (*_t): Allow.
25071         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
25072         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
25073         Include math.h-data and complex.h-data.  Remove all expectations
25074         of math.h and complex.h contents.
25075         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
25076         at end of line.
25077         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
25078         (struct tm): Expect tag.
25079         [C99-based-standards] (wcstof): Expect function.
25080         [C99-based-standards] (wcstold): Likewise.
25081         [C99-based-standards] (wcstoll): Likewise.
25082         [C99-based-standards] (wcstoull): Likewise.
25083         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
25084         macro-int-constant.  Specify type.
25085         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
25086         constraint on value.
25087         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25088         Specify type.
25089         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
25090         Specify value.
25091         [ISO C standards]: Do not allow headers.
25092         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
25093         wcs[abcdefghijklmnopqrstuvwxyz]*.
25094         [ISO C standards] (*_t): Do not allow.
25095         * conform/data/wctype.h-data [C99-based standards] (iswblank):
25096         Expect function.
25097         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
25098         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
25099         Specify type.
25100         [ISO C standards]: Do not allow headers.
25101         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
25102         is[abcdefghijklmnopqrstuvwxyz]*.
25103         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
25104         to[abcdefghijklmnopqrstuvwxyz]*.
25105         [ISO C standards] (*_t): Do not allow.
25106         * conform/data/stdalign.h-data: New file.
25107         * conform/data/stdbool.h-data: Likewise.
25108         * conform/data/stdnoreturn.h-data: Likewise.
25109
25110 2012-11-07  Roland McGrath  <roland@hack.frob.com>
25111
25112         [BZ #14815]
25113         * manual/filesys.texi (Directory Entries): Typo fix.
25114         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
25115
25116 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
25117
25118         * elf/elf.h (EM_AARCH64): New macro.
25119         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
25120         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
25121         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
25122         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
25123         (R_AARCH64_TLSDESC): Likewise.
25124         (NT_ARM_TLS): Likewise.
25125         (NT_ARM_HW_BREAK): Likewise.
25126         (NT_ARM_HW_WATCH): Likewise.
25127
25128 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25129
25130         [BZ #14811]
25131         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
25132         (__ieee754_powl): Saturate nonzero exponents with absolute value
25133         below 0x1p-79 to +/- 0x1p-79.
25134         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
25135         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
25136         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
25137         nonzero exponents with absolute value below 0x1p-32 to +/-
25138         0x1p-32.
25139         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
25140         (__ieee754_powl): Saturate nonzero exponents with absolute value
25141         below 0x1p-79 to +/- 0x1p-79.
25142         * math/libm-test.inc (pow_test): Add more tests.
25143
25144 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25145
25146         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
25147         _dl_s390_cap_flags with kernel. Increase string length.
25148         (_dl_s390_platforms): Add z196 and zEC12.
25149
25150 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
25151
25152         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
25153         Change XOPEN21K to XOPEN2K.
25154
25155 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
25156
25157         * string/memmove.c: Use memcpy when possible.
25158
25159 2012-11-06  Andreas Jaeger  <aj@suse.de>
25160
25161         * po/eo.po: Update from translation team.
25162
25163 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
25164
25165         [BZ #14793]
25166         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
25167         exponent and small x and y exponents, scale x or y up.  Increase
25168         by 2 the exponent used in scaling up.
25169         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25170         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25171         * math/libm-test.inc (fma_test): Add more tests.
25172         (fma_test_towardzero): Likewise.
25173         (fma_test_downward): Likewise.
25174         (fma_test_upward): Likewise.
25175
25176 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
25177
25178         [BZ #14805]
25179         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
25180         fenv_t *.
25181
25182         [BZ #14801]
25183         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
25184         namespace for names of struct fields.
25185         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
25186         fenv_t fields.
25187         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
25188         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
25189
25190 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25191
25192         [BZ #3665]
25193         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
25194
25195 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25196
25197         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
25198         PTR_DEMANGLE.
25199
25200         [BZ #5246]
25201         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
25202         PTR_DEMANGLE.
25203
25204 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
25205
25206         [BZ #14797]
25207         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
25208         definitely overflow as x * y not x * y + z.
25209         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25210         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25211         * math/libm-test.inc (fma_test): Add more tests.
25212         (fma_test_towardzero): Likewise.
25213         (fma_test_downward): Likewise.
25214         (fma_test_upward): Likewise.
25215
25216 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
25217
25218         [BZ #157]
25219
25220         * include/stub-tag.h: Remove file.
25221         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
25222         '#include' of it.
25223         * manual/maint.texi (Porting): Don't reference it.
25224         * Makerules ($(objpfx)stubs): Likewise.
25225         * dirent/closedir.c: Don't include <stub-tag.h>.
25226         * dirent/dirfd.c: Likewise.
25227         * dirent/fdopendir.c: Likewise.
25228         * dirent/getdents.c: Likewise.
25229         * dirent/getdents64.c: Likewise.
25230         * dirent/opendir.c: Likewise.
25231         * dirent/readdir.c: Likewise.
25232         * dirent/readdir64.c: Likewise.
25233         * dirent/readdir64_r.c: Likewise.
25234         * dirent/readdir_r.c: Likewise.
25235         * dirent/rewinddir.c: Likewise.
25236         * dirent/seekdir.c: Likewise.
25237         * dirent/telldir.c: Likewise.
25238         * gmon/profil.c: Likewise.
25239         * grp/setgroups.c: Likewise.
25240         * inet/if_index.c: Likewise.
25241         * io/access.c: Likewise.
25242         * io/chdir.c: Likewise.
25243         * io/chmod.c: Likewise.
25244         * io/chown.c: Likewise.
25245         * io/close.c: Likewise.
25246         * io/dup.c: Likewise.
25247         * io/dup2.c: Likewise.
25248         * io/dup3.c: Likewise.
25249         * io/euidaccess.c: Likewise.
25250         * io/faccessat.c: Likewise.
25251         * io/fchdir.c: Likewise.
25252         * io/fchmod.c: Likewise.
25253         * io/fchmodat.c: Likewise.
25254         * io/fchown.c: Likewise.
25255         * io/fchownat.c: Likewise.
25256         * io/fcntl.c: Likewise.
25257         * io/flock.c: Likewise.
25258         * io/fstatfs.c: Likewise.
25259         * io/fstatfs64.c: Likewise.
25260         * io/fstatvfs.c: Likewise.
25261         * io/fstatvfs64.c: Likewise.
25262         * io/futimens.c: Likewise.
25263         * io/fxstat.c: Likewise.
25264         * io/fxstat64.c: Likewise.
25265         * io/fxstatat.c: Likewise.
25266         * io/fxstatat64.c: Likewise.
25267         * io/getcwd.c: Likewise.
25268         * io/isatty.c: Likewise.
25269         * io/lchmod.c: Likewise.
25270         * io/lchown.c: Likewise.
25271         * io/link.c: Likewise.
25272         * io/linkat.c: Likewise.
25273         * io/lseek.c: Likewise.
25274         * io/lseek64.c: Likewise.
25275         * io/lxstat64.c: Likewise.
25276         * io/mkdir.c: Likewise.
25277         * io/mkdirat.c: Likewise.
25278         * io/mkfifo.c: Likewise.
25279         * io/mkfifoat.c: Likewise.
25280         * io/open.c: Likewise.
25281         * io/open64.c: Likewise.
25282         * io/openat.c: Likewise.
25283         * io/openat64.c: Likewise.
25284         * io/pipe.c: Likewise.
25285         * io/pipe2.c: Likewise.
25286         * io/poll.c: Likewise.
25287         * io/posix_fadvise.c: Likewise.
25288         * io/posix_fadvise64.c: Likewise.
25289         * io/posix_fallocate.c: Likewise.
25290         * io/posix_fallocate64.c: Likewise.
25291         * io/read.c: Likewise.
25292         * io/readlink.c: Likewise.
25293         * io/readlinkat.c: Likewise.
25294         * io/rmdir.c: Likewise.
25295         * io/sendfile.c: Likewise.
25296         * io/sendfile64.c: Likewise.
25297         * io/statfs.c: Likewise.
25298         * io/statfs64.c: Likewise.
25299         * io/statvfs.c: Likewise.
25300         * io/statvfs64.c: Likewise.
25301         * io/symlink.c: Likewise.
25302         * io/symlinkat.c: Likewise.
25303         * io/ttyname.c: Likewise.
25304         * io/ttyname_r.c: Likewise.
25305         * io/umask.c: Likewise.
25306         * io/unlink.c: Likewise.
25307         * io/unlinkat.c: Likewise.
25308         * io/utime.c: Likewise.
25309         * io/utimensat.c: Likewise.
25310         * io/write.c: Likewise.
25311         * io/xmknod.c: Likewise.
25312         * io/xmknodat.c: Likewise.
25313         * io/xstat.c: Likewise.
25314         * io/xstat64.c: Likewise.
25315         * login/getpt.c: Likewise.
25316         * login/grantpt.c: Likewise.
25317         * login/unlockpt.c: Likewise.
25318         * math/e_acoshl.c: Likewise.
25319         * math/e_acosl.c: Likewise.
25320         * math/e_asinl.c: Likewise.
25321         * math/e_atan2l.c: Likewise.
25322         * math/e_atanhl.c: Likewise.
25323         * math/e_coshl.c: Likewise.
25324         * math/e_expl.c: Likewise.
25325         * math/e_fmodl.c: Likewise.
25326         * math/e_gammal_r.c: Likewise.
25327         * math/e_hypotl.c: Likewise.
25328         * math/e_j0l.c: Likewise.
25329         * math/e_j1l.c: Likewise.
25330         * math/e_jnl.c: Likewise.
25331         * math/e_lgammal_r.c: Likewise.
25332         * math/e_log10l.c: Likewise.
25333         * math/e_log2l.c: Likewise.
25334         * math/e_logl.c: Likewise.
25335         * math/e_powl.c: Likewise.
25336         * math/e_rem_pio2l.c: Likewise.
25337         * math/e_sinhl.c: Likewise.
25338         * math/e_sqrtl.c: Likewise.
25339         * math/fclrexcpt.c: Likewise.
25340         * math/fedisblxcpt.c: Likewise.
25341         * math/feenablxcpt.c: Likewise.
25342         * math/fegetenv.c: Likewise.
25343         * math/fegetexcept.c: Likewise.
25344         * math/fegetround.c: Likewise.
25345         * math/feholdexcpt.c: Likewise.
25346         * math/fesetenv.c: Likewise.
25347         * math/fesetround.c: Likewise.
25348         * math/feupdateenv.c: Likewise.
25349         * math/fgetexcptflg.c: Likewise.
25350         * math/fraiseexcpt.c: Likewise.
25351         * math/fsetexcptflg.c: Likewise.
25352         * math/ftestexcept.c: Likewise.
25353         * math/k_cosl.c: Likewise.
25354         * math/k_rem_pio2l.c: Likewise.
25355         * math/k_sinl.c: Likewise.
25356         * math/k_tanl.c: Likewise.
25357         * math/s_asinhl.c: Likewise.
25358         * math/s_atanl.c: Likewise.
25359         * math/s_cbrtl.c: Likewise.
25360         * math/s_erfl.c: Likewise.
25361         * math/s_expm1l.c: Likewise.
25362         * math/s_log1pl.c: Likewise.
25363         * math/s_tanhl.c: Likewise.
25364         * misc/acct.c: Likewise.
25365         * misc/brk.c: Likewise.
25366         * misc/chflags.c: Likewise.
25367         * misc/chroot.c: Likewise.
25368         * misc/fchflags.c: Likewise.
25369         * misc/fgetxattr.c: Likewise.
25370         * misc/flistxattr.c: Likewise.
25371         * misc/fremovexattr.c: Likewise.
25372         * misc/fsetxattr.c: Likewise.
25373         * misc/fsync.c: Likewise.
25374         * misc/ftruncate.c: Likewise.
25375         * misc/futimes.c: Likewise.
25376         * misc/futimesat.c: Likewise.
25377         * misc/getdomain.c: Likewise.
25378         * misc/getdtsz.c: Likewise.
25379         * misc/gethostid.c: Likewise.
25380         * misc/gethostname.c: Likewise.
25381         * misc/getloadavg.c: Likewise.
25382         * misc/getpagesize.c: Likewise.
25383         * misc/getsysstats.c: Likewise.
25384         * misc/getxattr.c: Likewise.
25385         * misc/gtty.c: Likewise.
25386         * misc/ioctl.c: Likewise.
25387         * misc/lgetxattr.c: Likewise.
25388         * misc/listxattr.c: Likewise.
25389         * misc/llistxattr.c: Likewise.
25390         * misc/lremovexattr.c: Likewise.
25391         * misc/lsetxattr.c: Likewise.
25392         * misc/lutimes.c: Likewise.
25393         * misc/madvise.c: Likewise.
25394         * misc/mincore.c: Likewise.
25395         * misc/mlock.c: Likewise.
25396         * misc/mlockall.c: Likewise.
25397         * misc/mmap.c: Likewise.
25398         * misc/mprotect.c: Likewise.
25399         * misc/msync.c: Likewise.
25400         * misc/munlock.c: Likewise.
25401         * misc/munlockall.c: Likewise.
25402         * misc/munmap.c: Likewise.
25403         * misc/preadv.c: Likewise.
25404         * misc/preadv64.c: Likewise.
25405         * misc/ptrace.c: Likewise.
25406         * misc/pwritev.c: Likewise.
25407         * misc/pwritev64.c: Likewise.
25408         * misc/readv.c: Likewise.
25409         * misc/reboot.c: Likewise.
25410         * misc/remap_file_pages.c: Likewise.
25411         * misc/removexattr.c: Likewise.
25412         * misc/revoke.c: Likewise.
25413         * misc/select.c: Likewise.
25414         * misc/setdomain.c: Likewise.
25415         * misc/setegid.c: Likewise.
25416         * misc/seteuid.c: Likewise.
25417         * misc/sethostid.c: Likewise.
25418         * misc/sethostname.c: Likewise.
25419         * misc/setregid.c: Likewise.
25420         * misc/setreuid.c: Likewise.
25421         * misc/setxattr.c: Likewise.
25422         * misc/sstk.c: Likewise.
25423         * misc/stty.c: Likewise.
25424         * misc/swapoff.c: Likewise.
25425         * misc/swapon.c: Likewise.
25426         * misc/sync.c: Likewise.
25427         * misc/syncfs.c: Likewise.
25428         * misc/syscall.c: Likewise.
25429         * misc/truncate.c: Likewise.
25430         * misc/ualarm.c: Likewise.
25431         * misc/usleep.c: Likewise.
25432         * misc/ustat.c: Likewise.
25433         * misc/utimes.c: Likewise.
25434         * misc/vhangup.c: Likewise.
25435         * misc/writev.c: Likewise.
25436         * posix/_exit.c: Likewise.
25437         * posix/alarm.c: Likewise.
25438         * posix/execve.c: Likewise.
25439         * posix/fexecve.c: Likewise.
25440         * posix/fork.c: Likewise.
25441         * posix/fpathconf.c: Likewise.
25442         * posix/getaddrinfo.c: Likewise.
25443         * posix/getegid.c: Likewise.
25444         * posix/geteuid.c: Likewise.
25445         * posix/getgid.c: Likewise.
25446         * posix/getgroups.c: Likewise.
25447         * posix/getlogin.c: Likewise.
25448         * posix/getlogin_r.c: Likewise.
25449         * posix/getpgid.c: Likewise.
25450         * posix/getpid.c: Likewise.
25451         * posix/getppid.c: Likewise.
25452         * posix/getresgid.c: Likewise.
25453         * posix/getresuid.c: Likewise.
25454         * posix/getsid.c: Likewise.
25455         * posix/getuid.c: Likewise.
25456         * posix/glob64.c: Likewise.
25457         * posix/nanosleep.c: Likewise.
25458         * posix/pathconf.c: Likewise.
25459         * posix/pause.c: Likewise.
25460         * posix/posix_madvise.c: Likewise.
25461         * posix/pread.c: Likewise.
25462         * posix/pread64.c: Likewise.
25463         * posix/pwrite.c: Likewise.
25464         * posix/pwrite64.c: Likewise.
25465         * posix/sched_getaffinity.c: Likewise.
25466         * posix/sched_getp.c: Likewise.
25467         * posix/sched_gets.c: Likewise.
25468         * posix/sched_primax.c: Likewise.
25469         * posix/sched_primin.c: Likewise.
25470         * posix/sched_rr_gi.c: Likewise.
25471         * posix/sched_setaffinity.c: Likewise.
25472         * posix/sched_setp.c: Likewise.
25473         * posix/sched_sets.c: Likewise.
25474         * posix/sched_yield.c: Likewise.
25475         * posix/setgid.c: Likewise.
25476         * posix/setlogin.c: Likewise.
25477         * posix/setpgid.c: Likewise.
25478         * posix/setresgid.c: Likewise.
25479         * posix/setresuid.c: Likewise.
25480         * posix/setsid.c: Likewise.
25481         * posix/setuid.c: Likewise.
25482         * posix/sleep.c: Likewise.
25483         * posix/spawni.c: Likewise.
25484         * posix/sysconf.c: Likewise.
25485         * posix/times.c: Likewise.
25486         * posix/wait.c: Likewise.
25487         * posix/wait3.c: Likewise.
25488         * posix/wait4.c: Likewise.
25489         * posix/waitpid.c: Likewise.
25490         * resolv/gai_sigqueue.c: Likewise.
25491         * resource/getpriority.c: Likewise.
25492         * resource/getrlimit.c: Likewise.
25493         * resource/getrusage.c: Likewise.
25494         * resource/nice.c: Likewise.
25495         * resource/setpriority.c: Likewise.
25496         * resource/setrlimit.c: Likewise.
25497         * resource/ulimit.c: Likewise.
25498         * rt/aio_cancel.c: Likewise.
25499         * rt/aio_fsync.c: Likewise.
25500         * rt/aio_read.c: Likewise.
25501         * rt/aio_sigqueue.c: Likewise.
25502         * rt/aio_suspend.c: Likewise.
25503         * rt/aio_write.c: Likewise.
25504         * rt/clock_getres.c: Likewise.
25505         * rt/clock_gettime.c: Likewise.
25506         * rt/clock_nanosleep.c: Likewise.
25507         * rt/clock_settime.c: Likewise.
25508         * rt/lio_listio.c: Likewise.
25509         * rt/mq_close.c: Likewise.
25510         * rt/mq_getattr.c: Likewise.
25511         * rt/mq_notify.c: Likewise.
25512         * rt/mq_open.c: Likewise.
25513         * rt/mq_receive.c: Likewise.
25514         * rt/mq_send.c: Likewise.
25515         * rt/mq_setattr.c: Likewise.
25516         * rt/mq_timedreceive.c: Likewise.
25517         * rt/mq_timedsend.c: Likewise.
25518         * rt/mq_unlink.c: Likewise.
25519         * rt/shm_open.c: Likewise.
25520         * rt/shm_unlink.c: Likewise.
25521         * rt/timer_create.c: Likewise.
25522         * rt/timer_delete.c: Likewise.
25523         * rt/timer_getoverr.c: Likewise.
25524         * rt/timer_gettime.c: Likewise.
25525         * rt/timer_settime.c: Likewise.
25526         * setjmp/__longjmp.c: Likewise.
25527         * setjmp/setjmp.c: Likewise.
25528         * signal/kill.c: Likewise.
25529         * signal/killpg.c: Likewise.
25530         * signal/raise.c: Likewise.
25531         * signal/sigaction.c: Likewise.
25532         * signal/sigaltstack.c: Likewise.
25533         * signal/sigblock.c: Likewise.
25534         * signal/sigignore.c: Likewise.
25535         * signal/sigintr.c: Likewise.
25536         * signal/signal.c: Likewise.
25537         * signal/sigpause.c: Likewise.
25538         * signal/sigpending.c: Likewise.
25539         * signal/sigqueue.c: Likewise.
25540         * signal/sigreturn.c: Likewise.
25541         * signal/sigset.c: Likewise.
25542         * signal/sigsetmask.c: Likewise.
25543         * signal/sigstack.c: Likewise.
25544         * signal/sigsuspend.c: Likewise.
25545         * signal/sigtimedwait.c: Likewise.
25546         * signal/sigvec.c: Likewise.
25547         * signal/sigwait.c: Likewise.
25548         * signal/sigwaitinfo.c: Likewise.
25549         * signal/sysv_signal.c: Likewise.
25550         * socket/accept.c: Likewise.
25551         * socket/accept4.c: Likewise.
25552         * socket/bind.c: Likewise.
25553         * socket/connect.c: Likewise.
25554         * socket/getpeername.c: Likewise.
25555         * socket/getsockname.c: Likewise.
25556         * socket/getsockopt.c: Likewise.
25557         * socket/isfdtype.c: Likewise.
25558         * socket/listen.c: Likewise.
25559         * socket/recv.c: Likewise.
25560         * socket/recvfrom.c: Likewise.
25561         * socket/recvmsg.c: Likewise.
25562         * socket/send.c: Likewise.
25563         * socket/sendmsg.c: Likewise.
25564         * socket/sendto.c: Likewise.
25565         * socket/setsockopt.c: Likewise.
25566         * socket/shutdown.c: Likewise.
25567         * socket/sockatmark.c: Likewise.
25568         * socket/socket.c: Likewise.
25569         * socket/socketpair.c: Likewise.
25570         * stdio-common/ctermid.c: Likewise.
25571         * stdio-common/cuserid.c: Likewise.
25572         * stdio-common/remove.c: Likewise.
25573         * stdio-common/rename.c: Likewise.
25574         * stdio-common/renameat.c: Likewise.
25575         * stdio-common/tempname.c: Likewise.
25576         * stdlib/getcontext.c: Likewise.
25577         * stdlib/makecontext.c: Likewise.
25578         * stdlib/setcontext.c: Likewise.
25579         * stdlib/swapcontext.c: Likewise.
25580         * stdlib/system.c: Likewise.
25581         * streams/fattach.c: Likewise.
25582         * streams/fdetach.c: Likewise.
25583         * streams/getmsg.c: Likewise.
25584         * streams/getpmsg.c: Likewise.
25585         * streams/putmsg.c: Likewise.
25586         * streams/putpmsg.c: Likewise.
25587         * sysdeps/unix/bsd/getpt.c: Likewise.
25588         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
25589         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
25590         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
25592         Likewise.
25593         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
25594         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
25595         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
25596         * sysvipc/msgctl.c: Likewise.
25597         * sysvipc/msgget.c: Likewise.
25598         * sysvipc/msgrcv.c: Likewise.
25599         * sysvipc/msgsnd.c: Likewise.
25600         * sysvipc/semctl.c: Likewise.
25601         * sysvipc/semget.c: Likewise.
25602         * sysvipc/semop.c: Likewise.
25603         * sysvipc/semtimedop.c: Likewise.
25604         * sysvipc/shmat.c: Likewise.
25605         * sysvipc/shmctl.c: Likewise.
25606         * sysvipc/shmdt.c: Likewise.
25607         * sysvipc/shmget.c: Likewise.
25608         * termios/tcdrain.c: Likewise.
25609         * termios/tcflow.c: Likewise.
25610         * termios/tcflush.c: Likewise.
25611         * termios/tcgetattr.c: Likewise.
25612         * termios/tcgetpgrp.c: Likewise.
25613         * termios/tcsendbrk.c: Likewise.
25614         * termios/tcsetattr.c: Likewise.
25615         * termios/tcsetpgrp.c: Likewise.
25616         * time/adjtime.c: Likewise.
25617         * time/clock.c: Likewise.
25618         * time/getitimer.c: Likewise.
25619         * time/gettimeofday.c: Likewise.
25620         * time/setitimer.c: Likewise.
25621         * time/settimeofday.c: Likewise.
25622         * time/stime.c: Likewise.
25623         * time/time.c: Likewise.
25624
25625 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
25626
25627         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
25628         /usr/old/bin.
25629
25630         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
25631         instead of spaces.
25632         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
25633
25634 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
25635
25636         [BZ #14796]
25637         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
25638         FE_TONEAREST before applying Dekker multiplication and Knuth
25639         addition.  Clear inexact exceptions and check for exact zero
25640         results afterwards.
25641         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25642         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25643         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25644         * math/libm-test.inc (fma_test): Add more tests.
25645         (fma_test_towardzero): Likewise.
25646         (fma_test_downward): Likewise.
25647         (fma_test_upward): Likewise.
25648         * sysdeps/generic/math_private.h (default_libc_fesetround): New
25649         function.
25650         (libc_fesetround): New macro.
25651         (libc_fesetroundf): Likewise.
25652         (libc_fesetroundl): Likewise.
25653         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
25654         function.
25655         (libc_fesetround_387): Likewise.
25656         (libc_fesetroundf): New macro.
25657         (libc_fesetround): Likewise.
25658         (libc_fesetroundl): Likewise.
25659         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
25660         function.
25661         (libc_fesetroundf): New macro.
25662         (libc_fesetround): Likewise.
25663         (libc_fesetroundl): Likewise.
25664         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
25665         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
25666         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
25667         libm_hidden_ver.
25668         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
25669         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
25670         libm_hidden_def.
25671         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
25672         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
25673         libm_hidden_ver.
25674         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
25675         libm_hidden_def.
25676
25677         [BZ #3439]
25678         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
25679         integer constant usable in #if and use that to give value to enum
25680         constant.
25681         (FE_DIVBYZERO): Likewise.
25682         (FE_UNDERFLOW): Likewise.
25683         (FE_OVERFLOW): Likewise.
25684         (FE_INVALID): Likewise.
25685         (FE_INVALID_SNAN): Likewise.
25686         (FE_INVALID_ISI): Likewise.
25687         (FE_INVALID_IDI): Likewise.
25688         (FE_INVALID_ZDZ): Likewise.
25689         (FE_INVALID_IMZ): Likewise.
25690         (FE_INVALID_COMPARE): Likewise.
25691         (FE_INVALID_SOFTWARE): Likewise.
25692         (FE_INVALID_SQRT): Likewise.
25693         (FE_INVALID_INTEGER_CONVERSION): Likewise.
25694         (FE_TONEAREST): Likewise.
25695         (FE_TOWARDZERO): Likewise.
25696         (FE_UPWARD): Likewise.
25697         (FE_DOWNWARD): Likewise.
25698         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
25699         (FE_DIVBYZERO): Likewise.
25700         (FE_OVERFLOW): Likewise.
25701         (FE_UNDERFLOW): Likewise.
25702         (FE_INEXACT): Likewise.
25703         (FE_TONEAREST): Likewise.
25704         (FE_DOWNWARD): Likewise.
25705         (FE_UPWARD): Likewise.
25706         (FE_TOWARDZERO): Likewise.
25707         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
25708         (FE_UNDERFLOW): Likewise.
25709         (FE_OVERFLOW): Likewise.
25710         (FE_DIVBYZERO): Likewise.
25711         (FE_INVALID): Likewise.
25712         (FE_TONEAREST): Likewise.
25713         (FE_TOWARDZERO): Likewise.
25714         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
25715         (FE_OVERFLOW): Likewise.
25716         (FE_UNDERFLOW): Likewise.
25717         (FE_DIVBYZERO): Likewise.
25718         (FE_INEXACT): Likewise.
25719         (FE_TONEAREST): Likewise.
25720         (FE_TOWARDZERO): Likewise.
25721         (FE_UPWARD): Likewise.
25722         (FE_DOWNWARD): Likewise.
25723         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
25724         (FE_DIVBYZERO): Likewise.
25725         (FE_OVERFLOW): Likewise.
25726         (FE_UNDERFLOW): Likewise.
25727         (FE_INEXACT): Likewise.
25728         (FE_TONEAREST): Likewise.
25729         (FE_DOWNWARD): Likewise.
25730         (FE_UPWARD): Likewise.
25731         (FE_TOWARDZERO): Likewise.
25732
25733 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
25734
25735         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
25736
25737 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
25738
25739         * scripts/cross-test-ssh.sh (command): Use newlines to separate
25740         commands.  Quote $PWD.
25741         (blacklist_exports): Don't use remove_newlines.  Replace "declare
25742         -x" by "export".
25743         (remove_newlines): Remove.
25744
25745 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
25746
25747         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
25748         * stdlib/stdlib.h (atof): Moved to ...
25749         * include/bits/stdlib-float.h: Here.  New file.
25750         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
25751         * stdlib/bits/stdlib-float.h: New file.
25752         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
25753         -mno-sse -mno-mmx.
25754         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
25755         <xmmintrin.h>.
25756
25757 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25758
25759         * conform/conformtest.pl (@headers): Add fenv.h.
25760         * conform/data/fenv.h-data: New file.
25761         * include/fenv.h [_ISOMAC]: Disable all contents of file except
25762         include of <math/fenv.h>.
25763
25764         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
25765         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
25766         && !UNIX98].  Enables tests for XOPEN2K8.
25767         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
25768         POSIX2008]: Likewise.
25769
25770         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
25771         (struct rusage): Do not expect type or its members.
25772
25773         [BZ #3439]
25774         * math/math.h (FP_NAN): Define macro to integer constant usable in
25775         #if and use that to give value to enum constant.
25776         (FP_INFINITE): Likewise.
25777         (FP_ZERO): Likewise.
25778         (FP_SUBNORMAL): Likewise.
25779         (FP_NORMAL): Likewise.
25780
25781 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
25782
25783         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
25784         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
25785         arguments.
25786
25787 2012-11-02  Roland McGrath  <roland@hack.frob.com>
25788
25789         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
25790         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
25791         autoconf-time if not.
25792         * configure.in: Remove AC_PREREQ.
25793
25794 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25795
25796         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
25797         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
25798         of the internal implementation.
25799
25800 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
25801
25802         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
25803         except include of <misc/sys/syslog.h>.
25804
25805 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25806
25807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
25808         function returns with a NULL context exit with zero.
25809
25810 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25811
25812         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
25813
25814 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
25815
25816         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
25817         (run_program_cmd): This.
25818         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
25819         (tst_langinfo): New variable.  Use it.
25820
25821 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
25822
25823         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
25824         floating point opcodes.
25825
25826 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25827
25828         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
25829         variable.
25830
25831         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
25832
25833         * sysdeps/mach/hurd/powerpc: Remove directory.
25834         * sysdeps/mach/powerpc: Likewise.
25835
25836 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
25837
25838         * scripts/check-local-headers.sh: Ignore c++ headers.
25839
25840 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25841
25842         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
25843         __libc_cleanup_region_start argument.
25844
25845 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
25846
25847         [BZ #14784]
25848         [BZ #14785]
25849         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
25850         x * y using scaling, not as x * y + z.
25851         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25852         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25853         * math/libm-test.inc (fma_test): Add more tests.
25854         (fma_test_towardzero): Likewise.
25855         (fma_test_downward): Likewise.
25856         (fma_test_upward): Likewise.
25857
25858 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
25859
25860         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
25861
25862 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25863
25864         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
25865         New variable.
25866
25867 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
25868
25869         * rt/tst-shm.c (worker): Correct checking for mmap failure.
25870
25871 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25872
25873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25874         Fix sort order.
25875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25876         Likewise.
25877
25878 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25879
25880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25881         Fix the order of the list for glibc 2.17.
25882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25883         Likewise.
25884
25885 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
25886
25887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25888
25889 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
25890
25891         [BZ #14610]
25892         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
25893         for low part of x being zero before using __atanl (y).
25894         * math/libm-test.inc (atan2_test): Add another test.
25895
25896         * manual/install.texi (Configuring and compiling): Document
25897         general use of test-wrapper and test-wrapper-env.
25898         * INSTALL: Regenerated.
25899
25900         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
25901         (__fma): Do not extract and scale down low bits on after-rounding
25902         systems when result rounded to normal precision would have normal
25903         exponent.
25904         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
25905         (__fmal): Do not extract and scale down low bits on after-rounding
25906         systems when result rounded to normal precision would have normal
25907         exponent.
25908         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
25909         (__fmal): Do not extract and scale down low bits on after-rounding
25910         systems when result rounded to normal precision would have normal
25911         exponent.
25912         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
25913         macro.
25914         (fma_test): Add more tests.
25915         (fma_test_towardzero): Likewise.
25916         (fma_test_downward): Likewise.
25917         (fma_test_upward): Likewise.
25918
25919 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
25920
25921         * sysdeps/i386/tininess.h: Renamed to ...
25922         * sysdeps/x86/tininess.h: This.
25923         * sysdeps/x86_64/tininess.h: Removed.
25924
25925 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25926
25927         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
25928         input.  Use $(build-program-cmd).
25929         ($(objpfx)tst-array1-static.out): Likewise.
25930         ($(objpfx)tst-array2.out): Likewise.
25931         ($(objpfx)tst-array3.out): Likewise.
25932         ($(objpfx)tst-array4.out): Likewise.
25933         ($(objpfx)tst-array5.out): Likewise.
25934         ($(objpfx)tst-array5-static.out): Likewise.
25935
25936 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
25937
25938         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
25939         if defined.
25940
25941         * nss/nsswitch.h (nss_interface_function): Provide new
25942         macro for use with NSS functions.
25943         * grp/initgroups.c: Use new macro.
25944         * nss/getXXbyYY.c: Likewise.
25945         * nss/getXXbyYY_r.c: Likewise.
25946         * nss/getXXent.c: Likewise.
25947         * nss/getXXent_r.c: Likewise.
25948         * sysdeps/posix/getaddrinfo.c: Likewise.
25949
25950 2012-10-30  Andreas Jaeger  <aj@suse.de>
25951
25952         * po/ru.po: Update Russion translation from translation project.
25953
25954 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
25955
25956         [BZ #14152]
25957         [BZ #14783]
25958         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
25959         result and shift together with sticky bit instead of replicating
25960         round-to-nearest rounding.
25961         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25962         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25963         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
25964         missing underflow exceptions.
25965         (fma_test_towardzero): Add more tests.
25966         (fma_test_downward): Likewise.
25967         (fma_test_upward): Likewise.
25968
25969         [BZ #14047]
25970         * sysdeps/generic/tininess.h: New file.
25971         * sysdeps/i386/tininess.h: Likewise.
25972         * sysdeps/sh/tininess.h: Likewise.
25973         * sysdeps/x86_64/tininess.h: Likewise.
25974         * stdlib/tst-strtod-underflow.c: Likewise.
25975         * stdlib/tst-tininess.c: Likewise.
25976         * stdlib/strtod_l.c: Include <tininess.h>.
25977         (round_and_return): Do not set errno for exact underflow cases.
25978         Force an underflow exception when setting errno for underflow.
25979         Determine underflow based on rounding to normal precision if
25980         TININESS_AFTER_ROUNDING.
25981         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
25982         ERANGE for exact underflow cases.
25983         * stdlib/Makefile (tests): Add tst-tininess and
25984         tst-strtod-underflow.
25985         ($(objpfx)tst-tininess): Use $(link-libm).
25986         ($(objpfx)tst-strtod-underflow): Likewise.
25987
25988 2012-10-30  Andreas Jaeger  <aj@suse.de>
25989
25990         [BZ#14767]
25991         * elf/Makefile (tests): Remove conditional for have-initfini-array
25992         since this is now always required and the variable does not exist
25993         anymore.
25994         (tests-static): Likewise.
25995         (modules-names): Likewise.
25996
25997         * po/eo.po: Add Esperanto translation from translation project.
25998
25999         * elf/tst-array1.c (fini_array): Make writeable so that it can be
26000         merged with constructor/destructor.
26001         (init_array): Likewise.
26002         * elf/tst-array2dep.c (fini_array): Likewise.
26003         (init_array): Likewise.
26004
26005 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
26006
26007         * manual/message.texi: Delete @cartouche tags.
26008
26009 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
26010
26011         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
26012         EOPNOTSUPP.
26013         * sysdeps/mach/hurd/fsync.c: Likewise.
26014
26015         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
26016         [_POSIX_REALTIME_SIGNALS]: Change condition to
26017         [_POSIX_REALTIME_SIGNALS > 0].
26018
26019 2012-10-27  Andreas Jaeger  <aj@suse.de>
26020
26021         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
26022         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
26023         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
26024         [__WORDSIZE != 64]: Likewise.
26025
26026 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
26027
26028         *  iconvdata/tst-table.sh: Remove ${SHELL}.
26029         *  iconvdata/tst-tables.sh: Likewise.
26030
26031 2012-10-25  David S. Miller  <davem@davemloft.net>
26032
26033         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26034         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
26035         of strtoull.
26036
26037         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
26038         ifunc-impl-list.c
26039         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26040         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
26041         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
26042         file.
26043
26044 2012-10-25  Roland McGrath  <roland@hack.frob.com>
26045
26046         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26047         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
26048         __getdirentries.
26049
26050 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26051             Jim Blandy  <jimb@codesourcery.com>
26052
26053         * scripts/cross-test-ssh.sh: New file.
26054         * manual/install.texi (Configuring and compiling): Document use of
26055         cross-test-ssh.sh.
26056         * INSTALL: Regenerated.
26057
26058 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
26059
26060         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
26061         EOPNOTSUPP.
26062
26063 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
26064
26065         * Makeconfig (run-program-prefix): Fix comment.
26066
26067 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26068             Jim Blandy  <jimb@codesourcery.com>
26069
26070         * Makeconfig (test-wrapper): New variable,
26071         (test-wrapper-env): Likewise.
26072         [$(cross-compiling) = yes && $(test-wrapper) != ""]
26073         (run-built-tests): Define to yes.
26074         (run-program-prefix): Use $(test-wrapper).
26075         (built-program-cmd): Likewise.
26076         * Rules (make-test-out): Use $(test-wrapper-env) and
26077         $(host-built-program-cmd).
26078         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
26079         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
26080         tst-pathopt.sh.
26081         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
26082         $(test-wrapper-env) to tst-rtld-load-self.sh.
26083         ($(objpfx)order2.out): Use $(test-wrapper).
26084         ($(objpfx)tst-initorder.out): Likewise.
26085         ($(objpfx)tst-initorder2.out): Likewise.
26086         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
26087         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
26088         (test_wrapper_env): New variable.  Use it to run ld.so.
26089         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
26090         Use it to run ld.so.
26091         (test_wrapper_env): Likewise.
26092         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
26093         $(test-wrapper) to run-iconv-test.sh.
26094         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
26095         (ICONV): Use $test_wrapper.
26096         * posix/Makefile ($(objpfx)globtest.out): Pass
26097         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
26098         globtest.sh, not $(run-program-prefix).
26099         * posix/globtest.sh (run_via_rtld_prefix): New variable.
26100         (test_wrapper): Likewise.
26101         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
26102         set together with run_via_rtld_prefix.
26103         (run_program_prefix): Define in terms of test_wrapper and
26104         run_via_rtld_prefix.
26105
26106 2012-10-24  Roland McGrath  <roland@hack.frob.com>
26107
26108         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
26109         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
26110         Targets removed.
26111
26112         [BZ #14743]
26113         * include/time.h: Remove librt_hidden_proto (clock_gettime).
26114         Declare __clock_getres, __clock_gettime, __clock_settime,
26115         __clock_nanosleep, and __clock_getcpuclockid.
26116         * rt/clock_gettime.c: Define __clock_gettime as an alias.
26117         Remove librt_hidden_def (clock_gettime).
26118         * sysdeps/unix/clock_gettime.c: Likewise.
26119         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
26120         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
26121         * rt/clock_getres.c: Define __clock_getres as an alias.
26122         * sysdeps/posix/clock_getres.c: Likewise.
26123         * rt/clock_settime.c: Define __clock_settime as an alias.
26124         * sysdeps/unix/clock_settime.c: Likewise.
26125         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
26126         * sysdeps/unix/clock_nanosleep.c: Likewise.
26127         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
26128         * rt/clock-compat.c: New file.
26129         * rt/Makefile (librt-routines): Add clock-compat and move
26130         $(clock-routines) to ...
26131         (routines): ... here, new variable.
26132         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
26133         Don't add get_clockfreq here.
26134         * rt/Versions (libc: GLIBC_2.17): New version set.
26135         Add clock_* symbols here.
26136         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
26137         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
26138         (GLIBC_2.17): Add clock_* symbols.
26139         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
26140         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
26141         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
26142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
26143         Likewise.
26144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
26145         Likewise.
26146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
26147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
26148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
26149         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
26150         * NEWS: Mention the move.
26151
26152         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
26153         Use __open, __read, __close rather than their public counterparts.
26154         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
26155         (__get_clockfreq_via_cpuinfo): Likewise.
26156         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
26157         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
26158
26159         * config.h.in (HAVE_IFUNC): New #undef.
26160         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
26161         was successful.
26162         * configure: Regenerated.
26163
26164 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26165
26166         * configure.in: Move READELF check to start of file.
26167         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
26168         libc_cv_asm_gnu_indirect_function in the process.
26169         * configure: Regenerated.
26170
26171 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
26172
26173         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
26174         send the output to /dev/null.
26175         (libc_cv_cc_with_libunwind): Likewise.
26176         (libc_cv_as_noexecstack): Likewise.
26177         * configure: Regenerate.
26178
26179 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
26180
26181         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
26182
26183         * posix/globtest.sh (TMPDIR): Do not set.
26184         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
26185         (testout): Likewise.
26186
26187 2012-10-24  Andreas Jaeger  <aj@suse.de>
26188
26189         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
26190         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
26191         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
26192         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
26193         posix_fadvise64, posix_fallocate64.
26194
26195         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
26196         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
26197         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
26198         Likewise.
26199         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
26200         Likewise.
26201         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
26202
26203         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
26204         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
26205         <bits/fcntl-linux.h>.
26206         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
26207
26208         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
26209         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
26210         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
26211         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
26212         [__WORDSIZE != 64]: Likewise.
26213
26214 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26215
26216         * Makeconfig (run-built-tests): New variable.
26217         * Rules [$(cross-compiling) = yes]: Change condition to
26218         [$(run-built-tests) = no].
26219         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
26220         to [$(run-built-tests) = yes].
26221         * elf/Makefile [$(cross-compiling) = no]: Likewise
26222         * grp/Makefile [$(cross-compiling) = no]: Likewise.
26223         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
26224         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
26225         * intl/Makefile [$(cross-compiling) = no]: Likewise.
26226         * io/Makefile [$(cross-compiling) = no]: Likewise.
26227         * libio/Makefile [$(cross-compiling) = no]: Likewise.
26228         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
26229         * misc/Makefile [$(cross-compiling) = no]: Likewise.
26230         * posix/Makefile [$(cross-compiling) = no]: Likewise.
26231         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
26232         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
26233         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
26234         * string/Makefile [$(cross-compiling) = no]: Likewise.
26235
26236         * posix/Makefile ($(objpfx)globtest.out): Pass
26237         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
26238         $(rtld-installed-name).
26239         * posix/globtest.sh (elf_objpfx): Remove variable.
26240         (rtld_installed_name): Likewise.
26241         (library_path): Likewise.
26242         (run_program_prefix): New variable.  Use for running globtest
26243         binary.
26244
26245 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
26246             Joseph Myers  <joseph@codesourcery.com>
26247
26248         * Makeconfig (host-built-program-cmd): New variable.
26249         * elf/Makefile (tst-stackguard1-ARGS): Use
26250         $(host-built-program-cmd).
26251         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
26252         (tst-spawn-ARGS): Likewise.
26253         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
26254
26255 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
26256             Jim Blandy  <jimb@codesourcery.com>
26257
26258         * Makeconfig (run-via-rtld-prefix): New variable.
26259         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
26260         (built-program-cmd): Likewise.
26261
26262 2012-10-22  Andreas Jaeger  <aj@suse.de>
26263
26264         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
26265         __O_RSYNC if it exists, otherwise to O_SYNC.
26266
26267 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
26268             Joseph Myers  <joseph@codesourcery.com>
26269
26270         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
26271         /dev/null.
26272         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
26273         from /dev/null
26274         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
26275         /dev/null.
26276
26277 2012-10-22  Andreas Jaeger  <aj@suse.de>
26278
26279         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
26280         Define always.
26281         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
26282
26283         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26284         bits/fcntl-linux.h.
26285
26286         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
26287         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
26288
26289         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
26290         to __O_LARGEFILE.
26291         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
26292         to __O_LARGEFILE.
26293
26294 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
26295             Joseph Myers  <joseph@codesourcery.com>
26296
26297         * config.make.in (NM): New variable.
26298
26299 2012-10-21  Andreas Jaeger  <aj@suse.de>
26300
26301         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
26302         definitions and declarations that are provided by
26303         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
26304
26305 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26306
26307         [BZ #14683]
26308         * elf/Makefile (tests-static): Add tst-leaks1-static.
26309         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
26310         ($(objpfx)tst-leaks1-static): New rule.
26311         ($(objpfx)tst-leaks1-static-mem): Likewise.
26312         (tst-leaks1-static-ENV): New macro.
26313         * elf/dl-open.c (dl_open_worker): Check the main application
26314         only if SHARED is defined.
26315         * elf/tst-leaks1-static.c: New file.
26316
26317 2012-10-20  Andreas Jaeger  <aj@suse.de>
26318
26319         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
26320         generic values for Linux.
26321         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
26322         and declarations that are provided by <bits/fcntl-linux.h> and
26323         include <bits/fcntl-linux.h>.
26324         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
26325         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
26326
26327 2012-10-20  Roland McGrath  <roland@hack.frob.com>
26328
26329         * io/fcntl.h: Move include of <bits/types.h> to the top and
26330         include it unconditionally.
26331
26332 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
26333
26334         * wcsmbs/Makefile (tests-ifunc): New variable.
26335         (tests): Add $(tests-ifunc).
26336         * wcsmbs/test-wcschr-ifunc.c: New file.
26337         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26338         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26339         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26340         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26341         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26342
26343         * string/Makefile (tests-ifunc): New variable.
26344         (tests): Add $(tests-ifunc).
26345         * string/test-memccpy.c (TEST_NAME): New macro.
26346         * string/test-memchr.c (TEST_NAME): Likewise.
26347         * string/test-memcmp.c (TEST_NAME): Likewise.
26348         * string/test-memcpy.c (TEST_NAME): Likewise.
26349         * string/test-memmem.c (TEST_NAME): Likewise.
26350         * string/test-memmove.c (TEST_NAME): Likewise.
26351         * string/test-memset.c (TEST_NAME): Likewise.
26352         * string/test-rawmemchr.c (TEST_NAME): Likewise.
26353         * string/test-stpcpy.c (TEST_NAME): Likewise.
26354         * string/test-stpncpy.c (TEST_NAME): Likewise.
26355         * string/test-strcasecmp.c (TEST_NAME): Likewise.
26356         * string/test-strcasestr.c (TEST_NAME): Likewise.
26357         * string/test-strcat.c (TEST_NAME): Likewise.
26358         * string/test-strchr.c (TEST_NAME): Likewise.
26359         * string/test-strcmp.c(TEST_NAME): Likewise.
26360         * string/test-strcpy.c (TEST_NAME): Likewise.
26361         * string/test-strcspn.c (TEST_NAME): Likewise.
26362         * string/test-strlen.c (TEST_NAME): Likewise.
26363         * string/test-strncasecmp.c (TEST_NAME): Likewise.
26364         * string/test-strncmp.c (TEST_NAME): Likewise.
26365         * string/test-strncpy.c (TEST_NAME): Likewise.
26366         * string/test-strnlen.c (TEST_NAME): Likewise.
26367         * string/test-strpbrk.c (TEST_NAME): Likewise.
26368         * string/test-strrchr.c (TEST_NAME): Likewise.
26369         * string/test-strspn.c (TEST_NAME): Likewise.
26370         * string/test-strstr.c (TEST_NAME): Likewise.
26371         * string/test-bcopy-ifunc.c: New file.
26372         * string/test-bzero-ifunc.c: Likewise.
26373         * string/test-memccpy-ifunc.c: Likewise.
26374         * string/test-memchr-ifunc.c: Likewise.
26375         * string/test-memcmp-ifunc.c: Likewise.
26376         * string/test-memcpy-ifunc.c: Likewise.
26377         * string/test-memmem-ifunc.c: Likewise.
26378         * string/test-memmove-ifunc.c: Likewise.
26379         * string/test-mempcpy-ifunc.c: Likewise.
26380         * string/test-memset-ifunc.c: Likewise.
26381         * string/test-rawmemchr-ifunc.c: Likewise.
26382         * string/test-stpcpy-ifunc.c: Likewise.
26383         * string/test-stpncpy-ifunc.c: Likewise.
26384         * string/test-strcasecmp-ifunc.c: Likewise.
26385         * string/test-strcasestr-ifunc.c: Likewise.
26386         * string/test-strcat-ifunc.c: Likewise.
26387         * string/test-strchr-ifunc.c: Likewise.
26388         * string/test-strchrnul-ifunc.c: Likewise.
26389         * string/test-strcmp-ifunc.c: Likewise.
26390         * string/test-strcpy-ifunc.c: Likewise.
26391         * string/test-strcspn-ifunc.c: Likewise.
26392         * string/test-strlen-ifunc.c: Likewise.
26393         * string/test-strncasecmp-ifunc.c: Likewise.
26394         * string/test-strncat-ifunc.c: Likewise.
26395         * string/test-strncmp-ifunc.c: Likewise.
26396         * string/test-strncpy-ifunc.c: Likewise.
26397         * string/test-strnlen-ifunc.c: Likewise.
26398         * string/test-strpbrk-ifunc.c: Likewise.
26399         * string/test-strrchr-ifunc.c: Likewise.
26400         * string/test-strspn-ifunc.c: Likewise.
26401         * string/test-strstr-ifunc.c: Likewise.
26402
26403         * debug/Makefile (tests-ifunc): New variable.
26404         (tests): Add $(tests-ifunc).
26405         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
26406         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
26407         * debug/test-stpcpy_chk-ifunc.c: New file.
26408         * debug/test-strcpy_chk-ifunc.c: Likewise.
26409
26410 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
26411
26412         [BZ #13601]
26413         * elf/dl-load.c (open_verify): Retry read if the entire ELF
26414         header is not read in.
26415
26416 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
26417
26418         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
26419         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
26420         directly.  Pass built executable to script as
26421         $(built-program-cmd).
26422         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
26423         $testprogram without using LD_LIBRARY_PATH and $ldso.
26424
26425         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
26426         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
26427         $(rtld-installed-name).
26428         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
26429         (rtld_installed_name): Likewise.
26430         (library_path): Likewise.
26431         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
26432         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
26433         $(run-program-prefix) to tst-tables.sh.
26434         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
26435         it to run tst-table-from and tst-table-to.
26436         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
26437         Pass it to tst-table.sh.
26438         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
26439         $(run-program-prefix) to tst-gettext.sh.
26440         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
26441         tst-translit.sh.
26442         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
26443         tst-gettext2.sh.
26444         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
26445         to run tst-gettext.
26446         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
26447         to run tst-gettext2.
26448         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
26449         to run tst-translit.
26450         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
26451         $(run-program-prefix) to tst-mtrace.sh.
26452         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
26453         to run tst-mtrace.
26454         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
26455         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
26456         $(rtld-installed-name).
26457         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
26458         (rtld_installed_name): Likewise.
26459         (run_program_prefix): New variable.  Use it to run wordexp-test.
26460
26461         * Makeconfig (ARCH): Remove all definitions.
26462         (machine): Likewise.
26463         [ARCH]: Remove conditional code.
26464         [!objdir]: Give error.
26465         [!objdir] (objpfx): Remove.
26466         [!objdir] (common-objpfx): Likewise.
26467         [!objdir] (common-objdir): Likewise.
26468         * configure.in (config_makefile): Remove.  Hardcode Makefile in
26469         AC_CONFIG_FILES call.
26470         * configure: Regenerated.
26471
26472         [BZ #13888]
26473         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
26474         or TMPDIR.
26475         (testout): Likewise.
26476
26477         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
26478         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
26479         $(rtld-installed-name).
26480         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
26481         (rtld_installed_name): Likwise.
26482         (runit): Remove function.
26483         (run_getconf): New variable,  Use it for running getconf binary.
26484
26485 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
26486
26487         [BZ #14716]
26488         * string/test-memmem.c (check_result): New function.
26489         (do_one_test): Use it.
26490         (check1): New function.
26491         (test_main): Use it.
26492
26493 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
26494
26495         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
26496
26497 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
26498
26499         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
26500         (_G_LSEEK64): Likewise.
26501         (_G_MMAP64): Likewise.
26502         (_G_FSTAT64): Likewise.
26503         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
26504         (_G_LSEEK64): Likewise.
26505         (_G_MMAP64): Likewise.
26506         (_G_FSTAT64): Likewise.
26507         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
26508         unconditional.  Call __mmap64 directly.
26509         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
26510         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
26511         __lseek64 directly.
26512         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
26513         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
26514         __mmap64 directly.
26515         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
26516         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26517         __lseek64 directly.
26518         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
26519         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
26520         __lseek64 directly.
26521         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
26522         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
26523         __lseek64 directly.
26524         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
26525         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
26526         __fxstat64 directly.
26527         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
26528         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
26529         unconditional.
26530         (freopen64) [!_G_OPEN64]: Remove conditional code.
26531         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
26532         unconditional.
26533         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
26534         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
26535         unconditional.
26536         (ftello64) [!_G_LSEEK64]: Remove conditional code.
26537         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
26538         unconditional.
26539         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26540         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
26541         unconditional.
26542         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
26543         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
26544         unconditional.
26545         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26546         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
26547         unconditional.
26548         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
26549         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
26550         unconditional.
26551         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
26552
26553 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
26554
26555         [BZ #12140]
26556         * manual/memory.texi (Malloc Tunable Parameters): Add note
26557         about free list pointers overwriting some perturb bytes.
26558         Wording suggested by Roland McGrath.
26559
26560 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
26561
26562         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
26563         (lgamma_test): Likewise.
26564         (tgamma_test): Likewise.
26565
26566 2012-10-16  Florian Weimer  <fweimer@redhat.com>
26567
26568         [BZ #14700]
26569         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
26570         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
26571
26572 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
26573
26574         * NEWS: Mention BZ #14716.
26575         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
26576         when removing AVAILABLE1_USES_J macro.
26577
26578 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
26579
26580         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
26581         (__bswap_64): __uint64_t for unsigned 64-bit int.
26582
26583 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
26584
26585         * include/string.h (memmem): Declare libc hidden alias.
26586         * string/memmem.c (memmem): Define libc hidden alias.
26587         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
26588         __read, __close instead of open, read, close.
26589
26590 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
26591
26592         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
26593         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
26594         global and hidden.
26595         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
26596         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
26597         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
26598         Likewise.
26599         (__rawmemchr_sse2): Likewise.
26600         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
26601         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
26602         (__strchr_sse2): Likewise.
26603         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
26604         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
26605         (__strcasecmp_sse2): Likewise.
26606         (__strncasecmp_sse2): Likewise.
26607         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
26608         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
26609         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
26610         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
26611         (__strrchr_sse2): Likewise.
26612         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
26613         ifunc-impl-list.c.
26614         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26615         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26616         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26617         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
26618         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26619         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26620         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26621         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26622         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
26623         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
26624         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
26625         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
26626         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
26627         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26628         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26629         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26630         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26631         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26632         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
26633         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
26634         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
26635         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
26636         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
26637         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26638         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
26639         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26640         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26641         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26642         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26643         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26644
26645         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
26646         global and hidden.
26647         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
26648         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
26649         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
26650         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
26651         Likewise.
26652         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
26653         Likewise.
26654         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
26655         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
26656         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
26657         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
26658         ifunc-impl-list.c.
26659         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26660         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26661         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26662         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26663         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26664         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26665         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26666         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26667         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26668         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26669         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26670         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26671         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26672         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
26673         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
26674         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26675         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
26676         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
26677         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26678         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26679         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26680         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26681         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26682         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26683         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26684         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
26685         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
26686         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
26687         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
26688         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26689         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
26690         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26691         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26692         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
26693         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26694         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26695         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26696         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26697         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26698         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26699         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
26700
26701         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
26702         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
26703         * include/ifunc-impl-list.h: New file.
26704         * misc/ifunc-impl-list.c: Likewise.
26705         * misc/Makefile (routines): Add ifunc-impl-list.
26706         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
26707         * string/test-string.h: Include <ifunc-impl-list.h>.
26708         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
26709         TEST_NAME]: New variables.
26710         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
26711         are defined.
26712         (test_init): Call __libc_ifunc_impl_list to initialize
26713         func_list if TEST_IFUNC and TEST_NAME are defined.
26714
26715         * string/Makefile (strop-tests): Add bcopy and bzero.
26716         * string/test-bcopy.c: New file.
26717         * string/test-bzero.c: Likewise.
26718         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
26719         defined.
26720         * string/test-memset.c: Support bzero test if TEST_BZERO is
26721         defined.
26722         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
26723         __libc_memmove.
26724         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
26725         __libc_memset.
26726         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
26727         of memset.
26728
26729 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
26730
26731         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
26732         * configure: Regenerated.
26733
26734         * Makeconfig (+link-static-before-libc): Don't include
26735         $(link-static-libc).
26736
26737         * libio/libio.h (_IO_pos_t): Remove.
26738
26739 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26740
26741         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
26742         McGrath.
26743
26744 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26745
26746         * crypt/crypt-entry.c: Include fips-private.h.
26747         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
26748         * crypt/md5c-test.c (main): Tolerate disabled MD5.
26749         * sysdeps/unix/sysv/linux/fips-private.h: New file.
26750         * sysdeps/generic/fips-private.h: New file, dummy fallback.
26751
26752 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
26753
26754         * crypt/crypt-private.h: Include stdbool.h.
26755         (_ufc_setup_salt_r): Return bool.
26756         * crypt/crypt-entry.c: Include errno.h.
26757         (__crypt_r): Return NULL with EINVAL for bad salt.
26758         * crypt/crypt_util.c (bad_for_salt): New.
26759         (_ufc_setup_salt_r): Check that salt is long enough and within
26760         the specified alphabet.
26761         * crypt/badsalttest.c: New file.
26762         * crypt/Makefile (tests): Add it.
26763         ($(objpfx)badsalttest): New.
26764
26765 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
26766
26767         * NEWS: Add entry for BZ #14602.
26768
26769 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26770
26771         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
26772         type-generic.
26773         * math/libm-test.inc: Update comment listing what functions and
26774         macros are tested.
26775         (isgreater_test): New function.
26776         (isgreaterequal_test): Likewise.
26777         (isless_test): Likewise.
26778         (islessequal_test): Likewise.
26779         (islessgreater_test): Likewise.
26780         (isunordered_test): Likewise.
26781         (main): Call the new functions.
26782
26783 2012-10-09  Roland McGrath  <roland@hack.frob.com>
26784
26785         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
26786         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
26787         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
26788         * sysdeps/i386/configure: Regenerated.
26789         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
26790         * sysdeps/mach/configure: Regenerated.
26791         * sysdeps/mach/hurd/configure: Regenerated.
26792         * sysdeps/powerpc/configure: Regenerated.
26793         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26794         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26795         * sysdeps/s390/s390-32/configure: Regenerated.
26796         * sysdeps/s390/s390-64/configure: Regenerated.
26797         * sysdeps/sh/configure: Regenerated.
26798         * sysdeps/sparc/configure: Regenerated.
26799         * sysdeps/unix/sysv/linux/configure: Regenerated.
26800         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
26801         * sysdeps/x86_64/configure: Regenerated.
26802
26803         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
26804         defined.  Don't check if MAP is NULL.
26805
26806 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
26807
26808         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
26809         (_G_stat64): Likewise.
26810         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
26811         (_G_stat64): Likewise.
26812         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
26813         instead of struct _G_stat64.
26814         * libio/fileops.c (mmap_remap_check): Likewise.
26815         (decide_maybe_mmap): Likewise.
26816         (_IO_new_file_seekoff): Likewise.
26817         (_IO_file_stat): Likewise.
26818         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
26819         _G_off64_t.
26820         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
26821         instead of struct _G_stat64.
26822         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
26823
26824 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
26825
26826         [BZ #14602]
26827         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26828         Replace with ...
26829         (CHECK_EOL): New macro.
26830         (two_way_short_needle): Check beginning of haystack for EOL.  Use
26831         CHECK_EOL.
26832         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26833         Replace with CHECK_EOL.
26834         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
26835         Replace with CHECK_EOL.
26836
26837 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
26838
26839         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
26840         type-generic.
26841         * math/libm-test.inc: Update comment listing what functions and
26842         macros are tested.
26843         (finite_test): New function.
26844         (isinf_test): Likewise.
26845         (isnan_test): Likewise.
26846         (fpclassify_test): Test subnormal input.
26847         (isfinite_test): Likewise.
26848         (isnormal_test): Likewise.
26849         (main): Call the new functions.
26850
26851 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
26852
26853         [BZ #14660]
26854         * Makerules (%.dynsym): Force C locale when running
26855         $(OBJDUMP) --dynamic-syms.
26856
26857 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
26858
26859         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
26860         <stdint.h>.
26861
26862 2012-10-06  David S. Miller  <davem@davemloft.net>
26863
26864         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
26865         upper 32-bits of the length value in %o2 since we use branch-on-register
26866         tests which consider the entire 64-bit register.
26867
26868 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
26869
26870         * string/test-strstr.c (check2): Add a test for page boundary.
26871
26872 2012-10-05  David S. Miller  <davem@davemloft.net>
26873
26874         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
26875         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
26876         file.
26877         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
26878         sysdep_routines.
26879         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
26880         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
26881         and bzero when HWCAP_SPARC_CRYPTO is present.
26882
26883 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
26884
26885         [BZ #14602]
26886         * string/test-strstr.c (check2): New function.
26887         (test_main): Call check2.
26888
26889         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
26890         and bug-strchr1.
26891         * string/bug-strcasestr1.c (do_test): Moved to ...
26892         * string/test-strcasestr.c (check1): Here.  New function.
26893         (do_one_test): Break out result checking code into ...
26894         (check_result): This.  New function.
26895         (do_one_test): Call check_result.
26896         (test_main): Call check1.
26897         * string/bug-strchr1.c (do_test): Moved to ...
26898         * string/test-strchr.c (check1): Here.  New function.
26899         (do_one_test): Break out result checking code into ...
26900         (check_result): This.  New function.
26901         (do_one_test): Call check_result.
26902         (test_main): Call check1.
26903         * string/bug-strstr1.c (main): Moved to ...
26904         * string/test-strstr.c (check1): Here.  New function.
26905         (do_one_test): Break out result checking code into ...
26906         (check_result): This.  New function.
26907         (do_one_test): Call check_result.
26908         (test_main): Call check1.
26909         * string/bug-strcasestr1.c: Removed.
26910         * string/bug-strchr1.c: Likewise.
26911         * string/bug-strstr1.c: Likewise.
26912
26913         * elf/Makefile (dl-routines): Add hwcaps.
26914         * elf/dl-support.c (_dl_important_hwcaps): Removed.
26915         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
26916         (_dl_important_hwcaps): Moved to ...
26917         * elf/dl-hwcaps.c: Here.  New file.
26918         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
26919
26920         [BZ #14557]
26921         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
26922         if IS_IN_rtld isn't defined.
26923
26924         * elf/dl-support.c (_dl_sysinfo_map): New.
26925         Include "get-dynamic-info.h" and "setup-vdso.h".
26926         (_dl_non_dynamic_init): Call setup_vdso.
26927         * elf/dynamic-link.h: Don't include <assert.h>.
26928         (elf_get_dynamic_info): Moved to ...
26929         * elf/get-dynamic-info.h: Here.  New file.
26930         * elf/dynamic-link.h: Include "get-dynamic-info.h".
26931         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
26932         * elf/setup-vdso.h: Here.  New file.
26933         * elf/rtld.c: Include "setup-vdso.h".
26934         (dl_main): Call setup_vdso.
26935
26936 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
26937
26938         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
26939         creal in comment listing functions tested.  List finite, isinf,
26940         isnan, isless, islessequal, isgreater, isgreaterequal,
26941         islessgreater, isunordered, lgamma_r and pow10 as functions and
26942         macros not tested.  Mention which functions not tested are aliases
26943         for other functions.  Fix typo.  Note that signs of NaNs are not
26944         tested.
26945
26946         * scripts/config.guess: Update from config.git.
26947         * scripts/config.sub: Likewise.
26948
26949 2012-10-04  Roland McGrath  <roland@hack.frob.com>
26950
26951         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
26952         * misc/madvise.c (madvise): Renamed to __madvise.
26953         Make madvise a weak alias.
26954         * include/sys/mman.h: Declare __madvise.
26955         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
26956         * sysdeps/unix/syscalls.list
26957         (madvise): Make __madvise the strong name, and madvise a weak alias.
26958         * sysdeps/unix/sysv/linux/syscalls.list
26959         (madvise, mmap): Remove redundant entries.
26960         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
26961         * malloc/malloc.c (mtrim): Likewise.
26962         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
26963
26964 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26965
26966         * sysdeps/mach/hurd/dl-cache.c: File removed.
26967         * config.h.in (USE_LDCONFIG): New #undef.
26968         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
26969         * configure: Regenerated.
26970         * elf/Makefile (dl-routines): Add dl-cache only under
26971         [$(use-ldconfig) = yes].
26972         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
26973         cache on [USE_LDCONFIG].
26974         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
26975         [USE_LDCONFIG].
26976         * elf/rtld.c (dl_main): Likewise.
26977
26978 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
26979
26980         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
26981         _SC_LEVEL4_CACHE_LINESIZE.
26982
26983 2012-10-03  Roland McGrath  <roland@hack.frob.com>
26984
26985         * sysdeps/unix/bsd/confstr.h: File removed.
26986
26987 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
26988
26989         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
26990         sys/sdt-config.h.
26991
26992 2012-10-02  Roland McGrath  <roland@hack.frob.com>
26993
26994         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
26995         Make 'mapoff' field ElfW(Off) rather than off_t.
26996
26997 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
26998
26999         * nscd/Makefile: Remove nscd-cflags and all its users.
27000         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
27001         (CFLAGS-nonlib): Add compiler flags for nscd modules.
27002
27003         [BZ #10631]
27004         * malloc.c (malloc_printerr): Clarify error message.
27005
27006 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
27007
27008         [BZ #14648]
27009         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27010         Set bit_FMA_Usable if FMA is supported.
27011         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
27012         macro.
27013         (bit_FMA4_Usable): Updated.
27014         (index_FMA_Usable): New macro.
27015         (CPUID_FMA): Likewise
27016         (HAS_FMA): Defined with bit_FMA_Usable.
27017
27018 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27019
27020         * bits/types.h (__swblk_t): Type removed.
27021         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
27022         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
27023         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
27024         (__SWBLK_T_TYPE): Likewise.
27025         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
27026         (__SWBLK_T_TYPE): Likewise.
27027         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
27028         (__SWBLK_T_TYPE): Likewise.
27029         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
27030         (__SWBLK_T_TYPE): Likewise.
27031
27032 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
27033             Honza Horak <hhorak@redhat.com>
27034
27035         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
27036         (xdr_mapname): Use YPMAXMAP as maxsize.
27037         (xdr_peername): Use YPMAXPEER as maxsize.
27038         (xdr_keydat): Use YPAXRECORD as maxsize.
27039         (xdr_valdat): Use YPMAXRECORD as maxsize.
27040
27041 2012-10-01  Roland McGrath  <roland@hack.frob.com>
27042
27043         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
27044
27045         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
27046         * csu/init-first.c: ... here.
27047         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
27048         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
27049         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
27050         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
27051         * sysdeps/i386/init-first.c: File removed.
27052         * sysdeps/sh/init-first.c: File removed.
27053
27054 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
27055
27056         [BZ #14645]
27057         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
27058         if x * y might underflow to zero and z is zero.
27059         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
27060         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27061         * math/libm-test.inc (min_subnorm_value): New variable.
27062         (fma_test): Add more tests.
27063         (fma_test_towardzero): Likewise.
27064         (fma_test_downward): Likewise
27065         (fma_test_upward): Likewise.
27066         (initialize): Set min_subnorm_value.
27067
27068 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
27069
27070         [BZ #14638]
27071         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
27072         0 + 0.
27073         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
27074         mode for addition resulting in exact zero.
27075         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
27076         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
27077         exact 0 + 0.
27078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
27079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
27080         * math/libm-test.inc (fma_test): Add more tests.
27081         (fma_test_towardzero): New function.
27082         (fma_test_downward): Likewise.
27083         (fma_test_upward): Likewise.
27084         (main): Call the new functions.
27085
27086 2012-09-28  David S. Miller  <davem@davemloft.net>
27087
27088         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
27089
27090 2012-09-28  Roland McGrath  <roland@hack.frob.com>
27091
27092         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
27093         instead of SIGALRM.
27094
27095         * sysdeps/gnu/_G_config.h: Moved to ...
27096         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
27097         * sysdeps/mach/hurd/_G_config.h: Moved to ...
27098         * sysdeps/generic/_G_config.h: ... here.
27099
27100         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
27101
27102         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
27103
27104         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
27105         Conditionalize target on [libnss_test1.so-version].
27106
27107         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
27108
27109         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
27110         (elfobjdir): Move out of conditionals.
27111
27112         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
27113         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
27114         (__nss_lookup_function): Conditionalize label remove_from_tree on
27115         [!DO_STATIC_NSS || SHARED], matching its only use.
27116
27117 2012-09-28  David S. Miller  <davem@davemloft.net>
27118
27119         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
27120         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
27121         file.
27122         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
27123         sysdep_routines.
27124         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
27125         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
27126         when HWCAP_SPARC_CRYPTO is present.
27127
27128 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27129
27130         * io/tst-mknodat.c: Create a FIFO instead of a socket.
27131
27132 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
27133
27134         [BZ #6530]
27135         * stdio-common/vfprintf.c (process_string_arg): Revert
27136         2000-07-22 change.
27137
27138 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
27139
27140         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
27141         for testcase.
27142         * stdio-common/tst-sprintf.c: Include <locale.h>
27143         (main): Test sprintf's handling of incomplete multibyte
27144         characters.
27145
27146 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
27147
27148         * elf/dl-runtime.c (VERSYMIDX): Removed.
27149         * elf/dl-version.c (VERSYMIDX): Likewise.
27150         * elf/do-rel.h (VERSYMIDX): Likewise.
27151         (VALIDX): Likewise.
27152         * elf/dynamic-link.h (VERSYMIDX): Likewise.
27153         * elf/rtld.c (VALIDX): Likewise.
27154         (ADDRIDX): Likewise.
27155         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
27156         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
27157         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
27158         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
27159         (VALIDX): Likewise.
27160         (ADDRIDX): Likewise.
27161
27162 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27163
27164         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
27165
27166 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
27167
27168         [BZ #11438]
27169         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
27170         to global scope.
27171         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
27172         addresses are in the same scope as 192.0.2/24.
27173         * posix/gai.conf: Document new scope table defaults.
27174
27175 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27176
27177         [BZ #5298]
27178         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
27179         for ftell.  Compute offsets from write pointers instead.
27180         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
27181
27182 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27183
27184         [BZ #14543]
27185         * libio/Makefile (tests): New test case tst-fseek.
27186         * libio/tst-fseek.c: New test case to verify that fseek/ftell
27187         combination works in wide mode.
27188         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
27189         state when the external buffer state changes.
27190
27191 2012-09-27  David S. Miller  <davem@davemloft.net>
27192
27193         [BZ #14376]
27194         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
27195         pass reloc->r_addend in as the 'high' argument to
27196         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
27197
27198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27199
27200 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
27201
27202         * rt/tst-aio2.c: Include <pthread.h>.
27203         * rt/tst-aio3.c: Likewise.
27204
27205 2012-09-27  Steve Ellcey  <sellcey@mips.com>
27206
27207         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
27208
27209 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
27210
27211         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
27212         contents on [SHARED].
27213
27214 2012-09-26  Marek Polacek  <polacek@redhat.com>
27215
27216         [BZ #14530]
27217         [BZ #13741]
27218         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
27219         for C++ and GCC <4.3 as well as for non GCC compilers.
27220
27221 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
27222
27223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27224
27225 2012-09-25  Roland McGrath  <roland@hack.frob.com>
27226
27227         * Makefile.in (all, install): Declare with .PHONY.
27228         Reported by Michael Hope <michael.hope@linaro.org>.
27229
27230 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27231
27232         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
27233         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
27234         system header.
27235         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
27236         Likewise.
27237         (sydep_routines): Add the new and the internal functions.
27238         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
27239         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
27240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
27241         (GLIBC_2.17): Add the new function.
27242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
27243         (GLIBC_2.17): Likewise.
27244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
27245         (GLIBC_2.17): Likewise.
27246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
27247         (GLIBC_2.17): Likewise.
27248         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
27249
27250 2012-09-25  Alan Modra  <amodra@gmail.com>
27251
27252         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
27253         Add release barrier before setting once_control to say
27254         initialisation is done.  Add hints on lwarx.  Use macro in
27255         place of isync.
27256         (clear_once_control): Add release barrier.
27257
27258 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27259
27260         [BZ #13629]
27261         * math/s_clog.c (__clog): Handle more values close to |z| = 1
27262         specially.
27263         * math/s_clog10.c (__clog10): Likewise.
27264         * math/s_clog10f.c (__clog10f): Likewise.
27265         * math/s_clog10l.c (__clog10l): Likewise.
27266         * math/s_clogf.c (__clogf): Likewise.
27267         * math/s_clogl.c (__clogl): Likewise.
27268         * math/Makefile (libm-calls): Add x2y2m1.
27269         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
27270         (__x2y2m1): Likewise.
27271         (__x2y2m1l): Likewise.
27272         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
27273         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
27274         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
27275         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
27276         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
27277         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
27278         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
27279         * sysdeps/i386/fpu/libm-test-ulps: Update.
27280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27281
27282         [BZ #14621]
27283         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
27284         int as type of variable DEPTH.
27285         (glob): Use size_t instead of int as type of variables NEWCOUNT
27286         and OLD_PATHC.
27287
27288 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27289
27290         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27291         Add s_sincosf-sse2.
27292         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
27293         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
27294         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
27295         macros for using routine as __sincosf_ia32.
27296         Use macro for function declaration and weak_alias.
27297         * sysdeps/i386/fpu/libm-test-ulps: Update.
27298
27299         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
27300         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27301
27302         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
27303         subnormal argument.
27304         * math/s_cexpf.c (__cexpf): Likewise.
27305         * math/s_csinf.c (__csinf): Likewise.
27306         * math/s_csinhf.c (__csinhf): Likewise.
27307         * math/s_ctanf.c (__ctanf): Likewise.
27308         * math/s_ctanhf.c (__ctanhf): Likewise.
27309         * math/s_ccosh.c (__ccoshf): Likewise.
27310         * math/s_cexp.c (__cexpl): Likewise.
27311         * math/s_csin.c (__csin): Likewise.
27312         * math/s_csinh.c (__csinh): Likewise.
27313         * math/s_ctan.c (__ctan): Likewise.
27314         * math/s_ctanh.c (ctanh): Likewise.
27315         * math/s_ccoshl.c (__ccoshl): Likewise.
27316         * math/s_cexpl.c (__cexpl): Likewise.
27317         * math/s_csinl.c (__csinl): Likewise.
27318         * math/s_csinhl.c (__csinhl): Likewise.
27319         * math/s_ctanl.c (__ctanl): Likewise.
27320         * math/s_ctanhl.c (__ctanhl): Likewise.
27321
27322 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
27323
27324         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
27325         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
27326         (_IO_off_t): Define to __off_t, not _G_off_t.
27327         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
27328         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
27329         (_IO_wint_t): Define to wint_t, not _G_wint_t.
27330         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
27331         type of __dummy and __dummy2 fields.
27332         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
27333         (_G_ssize_t): Likewise.
27334         (_G_off_t): Likewise.
27335         (_G_pid_t): Likewise.
27336         (_G_uid_t): Likewise.
27337         (_G_wchar_t): Likewise.
27338         (_G_wint_t): Likewise.
27339         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
27340         (_G_ssize_t): Likewise.
27341         (_G_off_t): Likewise.
27342         (_G_pid_t): Likewise.
27343         (_G_uid_t): Likewise.
27344         (_G_wchar_t): Likewise.
27345         (_G_wint_t): Likewise.
27346         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
27347         (_G_ssize_t): Likewise.
27348         (_G_off_t): Likewise.
27349         (_G_pid_t): Likewise.
27350         (_G_uid_t): Likewise.
27351         (_G_wchar_t): Likewise.
27352         (_G_wint_t): Likewise.
27353
27354 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27355
27356         * malloc/arena.c: Include malloc-sysdep.h.
27357         (shrink_heap): Use check_may_shrink_heap to decide if madvise
27358         is sufficient to shrink the heap or an unmap is needed.
27359         * sysdeps/generic/malloc-sysdep.h: New file.  Define
27360         new function check_may_shrink_heap.
27361         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
27362         new function check_may_shrink_heap.
27363
27364 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27365
27366         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
27367         comments.
27368
27369 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
27370
27371         * catgets/test-gencat.sh: Add "set -e".
27372         * elf/tst-pathopt.sh: Likewise.
27373         * grp/tst_fgetgrent.sh: Likewise.
27374         * iconvdata/run-iconv-test.sh: Likewise.
27375         * intl/tst-gettext.sh: Likewise.
27376         * intl/tst-gettext2.sh: Likewise.
27377         * intl/tst-gettext4.sh: Likewise.
27378         * intl/tst-gettext6.sh: Likewise.
27379         * intl/tst-translit.sh: Likewise.
27380         * io/ftwtest-sh: Likewise.
27381         * libio/test-freopen.sh: Likewise.
27382         * malloc/tst-mtrace.sh: Likewise.
27383         * posix/globtest.sh: Likewise.
27384         * posix/tst-getconf.sh: Likewise.
27385         * posix/wordexp-tst.sh: Likewise.
27386         * stdio-common/tst-printf.sh: Likewise.
27387         * stdio-common/tst-unbputc.sh: Likewise.
27388         * stdlib/tst-fmtmsg.sh: Likewise.
27389         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27390         * catgets/Makefile: Do not specify -e option when running
27391         testsuite shell scripts.
27392         * elf/Makefile: Likewise.
27393         * grp/Makefile: Likewise.
27394         * iconvdata/Makefile: Likewise.
27395         * intl/Makefile: Likewise.
27396         * io/Makefile: Likewise.
27397         * libio/Makefile: Likewise.
27398         * malloc/Makefile: Likewise.
27399         * posix/Makefile: Likewise.
27400         * stdio-common/Makefile: Likewise.
27401         * stdlib/Makefile: Likewise.
27402         * sysdeps/x86_64/Makefile: Likewise.
27403
27404         * io/ftwtest-sh: Add copyright header.
27405         * posix/globtest.sh: Likewise.
27406         * posix/tst-getconf.sh: Likewise.
27407         * posix/wordexp-tst.sh: Likewise.
27408         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
27409
27410 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
27411
27412         [BZ #13679]
27413         * Makeconfig (+link): Defined as $(+link-static) if
27414         $(build-shared) isn't yes.
27415         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
27416         isn't yes.
27417         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
27418
27419         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
27420
27421         [BZ #14562]
27422         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
27423         new chunk size with MALLOC_ALIGN_MASK.
27424
27425 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
27426
27427         [BZ #5044]
27428         * stdio-common/printf_fphex.c: Include <stdbool.h> and
27429         <rounding-mode.h>.
27430         (__printf_fphex): Determine rounding using get_rounding_mode and
27431         round_away.
27432         * stdio-common/tst-printf-round.c (struct hex_test): New
27433         structure.
27434         (hex_tests): New variable.
27435         (test_hex_in_one_mode): New function.
27436         (do_test): Also run tests for hex float output.
27437
27438 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
27439
27440         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27441         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27442         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
27443         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
27444         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
27445         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
27446         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27447         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
27448
27449 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
27450
27451         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
27452         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
27453         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
27454         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
27455
27456 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
27457
27458         [BZ #14579]
27459         * elf/rtld.c (dl_main): Limit the check for self loading to normal
27460         mode only.
27461         * elf/tst-rtld-load-self.sh: New test.
27462         * elf/Makefile: Run it.
27463
27464 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
27465
27466         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
27467         (tst-writev-ENV): Remove.
27468         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
27469
27470 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
27471
27472         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
27473
27474 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
27475
27476         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
27477         unconditional.
27478         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
27479         Likewise.
27480         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
27481         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
27482         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
27483         Likewise.
27484
27485 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
27486
27487         [BZ #14587]
27488         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
27489         * config.make.in (have-cpp-asm-debuginfo): Removed.
27490         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
27491         * configure: Regenerated.
27492
27493 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
27494
27495         [BZ #5044]
27496         * stdio-common/printf_fp.c: Include <stdbool.h> and
27497         <rounding-mode.h>.
27498         (___printf_fp): Determine rounding using get_rounding_mode and
27499         round_away.
27500         * stdio-common/tst-printf-round.c: New file.
27501         * stdio-common/Makefile (tests): Add tst-printf-round.
27502         (link-libm): New variable.
27503         ($(objpfx)tst-printf-round): Depend in $(link-libm).
27504
27505 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
27506
27507         [BZ #14576]
27508         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
27509         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
27510         Likewise.
27511         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
27512         Likewise.
27513
27514 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
27515
27516         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
27517         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27518         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27519         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
27520
27521 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
27522
27523         [BZ #14518]
27524         * include/rounding-mode.h: New file.
27525         * sysdeps/generic/get-rounding-mode.h: Likewise.
27526         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
27527         * stdlib/strtod_l.c: Include <rounding-mode.h>.
27528         (MAX_VALUE): New macro.
27529         (MIN_VALUE): Likewise.
27530         (overflow_value): New function.
27531         (underflow_value): Likewise.
27532         (round_and_return): Use overflow_value and underflow_value to
27533         determine return values in overflow and underflow cases.  Use
27534         round_away to determine rounding depending on rounding mode.
27535         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
27536         determine return values in overflow and underflow cases.
27537         * stdlib/tst-strtod-round.c: Include <fenv.h>.
27538         (struct test_results): New structure.
27539         (struct test): Use struct test_results to store expected results
27540         for all rounding modes.
27541         (TEST): Include expected results for all rounding modes.
27542         (test_in_one_mode): New function.
27543         (do_test): Use test_in_one_mode to compute and check results.
27544         Check results for all rounding modes.
27545         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
27546         $(link-libm).
27547
27548 2012-12-09  Allan McRae  <allan@archlinux.org>
27549
27550         * sysdeps/i386/fpu/libm-test-ulps: Update
27551
27552 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
27553
27554         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
27555         (_G_int32_t): Likewise.
27556         (_G_uint16_t): Likewise.
27557         (_G_uint32_t): Likewise.
27558         (_G_HAVE_BOOL): Likewise.
27559         (_G_HAVE_ATEXIT): Likewise.
27560         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27561         (_G_HAVE_IO_FILE_OPEN): Likewise.
27562         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
27563         (_G_int32_t): Likewise.
27564         (_G_uint16_t): Likewise.
27565         (_G_uint32_t): Likewise.
27566         (_G_HAVE_BOOL): Likewise.
27567         (_G_HAVE_ATEXIT): Likewise.
27568         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27569         (_G_HAVE_IO_FILE_OPEN): Likewise.
27570         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
27571         (_G_int32_t): Likewise.
27572         (_G_uint16_t): Likewise.
27573         (_G_uint32_t): Likewise.
27574         (_G_HAVE_BOOL): Likewise.
27575         (_G_HAVE_ATEXIT): Likewise.
27576         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
27577         (_G_HAVE_IO_FILE_OPEN): Likewise.
27578
27579 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
27580
27581         * csu/libc-tls.c: Update copyright years.
27582
27583 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
27584
27585         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
27586         [!_G_USING_THUNKS]: Remove conditional code.
27587         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
27588         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
27589
27590         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
27591         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
27592         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27593         (_G_VTABLE_LABEL_PREFIX): Likewise.
27594         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27595         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27596         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27597         (_G_VTABLE_LABEL_PREFIX): Likewise.
27598         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27599         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
27600         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
27601         (_G_VTABLE_LABEL_PREFIX): Likewise.
27602         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
27603
27604 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
27605
27606         * libio/Makefile: Include ../Makeconfig before tests.
27607         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
27608         only if $(build-shared) is yes.
27609
27610         * iconv/gconv_db.c: Update copyright years.
27611
27612 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27613
27614         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
27615         unwind info if defined PIC. Fix special cases description.
27616         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
27617
27618         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
27619         DP_HI_MASK entry.
27620         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
27621
27622 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
27623
27624         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
27625
27626         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
27627         is NULL.
27628
27629         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
27630         (LDLIBS-tst-chk4): This.
27631         (LDFLAGS-tst-chk5): Renamed to ...
27632         (LDLIBS-tst-chk5): This.
27633         (LDFLAGS-tst-chk6): Renamed to ...
27634         (LDLIBS-tst-chk6): This.
27635         (LDFLAGS-tst-lfschk4): Renamed to ...
27636         (LDLIBS-tst-lfschk4): This.
27637         (LDFLAGS-tst-lfschk5): Renamed to ...
27638         (LDLIBS-tst-lfschk5): This.
27639         (LDFLAGS-tst-lfschk6): Renamed to ...
27640         (LDLIBS-tst-lfschk6): This.
27641
27642         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
27643         on $(common-objpfx)soversions.mk.
27644
27645 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
27646
27647         [BZ #10014]
27648         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
27649         example host name.
27650
27651 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27652
27653         * malloc/arena.c (arena_get_retry): New function that gets
27654         another arena for the caller to try its request on.
27655         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
27656         current arena cannot fulfill the request.
27657         (__libc_memalign): Likewise.
27658         (__libc_memalign): Likewise.
27659         (__libc_pvalloc): Likewise.
27660         (__libc_calloc): Likewise.
27661
27662 2012-09-05  John Tobey  <john.tobey@gmail.com>
27663
27664         [BZ #13542]
27665         * manual/arith.texi (Operations on Complex): Fix description
27666         of carg branch cut.
27667
27668 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27669
27670         [BZ #10014]
27671         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
27672         host name.
27673
27674         [BZ #10038]
27675         * manual/memory.texi (Memory): Make order of menu items match
27676         order of sections.
27677
27678 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27679
27680         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
27681         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
27682         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
27683
27684 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27685
27686         * csu/libc-tls.c (static_dtv): Renamed to ...
27687         (_dl_static_dtv): This.  Make it global.
27688         (_dl_initial_dtv): Removed.
27689         (__libc_setup_tls): Updated.
27690         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
27691         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
27692         DL_INITIAL_DTV.
27693
27694 2012-09-06  Petr Machata  <pmachata@redhat.com>
27695
27696         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
27697         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
27698         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
27699         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
27700
27701 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27702
27703         [BZ #14545]
27704         * csu/libc-tls.c (_dl_initial_dtv): New variable.
27705         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
27706         freeing dtv[-1].
27707
27708 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
27709
27710         [BZ #14544]
27711         * Makeconfig (link-static-before-libc): Replace $(+prector)
27712         with $(+prectorT).
27713         (link-static-after-libc): Replace $(+postctor) with
27714         $(+postctorT).
27715         (link-bounded): Replace $(+prector)/$(+postctor) with
27716         $(+prectorT)/$(+postctorT).
27717         (+prectorT): New macro.
27718         (+postctorT): Likewise.
27719
27720 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
27721
27722         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
27723         (round_str): Handle values above the maximum for IBM long double
27724         as inexact.
27725         * stdlib/tst-strtod-round.c (tests): Regenerated.
27726
27727 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27728
27729         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
27730         assembler flag.
27731         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
27732         zarch_nohighgprs around the zarch optimized routines.
27733         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
27734         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
27735         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
27736         for zarch.
27737
27738 2012-09-05  David S. Miller  <davem@davemloft.net>
27739
27740         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27741
27742         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
27743         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
27744         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
27745         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
27746         entries.
27747
27748 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27749
27750         * malloc/arena.c: Fold copyright years.
27751         * malloc/mcheck.c, malloc/memusage.c: Likewise.
27752
27753 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27754
27755         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
27756
27757 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27758
27759         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
27760
27761 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27762
27763         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
27764         change internal state upon failure.
27765
27766 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
27767
27768         * malloc/mcheck.c (mcheck_check_all): Fix typo.
27769         * malloc/memusage.c (mmap): Likewise.
27770         (mmap64, mremap): Likewise.  Adjust name in comment.
27771
27772 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27773
27774         * libio/fileops.c: Fix typos in comments.
27775         * libio/oldfileops.c: Likewise.
27776         * libio/wfileops.c: Likewise.
27777
27778 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
27779
27780         [BZ #1349]
27781         * malloc/Makefile (tests): Add tst-malloc-usable test case.
27782         (tst-malloc-usable-ENV): Set environment for test case.
27783         * malloc/hooks.c (malloc_check_get_size): New function to get
27784         requested size.
27785         * malloc/malloc.c (musable): Use malloc_check_get_size.
27786         * malloc/tst-malloc-usable.c: New test case.
27787
27788 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27789
27790         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
27791
27792 2012-09-05  Allan McRae  <allan@archlinux.org>
27793
27794         [BZ #13966]
27795         * configure.in (CXX_SYSINCLUDES): Use compiler output to
27796         determine header location.
27797         * configure: Regenerated.
27798
27799 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
27800
27801         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
27802         float format.
27803         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
27804         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
27805         format.
27806         (test): Regenerate.
27807
27808 2012-09-04  David S. Miller  <davem@davemloft.net>
27809
27810         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
27811         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
27812         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
27813
27814 2012-09-04  Florian Weimer  <fweimer@redhat.com>
27815
27816         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
27817         failures.
27818
27819         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
27820
27821 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
27822
27823         [BZ #9914]
27824         * libio/iogetdelim.c: Include <limits.h>.
27825         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
27826         + len + 1 would overflow.
27827
27828 2012-09-03  Andreas Jaeger  <aj@suse.de>
27829
27830         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27831         * sysdeps/i386/fpu/libm-test-ulps: Update.
27832
27833 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
27834
27835         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
27836         Add s_sinf-sse2, s_conf-sse2.
27837
27838         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
27839         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
27840         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
27841         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
27842
27843         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
27844         for using routine as __sinf_ia32.
27845         Use macro for function declaration and weak_alias.
27846         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
27847         for using routine as __cosf_ia32.
27848         Use macro for function declaration and weak_alias.
27849
27850         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
27851         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
27852
27853         * sysdeps/x86_64/fpu/s_sinf.S: New file.
27854         * sysdeps/x86_64/fpu/s_cosf.S: New file.
27855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27856
27857         * math/libm-test.inc (cos_test): Add more test cases.
27858         (sin_test): Likewise.
27859         (sincos_test): Likewise.
27860
27861 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27862
27863         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
27864         (IFUNC_RESOLVE): Make pointers to the specialized implementations
27865         hidden.
27866         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
27867
27868 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
27869
27870         [BZ #14538]
27871         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
27872         first element of the GOT.
27873         (elf_machine_load_address): Return the difference between
27874         the runtime address of _DYNAMIC and elf_machine_dynamic ().
27875
27876 2012-09-01  Allan McRae  <allan@archlinux.org>
27877
27878         [BZ #13412]
27879         * configure.in (AWK): Require gawk version 3.0 or later.
27880         * configure: Regenerated.
27881
27882 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
27883
27884         * sysdeps/unix/sysv/linux/kernel-features.h
27885         (__ASSUME_POSIX_CPU_TIMERS): Remove.
27886         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27887         [__NR_clock_getres]: Make code unconditional.
27888         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
27889         (clock_getcpuclockid): Remove code left unreachable by removal of
27890         conditionals.
27891         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
27892         code unconditional.
27893         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27894         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27895         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
27896         Make code unconditional.
27897         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
27898         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27899         * sysdeps/unix/sysv/linux/clock_settime.c
27900         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
27901         conditional code.
27902         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
27903         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
27904
27905 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
27906
27907         [BZ #14476]
27908         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
27909         scripts/test-installation.pl.
27910
27911         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
27912         and $ld_so_version if it is set.
27913
27914 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27915
27916         [BZ #14516]
27917         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
27918         failure if reading from procfs failed.
27919         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
27920
27921 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27922
27923         * sysdeps/unix/sysv/linux/kernel-features.h
27924         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
27925         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27926         Remove conditional code.
27927         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27928         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
27929         Remove conditional code.
27930         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27931         * sysdeps/unix/sysv/linux/i386/fxstat.c
27932         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27933         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27934         * sysdeps/unix/sysv/linux/i386/fxstatat.c
27935         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27936         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27937         * sysdeps/unix/sysv/linux/i386/lxstat.c
27938         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
27939         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27940         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
27941         Remove conditional code.
27942         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27943         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
27944         Remove conditional code.
27945         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27946         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
27947         <kernel-features.h>.
27948         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
27949         Remove.
27950         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
27951         Remove conditional code.
27952         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
27953         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
27954         Remove conditional.
27955
27956 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
27957
27958         [BZ #5400]
27959         * NEWS: Add fixed bug number.
27960
27961 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
27962
27963         [BZ #14519]
27964         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
27965         underflowing exponent in case of negative sign.
27966         * stdlib/tst-strtod-round-data: Add more tests.
27967         * stdlib/tst-strtod-round.c (tests): Regenerated.
27968
27969         [BZ #3479]
27970         * stdlib/strtod_l.c (NDIG): Remove.
27971         (HEXNDIG): Likewise.
27972         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
27973         smallest representable value.
27974         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
27975         lie within an exact representation of 1/2 ulp of the result.
27976         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
27977         unconditionally.
27978         (TENS_P9_IDX): Define unconditionally.
27979         (TENS_P9_SIZE): Likewise.
27980         (TENS_P10_IDX): Likewise.
27981         (TENS_P10_SIZE): Likewise.
27982         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
27983         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
27984         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
27985         entries for 10^2^13 and 10^2^14.
27986         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
27987         (TENS_P13_IDX): Define.
27988         (TENS_P13_SIZE): Likewise.
27989         (TENS_P14_IDX): Likewise.
27990         (TENS_P14_SIZE): Likewise.
27991         (_fpioconst_pow10): Change array size to
27992         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
27993         unconditional.
27994         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
27995         1024]: Add entries for 10^2^13 and 10^2^14.
27996         [LAST_POW10 > _LAST_POW10]: Remove #error.
27997         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
27998         (_fpioconst_pow10): Change array size to
27999         FPIOCONST_POW10_ARRAY_SIZE.
28000         * stdlib/gen-fpioconst.c: New file.
28001         * stdlib/gen-tst-strtod-round.c: Likewise.
28002         * stdlib/tst-strtod-round-data: Likewise.
28003         * stdlib/tst-strtod-round.c: Likewise.
28004         * stdlib/Makefile (tests): Add tst-strtod-round.
28005
28006         [BZ #14459]
28007         * stdlib/strtod_l.c: Include <stdint.h>.
28008         (NDEBUG): Do not define.
28009         (round_and_return): Change EXPONENT parameter to type intmax_t.
28010         Rearrange calculations to avoid internal overflow possibilities.
28011         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
28012         Rearrange calculations to avoid internal overflow possibilities.
28013         Assert that number fits inside MPNSIZE limbs.
28014         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
28015         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
28016         calculations and add assertions to avoid internal overflow
28017         possibilities.  Add casts to avoid signed/unsigned operations.
28018         * stdlib/tst-strtod-overflow.c: New file.
28019         * stdlib/Makefile (tests): Add tst-strtod-overflow.
28020
28021 2012-08-25  Marek Polacek  <polacek@redhat.com>
28022
28023         * time/time.h: Fix some typos in comments.
28024
28025 2012-08-23  Roland McGrath  <roland@hack.frob.com>
28026
28027         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
28028         * posix/tst-rfc3484-2.c: Likewise.
28029         * posix/tst-rfc3484-3.c: Likewise.
28030
28031 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
28032
28033         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
28034         (EF_ARM_ABI_FLOAT_HARD): Likewise.
28035
28036 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
28037
28038         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
28039         #include of fxstatat64.c.
28040
28041 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28042
28043         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
28044         * shadow/getspent_r.c: Likewise.
28045         * shadow/getspnam.c: Likewise.
28046         * shadow/getspnam_r.c: Likewise.
28047         * gshadow/getsgent.c: Likewise.
28048         * gshadow/getsgent_r.c: Likewise.
28049         * gshadow/getsgnam.c: Likewise.
28050         * gshadow/getsgnam_r.c: Likewise.
28051         * inet/getnetbyad.c: Likewise.
28052         * inet/getnetbyad_r.c: Likewise.
28053         * inet/getnetbynm.c: Likewise.
28054         * inet/getnetbynm_r.c: Likewise.
28055         * inet/getnetent.c: Likewise.
28056         * inet/getnetent_r.c: Likewise.
28057         * inet/getproto.c: Likewise.
28058         * inet/getproto_r.c: Likewise.
28059         * inet/getprtent.c: Likewise.
28060         * inet/getprtent_r.c: Likewise.
28061         * inet/getprtname.c: Likewise.
28062         * inet/getprtname_r.c: Likewise.
28063         * inet/getrpcbyname.c: Likewise.
28064         * inet/getrpcbyname_r.c: Likewise.
28065         * inet/getrpcbynumber.c: Likewise.
28066         * inet/getrpcbynumber_r.c: Likewise.
28067         * inet/getrpcent.c: Likewise.
28068         * inet/getrpcent_r.c: Likewise.
28069         * inet/getaliasent.c: Likewise.
28070         * inet/getaliasent_r.c: Likewise.
28071         * inet/getaliasname.c: Likewise.
28072         * inet/getaliasname_r.c: Likewise.
28073         * nscd/getgrgid_r.c: Likewise.
28074         * nscd/getgrnam_r.c: Likewise.
28075         * nscd/gethstbyad_r.c: Likewise.
28076         * nscd/gethstbynm3_r.c: Likewise.
28077         * nscd/getpwnam_r.c: Likewise.
28078         * nscd/getpwuid_r.c: Likewise.
28079         * nscd/getsrvbynm_r.c: Likewise.
28080         * nscd/getsrvbypt_r.c: Likewise.
28081         * nscd/gai.c: Likewise.
28082
28083         * configure.in (build_nscd): New substituted variable, set
28084         by --disable-build-nscd and defaults to $use_nscd.
28085         * configure: Regenerated.
28086         * config.make.in (build-nscd): New substituted variable.
28087         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
28088         Change conditional to require [$(build-nscd) = yes] as well.
28089         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
28090
28091         [BZ# 13696]
28092         * configure.in (use_nscd): New substituted variable, set by
28093         --disable-nscd.  If enabled, define USE_NSCD.
28094         * configure: Regenerated.
28095         * config.h.in: Add USE_NSCD.
28096         * config.make.in (use-nscd): New substituted variable.
28097         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
28098         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
28099         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
28100         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
28101         (CFLAGS-getgrnam_r.c): Likewise.
28102         (CFLAGS-initgroups.c): Likewise.
28103         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
28104         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
28105         Variables removed.
28106         * inet/getnetgrent_r.c
28107         (nscd_setnetgrent): New function, broken out of ...
28108         (setnetgrent): ... here.  Call it.
28109         (innetgr): Conditionalize nscd bits on [USE_NSCD].
28110         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
28111         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
28112         * nscd/Makefile (routines, aux): Move definitions after include of
28113         Makeconfig.  Conditionalize on [$(use-nscd) != no].
28114         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
28115         Conditionalize on [USE_NSCD].
28116         (is_nscd, nscd_init_cb): Likewise.
28117         (nss_load_library): Conditionalize init callback on [USE_NSCD].
28118         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
28119         * nss/nss_db/db-init.c: Likewise.
28120         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
28121         [USE_NSCD].
28122         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
28123         (make_request): Use it.
28124         (cache_valid_p): New function.
28125         (__check_pf): Use it.
28126         * NEWS: Add item for --disable-nscd.
28127
28128 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
28129
28130         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
28131         to support sed >= 4.2.1-20-ga9bf076.
28132         * configure: Regenerated.
28133
28134 2012-08-22  Roland McGrath  <roland@hack.frob.com>
28135
28136         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
28137         Conditionalize whole body on [IREL].
28138
28139 2012-08-22  Jeff Law <law@redhat.com>
28140
28141         [BZ #14505]
28142         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
28143         if the family is PF_UNSPEC.
28144
28145 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
28146
28147         * Makerules (lib-version): Rename from V.
28148         (install-lib-nosubdir): Change V to lib-version.
28149
28150 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
28151
28152         [BZ #14252]
28153         * powerpc32/power6/wcschr.c: New file.
28154         * powerpc32/power6/wcscpy.c: New file.
28155         * powerpc32/power6/wcsrchr.c: New file.
28156         * powerpc64/power6/wcschr.c: New file.
28157         * powerpc64/power6/wcscpy.c: New file.
28158         * powerpc64/power6/wcsrchr.c: New file.
28159
28160 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28161
28162         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
28163         (two_way_short_needle): Use it.
28164         * string/strstr.c (AVAILABLE1_USES_J): Define.
28165         * string/strcasestr.c: Likewise.
28166
28167         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
28168         array references.
28169         * string/strcasestr.c (TOLOWER): Make side-effect safe.
28170
28171         [BZ #11607]
28172         * NEWS: Add an entry.
28173         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
28174         define their defaults.
28175         (two_way_short_needle): Detect end-of-string on-the-fly.
28176         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
28177         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
28178         * string/bug-strcasestr1.c: New test.
28179         * string/Makefile: Run it.
28180
28181 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
28182
28183         [BZ #11607]
28184         * string/str-two-way.h (two_way_short_needle): Optimize matching of
28185         the first character.
28186
28187 2012-08-21  Roland McGrath  <roland@hack.frob.com>
28188
28189         * csu/elf-init.c (__libc_csu_irel): Function removed.
28190         * csu/libc-start.c (apply_irel): New function.
28191         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
28192
28193 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
28194
28195         * sysdeps/unix/sysv/linux/kernel-features.h
28196         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
28197         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28198         <kernel-features.h>.
28199         [__NR_fadvise64_64]: Make code unconditional.
28200         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
28201         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28202         !__NR_fadvise64_64)]: Likewise.
28203         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
28204         !__NR_fadvise64_64))]: Likewise.
28205         [__NR_fadvise64]: Make code unconditional.
28206         [!__NR_fadvise64]: Remove conditional code.
28207         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
28208         <kernel-features.h>.
28209         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28210         unconditional.
28211         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28212         conditional code.
28213         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
28214         not include <kernel-features.h>.
28215         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28216         unconditional.
28217         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28218         conditional code.
28219         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
28220         include <kernel-features.h>.
28221         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
28222         unconditional.
28223         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
28224         conditional code.
28225
28226 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
28227
28228         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
28229         slight instruction rearrangements per scrollpipe analysis.
28230         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
28231
28232 2012-08-20  Roland McGrath  <roland@hack.frob.com>
28233
28234         * manual/syslog.texi (syslog; vsyslog, closelog):
28235         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
28236         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
28237
28238         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
28239         DSOCAPS to match condition on defining it.
28240
28241 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
28242
28243         * sysdeps/unix/sysv/linux/kernel-features.h
28244         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
28245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
28246         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28247         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
28249         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28250         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
28252         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
28253         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
28254
28255         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
28256         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
28257
28258         * sysdeps/unix/sysv/linux/kernel-features.h
28259         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
28260         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
28261         unconditional.
28262         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28263         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
28264         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28265         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28266         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
28267         Make code unconditional.
28268         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28269         (__mmap64) [!__NR_mmap2]: Likewise.
28270         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
28271         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
28272         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28273         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
28274         [__NR_mmap2]: Make code unconditional.
28275         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
28276         (__mmap64) [!__NR_mmap2]: Likewise.
28277
28278 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28279
28280         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
28281
28282 2012-08-18  Andreas Jaeger  <aj@suse.de>
28283
28284         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
28285
28286 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28287
28288         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
28289         * include/unistd.h (__have_sock_cloexec): Likewise.
28290         (__have_pipe2): Likewise.
28291         (__have_dup3): Likewise.
28292
28293 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
28294
28295         [BZ #9685]
28296         * include/unistd.h (__have_pipe2): Change define into an extern int.
28297         (__have_dup3): Likewise.
28298         * socket/have_sock_cloexec.c: Include fcntl.h.
28299         (__have_pipe2): New variable.
28300         (__have_dup3): Likewise.
28301
28302 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
28303
28304         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
28305
28306 2012-08-17  Marek Polacek  <polacek@redhat.com>
28307
28308         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
28309         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
28310
28311 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28312
28313         * configure.in: Add AC_SUBST for sysheaders.
28314         * configure: Regenerated.
28315         * config.make.in (sysheaders): New substituted variable.
28316
28317         * sysdeps/unix/mkfifo.c: Moved ...
28318         * sysdeps/posix/mkfifo.c: ... here.
28319         * sysdeps/unix/mkfifoat.c: Moved ...
28320         * sysdeps/posix/mkfifoat.c: ... here.
28321
28322         * sysdeps/unix/utime.c: Moved ...
28323         * sysdeps/posix/utime.c: ... here.
28324
28325         * sysdeps/unix/time.c: Moved ...
28326         * sysdeps/posix/time.c: ... here.
28327         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
28328         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
28329
28330         * sysdeps/unix/nice.c: Moved ...
28331         * sysdeps/posix/nice.c: ... here.
28332
28333         * sysdeps/unix/alarm.c: Moved ...
28334         * sysdeps/posix/alarm.c: ... here.
28335
28336         * intl/Makefile ($(codeset_mo)): Depend on the input file.
28337
28338 2012-08-17  Jeff Law <law@redhat.com>
28339
28340         * intl/Makefile (codeset_mo): New variable.
28341         ($(codeset_mo)): New target.
28342         (tst-codeset.out): Depend on that.  Remove explicit rule.
28343         (tst-gettext3.out, tst-gettext5.out): Likewise.
28344         (LOCPATH-ENV, tst-codeset-ENV): New variables.
28345         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
28346         * intl/tst-codeset.sh: Remove.
28347         * intl/tst-gettext3.sh: Likewise.
28348         * intl/tst-gettext5.sh: Likewise.
28349
28350 2012-08-17  Roland McGrath  <roland@hack.frob.com>
28351
28352         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
28353         * sysdeps/unix/syscalls.list: ... here.
28354
28355         * sysdeps/posix/getaddrinfo.c
28356         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
28357         (gaiconf_init, gaiconf_reload): Use them.
28358         [!_STATBUF_ST_NSEC]
28359         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
28360         Define using time_t rather than struct timespec.
28361
28362         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
28363         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
28364         Macros removed.
28365         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
28366         [!NO_THREADS].
28367         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
28368         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
28369         Likewise.
28370
28371         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
28372         __libc_cleanup_push argument.
28373
28374         * bits/param.h: New file.
28375         * misc/sys/param.h: New file.
28376         * include/sys/param.h: New file.
28377         * misc/Makefile (headers): Add bits/param.h.
28378         * sysdeps/generic/sys/param.h: File removed.
28379         * sysdeps/unix/sysv/linux/bits/param.h: New file.
28380         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
28381         * sysdeps/mach/hurd/bits/param.h: New file.
28382         * sysdeps/mach/hurd/sys/param.h: File removed.
28383
28384         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
28385         last change.
28386
28387         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
28388         [_IO_MTSAFE_IO].
28389         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
28390         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
28391         New macros.
28392
28393         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
28394         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
28395         rather than -D_IO_MTSAFE_IO conditionally.
28396         * stdio-common/Makefile (CPPFLAGS): Likewise.
28397         * wcsmbs/Makefile (CPPFLAGS): Likewise.
28398         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
28399         Use $(libio-mtsafe).
28400         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
28401         of -D_IO_MTSAFE_IO.
28402         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
28403         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
28404         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
28405         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
28406         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
28407         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
28408         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
28409         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
28410         (CFLAGS-fread_u_chk.c): Likewise.
28411         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
28412         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
28413         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
28414         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
28415         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
28416         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
28417         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
28418         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
28419         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
28420
28421         * libio/Makefile: Test [$(libc-reentrant) = yes]
28422         instead of [$(filter %REENTRANT, $(defines)) nonempty].
28423
28424         * Makeconfig
28425         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
28426         * sysdeps/pthread/configure: File removed.
28427         * sysdeps/pthread/Makeconfig: New file.
28428         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
28429         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
28430
28431 2012-08-16  Gary Benson  <gbenson@redhat.com>
28432
28433         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
28434         unmapping the first object in a namespace.
28435
28436 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28437
28438         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
28439         (__internal_setnetgrent): ... this.  Add internal_function to
28440         definition.  Add libc_hidden_def.
28441         (setnetgrent): Update caller.
28442         (internal_endnetgrent): Renamed to ...
28443         (__internal_endnetgrent): ... this.  Add internal_function to
28444         definition.  Add libc_hidden_def.
28445         (endnetgrent): Update caller.
28446         (internal_getnetgrent_r): Renamed to ...
28447         (__internal_getnetgrent_r): ... this.  Add internal_function to
28448         definition.  Add libc_hidden_def.
28449         (__getnetgrent_r): Update caller.
28450         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
28451
28452 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28453
28454         * stdlib/longlong.h: Update from GCC.
28455
28456 2012-08-16  Roland McGrath  <roland@hack.frob.com>
28457
28458         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
28459         on _QL, which is set by umul_ppmm but never used.
28460         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
28461         variables, which are set by GMP macros but never used.
28462         * stdio-common/_itowa.c (_itowa): Likewise.
28463         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
28464         * stdlib/mod_1.c (mpn_mod_1): Likewise.
28465
28466 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
28467
28468         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
28469         struct La_sh_regs is not constant.
28470         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
28471         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
28472         and struct La_sparc64_regs are not constant.
28473
28474 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
28475
28476         * sysdeps/unix/sysv/linux/kernel-features.h
28477         (__ASSUME_POSIX_TIMERS): Remove.
28478         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
28479         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28480         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
28481         Make code unconditional.
28482         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28483         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
28484         Make code unconditional.
28485         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28486         * sysdeps/unix/sysv/linux/clock_nanosleep.c
28487         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
28488         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28489         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
28490         Make code unconditional.
28491         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
28492         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
28493         (__libc_missing_posix_timers): Remove.
28494
28495 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28496
28497         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
28498         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
28499
28500         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
28501
28502         * elf/dl-sym.c: Include <stdlib.h>.
28503
28504         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
28505         constants, which avoids warnings in 32-bit builds.
28506
28507         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
28508         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
28509
28510         * misc/lseek.c: File moved to ...
28511         * io/lseek.c: ... here.
28512
28513         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
28514
28515         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
28516         shifting LEN more than 31 bits at once.
28517
28518 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
28519
28520         [BZ #14195]
28521         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
28522         segmentation fault for a case of two empty input strings.
28523         * string/test-strncasecmp.c (check1): Renamed to...
28524         (bz12205): ...this.
28525         (bz14195): Add new testcase for two empty input strings and N > 0.
28526         (test_main): Call new testcase, adapt for renamed function.
28527
28528 2012-08-15  Andreas Jaeger  <aj@suse.de>
28529
28530         [BZ #14090]
28531         * crypt/md5test2.c: New test, based on test supplied by Serge
28532         Belyshev <belyshev@depni.sinp.msu.ru>.
28533         * crypt/Makefile (xtests): Add md5test-giant..
28534         * crypt/Makefile ($(objpfx)md5test-giant): Add.
28535
28536 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
28537
28538         [BZ #14090]
28539         * crypt/md5.c (md5_process_block): Don't assume the buffer
28540         length is less than 2**32.
28541         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
28542         length is less than 2**64.
28543
28544 2012-08-15  Roland McGrath  <roland@hack.frob.com>
28545
28546         * string/str-two-way.h: Include <sys/param.h>.
28547         (MAX): Macro removed.
28548
28549         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
28550         Move #define and #undef of memmove to just before and after
28551         including <string.h>.
28552
28553         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
28554         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
28555         and after including <string.h>.  Move declarations of
28556         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
28557         to before #include "string/memmove.c".
28558
28559         * include/dirent.h: Declare __getdirentries.
28560
28561         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
28562         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
28563
28564 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
28565
28566         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
28567         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
28568         * sysdeps/i386/configure: Regenerated.
28569         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
28570         STABS_CURRENT_FILE, and STABS_FUN.
28571         (END): Remove call to STABS_FUN_END.
28572         (STABS_CURRENT_FILE1): Delete.
28573         (STABS_CURRENT_FILE): Likewise.
28574         (STABS_FUN): Likewise.
28575         (STABS_FUN_END): Likewise.
28576         (STABS_FUN2): Likewise.
28577         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
28578         * sysdeps/x86_64/configure: Regenerated.
28579
28580 2012-08-14  Roland McGrath  <roland@hack.frob.com>
28581
28582         * elf/dl-open.c: Include <atomic.h>.
28583         * elf/dl-lookup.c: Likewise.
28584
28585 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
28586
28587         * sysdeps/unix/sysv/linux/kernel-features.h
28588         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
28589         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
28590         unconditionally.
28591         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
28592         unconditionally.
28593         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
28594         condition on __ASSUME_CLONE_THREAD_FLAGS.
28595
28596 2012-08-14  Andreas Jaeger  <aj@suse.de>
28597
28598         * sysdeps/i386/fpu/libm-test-ulps: Update.
28599
28600 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
28601
28602         * include/atomic.h (atomic_exchange_and_add): Split into ...
28603         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
28604         New atomic macros.
28605
28606 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
28607
28608         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28609
28610 2012-08-13  Jeff Law <law@redhat.com>
28611
28612         * manual/stdio.texi (snprintf): Clarify handling of the trailing
28613         null byte in the output string.
28614
28615 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
28616
28617         * sysdeps/unix/sysv/linux/kernel-features.h
28618         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
28619         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
28620         (__ASSUME_ARG_MAX_STACK_BASED): Define.
28621         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
28622         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
28623         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
28624         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
28625
28626 2012-08-09  Jeff Law <law@redhat.com>
28627
28628         [BZ #13939]
28629         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
28630         When avoid_arena is set, don't retry in the that arena.  Pick the
28631         next one, whatever it might be.
28632         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
28633         (arena_lock): Pass in new parameter to arena_get2.
28634         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
28635         arena_get2.
28636         (__libc_malloc): Unify retrying after main arena failure with
28637         __libc_memalign version.
28638         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
28639
28640 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
28641
28642         [BZ #14166]
28643         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
28644         to __redirect_strstr.
28645         (__strstr_sse42): Use typeof __redirect_strstr.
28646         (__strstr_ia32): Likewise.
28647         (__libc_strstr): New prototype.
28648         (strstr): Renamed to ...
28649         (__libc_strstr): This.
28650         (strstr): New strong alias of __libc_strstr.
28651         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
28652         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
28653         __redirect_time.
28654         Include <time.h>.
28655         (__libc_time): New prototype.
28656         (time_ifunc): Replace time with __libc_time.
28657         (time): New strong alias and hidden definition of __libc_time.
28658         (__GI_time): Remove strong alias.
28659         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
28660         Include <stddef.h>.
28661         (memmove): Redefined to __redirect_memmove.
28662         (__memmove_sse2): Use typeof __redirect_memmove.
28663         (__memmove_ssse3): Likewise.
28664         (__memmove_ssse3_back): Likewise.
28665         (__libc_memmove): New prototype.
28666         (memmove): Renamed to ...
28667         (__libc_memmove): This.
28668         (memmove): New strong alias of __libc_memmove.
28669
28670 2012-08-08  Mark Salter  <msalter@redhat.com>
28671
28672         * elf/elf.h
28673         (R_MN10300_TLS_GD): Define.
28674         (R_MN10300_TLS_LD): Likewise.
28675         (R_MN10300_TLS_LDO): Likewise.
28676         (R_MN10300_TLS_GOTIE): Likewise.
28677         (R_MN10300_TLS_IE): Likewise.
28678         (R_MN10300_TLS_LE): Likewise.
28679         (R_MN10300_TLS_DTPMOD): Likewise.
28680         (R_MN10300_TLS_DTPOFF): Likewise.
28681         (R_MN10300_TLS_TPOFF): Likewise.
28682         (R_MN10300_SYM_DIFF): Likewise.
28683         (R_MN10300_ALIGN): Likewise.
28684         (R_MN10300_NUM): Update.
28685
28686 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
28687
28688         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
28689         Remove.
28690
28691 2012-08-08  Roland McGrath  <roland@hack.frob.com>
28692
28693         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
28694
28695         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
28696         sysdeps/unix -> sysdeps/posix move.
28697         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
28698
28699 2012-08-07      Allan McRae     <allan@archlinux.org>
28700
28701         [BZ #14303]
28702         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
28703         (SUNOS_CPP): Likewise.
28704         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
28705         not found.
28706         (open_input): Call CPP using execvp.
28707
28708 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28709
28710         * sysdeps/unix/sysv/linux/kernel-features.h
28711         (__ASSUME_PROT_GROWSUPDOWN): Remove.
28712         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28713         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28714         (__ASSUME_WAITID_SYSCALL): Likewise.
28715         * sysdeps/unix/sysv/linux/dl-execstack.c
28716         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
28717         code unconditional.
28718         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
28719         conditional code.
28720         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
28721         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
28722         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
28723         code.
28724         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
28725         unconditional.
28726         [__ASSUME_WAITID_SYSCALL]: Likewise.
28727         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
28728
28729 2012-08-07  Roland McGrath  <roland@hack.frob.com>
28730
28731         * sysdeps/unix/closedir.c: Renamed to ...
28732         * sysdeps/posix/closedir.c: ... here.
28733         * sysdeps/unix/dirfd.c: Renamed to ...
28734         * sysdeps/posix/dirfd.c: ... here.
28735         * sysdeps/unix/dirstream.h: Renamed to ...
28736         * sysdeps/posix/dirstream.h: ... here.
28737         * sysdeps/unix/fdopendir.c: Renamed to ...
28738         * sysdeps/posix/fdopendir.c: ... here.
28739         * sysdeps/unix/opendir.c: Renamed to ...
28740         * sysdeps/posix/opendir.c: ... here.
28741         * sysdeps/unix/readdir.c: Renamed to ...
28742         * sysdeps/posix/readdir.c: ... here.
28743         * sysdeps/unix/readdir_r.c: Renamed to ...
28744         * sysdeps/posix/readdir_r.c: ... here.
28745         * sysdeps/unix/rewinddir.c: Renamed to ...
28746         * sysdeps/posix/rewinddir.c: ... here.
28747         * sysdeps/unix/seekdir.c: Renamed to ...
28748         * sysdeps/posix/seekdir.c: ... here.
28749         * sysdeps/unix/telldir.c: Renamed to ...
28750         * sysdeps/posix/telldir.c: ... here.
28751         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
28752         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
28753         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
28754         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
28755
28756         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
28757         * bits/fcntl.h: ... here.
28758
28759         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
28760         not 0.
28761         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
28762         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
28763         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
28764         (struct flock): Move l_start, l_len to the beginning.
28765         Use __pid_t for l_pid.
28766         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
28767         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
28768         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
28769         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
28770         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
28771         [__USE_LARGEFILE64] (struct flock64): New type.
28772         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
28773
28774         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
28775         * bits/dirent.h: ... here.
28776
28777         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
28778         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
28779
28780 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
28781
28782         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28783         Change from 2.6.0 to 2.6.16.
28784         * sysdeps/unix/sysv/linux/configure: Regenerated.
28785         * sysdeps/unix/sysv/linux/kernel-features.h
28786         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
28787         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
28788         version.
28789         (__ASSUME_UTIMES): Likewise.
28790         (__ASSUME_CLONE_STOPPED): Remove.
28791         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
28792         architectures, not kernel version.
28793         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
28794         (__ASSUME_NO_CLONE_DETACHED): Likewise.
28795         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
28796         (__ASSUME_WAITID_SYSCALL): Likewise.
28797         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
28798         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
28799         * README: State 2.6.16 as minimum Linux kernel version.  Do not
28800         refer to older versions.
28801
28802 2012-08-06  Roland McGrath  <roland@hack.frob.com>
28803
28804         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
28805         Define alphasort64 as an alias.
28806         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
28807         Define versionsort64 as an alias.
28808         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
28809         Define scandir64 as an alias.
28810         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
28811         Define scandirat64 as an alias.
28812         * dirent/alphasort64.c (alphasort64):
28813         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
28814         * dirent/versionsort64.c: Likewise.
28815         * dirent/scandir64.c: Likewise.
28816         * dirent/scandirat64.c: Likewise.
28817         * sysdeps/wordsize-64/alphasort.c: File removed.
28818         * sysdeps/wordsize-64/alphasort64.c: File removed.
28819         * sysdeps/wordsize-64/scandir.c: File removed.
28820         * sysdeps/wordsize-64/scandir64.c: File removed.
28821         * sysdeps/wordsize-64/scandirat.c: File removed.
28822         * sysdeps/wordsize-64/scandirat64.c: File removed.
28823         * sysdeps/wordsize-64/versionsort.c: File removed.
28824         * sysdeps/wordsize-64/versionsort64.c: File removed.
28825         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
28826         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
28827         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
28828         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
28829         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
28830         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
28831         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
28832         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
28833
28834         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
28835         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28836         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
28837         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28838         [defined __arch64__ || defined __sparcv9]
28839         (__INO_T_MATCHES_INO64_T): New macro.
28840         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28841         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
28842         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
28843         * sysdeps/unix/sysv/linux/bits/dirent.h
28844         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
28845         (_DIRENT_MATCHES_DIRENT64): New macro.
28846
28847         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
28848         Define lockf64 as an alias.
28849         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
28850         Define fseeko64 as an alias.
28851         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
28852         Define ftello64 as an alias.
28853         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
28854         Define _IO_fgetpos64 and fgetpos64 as aliases.
28855         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
28856         Define _IO_fsetpos64 and fsetpos64 as aliases.
28857         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
28858         Conditionalize body on this.
28859         * libio/fseeko64.c: Likewise.
28860         * libio/ftello64.c: Likewise.
28861         * libio/iofgetpos64.c: Likewise.
28862         * libio/iofsetpos64.c: Likewise.
28863         * sysdeps/wordsize-64/lockf.c: File removed.
28864         * sysdeps/wordsize-64/lockf64.c: File removed.
28865         * sysdeps/wordsize-64/fseeko.c: File removed.
28866         * sysdeps/wordsize-64/fseeko64.c: File removed.
28867         * sysdeps/wordsize-64/ftello.c: File removed.
28868         * sysdeps/wordsize-64/ftello64.c: File removed.
28869         * sysdeps/wordsize-64/iofgetpos.c: File removed.
28870         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
28871         * sysdeps/wordsize-64/iofsetpos.c: File removed.
28872         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
28873         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
28874         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
28875         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
28876         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
28877         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
28878         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
28879         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
28880         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
28881         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
28882         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
28883
28884         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28885         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
28886         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
28887         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28888         [defined __arch64__ || defined __sparcv9]
28889         (__OFF_T_MATCHES_OFF64_T): New macro.
28890         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
28891         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
28892         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28893         (__OFF_T_MATCHES_OFF64_T): New macro.
28894
28895 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28896
28897         * stdlib/secure-getenv.c (__secure_getenv): Replace
28898         GLIBC_2_16 with GLIBC_2_17.
28899
28900 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
28901
28902         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
28903         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28904
28905 2012-08-03  David S. Miller  <davem@davemloft.net>
28906
28907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28908
28909 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28910
28911         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
28912         Remove.
28913         (__ASSUME_CORRECT_SI_PID): Likewise.
28914         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
28915         (__ASSUME_TMPFS_NAME): Likewise.
28916         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
28917         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
28918         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
28919         (HAVE_AUX_SECURE): Make definition unconditional.
28920         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
28921         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
28922
28923 2012-08-03  Roland McGrath  <roland@hack.frob.com>
28924
28925         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
28926         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
28927         * sysdeps/mach/hurd/eloop-threshold.h: New file.
28928         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
28929         __eloop_threshold instead of SYMLOOP_MAX.
28930
28931         * sysdeps/generic/eloop-threshold.h: New file.
28932         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
28933         of MAXSYMLINKS.
28934         * elf/chroot_canon.c (chroot_canon): Likewise.
28935
28936 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
28937
28938         [BZ #13717]
28939         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
28940         Change to 2.6.0 everywhere.
28941         * sysdeps/unix/sysv/linux/configure: Regenerated.
28942         * sysdeps/unix/sysv/linux/kernel-features.h
28943         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
28944         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
28945         kernel versions.
28946         (__ASSUME_POSIX_TIMERS): Define unconditionally.
28947         (__ASSUME_FUTEX_REQUEUE): Remove.
28948         (__ASSUME_STATFS64): Define unconditionally.
28949         (__ASSUME_AT_SECURE): Likewise.
28950         (__ASSUME_CORRECT_SI_PID): Likewise.
28951         (__ASSUME_TGKILL): Define without depending on kernel version for
28952         i386.
28953         (__ASSUME_UTIMES): Likewise.
28954         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
28955         kernel version.
28956         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
28957         (__ASSUME_TMPFS_NAME): Likewise.
28958         * README: Update reference to Linux kernel versions.
28959
28960 2012-08-02  Marek Polacek  <polacek@redhat.com>
28961
28962         [BZ# 14150]
28963         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
28964         libc_cv_asm_type_prefix with %.
28965         * configure: Regenerated.
28966         * include/libc-symbols.h: Remove comment about
28967         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28968         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
28969         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
28970         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
28971         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
28972         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
28973         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
28974         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
28975         * elf/tst-unique2mod1.c: Likewise.
28976         * elf/tst-unique1mod2.c: Likewise.
28977         * elf/tst-unique1mod1.c: Likewise.
28978         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
28979         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
28980         Replace ASM_TYPE_DIRECTIVE with .type.
28981         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28982         * sysdeps/i386/sysdep.h: Likewise.
28983         * sysdeps/x86_64/sysdep.h: Likewise.
28984         * sysdeps/sh/sysdep.h: Likewise.
28985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
28986         Do not define ASM_TYPE_DIRECTIVE.
28987         * sysdeps/powerpc/sysdep.h: Likewise.
28988         * sysdeps/powerpc/powerpc32/sysdep.h:
28989         Replace ASM_TYPE_DIRECTIVE with .type.
28990         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
28991         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
28992         * sysdeps/i386/fpu/e_powf.S: Likewise.
28993         * sysdeps/i386/fpu/e_expl.S: Likewise.
28994         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28995         * sysdeps/i386/fpu/e_acosh.S: Likewise.
28996         * sysdeps/i386/fpu/e_pow.S: Likewise.
28997         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28998         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28999         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29000         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29001         * sysdeps/i386/fpu/e_log2.S: Likewise.
29002         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29003         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29004         * sysdeps/i386/fpu/e_powl.S: Likewise.
29005         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29006         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29007         * sysdeps/i386/fpu/e_logl.S: Likewise.
29008         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29009         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29010         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29011         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29012         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29013         * sysdeps/i386/fpu/e_log.S: Likewise.
29014         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29015         * sysdeps/i386/fpu/e_logf.S: Likewise.
29016         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29017         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29018         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29019         * sysdeps/i386/fpu/e_log10.S: Likewise.
29020         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29021         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29022         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29023         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29024         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29025         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
29026         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29027         * sysdeps/i386/i686/strtok.S: Likewise.
29028         * sysdeps/i386/i386-mcount.S: Likewise.
29029         * sysdeps/i386/strtok.S: Likewise.
29030         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
29031         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29032         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29033         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29034         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
29035         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29036         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29037         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29038         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29039         * sysdeps/x86_64/_mcount.S: Likewise.
29040         * sysdeps/x86_64/strtok.S: Likewise.
29041         * sysdeps/sh/_mcount.S: Likewise.
29042
29043 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29044
29045         * libio/iofopen.c: Include <fcntl.h>.
29046         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
29047         (_IO_fopen64, fopen64): Define as aliases.
29048         * libio/iofopen64.c: Include <fcntl.h>.
29049         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
29050         Conditionalize body on this.
29051         * sysdeps/wordsize-64/iofopen.c: File removed.
29052         * sysdeps/wordsize-64/iofopen64.c: File removed.
29053
29054 2012-08-01  Marek Polacek  <polacek@redhat.com>
29055
29056         * libc/Makeconfig: Use elf in place of binfmt-subdir.
29057         Use dlfcn directly instead of a variable.
29058         (binfmt-subdir): Do not define.
29059         (dlfcn): Likewise.
29060
29061 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
29062
29063         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
29064         Remove all definitions.
29065         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
29066         <kernel-features.h>.
29067         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29068         (miss_F_GETOWN_EX): Remove all definitions.
29069         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
29070         macro definition.
29071         [!__ASSUME_FCNTL64]: Remove conditional code.
29072         [__ASSUME_FCNTL64]: Make code unconditional.
29073         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
29074         <kernel-features.h>.
29075         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
29076         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
29077         (lockf64) [__NR_fcntl64]: Make code unconditional.
29078         (lockf64) [__ASSUME_FCNTL64]: Likewise.
29079
29080         * sysdeps/unix/sysv/linux/kernel-features.h
29081         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
29082         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
29083         Make code unconditional.
29084         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29085         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29086         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
29087         [__NR_vfork]: Make code unconditional.
29088         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29089         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
29091         [__NR_vfork]: Make code unconditional.
29092         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
29093         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
29094
29095 2012-08-01  Roland McGrath  <roland@hack.frob.com>
29096
29097         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
29098         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
29099
29100         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29101         Define mkstemp64 as an alias.
29102         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29103         Define mkstemps64 as an alias.
29104         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29105         Define mkostemp64 as an alias.
29106         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
29107         Define mkostemps64 as an alias.
29108         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
29109         Conditionalize body on this.
29110         * misc/mkostemp64.c: Likewise.
29111         * misc/mkostemps64.c: Likewise.
29112         * misc/mkstemps64.c: Likewise.
29113         * sysdeps/wordsize-64/mkstemp64.c: File removed.
29114         * sysdeps/wordsize-64/mkostemp64.c: File removed.
29115         * sysdeps/wordsize-64/mkostemp.c: File removed.
29116         * sysdeps/wordsize-64/mkstemp.c: File removed.
29117         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
29118         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
29119         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
29120         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
29121
29122         [BZ #14138]
29123         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
29124         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
29125         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
29126         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
29127
29128         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
29129         compat_symbol macros from <shlib-compat.h> rather than the underlying
29130         default_symbol_version and symbol_version macros, so that DEFAULT
29131         lines in shlib-versions are respected.
29132         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
29133
29134 2012-08-01  Florian Weimer  <fweimer@redhat.com>
29135
29136         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
29137         Declare with warn_unused_result.
29138         (setgid, setregid, setegid, setresgid): Likewise.
29139         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
29140         Likewise.
29141         * WUR-REPORT: Remove set*id functions.
29142
29143 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
29144
29145         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
29146
29147 2012-07-31  Roland McGrath  <roland@hack.frob.com>
29148
29149         [BZ #10191]
29150         * include/sys/socket.h (__libc_accept, __libc_accept4):
29151         Add attribute_hidden.
29152         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
29153
29154         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
29155         use of PTR_MANGLE.
29156         * inet/getnetgrent_r.c (setup): Likewise.
29157
29158         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
29159
29160 2012-07-31  David S. Miller  <davem@davemloft.net>
29161
29162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29163
29164 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
29165
29166         [BZ #13629]
29167         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
29168         value between 1.0 and 2.0 and smaller part has absolute value less
29169         than 1.0.
29170         * math/s_clog10.c (__clog10): Likewise.
29171         * math/s_clog10f.c (__clog10f): Likewise.
29172         * math/s_clog10l.c (__clog10l): Likewise.
29173         * math/s_clogf.c (__clogf): Likewise.
29174         * math/s_clogl.c (__clogl): Likewise.
29175         * math/libm-test.inc (clog_test): Add more tests.
29176         (clog10_test): Likewise.
29177         * sysdeps/i386/fpu/libm-test-ulps: Update.
29178         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29179
29180 2012-07-31  Florian Weimer  <fweimer@redhat.com>
29181
29182         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
29183         Exit with zero in case no suitable GID is found, and write a
29184         message to standard error.
29185
29186 2012-07-30  Roland McGrath  <roland@hack.frob.com>
29187
29188         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
29189         rather than to 1.
29190         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
29191         (MAXPATHLEN): Removed.
29192         (NOGROUP, NODEV): New macros.
29193         (setbit, clrbit, isset, isclr): New macros.
29194         (howmany, roundup, powerof2): New macros.
29195         (DEV_BSIZE): New macro.
29196
29197         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
29198         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
29199
29200         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
29201         definition on [!__NO_LONG_DOUBLE_MATH].
29202
29203         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
29204         PTR_MANGLE and PTR_DEMANGLE.
29205
29206         * socket/accept4.c (accept4): Rename to __libc_accept4.
29207         Define accept4 as a weak alias.
29208
29209         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
29210         on [_DIRENT_HAVE_D_TYPE].
29211         * io/ftw.c (ftw_dir): Likewise.
29212
29213         * io/xmknod.c (__xmknod): Don't check PATH for being null.
29214
29215         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
29216
29217         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
29218         Use the BSD numbers rather than the arbitrary ones we had.
29219         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
29220         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
29221         (SIGXCPU, SIGXFSZ): New macros.
29222         (_NSIG): Now 32.
29223
29224         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
29225         initializer on [_LIBC_REENTRANT].
29226
29227         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
29228         definitions inside [_POSIX_MAPPED_FILES].
29229
29230         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
29231
29232         * dirent/opendir.c: Include <fcntl.h>.
29233
29234         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
29235         (__libc_getspecific): Likewise.
29236         (__libc_key_create): Likewise.
29237
29238         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
29239         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
29240         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
29241         (tmpfile64): Define as alias.
29242         * sysdeps/wordsize-64/tmpfile.c: File removed.
29243         * sysdeps/wordsize-64/tmpfile64.c: File removed.
29244         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
29245         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
29246
29247         * stdio-common/vfscanf.c: Include <stdbool.h>.
29248         * nss/makedb.c: Likewise.
29249         * stdio-common/_i18n_number.h: Likewise.
29250         * argp/argp-help.c: Likewise.
29251         * posix/wordexp.c: Likewise.
29252         * sysdeps/posix/spawni.c: Likewise.
29253         * nss/nss_files/files-initgroups.c: Likewise.
29254         * stdio-common/reg-modifier.c: Include <stdlib.h>.
29255         * nss/nss_files/files-initgroups.c: Likewise.
29256         * nss/nss_db/db-netgrp.c: Likewise.
29257         * nss/nss_db/db-initgroups.c: Likewise.
29258         * io/fchmodat.c: Include <sys/stat.h>.
29259
29260         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
29261         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
29262
29263         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
29264         [HAVE_MMAP].
29265
29266         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
29267         Add multiple inclusion protection.
29268
29269 2012-07-27  David S. Miller  <davem@davemloft.net>
29270
29271         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29272
29273 2012-07-27  Gary Benson  <gbenson@redhat.com>
29274
29275         [BZ #14298]
29276         * elf/rtld.c: Include <stap-probe.h>.
29277         (dl_main): Added static probes "init_start" and "init_complete".
29278         * elf/dl-load.c: Include <stap-probe.h>.
29279         (lose): Take new parameter "nsid".
29280         Added static probe "map_failed".
29281         (_dl_map_object_from_fd): Pass namespace id to lose.
29282         Added static probe "map_start".
29283         (open_verify): Pass namespace id to lose.
29284         * elf/dl-open.c: Include <stap-probe.h>.
29285         (dl_open_worker) Added static probes "map_complete", "reloc_start"
29286         and "reloc_complete".
29287         * elf/dl-close.c: Include <stap-probe.h>.
29288         (_dl_close_worker): Added static probes "unmap_start" and
29289         "unmap_complete".
29290         * elf/rtld-debugger-interface.txt: New file documenting the above.
29291
29292 2012-07-26  Roland McGrath  <roland@hack.frob.com>
29293
29294         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
29295         rather than a string variable.
29296         * sunrpc/rpc_main.c (h_output): Likewise.
29297         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
29298
29299 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
29300
29301         * inet/check_native.c: New file.
29302
29303 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
29304
29305         [BZ #13629]
29306         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
29307         if larger part has absolute value 1.0.
29308         * math/s_clog10.c (__clog10): Likewise.
29309         * math/s_clog10f.c (__clog10f): Likewise.
29310         * math/s_clog10l.c (__clog10l): Likewise.
29311         * math/s_clogf.c (__clogf): Likewise.
29312         * math/s_clogl.c (__clogl): Likewise.
29313         * math/libm-test.inc (clog_test): Add more tests.
29314         (clog10_test): Likewise.
29315         * sysdeps/i386/fpu/libm-test-ulps: Update.
29316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29317
29318         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
29319         (pltexit): Likewise.
29320         (La_regs): Likewise.
29321         (La_retval): Likewise.
29322         (int_retval): Likewise.
29323         Update #error for removed macros to refer only to definitions in
29324         tst-audit.h.
29325         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
29326         macro.
29327         (pltexit): Likewise.
29328         (La_regs): Likewise.
29329         (La_retval): Likewise.
29330         (int_retval): Likewise.
29331         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
29332         macro.
29333         (pltexit): Likewise.
29334         (La_regs): Likewise.
29335         (La_retval): Likewise.
29336         (int_retval): Likewise.
29337         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
29338         macro.
29339         (pltexit): Likewise.
29340         (La_regs): Likewise.
29341         (La_retval): Likewise.
29342         (int_retval): Likewise.
29343         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
29344         macro.
29345         (pltexit): Likewise.
29346         (La_regs): Likewise.
29347         (La_retval): Likewise.
29348         (int_retval): Likewise.
29349         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
29350         macro.
29351         (pltexit): Likewise.
29352         (La_regs): Likewise.
29353         (La_retval): Likewise.
29354         (int_retval): Likewise.
29355         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
29356         macro.
29357         (pltexit): Likewise.
29358         (La_regs): Likewise.
29359         (La_retval): Likewise.
29360         (int_retval): Likewise.
29361         * sysdeps/generic/tst-audit.h: Update comment to refer only to
29362         macro definitions in tst-audit.h.
29363         * sysdeps/i386/tst-audit.h: New file.
29364         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
29365         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
29366         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
29367         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
29368         * sysdeps/sh/tst-audit.h: Likewise.
29369         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
29370         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
29371         * sysdeps/x86_64/tst-audit.h: Likewise.
29372
29373 2012-07-26  Andreas Jaeger  <aj@suse.de>
29374
29375         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
29376         ptrace.
29377
29378         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
29379         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
29380         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
29381         PTRACE_O_MASK.
29382         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
29383         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
29384         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
29385
29386         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
29387         value.
29388
29389         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
29390         _sigsys.
29391         (si_call_addr, si_syscall, si_arch): Define new macro.
29392         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
29393         _sigsys.
29394         (si_call_addr, si_syscall, si_arch): Define new marcro.
29395         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
29396         _sigsys.
29397         (si_call_addr, si_syscall, si_arch): Define new macro.
29398         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
29399         _sigsys.
29400         (si_call_addr, si_syscall, si_arch): Define new macro.
29401
29402 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29403
29404         [BZ #13717]
29405         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29406         Change to 2.4.21 where previously 2.4.1.
29407         * sysdeps/unix/sysv/linux/configure: Regenerated.
29408         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
29409         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
29410         Linux kernel version.
29411         (__ASSUME_STD_AUXV): Remove.
29412         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
29413         kernel version.
29414         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
29415         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
29416         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
29417         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
29418         (__ASSUME_NETLINK_SUPPORT): Likewise.
29419         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
29420         (__no_netlink_support): Remove conditional definition.
29421         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
29422         Remove.
29423         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29424         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
29425         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
29426         (if_nameindex_ioctl): Remove.
29427         (if_nameindex_netlink): Do not handle __no_netlink_support.
29428         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29429         code.
29430         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
29431         Remove conditional code.
29432         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
29433         code.
29434         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
29435         unconditional.
29436         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
29437         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
29438         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
29439         Remove.
29440         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
29441         [!__ASSUME_STD_AUXV]: Remove conditional code.
29442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
29443         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
29444         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
29445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
29446         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
29447         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29448         code.
29449         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
29451         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
29452         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29453         conditional code.
29454         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
29455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
29456         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
29457         code.
29458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
29459         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
29460         conditional code.
29461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
29462         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29463         code unconditional.
29464         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29465         conditional code.
29466         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29467         unconditional.
29468         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29469         conditional code.
29470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
29471         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29472         unconditional.
29473         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29474         conditional code.
29475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
29476         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29477         code unconditional.
29478         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29479         conditional code.
29480         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29481         unconditional.
29482         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29483         conditional code.
29484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
29485         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
29486         code unconditional.
29487         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29488         conditional code.
29489         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
29490         unconditional.
29491         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
29492         conditional code.
29493
29494 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
29495
29496         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
29497         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
29498         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
29499         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
29500         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
29501         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
29502         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
29503         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
29504         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
29505         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
29506         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
29507         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
29508         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
29509         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
29510         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
29511         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
29512         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
29513         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
29514         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
29515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
29516         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
29517         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
29518         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
29519
29520 2012-07-25  Florian Weimer  <fweimer@redhat.com>
29521
29522         * Versions.def: Add GLIBC_2.17.
29523         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
29524         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
29525         Introduce __libc_secure_getenv.
29526         * stdlib/Versions (2.17): Add secure_getenv
29527         (GLIBC_PRIVATE): Add __libc_secure_getenv.
29528         * stdlib/secure-getenv.c: Rename __secure_getenv to
29529         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
29530         symbol __secure_getenv for GLIBC_2.0.
29531         * stdlib/tst-secure-getenv.c: New.
29532         * stdlib/Makefile (tests): Add testcase.
29533         * manual/startup.texi (Environment Access): Document
29534         secure_getenv.
29535         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
29536         __libc_secure_getenv.
29537         * inet/ruserpass.c (ruserpass): Likewise.
29538         * malloc/mtrace.c (mtrace): Likewise.
29539         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
29540         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
29541         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
29542         * sysdeps/posix/tempname.c: Likewise.  Evaluate
29543         HAVE_SECURE_GETENV.
29544         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
29545         __secure_getenv to __libc_secure_getenv.
29546         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
29547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29548         Likewise.
29549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29550         Likewise.
29551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
29552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
29553         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29554         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
29555         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
29556         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
29558
29559 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
29560
29561         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
29562         (struct La_i86_retval): Likewise.
29563         (struct La_x86_64_regs): Likewise.
29564         (struct La_x86_64_retval): Likewise.
29565         (struct La_x32_regs): Likewise.
29566         (struct La_x32_retval): Likewise.
29567         (struct La_ppc32_regs): Likewise.
29568         (struct La_ppc32_retval): Likewise.
29569         (struct La_ppc64_regs): Likewise.
29570         (struct La_ppc64_retval): Likewise.
29571         (struct La_sh_regs): Likewise.
29572         (struct La_sh_retval): Likewise.
29573         (struct La_s390_32_regs): Likewise.
29574         (struct La_s390_32_retval): Likewise.
29575         (struct La_s390_64_regs): Likewise.
29576         (struct La_s390_64_retval): Likewise.
29577         (struct La_sparc32_regs): Likewise.
29578         (struct La_sparc32_retval): Likewise.
29579         (struct La_sparc64_regs): Likewise.
29580         (struct La_sparc64_retval): Likewise.
29581         (struct audit_ifaces): Remove architecture-specific pltenter and
29582         pltexit members.
29583         * sysdeps/i386/ldsodefs.h: New file.
29584         * sysdeps/powerpc/ldsodefs.h: Likewise.
29585         * sysdeps/s390/ldsodefs.h: Likewise.
29586         * sysdeps/sh/ldsodefs.h: Likewise.
29587         * sysdeps/sparc/ldsodefs.h: Likewise.
29588         * sysdeps/x86_64/ldsodefs.h: Likewise.
29589
29590 2012-07-25  Marek Polacek  <polacek@redhat.com>
29591
29592         [BZ #6808]
29593         * math/libm-test.inc (yn_test): Add another test.
29594         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
29595         to ERANGE when the result is +-Inf.
29596         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
29597         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
29598         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
29599         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
29600
29601 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
29602
29603         * conform/data/time.h-data (NULL): Use macro-constant.  Require
29604         equal to 0.
29605         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
29606         clock_t.
29607         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
29608
29609 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
29610
29611         * configure.in <sysdeps resolving>: Correct printing
29612         Implies_before.
29613         * configure: Regenerate.
29614
29615 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
29616
29617         * math/w_ilogb.c: Include <limits.h>.
29618         * math/w_ilogbl.c: Likewise.
29619
29620 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29621
29622         * manual/lang.texi (__va_copy): Document primarily as ISO C99
29623         va_copy.  Document allowing for unavailable va_copy only as
29624         pre-C99 compatibility.
29625         * manual/string.texi (Copying and Concatenation): Use va_copy
29626         instead of __va_copy in concat example.
29627
29628 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
29629
29630         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
29631         (__sendto): Use create_address_port.  Initialize APORT and deallocate
29632         it if not null.
29633
29634         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
29635         with O_NOLINK passed to __file_name_lookup.
29636
29637         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
29638         with O_NOLINK passed to __file_name_lookup.
29639
29640         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
29641         negative N or less than NGIDS.
29642
29643         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
29644         type to string_t.  Set ERANGE as errno and return it if NAME is not big
29645         enough.  Use memcpy instead of strncpy.
29646
29647 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
29648
29649         * elf/Makefile (check-data): Remove.
29650         (localplt.data): New vpath directive.
29651         ($(objpfx)check-localplt.out): Use localplt.data from vpath
29652         instead of $(check-data).
29653         * scripts/data/localplt-generic.data: Move to ...
29654         * sysdeps/generic/localplt.data: ... here.
29655         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
29656         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
29657         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
29658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
29659         ... here.
29660         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
29661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
29662         ... here.
29663         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
29664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
29665         ... here.
29666         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
29667         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
29668         ... here.
29669         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
29670         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
29671         ... here.
29672         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
29673         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
29674         ... here.
29675
29676 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29677
29678         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
29679         PPC32 and PPC64 files.
29680         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
29681         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
29682
29683 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29684
29685         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
29686         __makecontext_ret to ...
29687         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
29688         ... here and call exit if uc_link is NULL.  New file.
29689         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
29690         __makecontext_ret.S.
29691         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
29692         __makecontext_ret to ...
29693         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
29694         ... here and call exit if uc_link is NULL.  New file.
29695         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
29696         __makecontext_ret.S.
29697
29698 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29699
29700         * elf/elf.h (R_390_IRELATIVE): New definition.
29701         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
29702         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
29703         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
29704         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
29705         (elf_machine_lazy_rel): Likewise.
29706         * sysdeps/s390/dl-irel.h: New file.
29707         * sysdeps/s390/s390-64/memcpy.S: New asm code.
29708         * sysdeps/s390/s390-64/memset.S: New asm code.
29709         * sysdeps/s390/s390-64/memcmp.S: New asm code.
29710         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
29711         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
29712         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
29713         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
29714         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
29715         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
29716         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
29717         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
29718         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
29719         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
29720         * sysdeps/s390/s390-32/memcpy.S: New asm code.
29721         * sysdeps/s390/s390-32/memset.S: New asm code.
29722         * sysdeps/s390/s390-32/memcmp.S: New asm code.
29723
29724 2012-07-17  Marek Polacek  <polacek@redhat.com>
29725
29726         [BZ #14349]
29727         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
29728         * sysdeps/s390/s390-64/configure.in: Likewise.
29729         * sysdeps/sparc/configure.in: Likewise.
29730         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
29731         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
29732         * sysdeps/i386/configure.in: Likewise.
29733         * sysdeps/x86_64/configure.in: Likewise.
29734         * sysdeps/sh/configure.in: Likewise.
29735         * sysdeps/s390/s390-32/configure: Regenerated.
29736         * sysdeps/s390/s390-64/configure: Likewise.
29737         * sysdeps/x86_64/configure: Likewise.
29738         * sysdeps/sh/configure: Likewise.
29739         * sysdeps/powerpc/powerpc64/configure: Likewise.
29740         * sysdeps/powerpc/powerpc32/configure: Likewise.
29741         * sysdeps/sparc/configure: Likwise.
29742         * sysdeps/i386/configure: Likewise.
29743
29744         * elf/dl-open.c: Comment fixes.
29745
29746 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
29747
29748         * Makefile [CXX] (check-data): Remove.
29749         [CXX] (c++-types.data): New vpath directive.
29750         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
29751         vpath.  Do not allow for C++ type data being missing.
29752         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
29753         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
29754         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
29755         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
29756         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
29757         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
29758         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
29759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
29760         ... here.
29761         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
29762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
29763         ... here.
29764         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
29765         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
29766         ... here.
29767         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
29768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
29769         ... here.
29770         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
29771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
29772         ... here.
29773         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
29774         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
29775         ... here.
29776         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
29777         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
29778         ... here.
29779         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
29780         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
29781
29782         * elf/tls-macros.h (TLS_LE): Move architecture-specific
29783         definitions to architecture-specific files.
29784         (TLS_IE): Likewise.
29785         (TLS_LD): Likewise.
29786         (TLS_GD): Likewise.
29787         * sysdeps/i386/tls-macros.h: New file.
29788         * sysdeps/powerpc/tls-macros.h: Likewise.
29789         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
29790         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
29791         * sysdeps/sh/tls-macros.h: Likewise.
29792         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
29793         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
29794         * sysdeps/x86_64/tls-macros.h: Likewise.
29795
29796 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29797
29798         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
29799         zero value for regular exit case.
29800
29801         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
29802         (__start_context): Preserve zero value for regular exit case.
29803
29804 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
29805             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29806
29807         * manual/setjmp.texi (setcontext): Clarify normal process
29808         termination when uc_link is the null pointer.
29809         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
29810         exit call.
29811
29812 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
29813
29814         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
29815         preprocessor.  Test for each exception mask separately.
29816
29817 2012-07-16  Andreas Jaeger  <aj@suse.de>
29818
29819         * po/ru.po: Update from translation team.
29820
29821 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
29822
29823         * conform/data/string.h-data (NULL): Use macro-constant.  Require
29824         equal to 0.
29825         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29826         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29827         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
29828         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
29829         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29830
29831 2012-07-13  Andreas Jaeger  <aj@suse.de>
29832
29833         * po/fr.po: Update from translation team.
29834
29835 2012-07-12  Marek Polacek  <polacek@redhat.com>
29836
29837         [BZ #14173]
29838         * math/libm-test.inc (yn_test): Add test for BZ #14173.
29839         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
29840         loop condition.
29841
29842 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
29843
29844         [BZ #13717]
29845         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
29846         Change to 2.4.1 where previously 2.4.0.
29847         * sysdeps/unix/sysv/linux/configure: Regenerated.
29848         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
29849         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
29850         version.
29851         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
29852         (__ASSUME_AT_CLKTCK): Remove.
29853         (__ASSUME_AT_PAGESIZE): Likewise.
29854         (__ASSUME_AT_XID): Likewise.
29855         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
29856         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
29857         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
29858         unconditionally.
29859         (HAVE_AUX_PAGESIZE): Likewise.
29860         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
29861         [__ASSUME_AT_CLKTCK]: Make code unconditional.
29862         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
29863
29864 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
29865
29866         [BZ #14307]
29867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
29868         the temporary buffer used to invoke __gethostbyname2_r,
29869         __gethostbyaddr_r and gethostbyname4_r to make room for struct
29870         host_data / struct gaih_addrtuple.
29871         * resolv/nss_dns/dns-host.c (global scope): Move definition of
29872         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
29873         header file nss/nsswitch.h.
29874         * nss/nsswitch.h (global scope): Add definition of implementation
29875         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
29876         resolv/nss_dns/dns-host.c).
29877
29878 2012-07-11  Andreas Jaeger  <aj@suse.de>
29879
29880         * po/fr.po: Update from translation team.
29881
29882         * po/sv.po: Update from translation team
29883         * po/fr.po: Another update from translation team.
29884
29885 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29886
29887         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
29888         for subnormals or multiply small sinh result by itself.
29889         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
29890         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29891
29892 2012-07-11  David S. Miller  <davem@davemloft.net>
29893
29894         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29895
29896 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
29897
29898         [BZ #14347]
29899         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
29900         (INTERNAL_MARK): Shift it here.
29901
29902 2012-07-10  Marek Polacek  <polacek@redhat.com>
29903
29904         [BZ #14151]
29905         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
29906         libc_cv_asm_global_directive with .globl.
29907         * configure: Regenerated.
29908         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
29909         with .globl.
29910         * sysdeps/i386/configure: Regenerated.
29911         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
29912         with .globl.
29913         * sysdeps/x86_64/configure: Regenerated.
29914         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
29915         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
29916         * elf/tst-unique2mod2.c: Likewise.
29917         * elf/tst-unique2mod1.c: Likewise.
29918         * elf/tst-unique1mod2.c: Likewise.
29919         * elf/tst-unique1mod1.c: Likewise.
29920         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29921         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
29922         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29923         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
29924         * sysdeps/mach/sysdep.h: Likewise.
29925         * sysdeps/i386/sysdep.h: Likewise.
29926         * sysdeps/i386/i386-mcount.S: Likewise.
29927         * sysdeps/x86_64/_mcount.S: Likewise.
29928         * sysdeps/x86_64/sysdep.h: Likewise.
29929         * sysdeps/sh/_mcount.S: Likewise.
29930         * sysdeps/sh/sysdep.h: Likewise.
29931         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
29932         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
29933         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
29934         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29935         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
29936         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
29937         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
29938         * locale/localeinfo.h: Likewise.
29939         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
29940         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
29941
29942 2012-07-09  Roland McGrath  <roland@hack.frob.com>
29943
29944         [BZ #14336]
29945         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
29946         system".
29947         * manual/message.texi (The Uniforum approach): Likewise.
29948         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
29949         (glibc iconv Implementation): Likewise.
29950
29951 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
29952
29953         [BZ #14337]
29954         * math/s_clog.c (__clog): Avoid scaling a value down where that
29955         could result in underflow.
29956         * math/s_clog10.c (__clog10): Likewise.
29957         * math/s_clog10f.c (__clog10f): Likewise.
29958         * math/s_clog10l.c (__clog10l): Likewise.
29959         * math/s_clogf.c (__clogf): Likewise.
29960         * math/s_clogl.c (__clogl): Likewise.
29961         * math/libm-test.inc (clog_test): Add more tests.
29962         (clog10_test): Likewise.
29963         * sysdeps/i386/fpu/libm-test-ulps: Update.
29964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29965
29966 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
29967
29968         [BZ #14283]
29969         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
29970         by 7 not 8 to examine high bit of fractional part.
29971
29972         [BZ #14042]
29973         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
29974         for call to __mcount_internal.
29975         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
29976         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
29977         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
29978
29979 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
29980
29981         [BZ #14154]
29982         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
29983         approximation for values within 0x1p-13f of an odd multiple of
29984         pi/4.
29985         * math/libm-test.inc (tan_test): Do not allow spurious underflow
29986         exception.  Add more tests.
29987         * sysdeps/i386/fpu/libm-test-ulps: Update.
29988
29989         [BZ #6778]
29990         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
29991         inputs and return -1 for them.  Do not check for +Inf in case not
29992         reachable for +Inf.
29993         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
29994         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
29995         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
29996         and return -1 for them.  Do not check for +Inf in case not
29997         reachable for +Inf.
29998         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
29999         define.
30000         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
30001         and return -1 for them.  Do not check for +Inf in case not
30002         reachable for +Inf.
30003         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
30004         spurious underflow.
30005         * sysdeps/i386/fpu/libm-test-ulps: Update.
30006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30007
30008 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
30009
30010         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
30011
30012 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
30013
30014         [BZ #14157]
30015         [BZ #14331]
30016         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
30017         could result in spurious underflow.  Scale down values above
30018         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
30019         * math/s_csqrtf.c (__csqrtf): Likewise.
30020         * math/s_csqrtl.c (__csqrtl): Likewise.
30021         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
30022         spurious underflow.
30023         * sysdeps/i386/fpu/libm-test-ulps: Update.
30024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30025
30026 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
30027
30028         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
30029         xopen-msg.sed.
30030         * catgets/xopen-msg.awk: New file.
30031         * catgets/xopen-msg.sed: Removed.
30032
30033         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
30034         po2text.sed.
30035         * intl/po2test.awk: New file.
30036         * intl/po2test.sed: Removed.
30037
30038 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
30039
30040         [BZ #14328]
30041         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
30042         or multiply small sinh result by itself.
30043         * math/s_ctanf.c (__ctanf): Likewise.
30044         * math/s_ctanh.c (__ctanh): Likewise.
30045         * math/s_ctanhf.c (__ctanhf): Likewise.
30046         * math/s_ctanhl.c (__ctanhl): Likewise.
30047         * math/s_ctanl.c (__ctanl): Likewise.
30048         * math/libm-test.inc (ctan_test_tonearest): New function.
30049         (ctan_test_towardzero): Likewise.
30050         (ctan_test_downward): Likewise.
30051         (ctan_test_upward): Likewise.
30052         (ctanh_test_tonearest): Likewise.
30053         (ctanh_test_towardzero): Likewise.
30054         (ctanh_test_downward): Likewise.
30055         (ctanh_test_upward): Likewise.
30056         (main): Call these new functions.
30057         * sysdeps/i386/fpu/libm-test-ulps: Update.
30058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30059
30060 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
30061
30062         * .gitignore: Delete /ports entry.
30063
30064 2012-07-03  Andreas Jaeger  <aj@suse.de>
30065
30066         * po/bg.po: Update from translation team.
30067         * po/cs.po: Likewise.
30068         * po/de.po: Likewise.
30069         * po/hr.po: Likewise.
30070         * po/nl.pl: Likewise.
30071         * po/pl.po: Likewise.
30072         * po/vi.po: Likewise.
30073
30074 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
30075
30076         * Makeconfig [!+link] (+link-before-libc): New variable.
30077         [!+link] (+link-after-libc): Likewise.
30078         [!+link] (+link-tests): Likewise.
30079         [!+link] (+link): Define in terms of $(+link-before-libc) and
30080         $(+link-after-libc).
30081         [!+link-static] (+link-static-before-libc): New variable.
30082         [!+link-static] (+link-static-after-libc): Likewise.
30083         [!+link-static] (+link-static-tests): Likewise.
30084         [!+link-static] (+link-static): Define in terms of
30085         $(+link-static-before-libc) and $(+link-static-after-libc).
30086         [build-shared] (link-libc-before-gnulib): New variable.
30087         [build-shared] (link-libc-tests): Likewise.
30088         [build-shared] (link-libc): Define in terms of
30089         $(link-libc-before-gnulib).
30090         [!build-shared] (link-libc-tests): New variable.
30091         (link-libc-static-tests): New variable.
30092         [!gnulib] (gnulib-arch): New variable.
30093         [!gnulib] (gnulib-tests): Likewise.
30094         [!gnulib] (static-gnulib-arch): Likewise.
30095         [!gnulib] (static-gnulib-tests): Likewise.
30096         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
30097         Define with "=" instead of ":=".
30098         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
30099         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
30100         * Rules (binaries-all-notests): New variable.
30101         (binaries-all-tests): Likewise.
30102         (binaries-static-notests): Likewise.
30103         (binaries-static-tests): Likewise.
30104         (binaries-all): Define using $(binaries-all-notests) and
30105         $(binaries-all-tests).
30106         (binaries-static): Define using $(binaries-static-notests) and
30107         $(binaries-static-tests).
30108         (binaries-shared-tests): New variable.
30109         (binaries-shared-notests): Likewise.
30110         (binaries-shared): Remove variable.
30111         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
30112         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
30113         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
30114         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
30115         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
30116         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
30117         * elf/Makefile (sln-modules): New variable.
30118         (extra-objs): Add $(sln-modules:=.o).
30119         (ldconfig-modules): Add static-stubs.
30120         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
30121         * elf/static-stubs.c: New file.
30122
30123         [BZ #14283]
30124         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
30125         by 7 not 8 to examine high bit of fractional part.  Use volatile
30126         variables when splitting into final array of floats if
30127         __FLT_EVAL_METHOD__ != 0.
30128         * math/libm-test.inc (cos_test): Add another test.
30129         (sin_test): Likewise.
30130         * sysdeps/i386/fpu/libm-test-ulps: Update.
30131
30132         [BZ #14273]
30133         * math/libm-test.inc (cosh_test): Add more tests.
30134
30135         * version.h (RELEASE): Set to "development".
30136         (VERSION): Set to "2.16.90".
30137
30138 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
30139
30140         * NEWS: Update copyright. Remove last-updated date.
30141         Mention math library bug fixes and timezone data changes.
30142         * README: Mention GNU/Hurd, x32, and HPPA support status.
30143
30144 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
30145
30146         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
30147
30148 2012-06-27  Andreas Jaeger  <aj@suse.de>
30149
30150         * manual/contrib.texi (Contributors): Add Samuel Thibault.
30151
30152 2012-06-25  Andreas Jaeger  <aj@suse.de>
30153
30154         * sysdeps/s390/fpu/libm-test-ulps: Update.
30155
30156 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
30157             Thomas Schwinge  <thomas@codesourcery.com>
30158
30159         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
30160         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
30161         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
30162         fanotify_mark.
30163
30164 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
30165
30166         * sysdeps/mach/start.c: Remove file.
30167         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
30168         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
30169         * sysdeps/sh/init-first.c: Likewise.
30170
30171         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
30172         registers for frame unwinding purposes, add CFI directives.
30173         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30174         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
30175         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
30176         Likewise.
30177
30178         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
30179         __fortify_fail returning.
30180         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
30181
30182         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
30183         sysdeps/sh/____longjmp_chk.S.
30184         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
30185         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
30186         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
30187         (gen-as-const-headers): Append sigaltstack-offsets.sym.
30188
30189         * sysdeps/sh/abort-instr.h: New file.
30190         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
30191         process in case exit returns.
30192
30193         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
30194         initialize the GOT register before use.
30195
30196         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
30197         calculation of ARGC > 4.
30198
30199         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
30200         meaningful names to some local labels.
30201
30202 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
30203             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30204
30205         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
30206         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
30207         (__arch_compare_and_exchange_val_16_acq): Likewise.
30208         (__arch_compare_and_exchange_val_32_acq): Likewise.
30209         (atomic_exchange_and_add): Fix gUSA sequence.
30210         (atomic_add): Likewise.
30211         (atomic_add_negative): Likewise.
30212         (atomic_add_zero): Likewise.
30213         (atomic_bit_test_set): Likewise.
30214
30215 2012-06-22  Andreas Schwab  <schwab@redhat.com>
30216
30217         [BZ #13579]
30218         * include/link.h (struct link_map): Add l_free_initfini.
30219         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
30220         l_initfini.
30221         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
30222         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
30223         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
30224         set.
30225
30226 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
30227
30228         * configure.in: Use AC_LANG_SOURCE.
30229         * configure: Regenerate.
30230
30231 2012-06-22  Roland McGrath  <roland@hack.frob.com>
30232
30233         * configure.in (libc_cv_localstatedir): New substituted variable.
30234         * configure: Regenerated.
30235         * config.make.in (localstatedir): New variable, substituted from
30236         libc_cv_localstatedir.
30237         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
30238         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
30239         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
30240         * sysdeps/gnu/configure: Regenerated.
30241
30242 2012-06-21  Jeff Law  <law@redhat.com>
30243
30244         [BZ #14277]
30245         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
30246         free.  Simplify list management for _LIBC case.
30247
30248 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
30249
30250         [BZ #14273]
30251         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
30252         Clear sign bit of 64-bit integer value before comparing against
30253         overflow value.
30254
30255         * sysdeps/mach/configure: Regenerated.
30256
30257 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
30258
30259         [BZ #14278]
30260         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
30261
30262 2012-06-21  Jeff Law  <law@redhat.com>
30263
30264         [BZ #13882]
30265         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
30266         uint16_t for elements in the "seen" array to avoid char overflows.
30267         * elf/dl-fini.c (_dl_sort_fini): Likewise.
30268         * elf/dl-open.c (dl_open_worker): Likewise.
30269
30270 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
30271
30272         * scripts/list-sources.sh: Scan PORTS for translations.
30273         * po/libc.pot: Regenerated.
30274
30275 2012-06-21  Andreas Jaeger  <aj@suse.de>
30276
30277         [BZ #12194]
30278         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
30279         warning.
30280         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
30281         * bits/byteswap-16.h (__bswap_16): Likewise.
30282         * bits/byteswap.h (__bswap_constant_16): Likewise.
30283
30284 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
30285
30286         [BZ #14117]
30287         * sysdeps/i386/fpu_control.h: Removed.
30288         * sysdeps/x86_64/fpu_control.h: Moved to ...
30289         * sysdeps/x86/fpu_control.h: Here.
30290
30291         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
30292         (_FPU_SETCW): Likewise.
30293
30294 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
30295
30296         [BZ #14117]
30297         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
30298         * sysdeps/x86/fpu/bits/mathinline.h: This.
30299         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
30300
30301         [BZ #14050]
30302         [BZ #14117]
30303         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
30304         functions if __x86_64__ is defined.
30305
30306 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
30307
30308         * string/endian.h: Add !__ASSEMBLER__ condition for including
30309         conversion interfaces.
30310
30311 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
30312
30313         [BZ #14241]
30314         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
30315         of ABS(x) in calculating zero to negative powers other than odd
30316         integers.
30317         * math/libm-test.inc (pow_test): Add more tests.
30318
30319 2012-06-15  Andreas Jaeger  <aj@suse.de>
30320
30321         * manual/contrib.texi (Contributors): Update entry of Liubov
30322         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
30323         Machado Filho.
30324
30325 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
30326
30327         * string/string.h: Add __wur to GNU version of strerror_r.
30328
30329 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
30330
30331         [BZ #14229]
30332         * string/Makefile (tests): Add tst-strtok_r.
30333         * string/tst-strtok_r.c: New file.
30334         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
30335         RAX_LP/RDX_LP on SAVE_PTR.
30336
30337 2012-06-14  Roland McGrath  <roland@hack.frob.com>
30338
30339         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
30340
30341 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
30342
30343         * libm_test.inc (csqrt_test): Allow more spurious underflow
30344         exceptions.
30345         (j0_test): Likewise.
30346         (j1_test): Likewise.
30347         (y0_test): Likewise.
30348         (y1_test): Likewise.
30349
30350 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
30351
30352         * po/Makefile (libc.pot): Use UTF-8 charset.
30353
30354 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
30355
30356         [BZ #14210]
30357         Suppress sign-conversion warning from FD_SET.
30358         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
30359         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
30360         not unsigned long int.
30361         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
30362
30363 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
30364
30365         [BZ #14050]
30366         [BZ #14117]
30367         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
30368         __extern_always_inline instead of __extern_inline.
30369         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
30370         (__signbit): Likewise.
30371         (__signbitl): Support C++ namespace.
30372         (lrintf): New inline function.
30373         (lrint): Likewise.
30374         (llrintf): Likewise.
30375         (llrint): Likewise.
30376         (fmaxf): Likewise.
30377         (fmax): Likewise.
30378         (fminf): Likewise.
30379         (fmin): Likewise.
30380         (rint): Likewise.
30381         (rintf): Likewise.
30382         (ceil): Likewise.
30383         (ceilf): Likewise.
30384         (floor): Likewise.
30385         (floorf): Likewise.
30386         (nearbyint): Likewise.
30387         (nearbyintf): Likewise.
30388
30389 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
30390
30391         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
30392         non-default versions.
30393
30394 2012-06-11  Roland McGrath  <roland@hack.frob.com>
30395
30396         [BZ #14218]
30397         * manual/argp.texi (Argp): Reword argp_parse description slightly.
30398
30399 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
30400
30401         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
30402         (FE_UPWARD, FE_DOWNWARD): Don't define.
30403         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
30404         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30405
30406         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
30407         reading it.
30408         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30409         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
30410
30411 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
30412
30413         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
30414         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
30415         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
30416         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
30417
30418 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
30419
30420         [BZ #14117]
30421         * sysdeps/i386/fpu/bits/fenv.h: Removed.
30422         * sysdeps/i386/fpu/Implies: New file.
30423         * sysdeps/x86_64/fpu/Implies: Likewise.
30424         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
30425         * sysdeps/x86/fpu/bits/fenv.h: This.
30426
30427         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
30428         __SSE_MATH__.
30429
30430 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30431
30432         [BZ #14134]
30433         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
30434         character 0xffff that matches the last element of the
30435         conversion table.
30436
30437 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30438
30439         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
30440         fmodl commit.
30441
30442 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30443
30444         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
30445         values higher than 25.6283.
30446
30447 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30448
30449         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
30450         subnormal exponent extraction and add some __builtin_expect.
30451         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
30452         Fix for subnormal mantissa calculation.
30453
30454 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
30455
30456         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
30457         cpu2 is -1 and errno is not ENOSYS.
30458
30459 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
30460
30461         [BZ #14117]
30462         * sysdeps/i386/i486/bits/string.h: Renamed to ...
30463         * sysdeps/x86/bits/string.h: This.
30464         * sysdeps/x86_64/bits/string.h: Removed.
30465
30466         * sysdeps/i386/i486/bits/string.h: Define inline functions only
30467         if not compiling for x86-64, but compiling for >= i486.
30468
30469         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
30470         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
30471
30472         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
30473         New macro from Linux kernel 3.4.0.
30474         (FP_XSTATE_MAGIC2): Likewise.
30475         (FP_XSTATE_MAGIC2_SIZE): Likewise.
30476         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
30477         (struct _fpx_sw_bytes): New struct.
30478         (struct _xsave_hdr): Likewise.
30479         (struct _ymmh_state): Likewise.
30480         (struct _xstate): Likewise.
30481
30482         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
30483         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
30484         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
30485         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
30486         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
30487         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
30488
30489         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
30490         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
30491         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
30492         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
30493         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
30494         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
30495
30496 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30497
30498         [BZ #13743]
30499         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
30500         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
30501         (sysdep_headers): Include sys/platform/ppc.h.
30502         * sysdeps/powerpc/test-gettimebase.c: Test for
30503         __ppc_get_timebase() to catch future ISA opcode/insn changes.
30504         * manual/Makefile (appendices): Include platform.texi.
30505         * manual/contrib.texi (Contributors): Update @node pointers.
30506         * manual/maint.texi (Maintenance): Likewise.
30507         (Platform): New node.
30508         * manual/platform.texi: New file.  Document the new features.
30509
30510 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30511             Jakub Jelinek  <jakub@redhat.com>
30512
30513         [BZ #14188]
30514         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
30515         where __builtin_expect is unavailable.
30516
30517 2012-06-03  David S. Miller  <davem@davemloft.net>
30518
30519         * stdlib/longlong.h: Updated from GCC.
30520
30521 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
30522
30523         [BZ #14042]
30524         * sysdeps/powerpc/powerpc32/mcount.c: New file.
30525         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
30526         __mcount_internal.
30527         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
30528         (GLIBC_2.16): Likewise.
30529
30530 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30531
30532         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
30533
30534 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30535
30536         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
30537         (default-abi): New variable.
30538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
30539         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
30540         variable.
30541         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
30542         Likewise.
30543         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
30544         Likewise.
30545         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
30546         Likewise.
30547
30548         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
30549         definition.  Document in comment.
30550
30551 2012-06-01  David S. Miller  <davem@davemloft.net>
30552
30553         * stdlib/longlong.h: Updated from GCC.
30554
30555 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30556
30557         [BZ #14117]
30558         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
30559         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
30560         sys/debugreg.h sys/io.h here.
30561         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
30562         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
30563         sys/io.h.
30564         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
30565         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
30566         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
30567         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
30568         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
30569         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
30570
30571         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
30572         Define only if __x86_64__ is defined.
30573
30574 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
30575
30576         [BZ #14048]
30577         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
30578         Use int64_t for variable i.
30579         * math/libm-test.inc (fmod_test): Add more tests.
30580
30581         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
30582         z computation is not scheduled after fetestexcept.
30583         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
30584         Use math_force_eval instead of asm to ensure calculation scheduled
30585         before exception test.
30586         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
30587         Ensure a1 + u.d computation is not scheduled after fetestexcept.
30588
30589 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
30590
30591         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
30592         computation is not scheduled after fetestexcept.
30593
30594 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
30595
30596         [BZ #14117]
30597         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
30598         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
30599
30600 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30601
30602         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
30603         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
30604
30605 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30606
30607         [BZ #14117]
30608         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
30609         <bits/wordsize.h>.
30610         (__WCHAR_MIN): Support __WORDSIZE == 64.
30611         (__WCHAR_MAX): Likewise.
30612
30613         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
30614         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
30615
30616         [BZ #14183]
30617         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
30618         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
30619
30620         [BZ #14117]
30621         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
30622         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
30623
30624         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
30625         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
30626
30627         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
30628         Defined to 1 if __x86_64__ isn't defined.
30629         (_STAT_VER_LINUX_OLD): New.
30630         (st_atime): Remove duplicate.
30631         (st_mtime): Likewise.
30632         (st_ctime): Likewise.
30633
30634 2012-05-31  David S. Miller  <davem@davemloft.net>
30635
30636         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
30637         entries.
30638
30639 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
30640
30641         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
30642         gen-libm-test.pl.
30643
30644         [BZ #14132]
30645         * elf/dl-reloc.c: Include <_itoa.h>.
30646         (_dl_reloc_bad_type): Remove use of INTUSE.
30647         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
30648         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
30649         * stdio-common/psiginfo.c (psiginfo): Likewise.
30650         * stdio-common/psignal.c (psignal): Likewise.
30651         * string/strsignal.c (strsignal): Likewise.
30652         * include/signal.h (_sys_siglist): Declare hidden proto.
30653         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
30654         INTVARDEF with libc_hidden_data_def.
30655         * stdio-common/itoa-udigits.c: Likewise.
30656         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
30657         (_itoa_lower_digits_internal): Remove declaration.
30658         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
30659         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
30660         (_sys_sigabbrev_internal): Remove aliases.
30661         (_sys_siglist): Define hidden alias.
30662
30663 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
30664
30665         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30666         bits/sysctl.h.
30667
30668 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
30669
30670         [BZ #14117]
30671         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
30672         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
30673
30674         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
30675         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
30676         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
30677         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
30678         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
30679         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
30680
30681         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
30682         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
30683         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
30684
30685         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
30686         with __addr.
30687         (insw): Likewise.
30688         (insl): Likewise.
30689         (outsb): Likewise.
30690         (outsw): Likewise.
30691         (outsl): Likewise.
30692
30693         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
30694         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
30695         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
30696
30697         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
30698         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
30699         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
30700         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
30701         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
30702         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
30703
30704         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
30705         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
30706
30707         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
30708         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
30709
30710         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
30711         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
30712         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
30713
30714         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
30715         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
30716         to ...
30717         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
30718
30719         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
30720         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
30721         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
30722
30723         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
30724         for x86-64.
30725         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
30726
30727 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
30728
30729         * math/math.h (M_El): Use two more decimal places.
30730         (M_LOG2El): Likewise.
30731         (M_LOG10El): Likewise.
30732         (M_LN2l): Likewise.
30733         (M_LN10l): Likewise.
30734         (M_PIl): Likewise.
30735         (M_PI_2l): Likewise.
30736         (M_PI_4l): Likewise.
30737         (M_1_PIl): Likewise.
30738         (M_2_PIl): Likewise.
30739         (M_2_SQRTPIl): Likewise.
30740         (M_SQRT2l): Likewise.
30741         (M_SQRT1_2l): Likewise.
30742
30743 2012-05-31  David S. Miller  <davem@davemloft.net>
30744
30745         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
30746         values between float registers.
30747         * sysdeps/sparc/sparc64/memset.S: Likewise.
30748         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
30749
30750 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
30751
30752         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
30753         -D_FORTIFY_SOURCE=1.
30754         (CPPFLAGS-tst-longjmp_chk.c): Define.
30755         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
30756         (CPPFLAGS-tst-longjmp_chk2.c): Define.
30757         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
30758         CFLAGS-tst-wchar-h.c.
30759
30760 2012-05-31  Marek Polacek  <polacek@redhat.com>
30761
30762         [BZ #14132]
30763         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
30764         __endmntent_internal): Remove declaration.
30765         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
30766         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
30767         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
30768
30769 2012-05-30  David S. Miller  <davem@davemloft.net>
30770
30771         * sysdeps/sparc/sparc32/soft-fp/q_util.c
30772         (___Q_simulate_exceptions): Use real FP ops rather than writing
30773         into the %fsr.
30774         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
30775         Likewise.
30776
30777 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30778
30779         [BZ #14117]
30780         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
30781         * sysdeps/x86/bits/xtitypes.h: This.
30782
30783         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
30784         * sysdeps/x86/bits/wordsize.h: This.
30785
30786         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
30787         * sysdeps/x86/bits/huge_vall.h: This.
30788
30789         * sysdeps/i386/bits/select.h: Removed.
30790         * sysdeps/x86_64/bits/select.h: Renamed to ...
30791         * sysdeps/x86/bits/select.h: This.
30792
30793         * sysdeps/i386/bits/setjmp.h: Removed.
30794         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
30795         * sysdeps/x86/bits/setjmp.h: This.
30796
30797         * sysdeps/i386/bits/mathdef.h: Removed.
30798         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
30799         * sysdeps/x86/bits/mathdef.h: This.
30800
30801 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
30802
30803         [BZ #14132]
30804         * include/sys/socket.h (__connect_internal)
30805         (__libc_sa_len_internal): Remove declaration.
30806         (__connect, __libc_sa_len): Declare hidden_proto.
30807         (SA_LEN): Remove use of INTUSE.
30808         * socket/connect.c: Add libc_hidden_def.
30809         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
30810         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
30811         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
30812         alias.
30813         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
30814         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
30815         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
30816         of adding _internal alias.
30817
30818 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30819
30820         [BZ #14117]
30821         * sysdeps/i386/bits/link.h: Removed.
30822         * sysdeps/i386/bits/linkmap.h: Likewise.
30823         * sysdeps/x86_64/bits/link.h: Renamed to ...
30824         * sysdeps/x86/bits/link.h: This.
30825         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
30826         * sysdeps/x86/bits/linkmap.h: This.
30827
30828         * sysdeps/i386/bits/endian.h: Removed.
30829         * sysdeps/x86_64/bits/endian.h: Renamed to ...
30830         * sysdeps/x86/bits/endian.h: This.
30831
30832         * sysdeps/i386/bits/byteswap.h: Removed.
30833         * sysdeps/i386/bits/byteswap-16.h: Likewise.
30834         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
30835         * sysdeps/x86/bits/byteswap.h: This.
30836         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
30837         * sysdeps/x86/bits/byteswap-16.h: This.
30838         * sysdeps/i386/Implies: Add x86.
30839         * sysdeps/x86_64/Implies: Likewise.
30840
30841 2012-05-30  David S. Miller  <davem@davemloft.net>
30842
30843         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
30844         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
30845         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
30846         (FP_TRAPPING_EXCEPTIONS): Define.
30847         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
30848         (FP_TRAPPING_EXCEPTIONS): Define.
30849         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
30850         subnormals only when inexact has been signalled or underflow
30851         exceptions are enabled.
30852         (_FP_PACK_CANONICAL): Likewise.
30853
30854 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30855
30856         [BZ #14183]
30857         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
30858         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
30859
30860 2012-05-30  Richard Henderson  <rth@twiddle.net>
30861
30862         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
30863         with #ifndef NOT_IN_libc.
30864
30865         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
30866         marked to avoid plt entry.
30867
30868 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
30869
30870         [BZ #14112]
30871         * Makeconfig (default-abi): New macro.
30872         (abi-includes): Likewise.
30873         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
30874         $(abi-$(default-abi)-lib-soname) for soname if defined.
30875         ($(common-objpfx)gnu/lib-names.stmp): Generate from
30876         abi-variants.
30877         * Makefile (installed-stubs): Likewise.
30878         * include/stubs-biarch.h: Removed.
30879         * scripts/lib-names.awk: Only handle one library at a time.
30880         * scripts/soversions.awk: Remove WORDSIZE support.
30881         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
30882         entries.
30883         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
30884         Removed.
30885         (syscall-list-default-condition): Likewise.
30886         (syscall-list-default-condition): Likewise.
30887         (syscall-list-includes): Likewise.
30888         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
30889         syscall-list-* with abi-*.  Handle undefined abi-variants.
30890         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
30891         * sysdeps/unix/sysv/linux/i386/Implies: New file.
30892         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
30893         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
30894         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
30895         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
30896         Removed.
30897         (syscall-list-32-options): Likewise.
30898         (syscall-list-32-condition): Likewise.
30899         (syscall-list-64-options): Likewise.
30900         (syscall-list-64-condition): Likewise.
30901         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
30902         macro.
30903         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
30904         Renamed to ...
30905         (abi-*): This.
30906         (abi-64-ld-soname): New macro.
30907         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
30908         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
30909         Renamed to ...
30910         (abi-*): This.
30911         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
30912         * sysdeps/x86_64/x32/shlib-versions: Likewise.
30913
30914 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
30915
30916         * sysdeps/unix/sysv/linux/kernel-features.h
30917         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
30918         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
30919         include <kernel-features.h>.
30920         [!__NR_ftruncate64]: Remove conditional code.
30921         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30922         [__NR_ftruncate64]: Make code unconditional.
30923         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30924         * sysdeps/unix/sysv/linux/truncate64.c: Do not
30925         include <kernel-features.h>.
30926         [!__NR_ftruncate64]: Remove conditional code.
30927         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30928         [__NR_ftruncate64]: Make code unconditional.
30929         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
30931         include <kernel-features.h>.
30932         [!__NR_ftruncate64]: Remove conditional code.
30933         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30934         [__NR_ftruncate64]: Make code unconditional.
30935         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30937         include <kernel-features.h>.
30938         [!__NR_ftruncate64]: Remove conditional code.
30939         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30940         [__NR_ftruncate64]: Make code unconditional.
30941         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
30942
30943         * configure.in (libc_cv_fpie): Weaken to a compile test using
30944         LIBC_TRY_CC_OPTION.
30945         * configure: Regenerated.
30946
30947 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30948
30949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
30950         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
30951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
30952         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
30953         Refreshed.
30954         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
30955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
30956         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
30957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
30958         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
30959         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
30960         Refreshed.
30961
30962 2012-05-27  David S. Miller  <davem@davemloft.net>
30963
30964         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
30965         (___Q_zero): New.
30966         (__Q_simulate_exceptions): Return void.  Change to simulate
30967         exceptions by writing into the %fsr.
30968         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
30969         (__Qp_handle_exceptions): Likewise.
30970         (numbers): Delete.
30971         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
30972         __Qp_handle_exceptions.
30973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
30974         __Qp_handle_exceptions.
30975         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30976         as unused and give dummy FP_RND_NEAREST initializer.
30977         (FP_INHIBIT_RESULTS): Define.
30978         (___Q_simulate_exceptions): Update declaration.
30979         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
30980         formatting.
30981         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
30982         as unused and give dummy FP_RND_NEAREST initializer.
30983         (__Qp_handle_exceptions): Update declaration.
30984         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
30985         formatting.
30986
30987 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
30988
30989         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
30990         the temporary FPU control word.
30991         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
30992         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
30993         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
30994         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
30995         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
30996         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
30997         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
30998         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30999         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31000         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31001         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31002
31003 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
31004
31005         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
31006         fields.
31007
31008 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
31009
31010         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
31011         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
31012         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
31013         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
31014         Likewise.
31015         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
31016         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
31017         Likewise.
31018
31019 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
31020
31021         * po/h.po: Update from translation team.
31022
31023 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
31024
31025         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
31026
31027         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
31028         handling of denormals.
31029         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31030         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
31031         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31032         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31033         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31034         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
31035         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
31036         Likewise.
31037
31038 2012-05-26  Marek Polacek  <polacek@redhat.com>
31039
31040         [BZ #14152]
31041         * math/libm-test.inc (fma_test): Don't always expect underflow
31042         exception.
31043
31044 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31045
31046         [BZ #12416]
31047         * elf/tst-execstack.c: Include stackinfo.h.
31048         (do_test): Adjust test case to ensure that pthread_getattr_np
31049         behaviour remains the same after marking stack executable.
31050
31051 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31052
31053         * sysdeps/unix/sysv/linux/kernel-features.h
31054         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
31055         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
31056         kernel-features.h.
31057         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31058         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31059         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
31060         kernel-features.h.
31061         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
31062         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
31063
31064 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
31065
31066         * configure.in: Define the default includes to being none.
31067         * configure: Regenerated.
31068
31069 2012-05-25  Roland McGrath  <roland@hack.frob.com>
31070
31071         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
31072         * sysdeps/x86_64/setjmp.S: Likewise.
31073         * sysdeps/i386/bsd-setjmp.S: Likewise.
31074         * sysdeps/i386/bsd-_setjmp.S: Likewise.
31075         * sysdeps/i386/setjmp.S: Likewise.
31076         * sysdeps/i386/__longjmp.S: Likewise.
31077         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31078         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
31079
31080         * include/stap-probe.h: New file.
31081         * configure.in: Handle --enable-systemtap.
31082         * configure: Regenerated.
31083         * config.h.in (USE_STAP_PROBE): New #undef.
31084         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
31085         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
31086         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
31087
31088 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
31089
31090         [BZ #13717]
31091         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
31092         to 2.4.0 where earlier.
31093         * sysdeps/unix/sysv/linux/configure: Regenerated.
31094         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31095         <kernel-features.h>.
31096         [__ASSUME_32BITUIDS]: Make code unconditional.
31097         [!__ASSUME_32BITUIDS]: Remove conditional code.
31098         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
31099         <kernel-features.h>.
31100         [__ASSUME_32BITUIDS]: Make code unconditional.
31101         [!__ASSUME_32BITUIDS]: Remove conditional code.
31102         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
31103         [__ASSUME_32BITUIDS]: Make code unconditional.
31104         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
31105         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
31106         <kernel-features.h>.
31107         [__ASSUME_32BITUIDS]: Make code unconditional.
31108         [!__ASSUME_32BITUIDS]: Remove conditional code.
31109         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
31110         <kernel-features.h>.
31111         [__ASSUME_32BITUIDS]: Make code unconditional.
31112         [!__ASSUME_32BITUIDS]: Remove conditional code.
31113         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
31114         <kernel-features.h>.
31115         [__ASSUME_32BITUIDS]: Make code unconditional.
31116         [!__ASSUME_32BITUIDS]: Remove conditional code.
31117         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
31118         <kernel-features.h>.
31119         [__ASSUME_32BITUIDS]: Make code unconditional.
31120         [!__ASSUME_32BITUIDS]: Remove conditional code.
31121         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31122         <kernel-features.h>.
31123         [__ASSUME_32BITUIDS]: Make code unconditional.
31124         [!__ASSUME_32BITUIDS]: Remove conditional code.
31125         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31126         <kernel-features.h>.
31127         [__ASSUME_32BITUIDS]: Make code unconditional.
31128         [!__ASSUME_32BITUIDS]: Remove conditional code.
31129         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
31130         <kernel-features.h>.
31131         [__ASSUME_32BITUIDS]: Make code unconditional.
31132         [!__ASSUME_32BITUIDS]: Remove conditional code.
31133         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31134         <kernel-features.h>.
31135         [__ASSUME_32BITUIDS]: Make code unconditional.
31136         [!__ASSUME_32BITUIDS]: Remove conditional code.
31137         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31138         <kernel-features.h>.
31139         [__ASSUME_32BITUIDS]: Make code unconditional.
31140         [!__ASSUME_32BITUIDS]: Remove conditional code.
31141         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
31142         <kernel-features.h>.
31143         [__ASSUME_32BITUIDS]: Make code unconditional.
31144         [!__ASSUME_32BITUIDS]: Remove conditional code.
31145         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
31146         <kernel-features.h>.
31147         [__NR_setresgid] (__setresgid): Do not declare.
31148         [__ASSUME_32BITUIDS]: Make code unconditional.
31149         [!__ASSUME_32BITUIDS]: Remove conditional code.
31150         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
31151         <kernel-features.h>.
31152         [__NR_setresuid] (__setresuid): Do not declare.
31153         [__ASSUME_32BITUIDS]: Make code unconditional.
31154         [!__ASSUME_32BITUIDS]: Remove conditional code.
31155         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
31156         <kernel-features.h>.
31157         [__ASSUME_32BITUIDS]: Make code unconditional.
31158         [!__ASSUME_32BITUIDS]: Remove conditional code.
31159         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
31160         <kernel-features.h>.
31161         [__ASSUME_32BITUIDS]: Make code unconditional.
31162         [!__ASSUME_32BITUIDS]: Remove conditional code.
31163         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
31164         <kernel-features.h>.
31165         [__ASSUME_32BITUIDS]: Make code unconditional.
31166         [!__ASSUME_32BITUIDS]: Remove conditional code.
31167         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
31168         <kernel-features.h>.
31169         [__ASSUME_32BITUIDS]: Make code unconditional.
31170         [!__ASSUME_32BITUIDS]: Remove conditional code.
31171         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
31172         <kernel-features.h>.
31173         [__ASSUME_32BITUIDS]: Make code unconditional.
31174         [!__ASSUME_32BITUIDS]: Remove conditional code.
31175         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
31176         <kernel-features.h>.
31177         [__ASSUME_32BITUIDS]: Make code unconditional.
31178         [!__ASSUME_32BITUIDS]: Remove conditional code.
31179         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
31180         <kernel-features.h>.
31181         [__ASSUME_32BITUIDS]: Make code unconditional.
31182         [!__ASSUME_32BITUIDS]: Remove conditional code.
31183         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
31184         <kernel-features.h>.
31185         [__ASSUME_32BITUIDS]: Make code unconditional.
31186         [!__ASSUME_32BITUIDS]: Remove conditional code.
31187         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
31188         <kernel-features.h>.
31189         [__ASSUME_32BITUIDS]: Make code unconditional.
31190         [!__ASSUME_32BITUIDS]: Remove conditional code.
31191         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31192         <kernel-features.h>.
31193         [__ASSUME_32BITUIDS]: Make code unconditional.
31194         [!__ASSUME_32BITUIDS]: Remove conditional code.
31195         * sysdeps/unix/sysv/linux/kernel-features.h
31196         (__ASSUME_SETRESUID_SYSCALL): Remove.
31197         (__ASSUME_SETRESGID_SYSCALL): Likewise.
31198         (__ASSUME_32BITUIDS): Likewise.
31199         (__ASSUME_LDT_WORKS): Likewise.
31200         (__ASSUME_O_DIRECTORY): Likewise.
31201         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
31202         architecture but not kernel version.
31203         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
31204         (__ASSUME_MMAP2_SYSCALL): Likewise.
31205         (__ASSUME_STAT64_SYSCALL): Likewise.
31206         (__ASSUME_IPC64): Likewise.
31207         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
31208         <kernel-features.h>.
31209         [__ASSUME_32BITUIDS]: Make code unconditional.
31210         [!__ASSUME_32BITUIDS]: Remove conditional code.
31211         * sysdeps/unix/sysv/linux/opendir.c: Do not include
31212         <kernel-features.h>.
31213         [__ASSUME_O_DIRECTORY]: Make code unconditional.
31214         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
31215         132096]: Remove conditional code.
31216         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
31217         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31218         <kernel-features.h>.
31219         [__ASSUME_32BITUIDS]: Make code unconditional.
31220         [!__ASSUME_32BITUIDS]: Remove conditional code.
31221         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31222         <kernel-features.h>.
31223         [__ASSUME_32BITUIDS]: Make code unconditional.
31224         [!__ASSUME_32BITUIDS]: Remove conditional code.
31225         * sysdeps/unix/sysv/linux/setegid.c: Do not include
31226         <kernel-features.h>.
31227         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
31228         unconditional.
31229         (__setresgid): Do not declare.
31230         [__ASSUME_32BITUIDS]: Make code unconditional.
31231         [!__ASSUME_32BITUIDS]: Remove conditional code.
31232         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
31233         <kernel-features.h>.
31234         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
31235         unconditional.
31236         (__setresuid): Do not declare.
31237         [__ASSUME_32BITUIDS]: Make code unconditional.
31238         [!__ASSUME_32BITUIDS]: Remove conditional code.
31239         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31240         <kernel-features.h>.
31241         [__ASSUME_32BITUIDS]: Make code unconditional.
31242         [!__ASSUME_32BITUIDS]: Remove conditional code.
31243         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
31244         <kernel-features.h>.
31245         [__ASSUME_32BITUIDS]: Make code unconditional.
31246         [!__ASSUME_32BITUIDS]: Remove conditional code.
31247
31248 2012-05-25  Richard Henderson  <rth@twiddle.net>
31249
31250         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
31251         dl_hwcap to ifunc resolver.
31252         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
31253         elf_ifunc_invoke.
31254         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
31255         dl_hwcap to ifunc resolver.
31256         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
31257
31258 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31259
31260         [BZ #14153]
31261         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
31262         for |x| <= 2**-26, not 2**-57.
31263         * math/libm-test.inc (acos_test): Do not allow spurious underflow
31264         exception.
31265
31266 2012-05-24  Jeff Law  <law@redhat.com>
31267
31268         * stdio-common/Makefile (tests): Add bug25.
31269         * stdio-common/bug25.c: New test.
31270
31271 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31272
31273         [BZ #13576]
31274         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
31275         multiple of MALLOC_ALIGNMENT in size.
31276         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
31277
31278 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31279
31280         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
31281         Require >= 256.
31282         (FILENAME_MAX): Use macro-int-constant.
31283         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
31284         (_IOFBF): Use macro-int-constant.
31285         (_IOLBF): Likewise.
31286         (_IONBF): Likewise.
31287         (SEEK_CUR): Likewise.
31288         (SEEK_END): Likewise.
31289         (SEEK_SET): Likewise.
31290         (TMP_MAX): Likewise.
31291         (EOF): Use macro-int-constant.  Require < 0.
31292         (NULL): Use macro-constant.  Require == 0.
31293         (stdin): Require type to be FILE *.
31294         (stdout): Likewise.
31295         (stderr): Likewise.
31296         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
31297         macro-int-constant.
31298         (EXIT_SUCCESS): Likewise.
31299         (NULL): Use macro-constant.  Require == 0.
31300         (RAND_MAX): Use macro-int-constant.
31301         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
31302         [C99-based standards] (strtof): Require function.
31303         [C99-based standards] (strtold): Likewise.
31304         [C99-based standards] (strtoll): Likewise.
31305         [C99-based standards] (strtoull): Likewise.
31306         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
31307         [ISO || ISO99 || ISO11] (limits.h): Likewise.
31308         [ISO || ISO99 || ISO11] (math.h): Likewise.
31309         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
31310         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
31311         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31312
31313 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
31314
31315         [BZ #14132]
31316         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
31317         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
31318         * intl/dgettext.c (DCGETTEXT): Likewise.
31319         * intl/gettext.c (DCGETTEXT): Likewise.
31320         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
31321         * posix/regex_internal.h (gettext): Likewise.
31322         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
31323         Remove declaration.
31324         * include/argz.h (__argz_count_internal)
31325         (__argz_stringify_internal): Remove declaration.
31326         (__argz_count, __argz_stringify): Declare hidden proto.
31327         * intl/dcgettext.c: Remove use of INTDEF.
31328         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
31329         * string/argz-stringify.c: Likewise.
31330         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31331         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31332         Declare hidden proto.
31333         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
31334         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
31335         Declare hidden proto.
31336         * include/stdio.h (__asprintf_internal): Don't declare.
31337         (__asprintf): Don't define as macro.  Declare hidden proto.
31338         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
31339         (__fsetlocking): Declare hidden proto.
31340         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
31341         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
31342         hidden proto.
31343         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
31344         (_IO_setlinebuf): Remove use of INTUSE.
31345         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
31346         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
31347         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
31348         Remove declaration.
31349         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
31350         (_IO_do_flush): Remove use of INTUSE.
31351         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
31352         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
31353         (_IO_adjust_column, _IO_least_wmarker)
31354         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
31355         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
31356         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
31357         (_IO_default_doallocate, _IO_wdefault_doallocate)
31358         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
31359         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
31360         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
31361         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
31362         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
31363         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
31364         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
31365         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
31366         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
31367         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
31368         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
31369         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
31370         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
31371         proto.
31372         (_IO_flush_all_internal, _IO_adjust_column_internal)
31373         (_IO_default_uflow_internal, _IO_default_finish_internal)
31374         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
31375         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
31376         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
31377         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
31378         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
31379         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
31380         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
31381         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
31382         (_IO_file_close_internal, _IO_file_close_it_internal)
31383         (_IO_file_underflow_internal, _IO_file_overflow_internal)
31384         (_IO_file_init_internal, _IO_file_attach_internal)
31385         (_IO_file_fopen_internal, _IO_file_read_internal)
31386         (_IO_file_sync_internal, _IO_file_seek_internal)
31387         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
31388         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
31389         (_IO_str_underflow_internal, _IO_str_overflow_internal)
31390         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
31391         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
31392         (_IO_list_all_internal, _IO_link_in_internal)
31393         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
31394         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
31395         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
31396         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
31397         (_IO_do_write_internal, _IO_padn_internal)
31398         (_IO_getline_info_internal, _IO_getline_internal)
31399         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
31400         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
31401         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
31402         (_IO_vfscanf_internal, _IO_vfprintf_internal)
31403         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
31404         (_IO_init_internal, _IO_un_link_internal): Don't declare.
31405         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
31406         with libc_hidden_ver, remove use of INTUSE.
31407         * libio/genops.c: Likewise.
31408         * libio/freopen.c: Likewise.
31409         * libio/freopen64.c: Likewise.
31410         * libio/iofclose.c: Likewise.
31411         * libio/iofdopen.c: Likewise.
31412         * libio/iofflush.c: Likewise.
31413         * libio/iofflush_u.c: Likewise.
31414         * libio/iofgets.c: Likewise.
31415         * libio/iofgets_u.c: Likewise.
31416         * libio/iofopen.c: Likewise.
31417         * libio/iofopncook.c: Likewise.
31418         * libio/iofread.c: Likewise.
31419         * libio/iofread_u.c: Likewise.
31420         * libio/ioftell.c: Likewise.
31421         * libio/iofwrite.c: Likewise.
31422         * libio/iogetline.c: Likewise.
31423         * libio/iogets.c: Likewise.
31424         * libio/iogetwline.c: Likewise.
31425         * libio/iopadn.c: Likewise.
31426         * libio/iopopen.c: Likewise.
31427         * libio/ioseekoff.c: Likewise.
31428         * libio/ioseekpos.c: Likewise.
31429         * libio/iosetbuffer.c: Likewise.
31430         * libio/iosetvbuf.c: Likewise.
31431         * libio/ioungetc.c: Likewise.
31432         * libio/ioungetwc.c: Likewise.
31433         * libio/iovdprintf.c: Likewise.
31434         * libio/iovsprintf.c: Likewise.
31435         * libio/iovsscanf.c: Likewise.
31436         * libio/memstream.c: Likewise.
31437         * libio/obprintf.c: Likewise.
31438         * libio/oldfileops.c: Likewise.
31439         * libio/oldiofclose.c: Likewise.
31440         * libio/oldiofdopen.c: Likewise.
31441         * libio/oldiofopen.c: Likewise.
31442         * libio/oldiopopen.c: Likewise.
31443         * libio/oldstdfiles.c: Likewise.
31444         * libio/putc.c: Likewise.
31445         * libio/setbuf.c: Likewise.
31446         * libio/setlinebuf.c: Likewise.
31447         * libio/stdfiles.c: Likewise.
31448         * libio/strops.c: Likewise.
31449         * libio/vasprintf.c: Likewise.
31450         * libio/vscanf.c: Likewise.
31451         * libio/vsnprintf.c: Likewise.
31452         * libio/vswprintf.c: Likewise.
31453         * libio/wfiledoalloc.c: Likewise.
31454         * libio/wfileops.c: Likewise.
31455         * libio/wgenops.c: Likewise.
31456         * libio/wmemstream.c: Likewise.
31457         * libio/wstrops.c: Likewise.
31458         * libio/__fpurge.c: Likewise.
31459         * libio/__fsetlocking.c: Likewise.
31460         * assert/assert.c: Likewise.
31461         * debug/fgets_chk.c: Likewise.
31462         * debug/fgets_u_chk.c: Likewise.
31463         * debug/fread_chk.c: Likewise.
31464         * debug/fread_u_chk.c: Likewise.
31465         * debug/gets_chk.c: Likewise.
31466         * debug/obprintf_chk.c: Likewise.
31467         * debug/vasprintf_chk.c: Likewise.
31468         * debug/vdprintf_chk.c: Likewise.
31469         * debug/vsnprintf_chk.c: Likewise.
31470         * debug/vsprintf_chk.c: Likewise.
31471         * malloc/mtrace.c: Likewise.
31472         * misc/error.c: Likewise.
31473         * misc/syslog.c: Likewise.
31474         * stdio-common/asprintf.c: Likewise.
31475         * stdio-common/fxprintf.c: Likewise.
31476         * stdio-common/getw.c: Likewise.
31477         * stdio-common/isoc99_fscanf.c: Likewise.
31478         * stdio-common/isoc99_scanf.c: Likewise.
31479         * stdio-common/isoc99_vfscanf.c: Likewise.
31480         * stdio-common/isoc99_vscanf.c: Likewise.
31481         * stdio-common/isoc99_vsscanf.c: Likewise.
31482         * stdio-common/printf-prs.c: Likewise.
31483         * stdio-common/printf_fp.c: Likewise.
31484         * stdio-common/printf_fphex.c: Likewise.
31485         * stdio-common/printf_size.c: Likewise.
31486         * stdio-common/putw.c: Likewise.
31487         * stdio-common/scanf.c: Likewise.
31488         * stdio-common/sprintf.c: Likewise.
31489         * stdio-common/tmpfile.c: Likewise.
31490         * stdio-common/vfprintf.c: Likewise.
31491         * stdio-common/vfscanf.c: Likewise.
31492         * stdlib/strfmon_l.c: Likewise.
31493         * sunrpc/openchild.c: Likewise.
31494         * sunrpc/xdr_stdio.c: Likewise.
31495         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31496         * sysdeps/mach/hurd/tmpfile.c: Likewise.
31497
31498 2012-05-24  Roland McGrath  <roland@hack.frob.com>
31499
31500         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31501
31502         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
31503         in the third column, to generate for the shared library an IFUNC
31504         that uses _dl_vdso_vsym.
31505         * Makerules (COMPILE.c, compile-stdin.c): New variables.
31506         * Makeconfig (object-suffixes-noshared): New variable.
31507
31508         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
31509         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
31510         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
31511         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
31512
31513         [BZ #14132]
31514         * include/sys/time.h (__gettimeofday): Remove macro.
31515         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
31516         * time/gettimeofday.c (__gettimeofday): Remove #undef.
31517         Remove INTDEF.
31518         (__gettimeofday): Add libc_hidden_def.
31519         (gettimeofday): Add libc_hidden_weak.
31520         * sysdeps/mach/gettimeofday.c: Likewise.
31521         * sysdeps/posix/gettimeofday.c: Likewise.
31522         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
31523         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
31524         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
31525         (__gettimeofday_internal): Remove strong_alias.
31526         (__gettimeofday): Add libc_hidden_def.
31527         (gettimeofday): Add libc_hidden_weak.
31528         * sysdeps/unix/syscalls.list (gettimeofday):
31529         Remove __gettimeofday_internal alias.
31530
31531 2012-05-24  Daniel Jacobowitz  <drow@false.org>
31532             H.J. Lu  <hongjiu.lu@intel.com>
31533
31534         [BZ #12495]
31535         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
31536         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
31537         (largebin_index_32_big): New.
31538         (largebin_index): Use it for 16-byte alignment.
31539         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
31540         correction with front_misalign.
31541
31542 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
31543
31544         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
31545         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
31546         Likewise.
31547         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
31548         Likewise.
31549         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31550         Likewise.
31551         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
31552         Likewise.
31553         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
31554         Likewise.
31555         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
31556         Likewise.
31557         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
31558         Likewise.
31559         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
31560         Likewise.
31561         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
31562         Likewise.
31563         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
31564         Likewise.
31565         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
31566         Likewise.
31567         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
31568         Likewise.
31569
31570         * scripts/data/c++-types-x32-linux-gnu.data: New file.
31571         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
31572
31573 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
31574
31575         [BZ #10846]
31576         [BZ #14036]
31577         * math/libm-test.inc (exp_test): Add test from bug 14036.
31578         (pow_test): Add test from bug 10846.
31579
31580         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
31581         and other flags.
31582         (special_function): Do not include flags in test name.
31583         (parse_args): Likewise.
31584         * sysdeps/i386/fpu/libm-test-ulps: Update.
31585         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31586         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31587         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31588         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31589
31590         * math/gen-libm-test.pl (%beautify): Add entries for underflow
31591         exceptions.
31592         * math/libm-test.inc ("Philosophy"): Update comment about
31593         exception testing.
31594         (UNDERFLOW_EXCEPTION): New macro.
31595         (UNDERFLOW_EXCEPTION_OK): Likewise.
31596         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
31597         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
31598         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
31599         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
31600         (INVALID_EXCEPTION_OK): Update value.
31601         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
31602         (OVERFLOW_EXCEPTION_OK): Likewise.
31603         (IGNORE_ZERO_INF_SIGN): Likewise.
31604         (test_exceptions): Handle underflow exceptions.
31605         (acos_test): Update for underflow exception expectations.
31606         (cexp_test): Likewise.
31607         (clog_test): Likewise.
31608         (clog10_test): Likewise.
31609         (csqrt_test): Likewise.
31610         (ctan_test): Likewise.
31611         (ctanh_test): Likewise.
31612         (exp_test): Likewise.
31613         (exp10_test): Likewise.
31614         (exp2_test): Likewise.
31615         (expm1_test): Likewise.
31616         (fma_test): Likewise.
31617         (j0_test): Likewise.
31618         (jn_test): Likewise.
31619         (nexttoward_test): Likewise.
31620         (pow_test): Likewise.
31621         (scalbn_test): Likewise.
31622         (scalbln_test): Likewise.
31623         (tan_test): Likewise.
31624         (y1_test): Likewise.
31625         * sysdeps/i386/fpu/libm-test-ulps: Update.
31626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31627
31628 2012-05-23  David S. Miller  <davem@davemloft.net>
31629
31630         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
31631         (__libc_sigaction): Remove unused local variables.
31632
31633 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31634
31635         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
31636
31637 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
31638
31639         mktime: avoid signed integer overflow
31640         * time/mktime.c (__mktime_internal): Do not mishandle the case
31641         where diff == INT_MIN.
31642
31643         mktime: simplify computation of average
31644         * time/mktime.c (ranged_convert): Use new time_t_avg function
31645         instead of rolling our own (probably-slower) code.
31646
31647         mktime: do not assume signed right shift propagates sign bit
31648         * time/mktime.c (isdst_differ): New static function.
31649         (__mktime_internal): No need to normalize tm_isdst now.
31650         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
31651         tm_isdst values.
31652
31653         mktime: merge another wrapv change from gnulib
31654         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
31655         from some compilers.
31656
31657         mktime: remove incorrect attempt at unusual arithmetics
31658         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
31659         The code didn't really work on such machines anyway.
31660         (TYPE_MINIMUM): Assume two's complement.
31661         (twos_complement_arithmetic): Verify that long_int and time_t
31662         are two's complement (or unsigned, in the latter case).
31663
31664         mktime: check signed shifts on long_int and time_t, too
31665         * time/mktime.c (SHR): Check that shifts work as desired
31666         on the types long_int and time_t too, as SHR is used on
31667         such types.
31668
31669         mktime: do not assume 'long' is wide enough
31670         * time/mktime.c (verify): Move decl up.
31671         (long_int): New type.
31672         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
31673         to remove assumption in the code that 'long' is wide enough to
31674         store year values.  This assumption is not true on x32 and on
31675         some non-glibc platforms.
31676
31677         mktime: merge wrapv change from gnulib
31678         * time/mktime.c (WRAPV): New macro.
31679         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
31680         (guess_time_tm, __mktime_internal): Do not assume that signed
31681         integer overflow wraps around; modern compilers generate code
31682         where this assumption is no longer valid.
31683
31684 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31685
31686         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31687         Replace "jmp L(pseudo_end)" with "ret".
31688         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
31689         Likewise.
31690
31691 2012-05-23  Andreas Jaeger  <aj@suse.de>
31692
31693         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
31694         * sysdeps/unix/sysv/linux/poll.c: Remove file.
31695
31696 2012-05-23  Andreas Jaeger  <aj@suse.de>
31697             Maximilian Attems  <max@stro.at>
31698
31699         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
31700         New macros.
31701
31702 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
31703
31704         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
31705         code so that pseudo_end is just ret and the stack pointer is
31706         correct also for static library in error case.
31707
31708 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
31709
31710         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
31711         move to syscalls.list.
31712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31716
31717         * manual/install.texi (Running make install): Do not mention Linux
31718         kernel version for which pt_chown is not needed.
31719         (Linux): Do not mention problems with nscd with 2.0 kernels.
31720         * INSTALL: Regenerated.
31721
31722 2012-05-23  Andreas Jaeger  <aj@suse.de>
31723
31724         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
31725         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
31726         macro.
31727         * sysdeps/unix/sysv/linux/s390/bits/mman.h
31728         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31729         * sysdeps/unix/sysv/linux/sh/bits/mman.h
31730         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31731         * sysdeps/unix/sysv/linux/i386/bits/mman.h
31732         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31733         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
31734         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31735         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
31736         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
31737         * sysdeps/unix/sysv/linux/bits/in.h
31738         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
31739
31740 2012-05-22  Roland McGrath  <roland@hack.frob.com>
31741
31742         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
31743         (PREPARE_VERSION): Just use assert instead, it will be elided
31744         under [NDEBUG] anyway.
31745
31746 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31747
31748         * sysdeps/unix/sysv/linux/Makefile: Include
31749         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
31750         (sysdep_routines): Remove sysctl.
31751         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
31752         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
31753         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
31754         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
31755         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
31756
31757 2012-05-22  Andreas Jaeger  <aj@suse.de>
31758
31759         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
31760         that pseudo_end is just ret and the stack pointer is correct also
31761         for static library in error case.
31762
31763 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
31764
31765         [BZ #14122]
31766         * nss/nsswitch.c (defconfig_entries): New variable.
31767         (__nss_database_lookup): Don't leak defconfig entries.
31768         (nss_parse_service_list): Don't leak on error paths.
31769         (free_database_entries): New function.
31770         (free_defconfig): New function.
31771         (free_mem): Move common code to free_database_entries.
31772
31773 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31774
31775         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
31776         Add arch_prctl.
31777         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
31778
31779         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31780         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
31781         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
31782         New macro.
31783         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
31784         (INTERNAL_SYSCALL_TYPES): Likewise.
31785         (LOAD_ARGS_TYPES_[1-6]): Likewise.
31786         (LOAD_REGS_TYPES_[1-6]): Likewise.
31787         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
31788         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
31789
31790 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31791
31792         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
31793         copysignl for GLIBC_2_0.
31794         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
31795         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
31796         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
31797         logbl for GLIBC_2_0.
31798         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
31799         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
31800
31801 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31802
31803         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
31804         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
31805
31806         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
31807         Use "neg %eax".
31808
31809         * time/mktime.c: Update copyright years.
31810
31811 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
31812
31813         mktime: merge comment-quoting-style change from gnulib
31814         * time/mktime.c: Quote 'like this' in comments.
31815         The GNU coding standards suggest that we no longer quote `like this',
31816         as "`" and "'" are typically rendered asymmetrically nowadays.
31817         The typical gnulib style is to quote 'like this' when quoting
31818         code, and "like this" when quoting English.
31819
31820         * time/mktime.c (compile-command): Add "-I.".
31821
31822         mktime: merge mktime-internal.h change from gnulib
31823         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
31824
31825         mktime: merge time_r change from gnulib
31826         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
31827
31828         mktime: merge DEBUG change from gnulib
31829         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
31830         case system <time.h> has a #define.
31831
31832         mktime: merge <sys/types.h> change from gnulib
31833         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
31834         since <time.t> is now guaranteed to define time_t.
31835
31836         mktime: merge HAVE_CONFIG_H change from gnulib
31837         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
31838
31839 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
31840
31841         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31842         Use "neg %eax".
31843
31844         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
31845         __rlim_t cast.
31846         (struct rusage): Use anonymous union to pad each field to
31847         __syscall_slong_t.
31848
31849 2012-05-21  David S. Miller  <davem@davemloft.net>
31850
31851         * Makefules (o-iterator): Remove .s cases.
31852         (compile-command.s): Delete.
31853         (COMPILE.s): Delete.
31854         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
31855
31856 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
31857
31858         * configure.in (libc_cv_predef_stack_protector): Only consider
31859         "foobar" and "__stack_chk_fail" lines in libc_undefs.
31860         * configure: Regenerated.
31861
31862 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31863
31864         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
31865         New macro.  Use R*LP on int and pointer.
31866         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
31867         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
31868         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
31869         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
31870
31871         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
31872         [__WORDSIZE_TIME64_COMPAT32] instead of
31873         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
31874         (struct utmp): Likewise.
31875         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
31876         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
31877         Renamed to ...
31878         (__WORDSIZE_TIME64_COMPAT32): This.
31879         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
31880         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
31881         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
31882         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
31883         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
31884         (__WORDSIZE_TIME64_COMPAT32): New macro.
31885
31886 2012-05-21  Andreas Jaeger  <aj@suse.de>
31887
31888         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
31889         only if [SHARED]. Add prototype for __wcschr_ia32.
31890
31891 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31892
31893         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
31894         of %rbp unmolested in the jmp_buf while mangling the low bits.
31895         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
31896         unmolested high bits of %rbp while demangling the low bits.
31897         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
31898
31899 2012-05-21  Andreas Jaeger  <aj@suse.de>
31900
31901         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
31902         * sunrpc/svc_simple.c: Use it for registerrpc.
31903         * sunrpc/xcrypt.c: Use it for passwd2des.
31904
31905         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
31906
31907 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31908
31909         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
31910         Don't define if [__SYSCALL_WORDSIZE != 32].
31911         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
31912         New macro.
31913
31914 2012-05-21  Bruno Haible  <bruno@clisp.org>
31915             Andreas Jaeger  <aj@suse.de>
31916
31917         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
31918         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
31919         inptr and inend for must_buffer_ch.
31920         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
31921         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
31922         * stdio-common/Makefile (tests): Remove bug15.
31923         (bug15-ENV): Remove macro.
31924         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
31925         anymore.
31926
31927 2012-05-19  Andreas Jaeger  <aj@suse.de>
31928             Roland McGrath  <roland@hack.frob.com>
31929
31930         * manual/contrib.texi: Completely rewritten. It contains now an
31931         alphabetical list of contributors and their contributions.
31932
31933 2012-05-21  Richard Henderson  <rth@twiddle.net>
31934
31935         * misc/getauxval.c (__getauxval): Use unsigned long int.
31936         * misc/sys/auxv.h: Include <sys/cdefs.h>.
31937         (getauxval): Use unsigned long int.
31938
31939 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
31940
31941         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
31942
31943 2012-05-21  Roland McGrath  <roland@hack.frob.com>
31944
31945         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
31946         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
31947         __alignof__ (long double).
31948
31949 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31950
31951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31952
31953 2012-05-20  Richard Henderson  <rth@twiddle.net>
31954
31955         * misc/getauxval.c: New file.
31956         * misc/sys/auxv.h: New file.
31957         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
31958         (routines): Add getauxval.
31959         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
31960         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
31961         * elf/dl-sysdep.c (_dl_auxv): Remove.
31962         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
31963         * elf/dl-support.c (_dl_auxv): New variable.
31964         (_dl_aux_init): Initialize it.
31965         * manual/startup.texi (Auxiliary Vector): New node.
31966         * sysdeps/generic/bits/hwcap.h: New file.
31967         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
31968         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
31969         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
31970         * sysdeps/sparc/sysdep.h: ... here.  Include it.
31971         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
31972         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
31973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31974         Update.
31975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
31976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
31977         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
31978         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
31979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31980         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
31981         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
31982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
31983
31984 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31985
31986         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31987
31988 2012-05-19  David S. Miller  <davem@davemloft.net>
31989
31990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31991
31992 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
31993
31994         [BZ #14123]
31995         * math/s_ccosh.c: Include <float.h>
31996         (__ccosh): Avoid internal overflow calculating sinh and cosh
31997         values before multiplying by sin and cos values.
31998         * math/s_ccoshf.c: Likewise.
31999         * math/s_ccoshl.c: Likewise.
32000         * math/s_csin.c: Likewise.
32001         * math/s_csinf.c: Likewise.
32002         * math/s_csinl.c: Likewise.
32003         * math/s_csinh.c: Likewise.
32004         * math/s_csinhf.c: Likewise.
32005         * math/s_csinhl.c: Likewise.
32006         * math/libm-test.inc (ccos_test): Add more tests.
32007         (ccosh_test): Likewise.
32008         (csin_test): Likewise.
32009         (csinh_test): Likewise.
32010         * sysdeps/i386/fpu/libm-test-ulps: Update.
32011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32012
32013 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
32014
32015         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
32016         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
32017
32018         * sysdeps/x86_64/x32/_itoa.h: Add comment.
32019
32020 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
32021
32022         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
32023         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
32024         * sysdeps/powerpc/soft-fp/Versions: Likewise.
32025         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
32026         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
32027         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
32028         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
32029         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
32030         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
32031         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
32032         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
32033         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
32034         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
32035         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
32036         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
32037         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
32038         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
32039         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
32040         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
32041         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
32042         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
32043         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
32044         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
32045         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
32046         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
32047         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
32048         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
32049         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
32050         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
32051         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
32052         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
32053
32054 2012-05-18  Andreas Jaeger  <aj@suse.de>
32055
32056         * csu/.gitignore: Delete.
32057
32058 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32059
32060         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
32061         (timex): Use __syscall_slong_t.
32062
32063 2012-05-18  Andreas Jaeger  <aj@suse.de>
32064             Carlos O'Donell  <carlos_odonell@mentor.com>
32065
32066         * manual/install.texi (Configuring and compiling): Update
32067         description about files modified in the source directory.
32068         * INSTALL: Regenerated.
32069
32070 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32071
32072         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
32073         value.  Use "or" to set return value to -1.
32074         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
32075         negate return value.
32076
32077 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32078
32079         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
32080         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
32081         failure if the compiler has Graphite support disabled.
32082         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
32083         Likewise.
32084         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
32085         (CFLAGS-memmove.c): Likewise.
32086         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
32087         Likewise.
32088
32089 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
32090
32091         * sysdeps/x86_64/x32/_itoa.h: New file.
32092
32093         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
32094         getdents system call only if kernel and user dirents have the
32095         same d_ino and d_off.
32096
32097         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32098         LLONG_MAX != LONG_MAX.
32099         (_itoa_word): Use _ITOA_WORD_TYPE on value.
32100         (_fitoa_word): Likewise.
32101
32102         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
32103         years.
32104         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
32105         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
32106         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
32107
32108         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
32109         include <bits/wordsize.h>.  Check __x86_64__ instead of
32110         __WORDSIZE.
32111         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
32112         if __x86_64__ is defined.  Use anonymous union on fpstate.
32113
32114         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
32115         anonymous union.
32116
32117 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
32118
32119         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
32120         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
32121         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
32122         Refer to _rtld_local_ro instead of _rtld_global_ro.
32123         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
32124         Likewise.
32125         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
32126         Likewise.
32127         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
32128         Likewise.
32129         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
32130         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
32131         of _rtld_global, and rtld_progname instead of _dl_argv[0].
32132
32133         * sysdeps/powerpc/powerpc32/dl-machine.c
32134         (__elf_machine_runtime_setup) [PROF]: Don't reference
32135         _dl_prof_resolve.
32136
32137 2012-05-18  Andreas Jaeger  <aj@suse.de>
32138
32139         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
32140         function only available for GCCs before 3.4 since GCC 3.4
32141         introduced a builtin.
32142         (lrint): Likewise.
32143         (llrintf): Likewise.
32144         (llrint): Likewise.
32145         (fmaxf): Likewise.
32146         (fmax): Likewise.
32147         (fminf): Likewise.
32148         (fmin): Likewise.
32149         (rint): Likewise.
32150         (rintf): Likewise.
32151         (nearbyint): Likewise.
32152         (nearbyintf): Likewise.
32153         (ceil): Likewise.
32154         (ceilf): Likewise.
32155         (floor): Likewise.
32156         (floorf): Likewise.
32157
32158 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32159
32160         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
32161         on both fields and cast pointer to __syscall_ulong_t.
32162
32163         * bits/types.h (__fsword_t): New type.
32164         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
32165         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
32166         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32167         (__FSWORD_T_TYPE): Likewise.
32168         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32169         (__FSWORD_T_TYPE): Likewise.
32170         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32171         (__FSWORD_T_TYPE): Likewise.
32172         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
32173         (__FSWORD_T_TYPE): Likewise.
32174         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
32175         __SWORD_TYPE with __fsword_t.
32176         (statfs64): Likewise.
32177
32178 2012-05-17  David S. Miller  <davem@davemloft.net>
32179
32180         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
32181
32182 2012-05-17  Andreas Jaeger  <aj@suse.de>
32183
32184         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
32185         warning.
32186
32187 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32188
32189         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
32190
32191 2012-05-17  Andreas Jaeger  <aj@suse.de>
32192
32193         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
32194         when it is used.
32195
32196 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32197
32198         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
32199
32200 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
32201
32202         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
32203         * sysdeps/x86_64/tst-mallocalign1.c: New file.
32204
32205 2012-05-17  Andreas Jaeger  <aj@suse.de>
32206             Carlos O'Donell  <carlos_odonell@mentor.com>
32207
32208         [BZ #14059]
32209         * sysdeps/x86_64/multiarch/init-arch.h
32210         (bit_YMM_Usable): Rename to...
32211         (bit_AVX_Usable): ... this.
32212         (bit_FMA4_Usable): New macro.
32213         (bit_XMM_state): New macro.
32214         (bit_YMM_state): New macro.
32215         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
32216         [__ASSEMBLER__] (index_AVX_Usable): ... this.
32217         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
32218         (CPUID_OSXSAVE): New macro.
32219         (CPUID_AVX): New macro.
32220         (CPUID_FMA4): New macro.
32221         (index_YMM_Usable): Rename to...
32222         (index_AVX_Usable): ... this.
32223         (HAS_AVX): Use HAS_ARCH_FEATURE.
32224         (HAS_FMA4): Likewise.
32225         (HAS_YMM_USABLE): Remove.
32226         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32227         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
32228         are present.
32229         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
32230         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
32231         * sysdeps/x86_64/multiarch/Makefile: Likewise.
32232         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
32233         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
32234
32235 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
32236
32237         * math/libm-test.c: Support platforms without multiple rounding modes.
32238         * math/bug-nextafter.c: Support platforms without FP exceptions.
32239         * math/bug-nexttoward.c: Likewise.
32240         * math/test-fenv.c: Likewise.
32241         * math/test-misc.c: Likewise.
32242         * stdlib/bug-getcontext.c: Likewise.
32243
32244 2012-05-17  Andreas Jaeger  <aj@suse.de>
32245
32246         * manual/examples/search.c (critter_cmp): Change signature to
32247         avoid warnings.
32248         * manual/string.texi (Collation Functions): Likewise.
32249
32250 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32251
32252         * bits/types.h: Fold copyright years.
32253         * bits/typesizes.h: Likewise.
32254         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
32255         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
32256         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
32257         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
32258         * time/time.h: Likewise.
32259
32260 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
32261
32262         [BZ #208]
32263         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
32264         in instead of returning them.  Return void.
32265         (__libc_mallinfo): Accumulate over all arenas.
32266         (__malloc_stats): Adjust for change in int_mallinfo interface.
32267
32268 2012-05-16  Roland McGrath  <roland@hack.frob.com>
32269
32270         [BZ #10375]
32271         * configure.in (NM): Add AC_CHECK_TOOL for it.
32272         (libc_extra_cflags): New substituted variable.
32273         Check for -fstack-protector being used implicitly.
32274         * configure: Regenerated.
32275         * config.make.in (config-extra-cflags): New variable,
32276         gets @libc_extra_cflags@.
32277         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
32278
32279         [BZ #10375]
32280         * configure.in: Check for _FORTIFY_SOURCE being predefined.
32281         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
32282         * configure: Regenerated.
32283         * config.make.in (CPPUNDEFS): New substituted variable.
32284         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
32285         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
32286         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
32287
32288 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32289
32290         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
32291         (mq_attr): Use __syscall_slong_t.
32292
32293 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32294
32295         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
32296         Check __x86_64__ instead of __WORDSIZE.
32297         (_STAT_VER_LINUX): Likewise.
32298         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
32299         __syscall_ulong_t and __syscall_slong_t.
32300         (stat64): Likewise.
32301
32302 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32303
32304         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
32305
32306 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32307
32308         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
32309
32310 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32311
32312         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
32313         __syscall_ulong_t.
32314
32315         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
32316         include <bits/wordsize.h>.  Check __x86_64__ instead of
32317         __WORDSIZE.
32318         (greg_t): Use "__extension__ long long int" if __x86_64__ is
32319         defined.
32320         (mcontext_t): Replace "unsigned long" with "unsigned long long".
32321
32322         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
32323         include <bits/wordsize.h>.  Check __x86_64__ instead of
32324         __WORDSIZE.
32325         (user_regs_struct): Use "__extension__ unsigned long long"
32326         instead of "unsigned long" if __x86_64__ is defined.
32327         (user): Likewise.  Pad after pointer field if __ILP32__ is
32328         defined.
32329
32330 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
32331
32332         * configure.in (makeinfo): Require version 4.5 or later.  Allow
32333         versions 5 to 9.
32334         * configure: Regenerated.
32335         * manual/install.texi (texinfo): Increase version requirement to
32336         4.5 or later.
32337         * INSTALL: Regenerated.
32338
32339         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
32340
32341 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
32342
32343         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
32344
32345         * sysdeps/x86_64/x32/ffs.c: New file.
32346
32347         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
32348         __syscall_ulong_t.
32349         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
32350         defined.  Use __syscall_ulong_t.
32351         (shminfo): Use __syscall_ulong_t.
32352         (shm_info): Likewise.
32353
32354         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
32355         __syscall_ulong_t.
32356
32357         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
32358         <bits/wordsize.h>.
32359         (msgqnum_t): Use __syscall_ulong_t.
32360         (msglen_t): Likewise.
32361         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
32362         __syscall_ulong_t.
32363
32364         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
32365         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32366
32367         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
32368
32369         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
32370         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
32371
32372         * sysvipc/sys/msg.h (msgbuf): Replace long int with
32373         __syscall_slong_t.
32374
32375         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
32376         include <bits/wordsize.h>.  Check __x86_64__ instead of
32377         __WORDSIZE.
32378
32379         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
32380         "unsigned long long int" if __x86_64__ is defined.
32381         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
32382
32383         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
32384         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
32385         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
32386
32387         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
32388         <stdint.h>.
32389         (GET_PC): Cast to uintptr_t first.
32390         (GET_FRAME): Likewise.
32391         (GET_STACK): Likewise.
32392
32393         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
32394         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
32395         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
32396         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
32397         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
32398         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
32399         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
32400         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
32401         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
32402         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
32403         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
32404         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
32405         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
32406         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
32407         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
32408         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
32409         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
32410         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
32411         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
32412         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
32413         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
32414         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
32415         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
32416         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
32417         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
32418         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
32419         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
32420         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
32421         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
32422
32423 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
32424
32425         * Makerules (+depfiles): Also collect depfiles from .oS in
32426         $(extra-objs).
32427         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
32428         .oS, $(libnldbl-routines)).
32429
32430         * Makerules (native-compile-mkdep-flags): Define.
32431         * sunrpc/Makefile (extra-objs): Add $(addprefix
32432         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
32433         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
32434         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
32435         calling $(make-target-directory).
32436
32437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32438
32439         * bits/types.h (__snseconds_t): Removed.
32440         * time/time.h (struct timespec): Replace __snseconds_t with
32441         __syscall_slong_t.
32442         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
32443         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
32444         Likewise.
32445         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32446         (__SNSECONDS_T_TYPE): Likewise.
32447         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32448         (__SNSECONDS_T_TYPE): Likewise.
32449         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32450         (__SNSECONDS_T_TYPE): Likewise.
32451
32452 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32453
32454         * sysdeps/mach/hurd/bits/typesizes.h
32455         (__SYSCALL_SLONG_TYPE): New macro.
32456         (__SYSCALL_ULONG_TYPE): Likewise.
32457
32458 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32459
32460         * bits/types.h (__syscall_slong_t): New type.
32461         (__syscall_ulong_t): Likewise.
32462
32463         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
32464         (__SYSCALL_ULONG_TYPE): Likewise.
32465         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
32466         (__SYSCALL_SLONG_TYPE): Likewise.
32467         (__SYSCALL_ULONG_TYPE): Likewise.
32468         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
32469         (__SYSCALL_SLONG_TYPE): Likewise.
32470         (__SYSCALL_ULONG_TYPE): Likewise.
32471         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
32472         (__SYSCALL_SLONG_TYPE): Likewise.
32473         (__SYSCALL_ULONG_TYPE): Likewise.
32474
32475 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32476
32477         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
32478         Add sigaltstack-offsets.sym.
32479         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
32480         <sigaltstack-offsets.h>.
32481         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
32482         longjmp_msg pointer.
32483         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
32484         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
32485         signal stack.
32486         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
32487
32488 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32489
32490         * elf/stackguard-macros.h: Remove file.
32491         * sysdeps/generic/stackguard-macros.h: New file.
32492         * sysdeps/i386/stackguard-macros.h: Likewise.
32493         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
32494         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
32495         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
32496         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
32497         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
32498         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
32499         * sysdeps/x86_64/stackguard-macros.h: Likewise.
32500         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
32501         <elf/stackguard-macros.h>.
32502
32503         [BZ #14109]
32504         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
32505         __aligned__ in attribute.
32506         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
32507         (gregset_t): Likewise.
32508
32509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32510
32511         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
32512         * sysdeps/x86_64/64/Implies-after: Here.  New file.
32513         * sysdeps/x86_64/x32/Implies-after: New file.
32514
32515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32516
32517         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
32518         and access return value for _dl_profile_fixup.  Use R10_LP to
32519         load frame size.
32520
32521 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32522
32523         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
32524
32525 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32526
32527         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
32528         * sysdeps/x86_64/x32/sysdep.h: New file.
32529
32530 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32531
32532         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
32533         * sysdeps/x86_64/setjmp.S: Likewise.
32534
32535 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32536
32537         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
32538         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
32539         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
32540         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
32541         remove unused global constant.
32542
32543 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
32544
32545         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
32546         include of <not-cancel.h>.
32547
32548 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32549
32550         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
32551
32552 2012-05-15  Jeff Law  <law@redhat.com>
32553             Andreas Jaeger  <aj@suse.de>
32554
32555         [BZ #13594]
32556         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
32557         out from...
32558         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
32559         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
32560         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
32561         code changing __hst_map_handle.map.
32562
32563 2012-05-15  Roland McGrath  <roland@hack.frob.com>
32564
32565         * configure.in (sysnames): Look for Implies-before and Implies-after
32566         files.
32567         * configure: Regenerated.
32568
32569 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32570
32571         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
32572         8-byte data alignment with LP_SIZE alignment.
32573
32574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32575
32576         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
32577         into R10_LP.
32578
32579 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32580
32581         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
32582
32583 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32584
32585         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
32586         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
32587         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
32588         Likewise.
32589         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
32590
32591 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32592
32593         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
32594         (stackinfo_sub_sp): Likewise.
32595
32596 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32597
32598         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
32599         RAX_LP.
32600
32601 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32602
32603         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
32604         into R*_LP.
32605
32606 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32607
32608         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
32609         sizes into R*_LP.
32610
32611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32612
32613         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
32614
32615 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32616
32617         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
32618         into R11_LP and load __x86_64_shared_cache_size_half into
32619         R8_LP.
32620
32621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
32622
32623         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
32624         R8_LP.
32625
32626 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32627
32628         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
32629         logb for POWER7.
32630         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
32631         logbf for POWER7.
32632         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
32633         logbl for POWER7.
32634         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
32635         powerpc32/power7/fpu/s_logb.c via #include.
32636         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
32637         powerpc32/power7/fpu/s_logbf.c via #include.
32638         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
32639         powerpc32/power7/fpu/s_logbl.c via #include.
32640
32641 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
32642
32643         * README.libm: Remove file.
32644
32645 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32646
32647         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
32648         count for x32.  Use R*_LP and omit operand-size suffix.
32649
32650 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32651
32652         * shlib-versions: Move x86_64-.*-linux.* entries to ...
32653         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
32654         * sysdeps/x86_64/x32/shlib-versions: New file.
32655
32656 2012-05-14  Roland McGrath  <roland@hack.frob.com>
32657
32658         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
32659         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
32660         Use _dl_fatal_printf instead.
32661
32662 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32663
32664         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
32665         set if not set by the user.  Do not allow for being unset.
32666         * sysdeps/unix/sysv/linux/configure: Regenerated.
32667
32668 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32669
32670         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
32671         the `q' suffix from lea and replace .quad with ASM_ADDR.
32672
32673 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32674
32675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
32676         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
32677         instead of $17.
32678         (PTR_DEMANGLE): Likewise.
32679
32680 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32681
32682         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
32683         (LP_OP): Likewise.
32684         (ASM_ADDR): Likewise.
32685         (RAX_LP): Likewise.
32686         (RBP_LP): Likewise.
32687         (RBX_LP): Likewise.
32688         (RCX_LP): Likewise.
32689         (RDI_LP): Likewise.
32690         (RSI_LP): Likewise.
32691         (RSP_LP): Likewise.
32692         (R8_LP): Likewise.
32693         (R9_LP): Likewise.
32694         (R10_LP): Likewise.
32695         (R10_LP): Likewise.
32696         (R11_LP): Likewise.
32697         (R12_LP): Likewise.
32698         (R13_LP): Likewise.
32699         (R14_LP): Likewise.
32700         (R15_LP): Likewise.
32701
32702 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32703
32704         * sysdeps/x86_64/x32/dl-machine.h: New file.
32705
32706 2012-05-14  Andreas Jaeger  <aj@suse.de>
32707
32708         * manual/Makefile (subdir): Remove export of subdir.
32709         (all): Remove target.
32710         (.PHONY): Remove all from list.
32711         (mkinstalldirs): Remove.
32712         (.PHONY): Remove installdirs from list.
32713         ($(inst_infodir)/libc.info): Use make-target-directory.
32714         (installdirs): Remove.
32715         (subdir_%): Remove.
32716         (glibc-targets): Remove.
32717         (lib): Remove.
32718         (stubs): Remove.
32719         ($(objpfx)stubs ../po/manual.pot): Remove.
32720         ($(objpfx)stamp%): Remove.
32721         (make-target-directory): Remove.
32722         (subdir_install): Remove.
32723         (routines): Remove.
32724         (aux): Remove.
32725         (sources): Remove.
32726         (objects): Remove.
32727         (headers): Remove.
32728
32729         [BZ #13750]
32730         * manual/.gitignore: Remove, it's not needed anymore.
32731         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
32732         all files in it.
32733         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
32734         directory.
32735         (texis): Renamed to $(objpfx)texis.
32736         (texis-path): New, contains path to generated files.
32737         (chapters.%): Use texis-path for complete path, add extra argument
32738         libc-texinfo.sh.
32739         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
32740         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
32741         (summary,texi, stamp-summary): Use complete path of
32742         files. Generate files in build dir.
32743         (dir-add.texi): Build in build dir.
32744         (libm-err.texi,stamp-libm-err): Likewise.
32745         (version.texi, stamp-version): Likewise.
32746         (.%c.texi): Likewise.
32747         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
32748         (mostlyclean): Remove target.
32749         (realclean): Remove target.
32750         (generated): Add new variable with contents from mostlyclean and
32751         realclean, remove entries duplicated in common-mostlyclean, add
32752         stamp-libm-err and stamp-version.
32753         (generated-dirs): Add libc directory.
32754         ($(inst_infodir)/libc.info): Install files from build dir.
32755
32756         * manual/install.texi (Configuring and compiling): Adjust since
32757         the info files are not part of the tar ball anymore.
32758
32759 2012-05-14  Andreas Jaeger  <aj@suse.de>
32760
32761         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
32762         variable.
32763
32764 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
32765
32766         [BZ #13717]
32767         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
32768         to 2.2.0 where earlier.
32769         * sysdeps/unix/sysv/linux/configure: Regenerated.
32770         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
32771         Remove conditional code.
32772         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
32773         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
32774         Remove conditional code.
32775         [!__NR_lchown]: Likewise.
32776         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32777         [__NR_lchown]: Likewise.
32778         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
32779         comment referencing __ASSUME_LCHOWN_SYSCALL.
32780         * sysdeps/unix/sysv/linux/i386/sigaction.c
32781         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32782         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32783         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
32784         Remove conditional code.
32785         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
32786         (__protocol_available): Remove #if 0 code.
32787         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
32788         conditional code.
32789         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
32790         * sysdeps/unix/sysv/linux/kernel-features.h
32791         (__ASSUME_GETCWD_SYSCALL): Don't define.
32792         (__ASSUME_REALTIME_SIGNALS): Likewise.
32793         (__ASSUME_PREAD_SYSCALL): Likewise.
32794         (__ASSUME_PWRITE_SYSCALL): Likewise.
32795         (__ASSUME_POLL_SYSCALL): Likewise.
32796         (__ASSUME_LCHOWN_SYSCALL): Likewise.
32797         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
32798         non-SPARC.
32799         (__ASSUME_SIOCGIFNAME): Don't define.
32800         (__ASSUME_MSG_NOSIGNAL): Likewise.
32801         (__ASSUME_SENDFILE): Define unconditionally.
32802         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
32803         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
32804         conditional code.
32805         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
32806         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
32807         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32808         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32809         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
32810         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
32811         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
32812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
32813         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32814         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
32816         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32817         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
32819         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32820         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
32822         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32823         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
32825         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32826         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
32828         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
32829         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
32831         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32832         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
32834         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32835         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32836         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
32837         Remove conditional code.
32838         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32839         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32840         Remove conditional code.
32841         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32842         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
32843         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
32844         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32845         Remove conditional code.
32846         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32847         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
32848         Remove conditional code.
32849         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32850         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
32851         Remove conditional code.
32852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32853         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
32854         Remove conditional code.
32855         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
32856         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
32857         Remove conditional code.
32858         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32859         * sysdeps/unix/sysv/linux/sh/pwrite64.c
32860         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
32861         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
32862         * sysdeps/unix/sysv/linux/sigaction.c
32863         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32864         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32865         * sysdeps/unix/sysv/linux/sigpending.c
32866         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32867         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32868         * sysdeps/unix/sysv/linux/sigprocmask.c
32869         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32870         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32871         * sysdeps/unix/sysv/linux/sigsuspend.c
32872         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
32873         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
32874         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
32875         (__libc_missing_rt_sigs): Remove.
32876         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
32877         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
32878         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
32879         Remove conditional code.
32880         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
32881         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
32882         return 1.
32883         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
32884         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
32885         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
32886         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
32887
32888 2012-05-14  Andreas Jaeger  <aj@suse.de>
32889
32890         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
32891         it's not used in glibc.
32892         (__coshm1): Likewise.
32893         (__acosh1p): Likewise.
32894         (__sgn): Likewise.
32895
32896         * manual/string.texi (Copying and Concatenation): Add missing
32897         variable in concat example.
32898         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
32899
32900 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32901
32902         [BZ #14103]
32903         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
32904         __builtin_clzl with __builtin_clzll.
32905
32906 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
32907
32908         [BZ #14104]
32909         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
32910         libc_freeres_ptr.
32911
32912 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32913
32914         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
32915         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
32916         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
32917         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
32918
32919 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
32920
32921         * NEWS: Update ia64 info.
32922
32923 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
32924
32925         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
32926         used as bcopy.
32927
32928 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
32929
32930         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
32931         * sysdeps/unix/syscalls.list (dup3): Likewise.
32932         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
32933         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
32934
32935 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32936
32937         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
32938         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
32939
32940 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
32941
32942         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
32943         thread pointer.
32944         (TLS_IE): Use mov/add instead of movq/addq to load thread
32945         pointer.
32946         (TLS_GD_PREFIX): New.
32947         (TLS_GD): Use it.
32948
32949 2012-05-11  David S. Miller  <davem@davemloft.net>
32950
32951         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
32952         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
32953         (_FPU_SETCW): Likewise.
32954
32955 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32956
32957         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
32958         is 32-byte aligned.
32959
32960 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
32961
32962         [BZ #11837]
32963         * iconvdata/gb18030.c: Update tables.
32964         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
32965         characters specially.
32966         (BODY for TO_LOOP): Add encoding of missing ranges.
32967
32968 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
32969
32970         [BZ #13673]
32971         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
32972         * sysdeps/mach/hurd/dup3.c: Likewise.
32973         * sysdeps/mach/hurd/readlinkat.c: Likewise.
32974         * sysdeps/powerpc/memmove.c:: Likewise.
32975
32976 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32977
32978         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
32979         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
32980
32981 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
32982
32983         * elf/elf.h (R_X86_64_RELATIVE64): New.
32984         (R_X86_64_NUM): Updated.
32985         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32986         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
32987         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
32988         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
32989         tst-quad1pie tst-quad2pie
32990         (modules-names): Add tst-quadmod1 tst-quadmod2.
32991         ($(objpfx)tst-quad1): New dependency.
32992         ($(objpfx)tst-quad2): Likewise.
32993         ($(objpfx)tst-quad1pie): Likewise.
32994         ($(objpfx)tst-quad2pie): Likewise.
32995         * sysdeps/x86_64/tst-quad1.c: New file.
32996         * sysdeps/x86_64/tst-quad1pie.c: New file.
32997         * sysdeps/x86_64/tst-quad2.c: Likewise.
32998         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
32999         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
33000         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
33001         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
33002         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
33003
33004 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33005
33006         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
33007         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
33008         * streams/stropts.h (t_scalar_t): Define type.
33009
33010         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
33011         (_PATH_PRESERVE): Set to "/var/lib".
33012         (_PATH_RWHODIR): Set to "/var/spool/rwho".
33013
33014         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
33015         instead of int.
33016
33017         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
33018         if __dir_mkfile succeeded.
33019
33020         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
33021         checking for _hurd_dtablesize.  Unlock it right after having
33022         finished _hurd_dtable allocation.
33023
33024 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33025
33026         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
33027         * sysdeps/mach/hurd/configure: Regenerated.
33028         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
33029         special-casing to...
33030         * sysdeps/gnu/configure.in: ... this new file.
33031         * sysdeps/unix/sysv/linux/configure: Regenerated.
33032         * sysdeps/gnu/configure: New generated file.
33033
33034         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
33035         for Linux: use nsec instead of usec, as well as:
33036         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
33037         members of type struct timespec.
33038         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
33039         New macros.
33040         (struct stat64): Likewise.
33041         (_STATBUF_ST_NSEC): New macro.
33042         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
33043
33044         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
33045         __strtoul_internal rather than strtoul.
33046
33047 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33048
33049         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
33050         and reject them.
33051
33052 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33053
33054         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
33055         which preserves existing values.
33056         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
33057
33058 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33059
33060         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
33061         TIMEOUT values.  Return EINVAL for NFDS values either negative or
33062         greater than FD_SETSIZE.
33063
33064 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33065
33066         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
33067         allocated, call __vm_protect to finish enabling the existing space, and
33068         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
33069         allocate the remainder.
33070
33071 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33072
33073         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
33074         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
33075
33076 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33077
33078         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
33079         sysdeps/mach/hurd/readlink.c.
33080
33081         * posix/tst-sysconf.c (posix_options): Only use
33082         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
33083         _POSIX_SYNCHRONIZED_IO when they are defined
33084         * sysdeps/mach/hurd/bits/posix_opt.h:
33085         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
33086         (_XOPEN_REALTIME): Undefine macro.
33087         (_XOPEN_REALTIME_THREADS): Undefine macro.
33088         (_XOPEN_SHM): Undefine macro.
33089         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
33090         macro to -1.
33091         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
33092         macro to -1.
33093         (_POSIX_ASYNC_IO): Undefine macro.
33094         (_POSIX_PRIORITIZED_IO): Undefine macro.
33095         (_POSIX_SPIN_LOCKS): Define macro to -1.
33096
33097         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
33098         SA_NODEFER, SA_RESETHAND.
33099         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
33100         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
33101         F_DUPFD_CLOEXEC.
33102
33103 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33104
33105         * elf/Makefile (pldd-modules): Define unconditionally.
33106
33107 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33108
33109         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
33110
33111 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33112
33113         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
33114         Return ENOENT when name is empty.
33115         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
33116
33117 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33118
33119         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
33120
33121         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
33122
33123 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33124
33125         Fix mlock in all cases except non-readable pages.
33126         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
33127         instead of VM_PROT_ALL as parameter to __vm_wire function.
33128
33129         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
33130         (__mkdir): When path is `/', just fail with EEXIST.
33131         * sysdeps/mach/hurd/mkdirat.c: Likewise.
33132
33133 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33134
33135         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
33136         <sys/uio.h> (for writev).
33137         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
33138         and <sys/param.h> (for MIN).
33139
33140 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
33141
33142         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
33143         REQUESTED_TIME.  Properly set the remaining time and return EINTR
33144         if interrupted.
33145
33146 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33147
33148         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
33149         Depend on against $(link-rpcuserlibs).
33150
33151 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33152
33153         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
33154         (__libc_stack_end): Do not use attribute_relro.
33155         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
33156         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
33157         to libthread-provided value.
33158         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
33159         attribute_relro.
33160
33161 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33162
33163         [BZ #3748]
33164         * bits/libc-lock.h (__libc_once_get): New macro.
33165         * sysdeps/mach/bits/libc-lock.h: Likewise.
33166         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
33167         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
33168         instead of using implementation details.
33169
33170         * libio/fileops.c: Unconditionally include <kernel-features.h>.
33171         * libio/freopen.c: Likewise.
33172         * libio/freopen64.c: Likewise.
33173         * misc/syslog.c: Likewise.
33174         * nscd/connections.c: Likewise.
33175         * nscd/netgroupcache.c: Likewise.
33176         * sysdeps/posix/getcwd.c: Likewise.
33177
33178 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33179
33180         * math/w_ilogbf.c: Add #include <limits.h>.
33181
33182 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33183
33184         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
33185         path instead of returning without unlocking.
33186
33187         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
33188         immediate-write ioctls.
33189         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
33190
33191 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33192
33193         * sysdeps/mach/hurd/i386/init-first.c (init): Use
33194         __builtin_frame_address instead of making assumptions about the
33195         location of the return address relative to DATA.  Force early load of
33196         the return address.
33197         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
33198         __builtin_frame_address.
33199
33200         dup3 for GNU Hurd.
33201         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
33202         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
33203         implement dup3 and do some further code clean-ups.
33204         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
33205         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
33206
33207 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33208
33209         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
33210
33211         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
33212         HURD_CRITICAL_END around holding _hurd_dtable_lock.
33213         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
33214         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
33215         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
33216         d->port.lock.
33217
33218         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
33219         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
33220         when handler == SIG_ERR, not when handler != SIG_ERR.
33221
33222 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33223
33224         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
33225         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
33226         definitions.
33227
33228         accept4 for GNU Hurd.
33229         * include/sys/socket.h (__libc_accept4): New prototype.
33230         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
33231         to implement __libc_accept4.
33232         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
33233         __libc_accept4.
33234         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
33235
33236         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
33237         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
33238         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
33239         signal-defines.sym.
33240
33241 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33242
33243         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
33244
33245 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
33246
33247         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
33248         assertion on O_CLOEXEC flag.
33249         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
33250         * hurd/intern-fd.c: Likewise.
33251         * hurd/port2fd.c: Likewise.
33252
33253 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33254
33255         [BZ #3906]
33256         * bits/in.h (IPV6_PKTINFO): Define new macro.
33257         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
33258
33259 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33260
33261         [BZ #13954]
33262         [BZ #13955]
33263         [BZ #13956]
33264         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
33265         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
33266         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
33267         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
33268         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33269         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
33270         * math/libm-test.inc (logb_test) : Additional logb tests.
33271
33272 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
33273             Andreas Jaeger  <aj@suse.de>
33274
33275         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
33276         * configure: Regenerated.
33277         * config.h.in (LINK_OBSOLETE_RPC): New macro.
33278         * config.make.in (link-obsolete-rpc): New substituted variable.
33279         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
33280         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
33281         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33282         (shared-only-routines): Don't set it under [link-obsolete-rpc],
33283         so that libc.a contains the symbols.
33284         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
33285         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
33286         * sunrpc/auth_none.c: Likewise.
33287         * sunrpc/auth_unix.c: Likewise.
33288         * sunrpc/authdes_prot.c: Likewise.
33289         * sunrpc/authuxprot.c: Likewise.
33290         * sunrpc/clnt_gen.c: Likewise.
33291         * sunrpc/clnt_perr.c: Likewise.
33292         * sunrpc/clnt_raw.c: Likewise.
33293         * sunrpc/clnt_simp.c: Likewise.
33294         * sunrpc/clnt_tcp.c: Likewise.
33295         * sunrpc/clnt_udp.c: Likewise.
33296         * sunrpc/clnt_unix.c: Likewise.
33297         * sunrpc/des_crypt.c: Likewise.
33298         * sunrpc/des_soft.c: Likewise.
33299         * sunrpc/get_myaddr.c: Likewise.
33300         * sunrpc/key_call.c: Likewise.
33301         * sunrpc/key_prot.c: Likewise.
33302         * sunrpc/netname.c: Likewise.
33303         * sunrpc/pm_getmaps.c: Likewise.
33304         * sunrpc/pm_getport.c: Likewise.
33305         * sunrpc/pmap_clnt.c: Likewise.
33306         * sunrpc/pmap_prot.c: Likewise.
33307         * sunrpc/pmap_prot2.c: Likewise.
33308         * sunrpc/pmap_rmt.c: Likewise.
33309         * sunrpc/publickey.c: Likewise.
33310         * sunrpc/rpc_cmsg.c: Likewise.
33311         * sunrpc/rpc_common.c: Likewise.
33312         * sunrpc/rpc_dtable.c: Likewise.
33313         * sunrpc/rpc_prot.c: Likewise.
33314         * sunrpc/rpc_thread.c: Likewise.
33315         * sunrpc/rtime.c: Likewise.
33316         * sunrpc/svc.c: Likewise.
33317         * sunrpc/svc_auth.c: Likewise.
33318         * sunrpc/svc_raw.c: Likewise.
33319         * sunrpc/svc_run.c: Likewise.
33320         * sunrpc/svc_tcp.c: Likewise.
33321         * sunrpc/svc_udp.c: Likewise.
33322         * sunrpc/svc_unix.c: Likewise.
33323         * sunrpc/svcauth_des.c: Likewise.
33324         * sunrpc/xcrypt.c: Likewise.
33325         * sunrpc/xdr.c: Likewise.
33326         * sunrpc/xdr_array.c: Likewise.
33327         * sunrpc/xdr_float.c: Likewise.
33328         * sunrpc/xdr_intXX_t.c: Likewise.
33329         * sunrpc/xdr_mem.c: Likewise.
33330         * sunrpc/xdr_rec.c: Likewise.
33331         * sunrpc/xdr_ref.c: Likewise.
33332         * sunrpc/xdr_sizeof.c: Likewise.
33333         * sunrpc/xdr_stdio.c: Likewise.
33334
33335 2012-05-10  Roland McGrath  <roland@hack.frob.com>
33336
33337         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
33338         change.  Update copyright years.
33339
33340 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33341
33342         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
33343
33344 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
33345             Joseph Myers  <joseph@codesourcery.com>
33346             Paul Pluzhnikov  <ppluzhnikov@google.com>
33347
33348         [BZ #14012]
33349         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
33350         requiring rpcgen.
33351         [cross-compiling] (extra-libs): Likewise.
33352         [cross-compiling] (extra-libs-others): Likewise.
33353         [cross-compiling] (librpcsvc-routines): Likewise.
33354         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
33355         [cross-compiling] (omit-deps): Likewise.
33356         (sunrpc-CPPFLAGS): New variable.
33357         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
33358         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
33359         (cross-rpcgen-objs): New variable.
33360         (extra-objs): Append $(cross-rpcgen-objs).
33361         ($(cross-rpcgen-objs)): New rule.
33362         ($(objpfx)cross-rpcgen): Likewise.
33363         (rpcgen-cmd): Define to use $(built-program-file).  Expand
33364         comment.
33365         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
33366         ($(objpfx)x%.stmp): Likewise.
33367         * sunrpc/proto.h [IS_IN_build] (_): Define.
33368         [IS_IN_build] (_libc_intl_domainname): Likewise.
33369
33370 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
33371
33372         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
33373         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
33374         and R_X86_64_TPOFF64.
33375
33376 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
33377
33378         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
33379         sysdeps/unix/sysv/syscalls.list.
33380         (stime): Likewise.
33381         (utime): Likewise.
33382         * sysdeps/unix/sysv/syscalls.list: Remove file.
33383
33384 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
33385
33386         [BZ #3440]
33387         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
33388         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
33389         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
33390         (__LC_IDENTIFICATION): Make these macros useful in #if
33391         expressions, as required by C99.
33392
33393 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
33394
33395         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
33396         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
33397         after this.
33398
33399 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
33400
33401         * stdlib/longlong.h: Updated from GCC.
33402
33403 2012-05-09  Andreas Jaeger  <aj@suse.de>
33404
33405         * nscd/nscd.c (run_modes): Make named enum, reorder so that
33406         default is first entry.
33407         (run_mode): Set type.
33408         (main): Remove informal message about syslog.
33409         (options): Fix typo.
33410
33411         [BZ #14053]
33412         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
33413         to asm.
33414         (lrint): Likewise.
33415         (llrintf): Likewise.
33416         (llrint): Likewise.
33417         (rint): Likewise.
33418         (rintf): Likewise.
33419         (nearbyint): Likewise.
33420         (nearbyintf): Likewise.
33421
33422 2012-05-09  Andreas Jaeger  <aj@suse.de>
33423             Pedro Alves  <palves@redhat.com>
33424
33425         * nscd/nscd.c (run_mode): Use enum.
33426         (main): Cleanup coding style issue.
33427
33428 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
33429             Andreas Jaeger  <aj@suse.de>
33430
33431         * nscd/nscd.c (go_background): Replaced with...
33432         (run_mode): ... this.
33433         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
33434         (options): Add -F --foreground.
33435         (main): Implement it.
33436         (parse_opt): Parse it.
33437
33438 2012-05-09  Andreas Jaeger  <aj@suse.de>
33439
33440         [BZ #14083]
33441         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
33442         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
33443         -Wconversion warning.
33444         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
33445         Likewise.
33446
33447 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
33448
33449         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
33450         == 0.
33451         (LC_ALL): Use macro-int-constant.
33452         (LC_COLLATE): Likewise.
33453         (LC_CTYPE): Likewise.
33454         (LC_MESSAGES): Likewise.
33455         (LC_MONETARY): Likewise.
33456         (LC_NUMERIC): Likewise.
33457         (LC_TIME): Likewise.
33458         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
33459         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33460         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33461         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
33462         Specify type.
33463         [C99-based standards] (float_t): Expect type.
33464         [C99-based standards] (double_t): Expect type.
33465         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
33466         type.
33467         [C99-based standards] (HUGE_VALL): Likewise.
33468         [C99-based standards] (INFINITY): Likewise.
33469         [C99-based standards] (NAN): Likewise.
33470         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
33471         [C99-based standards] (FP_NAN): Likewise.
33472         [C99-based standards] (FP_NORMAL): Likewise.
33473         [C99-based standards] (FP_SUBNORMAL): Likewise.
33474         [C99-based standards] (FP_ZERO): Likewise.
33475         [C99-based standards] (FP_FAST_FMA): Use
33476         optional-macro-int-constant.  Specify type.  Require == 1.
33477         [C99-based standards] (FP_FAST_FMAF): Likewise.
33478         [C99-based standards] (FP_FAST_FMAL): Likewise.
33479         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
33480         [C99-based standards] (FP_ILOGBNAN): Likewise.
33481         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
33482         Specify type.
33483         [C99-based standards] (MATH_ERREXCEPT): Likewise.
33484         [C99-based standards] (math_errhandling): Specify type.
33485         [ISO99 || ISO11] (signgam): Do not allow.
33486         [non-C99-based standards] (copysignf): Do not allow.
33487         [non-C99-based standards] (exp2f): Likewise.
33488         [non-C99-based standards] (log2f): Likewise.
33489         [non-C99-based standards] (modff): Allow.
33490         [non-C99-based standards] (erff): Do not allow.
33491         [non-C99-based standards] (erfcf): Likewise.
33492         [non-C99-based standards] (gammaf): Likewise.
33493         [non-C99-based standards] (hypotf): Likewise.
33494         [non-C99-based standards] (j0f): Likewise.
33495         [non-C99-based standards] (j1f): Likewise.
33496         [non-C99-based standards] (jnf): Likewise.
33497         [non-C99-based standards] (lgammaf): Likewise.
33498         [non-C99-based standards] (tgammaf): Likewise.
33499         [non-C99-based standards] (y0f): Likewise.
33500         [non-C99-based standards] (y1f): Likewise.
33501         [non-C99-based standards] (ynf): Likewise.
33502         [non-C99-based standards] (isnanf): Likewise.
33503         [non-C99-based standards] (acoshf): Likewise.
33504         [non-C99-based standards] (asinhf): Likewise.
33505         [non-C99-based standards] (atanhf): Likewise.
33506         [non-C99-based standards] (cbrtf): Likewise.
33507         [non-C99-based standards] (expm1f): Likewise.
33508         [non-C99-based standards] (ilogbf): Likewise.
33509         [non-C99-based standards] (log1pf): Likewise.
33510         [non-C99-based standards] (logbf): Likewise.
33511         [non-C99-based standards] (nextafterf): Likewise.
33512         [non-C99-based standards] (remainderf): Likewise.
33513         [non-C99-based standards] (rintf): Likewise.
33514         [non-C99-based standards] (scalbf): Likewise.
33515         [non-C99-based standards] (copysignl): Likewise.
33516         [non-C99-based standards] (exp2l): Likewise.
33517         [non-C99-based standards] (log2l): Likewise.
33518         [non-C99-based standards] (modfl): Allow.
33519         [non-C99-based standards] (erfl): Do not allow.
33520         [non-C99-based standards] (erfcl): Likewise.
33521         [non-C99-based standards] (gammal): Likewise.
33522         [non-C99-based standards] (hypotl): Likewise.
33523         [non-C99-based standards] (j0l): Likewise.
33524         [non-C99-based standards] (j1l): Likewise.
33525         [non-C99-based standards] (jnl): Likewise.
33526         [non-C99-based standards] (lgammal): Likewise.
33527         [non-C99-based standards] (tgammal): Likewise.
33528         [non-C99-based standards] (y0l): Likewise.
33529         [non-C99-based standards] (y1l): Likewise.
33530         [non-C99-based standards] (ynl): Likewise.
33531         [non-C99-based standards] (isnanl): Likewise.
33532         [non-C99-based standards] (acoshl): Likewise.
33533         [non-C99-based standards] (asinhl): Likewise.
33534         [non-C99-based standards] (atanhl): Likewise.
33535         [non-C99-based standards] (cbrtl): Likewise.
33536         [non-C99-based standards] (expm1l): Likewise.
33537         [non-C99-based standards] (ilogbl): Likewise.
33538         [non-C99-based standards] (log1pl): Likewise.
33539         [non-C99-based standards] (logbl): Likewise.
33540         [non-C99-based standards] (nextafterl): Likewise.
33541         [non-C99-based standards] (remainderl): Likewise.
33542         [non-C99-based standards] (rintl): Likewise.
33543         [non-C99-based standards] (scalbl): Likewise.
33544         [ISO || ISO99 || ISO11] (*_t): Do not allow.
33545         [non-C99-based standards] (FP_*): Do not allow.
33546         [C99-based standards] (FP_*): Change to
33547         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
33548         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33549         allow.
33550         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
33551         (SIG_ERR): Likewise.
33552         [X/Open-based standards] (SIG_HOLD): Likewise.
33553         (SIG_IGN): Likewise.
33554         (SIGABRT): Use macro-int-constant.  Specify type.  Require
33555         positive value.
33556         (SIGFPE): Likewise.
33557         (SIGILL): Likewise.
33558         (SIGINT): Likewise.
33559         (SIGSEGV): Likewise.
33560         (SIGTER): Likewise.
33561         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
33562         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
33563         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
33564         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
33565         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
33566         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
33567         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
33568         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
33569         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
33570         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
33571         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
33572         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
33573         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
33574         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
33575         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
33576         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
33577         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
33578         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
33579         [X/Open-based standards] (SIGTRAP): Likewise.
33580         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
33581         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
33582         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
33583         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
33584         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
33585         allow.
33586
33587 2012-05-08  Ian Wienand  <ianw@vmware.com>
33588
33589         [BZ #14080]
33590         * time/tzset.c (__tzset_parse_tz): Update default rules for
33591         daylight time changes in the Energy Policy Act of 2005.
33592
33593 2012-05-09  Andreas Jaeger  <aj@suse.de>
33594
33595         [BZ #13983]
33596         * elf/ldconfig.c (parse_conf): Change string to make clear that
33597         ldconfig only issued a warning if ld.so.conf does not exist.
33598
33599 2012-05-08  David S. Miller  <davem@davemloft.net>
33600
33601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
33602         movxtod instead of popping the value on the stack.
33603
33604         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33605
33606 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
33607
33608         * config.h.in: Add HAVE_ARM_PCS_VFP.
33609
33610 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
33611
33612         [BZ #13979]
33613         * include/features.h: Warn if user requests __FORTIFY_SOURCE
33614         checking but the checks are disabled for any reason.
33615
33616 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
33617
33618         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
33619         and ELF64_R_TYPE with ELFW(R_TYPE).
33620
33621 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
33622
33623         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
33624         (ulimit): Likewise.
33625
33626         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
33627         (settimeofday): Likewise.
33628
33629 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
33630
33631         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
33632         a struct th_u2 inside the union, and move tu_block/tu_code into
33633         a new th_u3 union of tu_block/tu_code inside of that.  Move
33634         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
33635         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
33636         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
33637         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
33638         (th_stuff): Change to th_u1.tu_stuff.
33639         (th_data): Define.
33640         (th_msg): Change to th_u1.th_u2.tu_data.
33641
33642 2012-05-07  David S. Miller  <davem@davemloft.net>
33643
33644         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33645
33646         [BZ #14074]
33647         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
33648         (SETUP_PIC_REG): Use it.
33649         (SETUP_PIC_REG_LEAF): Use it.
33650
33651 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
33652
33653         [BZ #13885]
33654         [BZ #13923]
33655         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33656         USE_AS_EXPM1L.
33657         (EXPL_FINITE): Likewise.
33658         (FLDLOG): Likewise.
33659         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33660         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33661         e_expl.S.
33662         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33663         USE_AS_EXPM1L.
33664         (EXPL_FINITE): Likewise.
33665         (FLDLOG): Likewise.
33666         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
33667         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
33668         e_expl.S.
33669         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
33670         test of -max_value argument for long double.
33671         * sysdeps/i386/fpu/libm-test-ulps: Update.
33672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33673
33674 2012-05-06  David S. Miller  <davem@davemloft.net>
33675
33676         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
33677         quad soft-float symbols whose references which are compiler
33678         generated.
33679         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33680
33681 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
33682
33683         [BZ #13884]
33684         [BZ #13914]
33685         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33686         USE_AS_EXP10L.
33687         (EXPL_FINITE): Likewise.
33688         (FLDLOG): Likewise.
33689         (c0): Likewise.
33690         (c1): Likewise.
33691         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33692         Adjust comments for base varying.
33693         (__expl_finite): Change alias to EXPL_FINITE.
33694         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
33695         e_expl.S.
33696         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
33697         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33698         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33699         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
33700         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
33701         USE_AS_EXP10L.
33702         (EXPL_FINITE): Likewise.
33703         (FLDLOG): Likewise.
33704         (c0): Likewise.
33705         (c1): Likewise.
33706         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
33707         Adjust comments for base varying.
33708         (__expl_finite): Change alias to EXPL_FINITE.
33709         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
33710         tests for bugs.
33711         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33712
33713         [BZ #14064]
33714         * math/libm-test.inc (check_float_internal): Correct ulp
33715         calculation for subnormal expected results.
33716
33717 2012-05-06  Andreas Jaeger  <aj@suse.de>
33718
33719         * Makeconfig (+math-flags): New, set to -frounding-math.
33720         (+cflags): Add +math-flags so that all of glibc gets compiled with
33721         it.
33722
33723         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
33724
33725 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
33726
33727         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
33728         Disable one test.
33729
33730         [BZ #13787]
33731         [BZ #13922]
33732         [BZ #14036]
33733         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
33734         (__ieee754_expl): Allow for and saturate large arguments.
33735         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
33736         (u_threshold): Likewise.
33737         (__exp): Call __ieee754_exp before checking for overflow and
33738         underflow.
33739         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
33740         (u_threshold): Likewise.
33741         (__expf): Call __ieee754_expf before checking for overflow and
33742         underflow.
33743         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
33744         (u_threshold): Likewise.
33745         (__expl): Call __ieee754_expl before checking for overflow and
33746         underflow.
33747         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
33748         (__ieee754_expl): Allow for and saturate large arguments.
33749         * math/libm-test.inc (exp_test): Add another test.  Do not allow
33750         missing overflow exception on overflow.
33751         (expm1_test): Do not allow missing overflow exception on overflow.
33752
33753         * sysdeps/i386/fpu/e_expl.c: Move to ...
33754         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
33755         rather than using inline asm.
33756         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
33757         * sysdeps/x86_64/fpu/e_expl.S: Copy from
33758         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
33759
33760         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
33761         (nice): Likewise.
33762         (poll): Likewise.
33763         (signal): Likewise.
33764         (time): Likewise.
33765         (times): Likewise.
33766
33767 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33768
33769         * sysdeps/unix/syscalls.list (adjtime): Add entry from
33770         sysdeps/unix/common/syscalls.list.
33771         (fchmod): Likewise.
33772         (fchown): Likewise.
33773         (ftruncate): Likewise.
33774         (getrusage): Likewise.
33775         (gettimeofday): Likewise.
33776         (setpgid): Likewise.
33777         (setregid): Likewise.
33778         (setreuid): Likewise.
33779         (sigaction): Likewise.
33780         (truncate): Likewise.
33781         (vhangup): Likewise.
33782         * sysdeps/unix/common/syscalls.list: Remove file.
33783         * sysdeps/unix/bsd/Implies: Don't include unix/common.
33784         * sysdeps/unix/sysv/linux/Implies: Likewise.
33785
33786 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
33787
33788         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
33789         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
33790         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
33791         Moved to ...
33792         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
33793         Here.
33794         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
33795         to ...
33796         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
33797         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
33798         to ...
33799         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
33800         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
33801         to ...
33802         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
33803         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
33804         to ...
33805         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
33806         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
33807         to ...
33808         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
33809         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
33810         to ...
33811         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
33812         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
33813         to ...
33814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
33815         Here.
33816         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
33817         to ...
33818         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
33819         Here.
33820         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
33821         to ...
33822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
33823         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
33824         Moved to ...
33825         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
33826         Here.
33827         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
33828         to ...
33829         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
33830
33831 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33832
33833         * sysdeps/unix/common/bits/dirent.h: Remove file.
33834         * sysdeps/unix/common/bits/fcntl.h: Likewise.
33835
33836         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
33837         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
33838         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
33839         * sysdeps/unix/bsd/isatty.c: Likewise.
33840         * sysdeps/unix/bsd/tcdrain.c: Likewise.
33841         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
33842         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
33843
33844 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33845
33846         [BZ #13563]
33847         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
33848         long double comparison inaccuracies.
33849         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
33850         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33851
33852 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
33853
33854         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
33855         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
33856
33857 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
33858
33859         [BZ #14049]
33860         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
33861         nonzero digits before rounding a hex value.
33862         * stdlib/tst-strtod.c (tests): Add another test.
33863
33864 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33865
33866         * sysdeps/s390/fpu/libm-test-ulps: Update.
33867
33868 2012-05-03  Andreas Jaeger  <aj@suse.de>
33869
33870         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
33871         does not get optimized out.
33872         (malloc_opt_barrier): New.
33873
33874 2012-05-03  Andreas Jaeger  <aj@suse.de>
33875             Roland McGrath  <roland@hack.frob.com>
33876
33877         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
33878         intermediate file deletion.
33879         (generated): Add .symlist files.
33880
33881 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
33882
33883         [BZ #13775]
33884         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
33885         Redirect under this condition.
33886         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33887         [__USE_GNU] (__dprintf_chk): Not under this condition.
33888         [__USE_GNU] (__vdprintf_chk): Likewise.
33889         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
33890         under this condition.
33891         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
33892         [__USE_XOPEN2K8] (dprintf): Define under this condition.
33893         [__USE_XOPEN2K8] (vdprintf): Likewise.
33894         [__USE_GNU] (__dprintf_chk): Not under this condition.
33895         [__USE_GNU] (__vdprintf_chk): Likewise.
33896         [__USE_GNU] (dprintf): Likewise.
33897         [__USE_GNU] (vdprintf): Likewise.
33898
33899 2012-05-03  Roland McGrath  <roland@hack.frob.com>
33900
33901         * elf/Makefile (common-generated): Set this instead of generated for
33902         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
33903         $(all-built-dso)-derived lists.
33904
33905 2012-05-03  Andreas Jaeger  <aj@suse.de>
33906
33907         * sysdeps/i386/fpu/libm-test-ulps: Update.
33908
33909         * FAQ: Removed.
33910         * FAQ.in: Likewise.
33911         * scripts/gen-FAQ.pl: Likewise.
33912         * manual/install.texi (Installation): Point to online location of
33913         FAQ.
33914         * Makefile (files-for-dist): Remove FAQ.
33915         (FAQ): Remove.
33916
33917 2012-05-02  Allan McRae  <allan@archlinux.org>
33918
33919         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
33920         (LDFLAGS-reldepmod5.so): Likewise.
33921         (LDFLAGS-reldep6mod1.so): Likewise.
33922         (LDFLAGS-reldep6mod4.so): Likewise.
33923         (LDFLAGS-reldep8mod3.so): Likewise.
33924         (LDFLAGS-unload4mod1.so): Likewise.
33925         (LDFLAGS-unload4mod2.so): Likewise.
33926         (LDFLAGS-tst-initorder): Likewise.
33927         (LDFLAGS-tst-initordera2.so): Likewise.
33928         (LDFLAGS-tst-initordera3.so): Likewise.
33929         (LDFLAGS-tst-initordera4.so): Likewise.
33930         (LDFLAGS-tst-initorderb2.so): Likewise.
33931         (LDFLAGS-noload): Likewise.
33932         (LDFLAGS-next): Likewise.
33933         (LDFLAGS-order2mod1.so): Likewise.
33934         (LDFLAGS-order2mod2.so): Likewise.
33935         (LDFLAGS-tst-initorder2): Likewise.
33936         (LDFLAGS-tst-initorder2a.so): Likewise.
33937         (LDFLAGS-tst-initorder2b.so): Likewise.
33938         (LDFLAGS-tst-initorder2c.so): Likewise.
33939         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
33940
33941 2012-05-02  David S. Miller  <davem@davemloft.net>
33942
33943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33944
33945 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
33946
33947         [BZ #14055]
33948         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
33949
33950 2012-05-02  Andreas Jaeger  <aj@suse.de>
33951
33952         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
33953         since we manipulate rounding mode.
33954         (CPPFLAGS-test-idouble.c): Likewise.
33955         (CPPFLAGS-test-ifloat.c): Likewise.
33956         (CFLAGS-test-ldouble.c): Likewise.
33957         (CFLAGS-test-double.c): Likewise.
33958         (CFLAGS-test-float.c): Likewise.
33959         (CFLAGS-test-misc.c): Likewise.
33960         (CFLAGS-test-test-fenv.c): Likewise.
33961
33962 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33963
33964         [BZ #2550]
33965         [BZ #2570]
33966         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
33967         comparisons to determine direction to adjust input.
33968
33969 2012-05-01  Roland McGrath  <roland@hack.frob.com>
33970
33971         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
33972         output to the target.
33973
33974         * scripts/localplt.awk: New file.
33975         * elf/Makefile ($(objpfx)check-localplt): Target removed.
33976         (check-localplt-CFLAGS): Variable removed.
33977         ($(all-built-dso:=.jmprel)): New static pattern rule.
33978         (generated): Add those targets.
33979         (localplt-built-dso): New variable.
33980         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
33981
33982         * elf/check-localplt.c: File removed.
33983
33984         * scripts/check-execstack.awk: New file.
33985         * elf/Makefile ($(objpfx)check-execstack): Target removed.
33986         (check-execstack-CFLAGS): Variable removed.
33987         ($(objpfx)check-execstack.h): Target removed.
33988         ($(objpfx)execstack-default): New target.
33989         (generated): Add that instead of check-execstack.h.
33990         ($(all-built-dso:=.phdr)): New static pattern rule.
33991         (generated): Add those targets.
33992         * elf/check-execstack.c: File removed.
33993
33994         * scripts/check-textrel.awk: New file.
33995         * elf/Makefile ($(objpfx)check-textrel): Target removed.
33996         (check-textrel-CFLAGS): Variable removed.
33997         (all-built-dso): Use := to define.o
33998         ($(all-built-dso:=.dyn)): New static pattern rule.
33999         (generated): Add those targets.
34000         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
34001         * config.make.in (READELF): New substituted variable.
34002         * elf/check-textrel.c: File removed.
34003
34004 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34005
34006         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
34007         allow.
34008         * conform/data/ctype.h-data [C99-based standards] (isblank):
34009         Expect function.
34010         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
34011         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
34012         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34013         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
34014         Specify type.  Require positive value.
34015         (EILSEQ): Likewise.
34016         (ERANGE): Likewise.
34017         [ISO || POSIX] (EILSEQ): Do not expect.
34018         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
34019         Specify type.  Require positive value.
34020         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
34021         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
34022         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
34023         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
34024         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
34025         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
34026         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
34027         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
34028         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
34029         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
34030         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
34031         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
34032         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
34033         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
34034         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
34035         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
34036         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
34037         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
34038         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
34039         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
34040         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
34041         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
34042         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
34043         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
34044         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
34045         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
34046         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
34047         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
34048         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
34049         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
34050         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
34051         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
34052         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
34053         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
34054         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
34055         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
34056         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
34057         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
34058         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
34059         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
34060         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
34061         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
34062         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
34063         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
34064         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
34065         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
34066         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
34067         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
34068         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
34069         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
34070         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
34071         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
34072         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
34073         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
34074         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
34075         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
34076         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
34077         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
34078         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
34079         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
34080         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
34081         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
34082         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
34083         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
34084         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
34085         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
34086         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
34087         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
34088         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
34089         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
34090         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
34091         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
34092         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
34093         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
34094         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
34095         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
34096         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
34097         Require >= 2.
34098         (FLT_ROUNDS): Expect as macro, not constant.
34099         (FLT_MANT_DIG): Use macro-int-constant.
34100         (DBL_MANT_DIG): Likewise.
34101         (LDBL_MANT_DIG): Likewise.
34102         (FLT_DIG): Likewise.
34103         (DBL_DIG): Likewise.
34104         (LDBL_DIG): Likewise.
34105         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
34106         (DBL_MIN_EXP): Likewise.
34107         (LDBL_MIN_EXP): Likewise.
34108         (FLT_MAX_EXP): Use macro-int-constant.
34109         (DBL_MAX_EXP): Likewise.
34110         (LDBL_MAX_EXP): Likewise.
34111         (FLT_MAX_10_EXP): Likewise.
34112         (DBL_MAX_10_EXP): Likewise.
34113         (LDBL_MAX_10_EXP): Likewise.
34114         (FLT_MAX): Use macro-constant.
34115         (DBL_MAX): Likewise.
34116         (LDBL_MAX): Likewise.
34117         (FLT_EPSILON): Use macro-constant.  Give upper bound.
34118         (DBL_EPSILON): Likewise.
34119         (LDBL_EPSILON): Likewise.
34120         (FLT_MIN): Likewise.
34121         (DBL_MIN): Likewise.
34122         (LDBL_MIN): Likewise.
34123         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
34124         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
34125         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
34126         [ISO11] (FLT_HAS_SUBNORM): Likewise.
34127         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
34128         [ISO11] (DBL_DECIMAL_DIG): Likewise.
34129         [ISO11] (FLT_DECIMAL_DIG): Likewise.
34130         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
34131         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
34132         [ISO11] (FLT_TRUE_MIN): Likewise.
34133         [ISO11] (LDBL_TRUE_MIN): Likewise.
34134         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34135         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
34136         (SCHAR_MIN): Use macro-int-constant.  Specify type.
34137         (SCHAR_MAX): Likewise.
34138         (UCHAR_MAX): Likewise.
34139         (CHAR_MIN): Likewise.
34140         (CHAR_MAX): Likewise.
34141         (MB_LEN_MAX): Use macro-int-constant.
34142         (SHRT_MIN): Use macro-int-constant.  Specify type.
34143         (SHRT_MAX): Likewise.
34144         (USHRT_MAX): Likewise.
34145         (INT_MAX): Likewise.
34146         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
34147         bound negative.
34148         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34149         bound with "U".
34150         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34151         bound with "L".
34152         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
34153         bound negative.  Suffix upper bound with "L".
34154         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
34155         bound with "UL".
34156         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
34157         Specify type.
34158         [C99-based standards] (LLONG_MAX): Likewise.
34159         [C99-based standards] (ULLONG_MAX): Likewise.
34160         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
34161         == 0.
34162         [ISO11] (max_align_t): Require type.
34163         [ISO || ISO99 || ISO11] (*_t): Do not allow.
34164
34165         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
34166         from $CFLAGS, without defining away __attribute__ calls.
34167         (checknamespace): Use $CFLAGS_namespace.
34168
34169         * conform/conformtest.pl (@keywords): Only include C99 keywords
34170         for standards based on C99 or C11.
34171
34172         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
34173         Disable tests.
34174         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
34175         UNIX98]: Likewise.
34176
34177         * conform/conformtest.pl: Handle "macro-int-constant" and test for
34178         usability of symbols in #if.
34179
34180         * conform/conformtest.pl: If macro or constant types start
34181         "promoted:", expect the symbol to be of the following type
34182         promoted by the integer promotions.
34183
34184         * conform/conformtest.pl: Parse all "constant" and "macro" lines
34185         in one place.  Also handle "macro-constant".
34186
34187         * conform/conformtest.pl: Only accept expected macro values with
34188         "==".  Parse all "macro" lines in one place.
34189         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
34190
34191         * conform/conformtest.pl: Handle braced types on "constant" lines
34192         instead of handling "typed-constant".
34193         * conform/data/signal.h-data: Use "constant" instead of
34194         "typed-constant".
34195
34196         * conform/conformtest.pl: Handle "optional-" at start of lines in
34197         one place rather than duplicating several cases.  Handle each
34198         format of "macro" line with initial "optional-".
34199
34200         * conform/conformtest.pl: Only accept expected constant or
34201         optional-constant values with "==".  Parse all "constant" lines in
34202         one place.  Parse all "optional-constant" lines in one place.
34203         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
34204         * conform/data/fmtmsg.h-data: Likewise.
34205         * conform/data/netinet/in.h-data: Likewise.
34206         * conform/data/tar.h-data: Likewise.
34207         * conform/data/limits.h-data: Use "==" form on "constant" and
34208         "optional-constant" lines.
34209
34210         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
34211         Use -std=c99 for XOPEN2K.
34212         (@knownproblems): Remove.
34213         (newtoken): Don't check %isknown.
34214
34215         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
34216         Do not expect macro.
34217         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
34218         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
34219         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
34220         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
34221         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
34222         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
34223         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
34224         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
34225         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
34226         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
34227         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
34228         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
34229         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
34230         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
34231         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
34232         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
34233         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
34234         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
34235         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
34236         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
34237         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
34238         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
34239         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
34240         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
34241         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
34242         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
34243         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
34244         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
34245         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
34246         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
34247         [XPG3] (acosh): Likewise.
34248         [XPG3] (asinh): Likewise.
34249         [XPG3] (atanh): Likewise.
34250         [XPG3] (cbrt): Likewise.
34251         [XPG3] (expm1): Likewise.
34252         [XPG3] (ilogb): Likewise.
34253         [XPG3] (log1p): Likewise.
34254         [XPG3] (logb): Likewise.
34255         [XPG3] (nextafter): Likewise.
34256         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
34257         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
34258         [XPG3] (remainder): Likewise.
34259         [XPG3] (rint): Likewise.
34260         [XPG3 || XPG4 || UNIX98] (round): Likewise.
34261         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
34262         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
34263         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
34264         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
34265         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
34266         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
34267         [UNIX98 || XOPEN2K] (scalb): Expect.
34268         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
34269         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
34270         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
34271         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
34272         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
34273         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
34274         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
34275         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
34276         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
34277         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
34278         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
34279         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
34280         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
34281         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
34282         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
34283         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
34284         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
34285         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
34286         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
34287         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
34288         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
34289         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
34290         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
34291         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
34292         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
34293         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
34294         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
34295         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
34296         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
34297         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
34298         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
34299         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
34300         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
34301         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
34302         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
34303         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
34304         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
34305         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
34306         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
34307         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
34308         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
34309         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
34310         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
34311         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
34312         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
34313         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
34314         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
34315         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
34316         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
34317         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
34318         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
34319         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
34320         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
34321         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
34322         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
34323         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
34324         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
34325         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
34326         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
34327         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
34328         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
34329         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
34330         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
34331         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
34332         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
34333         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
34334         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
34335         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
34336         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
34337         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
34338         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
34339         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
34340         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
34341         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
34342         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
34343         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
34344         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
34345         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
34346         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
34347         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
34348         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
34349         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
34350         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
34351         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
34352         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
34353         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
34354         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
34355         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
34356         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
34357         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
34358         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
34359         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
34360         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
34361         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
34362         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
34363         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
34364         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
34365         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
34366         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
34367         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
34368         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
34369         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
34370         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
34371         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
34372         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
34373         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
34374         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
34375         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
34376         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
34377         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
34378         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
34379         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
34380         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
34381         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
34382         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
34383         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
34384         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
34385         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
34386         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
34387         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
34388         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
34389         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
34390         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
34391         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
34392         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
34393         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
34394         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
34395         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
34396         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
34397         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
34398         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
34399         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
34400         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
34401         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
34402         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
34403         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
34404         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
34405
34406         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
34407         _XOPEN_SOURCE_EXTENDED for XPG4.
34408
34409         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
34410
34411         * Makeconfig (localtime): Remove variable.
34412         (inst_localtime-file): Likewise.
34413
34414 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34415
34416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34417         Update.
34418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34419         Update.
34420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34421         Update.
34422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34423         Update.
34424         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34425         Update.
34426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
34427         Update.
34428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34429         Update.
34430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
34431         Update.
34432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34433         Update.
34434
34435 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
34436
34437         [BZ #2550]
34438         [BZ #2570]
34439         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
34440         comparisons to determine direction to adjust input.
34441         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34442         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
34443         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
34444         Likewise.
34445         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
34446         Likewise.
34447         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
34448         Likewise.
34449         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
34450         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
34451         Likewise.
34452         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
34453         Likewise.
34454         * math/libm-test.inc (nexttoward_test): Add more tests.
34455
34456 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
34457
34458         [BZ #14040]
34459         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
34460         in version GLIBC_2.1, not GLIBC_2.0.
34461         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
34462         Likewise.
34463
34464 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
34465
34466         [BZ #13942]
34467         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
34468         (1 - x) * (1 + x).
34469         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34470         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
34471         * math/libm-test.inc (acos_test): Add more tests.
34472         (asin_test): Likewise.
34473         * sysdeps/i386/fpu/libm-test-ulps: Update.
34474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34475
34476         [BZ #14034]
34477         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
34478         of square root.
34479         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
34480         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
34481         * math/libm-test.inc (acos_test_tonearest): New function.
34482         (acos_test_towardzero): Likewise.
34483         (acos_test_downward): Likewise.
34484         (acos_test_upward): Likewise.
34485         (asin_test_tonearest): Likewise.
34486         (asin_test_towardzero): Likewise.
34487         (asin_test_downward): Likewise.
34488         (asin_test_upward): Likewise.
34489         (main): Call the new functions.
34490         * sysdeps/i386/fpu/libm-test-ulps: Update.
34491         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34492
34493         [BZ #13884]
34494         [BZ #13924]
34495         * math/e_exp10.c: Include <float.h>.
34496         (__ieee754_exp10): Handle underflow here rather than multiplying
34497         large negative argument by M_LN10.
34498         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
34499         of __ieee754_expf.
34500         * math/e_exp10l.c: Include <float.h>.
34501         (__ieee754_exp10l): Handle underflow here rather than multiplying
34502         large negative argument by M_LN10l.
34503         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
34504         spurious overflow exception on underflow.
34505
34506 2012-04-29  Marek Polacek  <polacek@redhat.com>
34507
34508         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
34509         (__fortify_function): New macro.
34510         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
34511         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
34512         __extern_always_inline.
34513         * libio/bits/stdio2.h: Likewise.
34514         * libio/bits/stdio.h: Likewise.
34515         * string/string.h: Likewise.
34516         * string/bits/string3.h: Likewise.
34517         * include/stdio.h: Likewise.
34518         * stdlib/bits/stdlib.h: Likewise.
34519         * stdlib/stdlib.h: Likewise.
34520         * rt/bits/mqueue2.h: Likewise.
34521         * rt/mqueue.h: Likewise.
34522         * posix/bits/unistd.h: Likewise.
34523         * posix/unistd.h: Likewise.
34524         * io/bits/poll2.h: Likewise.
34525         * io/bits/fcntl2.h: Likewise.
34526         * io/fcntl.h: Likewise.
34527         * io/sys/poll.h: Likewise.
34528         * misc/bits/syslog.h: Likewise.
34529         * misc/bits/syslog-ldbl.h: Likewise.
34530         * misc/sys/syslog.h: Likewise.
34531         * socket/bits/socket2.h: Likewise.
34532         * socket/sys/socket.h: Likewise.
34533         * debug/tst-chk1.c: Likewise.
34534         * wcsmbs/bits/wchar2.h: Likewise.
34535         * wcsmbs/bits/wchar-ldbl.h: Likewise.
34536         * wcsmbs/wchar.h: Likewise.
34537
34538 2012-04-29  Andreas Jaeger  <aj@suse.de>
34539
34540         * Makerules (tests): Remove enable-check-abi protection.
34541         (check-abi-warn): Remove.
34542         (check-abi-%): Remove check-abi-warn usage.
34543
34544         * configure.in: Remove check-abi configure option.
34545         * configure: Regenerated.
34546         * config.make.in (enable-check-abi): Remove.
34547
34548 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
34549
34550         [BZ #14033]
34551         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
34552         double functions to double *_finite functions.
34553
34554         [BZ #13941]
34555         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
34556         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
34557         LDBL_MIN_EXP.
34558         * stdio-common/Makefile (tests): Add tst-sprintf3.
34559         * stdio-common/tst-sprintf3.c: New file.
34560
34561         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
34562         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
34563
34564 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34565
34566         * conform/conformtest.pl: Remove duplicate typed-constant
34567         handling.
34568
34569 2012-04-28  David S. Miller  <davem@davemloft.net>
34570
34571         * Makerules (%.abilist): Add vpath on sysdep_dirs.
34572         (check-abi-%): Remove AWK script prerequisite and explicit
34573         abilist directory.
34574         (check-abi): Rewrite to just diff the symlist with the abilist.
34575         (config-tls, config-abi-config): Delete, no longer used.
34576         (update-abi-%): Remove AWK script and explicit abilist directory.
34577         (update-abi): Rewrite to simply compare and conditionally copy the
34578         symlist and the sysdep abilist file.  Remove update-abi-config
34579         checks.
34580         * abilist/ld.abilist: Remove.
34581         * abilist/libBrokenLocale.abilist: Remove.
34582         * abilist/libanl.abilist: Remove.
34583         * abilist/libcrypt.abilist: Remove.
34584         * abilist/libdl.abilist: Remove.
34585         * abilist/librt.abilist: Remove.
34586         * abilist/libthread_db.abilist: Remove.
34587         * abilist/libutil.abilist: Remove.
34588         * scripts/extract-abilist.awk: Remove.
34589         * scripts/merge-abilist.awk: Remove.
34590         * sysdeps/generic/libcidn.abilist: New file.
34591         * sysdeps/generic/libnss_compat.abilist: New file.
34592         * sysdeps/generic/libnss_db.abilist: New file.
34593         * sysdeps/generic/libnss_dns.abilist: New file.
34594         * sysdeps/generic/libnss_files.abilist: New file.
34595         * sysdeps/generic/libnss_hesiod.abilist: New file.
34596         * sysdeps/generic/libnss_nis.abilist: New file.
34597         * sysdeps/generic/libnss_nisplus.abilist: New file.
34598         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
34599         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
34600         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
34601         file.
34602         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
34603         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
34604         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
34605         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
34606         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
34607         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
34608         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
34609         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
34610         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
34611         file.
34612         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
34613         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
34614         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
34615         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
34616         file.
34617         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
34618         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
34619         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
34620         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
34621         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
34622         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
34623         file.
34624         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
34625         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
34626         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
34627         file.
34628         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
34629         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
34630         New file.
34631         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
34632         New file.
34633         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
34634         New file.
34635         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
34636         New file.
34637         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
34638         New file.
34639         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
34640         New file.
34641         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
34642         New file.
34643         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
34644         New file.
34645         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
34646         New file.
34647         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
34648         New file.
34649         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
34650         New file.
34651         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
34652         New file.
34653         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
34654         New file.
34655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
34656         file.
34657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34658         New file.
34659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34660         New file.
34661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
34662         file.
34663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34664         New file.
34665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34666         New file.
34667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
34668         file.
34669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34670         New file.
34671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34672         New file.
34673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34674         New file.
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34676         New file.
34677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34678         New file.
34679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34680         New file.
34681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
34682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
34683         file.
34684         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
34685         New file.
34686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
34687         file.
34688         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
34689         file.
34690         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
34691         file.
34692         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
34693         file.
34694         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
34695         file.
34696         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
34697         New file.
34698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
34699         file.
34700         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
34701         file.
34702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
34703         New file.
34704         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
34705         file.
34706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
34707         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
34708         file.
34709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
34710         New file.
34711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
34712         file.
34713         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
34714         file.
34715         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
34716         file.
34717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
34718         file.
34719         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
34720         file.
34721         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
34722         New file.
34723         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
34724         file.
34725         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
34726         file.
34727         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
34728         New file.
34729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
34730         file.
34731         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
34732         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
34733         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
34734         file.
34735         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
34736         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
34737         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
34738         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
34739         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
34740         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
34741         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
34742         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
34743         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
34744         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
34745         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
34746         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
34747         file.
34748         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34749         New file.
34750         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
34751         file.
34752         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
34753         file.
34754         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
34755         file.
34756         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
34757         file.
34758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
34759         file.
34760         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34761         New file.
34762         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34763         New file.
34764         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
34765         file.
34766         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34767         New file.
34768         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
34769         file.
34770         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
34771         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
34772         file.
34773         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34774         New file.
34775         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
34776         file.
34777         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
34778         file.
34779         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
34780         file.
34781         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
34782         file.
34783         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
34784         file.
34785         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34786         New file.
34787         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34788         New file.
34789         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
34790         file.
34791         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34792         New file.
34793         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
34794         file.
34795
34796 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
34797
34798         * conform/conformtest.pl: Fix typo in handling typed-constant from
34799         allow-header.
34800
34801 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34802
34803         * README: Cut down references to pre-2.6 Linux kernels and
34804         Linuxthreads.  Update lists of configurations in libc and ports
34805         and sort alphabetically.  Say "or newer" with Linux kernel version
34806         requirements.
34807
34808         * config.h.in [IS_IN_build]: Allow compiling without optimization.
34809
34810 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
34811
34812         [BZ #887]
34813         * math/libm-test.inc (logb_test_downward): New test to expose
34814         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
34815         rounding mode.
34816
34817 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
34818
34819         [BZ #14027]
34820         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
34821         to be done.
34822         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
34823         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
34824
34825 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
34826
34827         * sysdeps/unix/i386/brk.S: Remove file.
34828         * sysdeps/unix/i386/dl-brk.S: Likewise.
34829         * sysdeps/unix/i386/pipe.S: Likewise.
34830         * sysdeps/unix/i386/sigreturn.S: Likewise.
34831         * sysdeps/unix/i386/syscall.S: Likewise.
34832         * sysdeps/unix/i386/vfork.S: Likewise.
34833         * sysdeps/unix/i386/wait.S: Likewise.
34834
34835         * sysdeps/unix/common/tcsendbrk.c: Move to ...
34836         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
34837
34838         * configure.in (arm*-none*): Do not allow without
34839         --enable-hacker-mode.
34840         (netbsd*): Remove case setting base_os.
34841         (386bsd*): Likewise.
34842         (freebsd*): Likewise.
34843         (bsdi*): Likewise.
34844         (osf*): Likewise.
34845         (sunos*): Likewise.
34846         (ultrix*): Likewise.
34847         (newsos*): Likewise.
34848         (dynix*): Likewise.
34849         (*bsd*): Likewise.
34850         (sysv*): Likewise.
34851         (isc*): Likewise.
34852         (esix*): Likewise.
34853         (sco*): Likewise.
34854         (minix*): Likewise.
34855         (irix4*): Likewise.
34856         (irix6*): Likewise.
34857         (solaris[2-9]*): Likewise.
34858         (none): Likewise.
34859         * configure: Regenerated.
34860
34861 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34862
34863         [BZ #11521]
34864         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
34865         overflow or cancellation in calculating denominator.
34866         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
34867         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
34868         down expression to avoid unexpected rounding in newer GCCs.
34869         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
34870
34871 2012-04-26  David S. Miller  <davem@davemloft.net>
34872
34873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
34874         long-double compat symbols.
34875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
34879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
34881         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
34882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
34883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
34885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
34886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
34887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34888
34889 2012-04-25  David S. Miller  <davem@davemloft.net>
34890
34891         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
34892         HWCAP_* values only after the memory barriers have been defined.
34893         (atomic_full_barrier): Define.
34894         (atomic_read_barrier): Define.
34895         (atomic_write_barrier): Define.
34896
34897 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34898
34899         * shlib-versions: Add libgcc_s version information.
34900         * sysdeps/generic/libgcc_s.h: Remove.
34901         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
34902         libgcc_s.h.
34903         * sysdeps/gnu/unwind-resume.c: Likewise.
34904         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
34905
34906 2012-04-25  David S. Miller  <davem@davemloft.net>
34907
34908         * sysdeps/unix/sparc/brk.S: Delete.
34909         * sysdeps/unix/sparc/dl-brk.S: Delete.
34910         * sysdeps/unix/sparc/pipe.S: Delete.
34911         * sysdeps/unix/sparc/sysdep.S: Delete.
34912         * sysdeps/unix/sparc/sysdep.h: Delete.
34913         * sysdeps/unix/sparc/vfork.S: Delete.
34914         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
34915         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
34916         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
34917         (ret_ERRVAL, r0, r1, MOVE): Define.
34918         (JUMPTARGET): Remove.
34919         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
34920         sysdeps/unix/sparc/sysdep.h
34921         (ENTRY, END): Remove.
34922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34923
34924 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
34925
34926         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
34927         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
34928         -DIS_IN_build.
34929
34930         * timezone/README: Update upstream location and email address for
34931         tzcode and tzdata.
34932         * timezone/zdump.c: Update from tzcode 2012b.
34933         * timezone/zic.c: Likewise.
34934
34935         * configure.in (libc_cv_as_needed): Remove test.
34936         * configure: Regenerated.
34937         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
34938         conditional definition.
34939         [$(have-as-needed) != yes] (no-as-needed): Likewise.
34940         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
34941         * config.make.in (have-as-needed): Remove variable.
34942
34943 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34944             Paul Pluzhnikov  <ppluzhnikov@google.com>
34945
34946         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
34947         strings correctly.
34948
34949 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
34950
34951         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
34952         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
34953         * sysdeps/sh/strlen.S: Likewise.
34954
34955 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34956
34957         * sysdeps/unix/fork.S: Remove file.
34958         * sysdeps/unix/i386/fork.S: Likewise.
34959         * sysdeps/unix/sparc/fork.S: Likewise.
34960
34961         * sysdeps/unix/system.c: Remove file.
34962         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
34963
34964         * sysdeps/unix/getegid.S: Remove file.
34965         * sysdeps/unix/geteuid.S: Likewise.
34966
34967 2012-04-24  Roland McGrath  <roland@hack.frob.com>
34968
34969         * scripts/check-localplt.awk: New file.
34970         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
34971         of diff.
34972         * scripts/data/localplt-generic.data: Add a comment.
34973
34974         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
34975         NODE when __dir_mkfile failed.
34976         * sysdeps/mach/hurd/symlinkat.c: Likewise.
34977         Reported by Ludovic Courtès <ludo@gnu.org>.
34978
34979 2012-04-24  Andreas Jaeger  <aj@suse.de>
34980
34981         * Makerules (common-clean): Also remove gen-as-const-headers
34982         files.
34983
34984 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34985
34986         * Makerules (native-compile): Do not change working directory for
34987         build.  Use $(OUTPUT_OPTION) in command.
34988         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
34989
34990 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34991
34992         [BZ #13886]
34993         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
34994         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
34995         * math/libm-test.inc (floor_test): Add more tests.
34996         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
34997
34998 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
34999
35000         * sysdeps/unix/getdents.c: Remove file.
35001         * sysdeps/unix/sysv/getdents.c: Likewise.
35002         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
35003
35004         * sysdeps/unix/syscalls.list (madvise): Add syscall from
35005         sysdeps/unix/mman/syscalls.list.
35006         (mmap): Likewise.
35007         (mprotect): Likewise.
35008         (msync): Likewise.
35009         (munmap): Likewise.
35010         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
35011         * sysdeps/unix/mman/syscalls.list: Remove.
35012         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
35013
35014         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
35015         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
35016         * configure: Regenerated.
35017         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
35018         $(libgcc_s_suffix).
35019         * config.make.in (libgcc_s_suffix): Remove variable.
35020
35021 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
35022
35023         * sysdeps/unix/sysv/gethostname.c: Move to ...
35024         * sysdeps/posix/gethostname.c: ... here.
35025
35026         * sysdeps/unix/execve.S: Remove file.
35027
35028         * sysdeps/unix/_exit.S: Remove file.
35029
35030 2012-04-23  Andreas Jaeger  <aj@suse.de>
35031
35032         [BZ #13739]
35033         * manual/Makefile: Remove make dist support, there's no
35034         need for a stand-alone documentation tar ball.
35035         (TEXI2DVI): Define always, it's not in Makeconfig.
35036         (dist): Removed.
35037         (tar-it): Removed.
35038         (edition): Removed.
35039         (glibc-doc-$(edition).tar): Removed
35040         (%.Z): Removed.
35041         (%.gz): Removed.
35042         (%.uu): Removed.
35043         (ETAGS): Remove, it's in Makeconfig.
35044         (move-if-change): Remove, it's in Makeconfig.
35045
35046 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
35047
35048         [BZ #13970]
35049         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
35050         (strtod, strtof, strtold, strtol, strtoul, strtoq)
35051         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
35052         (strtod_l, strtof_l, strtold_l): Remove __wur.
35053         It is not necessarily an error to ignore strtol's return value.
35054         One can reliably look at the stored endptr to decide whether
35055         the number had valid syntax.
35056
35057 2012-04-21  Andreas Jaeger  <aj@suse.de>
35058
35059         [BZ #13739]
35060         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
35061
35062 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
35063
35064         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
35065         * sysdeps/unix/sysv/Versions: Remove file.
35066
35067 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
35068
35069         [BZ #13927]
35070         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35071
35072 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
35073
35074         [BZ #7064]
35075         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
35076         version from __vm86.
35077
35078 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
35079
35080         * sysdeps/unix/common/lxstat.c: Remove file.
35081         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
35082
35083         * sysdeps/unix/sysv/Makefile: Remove file.
35084
35085         * sysdeps/unix/sysv/direct.h: Remove file.
35086
35087         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
35088         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
35089         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
35090         * sysdeps/unix/sysv/bits/signum.h: Likewise.
35091         * sysdeps/unix/sysv/bits/stat.h: Likewise.
35092         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
35093         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
35094
35095         * sysdeps/unix/sysv/setrlimit.c: Remove file.
35096
35097         * sysdeps/unix/xmknod.c: Remove file.
35098         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
35099
35100         * sysdeps/unix/sysv/settimeofday.c: Remove file.
35101
35102         * sysdeps/unix/sysv/i386/time.S: Remove file.
35103
35104         * sysdeps/unix/fxstat.c: Remove file.
35105         * sysdeps/unix/xstat.c: Likewise.
35106         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
35107
35108         * sysdeps/unix/sysv/sigaction.c: Remove file.
35109
35110         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
35111         (sysdep_headers): Remove variable.
35112         [termio.h not in sysdep_headers] (generated): Likewise.
35113         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
35114         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
35115         * sysdeps/unix/sysv/tcdrain.c: Likewise.
35116         * sysdeps/unix/sysv/tcflow.c: Likewise.
35117         * sysdeps/unix/sysv/tcflush.c: Likewise.
35118         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
35119         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
35120         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
35121         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
35122         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
35123
35124         * sysdeps/unix/siglist.c: Remove file.
35125
35126         * sysdeps/unix/getppid.S: Remove file.
35127
35128         * sysdeps/unix/mkdir.c: Remove file.
35129         * sysdeps/unix/rmdir.c: Likewise.
35130
35131 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
35132
35133         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
35134         ERR_MAX value.
35135         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
35136         errlist-compat value.
35137
35138 2012-04-18  David S. Miller  <davem@davemloft.net>
35139
35140         * sysdeps/generic/memcopy.h (reg_char): Delete.
35141         * debug/strcat_chk.c: Use char, not reg_char.
35142         * debug/strcpy_chk.c: Likewise.
35143         * debug/strncat_chk.c: Likewise.
35144         * debug/strncpy_chk.c: Likewise.
35145         * string/memchr.c: Likewise.
35146         * string/memrchr.c: Likewise.
35147         * string/rawmemchr.c: Likewise.
35148         * string/strcat.c: Likewise.
35149         * string/strchr.c: Likewise.
35150         * string/strchrnul.c: Likewise.
35151         * string/strcmp.c: Likewise.
35152         * string/strcpy.c: Likewise.
35153         * string/strncat.c: Likewise.
35154         * string/strncmp.c: Likewise.
35155         * string/strncpy.c: Likewise.
35156
35157 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35158
35159         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
35160         __builtin_memcopy is called when src and dest ranges are known to not
35161         overlap.
35162
35163 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35164
35165         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
35166         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
35167         fwd_align_merge macro call.
35168         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
35169         bwd_align_merge macro call.
35170         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35171
35172 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
35173
35174         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
35175         bwd_align_merge macros.
35176         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
35177         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
35178         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
35179
35180 2012-04-18  David S. Miller  <davem@davemloft.net>
35181
35182         * sysdeps/sparc/sparc64/memcopy.h: Delete.
35183
35184 2012-04-18  Andreas Jaeger  <aj@suse.de>
35185
35186         [BZ# 6794]
35187         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
35188         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
35189         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35190
35191         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
35192         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
35193         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35194
35195         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
35196         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
35197         Adjust for changed ldbl-128 files.
35198
35199         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
35200         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
35201         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
35202
35203 2012-04-17  David S. Miller  <davem@davemloft.net>
35204
35205         * sysdeps/sparc/sparc32/memcopy.h: Delete.
35206
35207 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
35208
35209         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
35210         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
35211         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
35212         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
35213         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
35214         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
35215
35216 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35217
35218         [BZ #6794]
35219         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
35220         * math/libm-test.inc: Add ilogb errno and exception tests.
35221         * math/w_ilogb.c: New file: ilogb wrapper.
35222         * math/w_ilogbf.c: New file: ilogbf wrapper.
35223         * math/w_ilogbl.c: New file: ilogbl wrapper.
35224         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
35225         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
35226         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
35227         exception being thrown with 0.0 as argument.
35228         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
35229         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
35230         exception being thrown with 0.0 as argument.
35231         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
35232         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35233         exception being thrown with 0.0 as argument.
35234         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
35235         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
35236         exception being thrown with 0.0 as argument.
35237         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
35238         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
35239         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
35240         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
35241         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
35242         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
35243         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
35244         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
35245         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
35246
35247 2012-04-17  Petr Baudis  <pasky@ucw.cz>
35248
35249         * include/sys/uio.h: Change __vector to __iovec to avoid clash
35250         with altivec.
35251
35252 2012-04-16  Marek Polacek  <polacek@redhat.com>
35253
35254         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
35255
35256 2012-04-16  Marek Polacek  <polacek@redhat.com>
35257
35258         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
35259         operands of fdivp instruction.
35260
35261 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35262
35263         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
35264         * elf/tst-auditmod3b.c: Likewise.
35265         * elf/tst-auditmod4b.c: Likewise.
35266         * elf/tst-auditmod5b.c: Likewise.
35267         * elf/tst-auditmod6b.c: Likewise.
35268         * elf/tst-auditmod6c.c: Likewise.
35269         * elf/tst-auditmod7b.c: Likewise.
35270         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
35271         * sysdeps/x86_64/preconfigure.in: Likewise.
35272         * sysdeps/x86_64/preconfigure: Regenerated.
35273
35274 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
35275
35276         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
35277         __ILP32__.
35278
35279 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
35280
35281         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35282         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
35283
35284 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
35285
35286         [BZ #13973]
35287         * locale/iso-639.def: Fix gl language name. Spotted by
35288         Yaron Shahrabani.
35289
35290 2012-04-12  Roland McGrath  <roland@hack.frob.com>
35291
35292         [BZ #2074]
35293         * libio/libio.h (__io_write_fn): Update comment.
35294
35295 2012-04-12  Petr Baudis  <pasky@ucw.cz>
35296
35297         [BZ #2074]
35298         * stdio.texi (Hook Functions): The user provided writer function
35299         is not allowed to return -1.
35300
35301 2012-04-11  David S. Miller  <davem@davemloft.net>
35302
35303         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35304
35305 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
35306
35307         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
35308         Add a leading slash to rtkaio.
35309
35310 2012-04-11  Jim Meyering  <meyering@redhat.com>
35311
35312         [BZ #11959]
35313         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
35314         It is not necessarily an error to ignore fwrite's return
35315         value.  One can reliably use ferror to test for errors after
35316         the fact.
35317
35318 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35319
35320         * bits/types.h (__snseconds_t): New type.
35321         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
35322
35323         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
35324         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35325         (__SNSECONDS_T_TYPE): Likewise.
35326         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35327         (__SNSECONDS_T_TYPE): Likewise.
35328         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35329         (__SNSECONDS_T_TYPE): Likewise.
35330
35331 2012-04-10  Andreas Jaeger  <aj@suse.de>
35332
35333         [BZ #2636]
35334         * manual/time.texi (Processor Time): Return type of times is
35335         elapsed real time since an arbitrary point in the past.
35336         (CPU Time): Move CLK_TCK from here...
35337         (Processor Time): ...to here.  Correct description.
35338         * manual/conf.texi (Constants for Sysconf): Correct description of
35339         _SC_CLK_TCK.
35340
35341 2012-04-10  David S. Miller  <davem@davemloft.net>
35342
35343         [BZ #13967]
35344         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
35345         where the is a gap between DT_REL(A) and DT_JMPREL.
35346
35347 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
35348
35349         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
35350         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35351         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35352
35353 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
35354
35355         * elf/dl-support.c (_dl_inhibit_cache): New variable.
35356         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
35357         (dl_main): Handle --inhibit-cache.
35358         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
35359         _dl_inhibit_cache.
35360         * elf/dl-load.c (_dl_map_object): Use it.
35361         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
35362
35363 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35364
35365         [BZ #13872]
35366         * sysdeps/i386/fpu/e_powl.S (p78): New object.
35367         (__ieee754_powl): Saturate large exponents rather than testing for
35368         overflow of y*log2(x).
35369         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35370         * math/libm-test.inc (pow_test): Do not permit spurious overflow
35371         exceptions.
35372
35373         [BZ #11521]
35374         * math/s_ctan.c: Include <float.h>.
35375         (__ctan): Avoid internal overflow or cancellation in calculating
35376         denominator.
35377         * math/s_ctanf.c: Likewise.
35378         * math/s_ctanl.c: Likewise.
35379         * math/s_ctanh.c: Likewise.
35380         * math/s_ctanhf.c: Likewise.
35381         * math/s_ctanhl.c: Likewise.
35382         * math/libm-test.inc (ctan_test): Add more tests.
35383         (ctanh_test): Likewise.
35384         * sysdeps/i386/fpu/libm-test-ulps: Update.
35385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35386
35387 2012-04-09  Andreas Jaeger  <aj@suse.de>
35388
35389         [BZ #6894]
35390         * manual/filesys.texi (Directory Entries): Mention that d_namlen
35391         is an optional BSD extension.
35392
35393         [BZ #10254]
35394         * manual/stdio.texi (Opening Streams): Document additional fopen
35395         parameters.
35396
35397 2012-04-09  Roland McGrath  <roland@hack.frob.com>
35398
35399         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
35400         %eax without telling the compiler.
35401
35402 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
35403
35404         [BZ # 13963]
35405         * manual/install.texi: Use sourceware.org.
35406
35407 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
35408
35409         [BZ #13873]
35410         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
35411         (__ieee754_pow): Generate overflow and underflow using huge*huge
35412         and tiny*tiny rather than just returning constant infinity or zero
35413         for large exponents.
35414         * math/libm-test.inc (pow_test): Require overflow exceptions for
35415         applicable cases of large exponents.
35416
35417         [BZ #706]
35418         * sysdeps/i386/fpu/e_pow.S (p10): New object.
35419         (__ieee754_pow): Use iterative multiplication algorithm only for
35420         integer exponents with absolute value below 1024.  Check for odd
35421         integer exponents when using algorithm for real exponents.
35422         * math/libm-test.inc (pow_test): Add more tests.
35423         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35424
35425 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
35426
35427         [BZ #13705]
35428         * math/libm-test.inc (exp_test): Do not allow overflow exception
35429         on underflow test.
35430
35431 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
35432
35433         [BZ #13705]
35434         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
35435         instead of __kernel_standard_f.
35436
35437 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
35438
35439         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
35440         * sysdeps/x86_64/memset_chk.S: Likewise.
35441
35442 2012-04-08  Andreas Jaeger  <aj@suse.de>
35443
35444         [BZ #10153]
35445         * manual/startup.texi (Environment Access): Describe return value
35446         for putenv and setenv.
35447
35448         [BZ #6895]
35449         * manual/filesys.texi (Directory Entries): Add description for
35450         DT_LNK.
35451
35452         [BZ #6890]
35453         * manual/filesys.texi (Directory Entries): Clarify that it's file
35454         system not operating system in the description of DT_UNKNOWN.
35455
35456         [BZ #6578]
35457         * manual/syslog.texi (closelog): Fix reference, it's openlog.
35458
35459 2012-04-08  Stephen Compall  <s11@member.fsf.org>
35460
35461         [BZ #6649]
35462         * manual/llio.texi (Opening and Closing Files): Add cross
35463         reference to explain mode argument.
35464
35465 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
35466
35467         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
35468         * sysdeps/x86_64/memset_chk.S: Likewise.
35469
35470 2012-04-07  David S. Miller  <davem@davemloft.net>
35471
35472         * elf/elf.h (R_SPARC_WDISP10): Define.
35473         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
35474         R_SPARC_SIZE32.
35475         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
35476         R_SPARC_SIZE64 and R_SPARC_H34.
35477
35478 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
35479
35480         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
35481         conditions and remove no longer applicable assertion.
35482
35483 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35484
35485         * bits/byteswap.h: Include <features.h>.
35486         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
35487         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
35488
35489 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
35490
35491         * bits/byteswap.h (__bswap_16): Removed.
35492         Include <bits/byteswap-16.h> to get __bswap_16.
35493         * sysdeps/i386/bits/byteswap.h: Likewise.
35494         * sysdeps/s390/bits/byteswap.h: Likewise.
35495         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35496         * bits/byteswap-16.h: New file.
35497         * sysdeps/i386/bits/byteswap-16.h: Likewise.
35498         * sysdeps/s390/bits/byteswap-16.h: Likewise.
35499         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
35500         * string/Makefile (headers): Add bits/byteswap-16.h.
35501
35502 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
35503
35504         [BZ #13895]
35505         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
35506         extra indirection.
35507         * nss/Makefile (tests-static, tests): Add tst-nss-static.
35508         * nss/tst-nss-static.c: New.
35509
35510 2012-04-06  Robert Millan  <rmh@gnu.org>
35511
35512         [BZ #6486]
35513         * manual/llio.texi (File Position Primitive): lseek
35514         refers to WHENCE when it really means OFFSET.
35515
35516 2012-04-06  Andreas Jaeger  <aj@suse.de>
35517
35518         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
35519         strncmp declarations.
35520
35521         * abilist/libc.abilist: Add __poll and __ppoll.
35522
35523 2012-04-05  David S. Miller  <davem@davemloft.net>
35524
35525         * scripts/check-local-headers.sh: Accept a host triplet in the
35526         path matched by the exclude regexp.
35527
35528         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
35529         definition.
35530         * sysdeps/powerpc/powerpc32/dl-machine.h
35531         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
35532         * sysdeps/s390/s390-32/dl-machine.h
35533         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35534         * sysdeps/sparc/sparc32/dl-machine.h
35535         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35536         * sysdeps/sparc/sparc64/dl-machine.h
35537         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
35538
35539         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
35540         lazy binding.
35541         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
35542         undefined symbol errors.
35543
35544         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
35545         DT_NEEDED entries.
35546
35547 2012-04-05  Michael Matz  <matz@suse.de>
35548
35549         [BZ #13592]
35550         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
35551
35552 2012-04-05  Andreas Jaeger  <aj@suse.de>
35553
35554         [BZ #13908]
35555         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
35556         comment.
35557
35558 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35559
35560         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
35561         which ROUND is no valid rounding mode.
35562
35563 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35564
35565         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
35566         read again.
35567         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
35568
35569 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35570
35571         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
35572         an exception using FPU order intentionally.
35573
35574 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
35575
35576         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
35577         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
35578         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
35579         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
35580
35581 2012-04-05  Simon Josefsson  <simon@josefsson.org>
35582
35583         [BZ #12340]
35584         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
35585         EINVAL when BUFLEN is too smal.
35586
35587 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
35588
35589         [BZ #13553]
35590         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
35591         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
35592
35593 2012-04-03  Andreas Jaeger  <aj@suse.de>
35594
35595         [BZ #13938]
35596         * manual/setjmp.texi (System V contexts): Fix sentence.
35597
35598         [BZ #13926]
35599         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
35600         New macro for this case.
35601         [!__GNUC__] (__bswap_64): New inline function for this case.
35602         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35603         * bits/byteswap.h: Likewise.
35604         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
35605         ull, guard with __GLIBC_HAVE_LONG_LONG.
35606
35607         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
35608         __GLIBC_HAVE_LONG_LONG.
35609
35610         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
35611         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
35612
35613 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35614
35615         [BZ #13691]
35616         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
35617         inptr and inend, rather than using last_ch.
35618
35619 2012-04-02  David S. Miller  <davem@davemloft.net>
35620
35621         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
35622         * stdio-common/printf-parse.h (read_int): Change return type to
35623         'int', return -1 on INT_MAX overflow.
35624         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
35625         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
35626         overflows INT_MAX.  Check for overflow of in-format-string precision
35627         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
35628         SIZE_MAX not INT_MAX for integer overflow test.
35629         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
35630         skip the construct in the format string but do not record anything.
35631         * stdio-common/bug22.c: Adjust to test both width/prevision
35632         INT_MAX overflow as well as total length INT_MAX overflow.  Check
35633         explicitly for proper errno values.
35634
35635 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
35636
35637         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
35638         CHAR_MAX.
35639         * string/test-strcmp.c [! WIDE]: Likewise.
35640         * time/tst-mktime2.c: Likewise for INT_MAX.
35641         * string/test-string.h: #include <sys/param.h> for MIN.
35642
35643         * csu/init-first.c (__libc_init_first): Call __ctype_init.
35644         * sysdeps/i386/init-first.c (init): Likewise.
35645         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
35646         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
35647         * sysdeps/sh/init-first.c (init): Likewise.
35648
35649 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
35650
35651         * po/ru.po: Update from translation team.
35652         * po/vi.po: Likewise.
35653
35654 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
35655
35656         * resolv/nss_dns/dns-host.c: Merge copyright years.
35657
35658 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35659
35660         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
35661         Optimize memcpy with prefetch if
35662         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
35663         src, dst pointers have unequal 16 byte alignments.
35664
35665 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
35666
35667         [BZ #13928]
35668         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
35669         from a CNAME entry and return the minimum ttl for the query.
35670         (gaih_getanswer_slice): Likewise.
35671
35672 2012-03-30  Jeff Law  <law@redhat.com>
35673
35674         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
35675         due to long keys.
35676         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
35677         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
35678
35679         * resolv/nss_dns/dns-host.c: Update copyright year.
35680
35681 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
35682
35683         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
35684         requests to save a system call.  Fix check that all bytes are sent.
35685
35686         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
35687         comments for sendmmsg.
35688
35689 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35690
35691         [BZ #13691]
35692         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
35693         with only 1 character between 0x0041 and 0x01b0.
35694         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
35695         * wcsmbs/tst-mbsnrtowcs.c: New file.
35696
35697 2012-03-29  David S. Miller  <davem@davemloft.net>
35698
35699         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
35700         small copies by hand.
35701
35702 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35703
35704         [BZ #13761]
35705         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
35706         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
35707         group memberships.
35708
35709 2012-03-28  David S. Miller  <davem@davemloft.net>
35710
35711         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
35712         that branches into memcpy.
35713         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
35714         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
35715         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
35716         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
35717         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
35718         bits.
35719         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
35720         implementation too.
35721         * sysdeps/sparc/mempcpy.S: New file.
35722
35723         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
35724         the IFUNC routine in the libc case.
35725         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
35726
35727         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
35728         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
35729         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
35730         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
35731         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
35732         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
35733         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
35734         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
35735
35736         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
35737         loop to 256 bytes instead of 64 bytes and fix test signedness.
35738
35739         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
35740         * sysdeps/sparc/sparc32/Makefile: rather than here...
35741         * sysdeps/sparc/sparc64/Makefile: and here.
35742
35743 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
35744
35745         * malloc/mallocbug.c: Avoid warnings about unused variables.
35746
35747 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35748
35749         [BZ #13760]
35750         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
35751         in the right place. Discard and retry query if response is
35752         larger than input buffer size.
35753
35754 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
35755
35756         [BZ #369]
35757         [BZ #2678]
35758         [BZ #3866]
35759         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
35760         x for large integer exponent.
35761         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
35762         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
35763         sign of result as needed afterwards.
35764         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
35765         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
35766         result for underflowing pow the same as for overflow.
35767         (__kernel_standard_l): Handle powl overflow and underflow here
35768         rather than calling __kernel_standard.
35769         * math/libm-test.inc (pow_test): Add more tests.
35770
35771         [BZ #3868]
35772         [BZ #13879]
35773         [BZ #13910]
35774         [BZ #13911]
35775         [BZ #13912]
35776         [BZ #13913]
35777         [BZ #13915]
35778         [BZ #13916]
35779         [BZ #13917]
35780         [BZ #13918]
35781         [BZ #13919]
35782         [BZ #13920]
35783         [BZ #13921]
35784         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
35785         * sysdeps/ieee754/k_standard.c: Include <float.h>.
35786         (__kernel_standard_l): New function.
35787         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
35788         __kernel_standard.
35789         * math/w_acosl.c (__acosl): Likewise.
35790         * math/w_asinl.c (__asinl): Likewise.
35791         * math/w_atan2l.c (__atan2l): Likewise.
35792         * math/w_atanhl.c (__atanhl): Likewise.
35793         * math/w_coshl.c (__coshl): Likewise.
35794         * math/w_exp10l.c (__exp10l): Likewise.
35795         * math/w_exp2l.c (__exp2l): Likewise.
35796         * math/w_fmodl.c (__fmodl): Likewise.
35797         * math/w_hypotl.c (__hypotl): Likewise.
35798         * math/w_j0l.c (__j0l, __y0l): Likewise.
35799         * math/w_j1l.c (__j1l, __y1l): Likewise.
35800         * math/w_jnl.c (__jnl, __ynl): Likewise.
35801         * math/w_lgammal.c (__lgammal): Likewise.
35802         * math/w_log10l.c (__log10l): Likewise.
35803         * math/w_log2l.c (__log2l): Likewise.
35804         * math/w_logl.c (__logl): Likewise.
35805         * math/w_powl.c (__powl): Likewise.
35806         * math/w_remainderl.c (__remainderl): Likewise.
35807         * math/w_scalbl.c (sysv_scalbl): Likewise.
35808         * math/w_sinhl.c (__sinhl): Likewise.
35809         * math/w_sqrtl.c (__sqrtl): Likewise.
35810         * math/w_tgammal.c (__tgammal): Likewise.
35811         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
35812         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
35813         * math/libm-test.inc (acos_test): Add more tests.
35814         (acosh_test): Likewise.
35815         (asin_test): Likewise.
35816         (atanh_test): Likewise.
35817         (exp_test): Likewise.
35818         (exp10_test): Likewise.
35819         (exp2_test): Likewise.
35820         (expm1_test): Likewise.
35821         (lgamma_test): Likewise.
35822         (log_test): Likewise.
35823         (log10_test): Likewise.
35824         (log1p_test): Likewise.
35825         (log2_test): Likewise.
35826         (pow_test): Do not allow some spurious overflow exceptions.
35827         (sqrt_test): Add more tests.
35828         (tgamma_test): Likewise.
35829         (y0_test): Likewise.
35830         (y1_test): Likewise.
35831         (yn_test): Likewise.
35832
35833 2012-03-27  Anton Blanchard  <anton@samba.org>
35834
35835         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
35836         MAP_HUGETLB.
35837         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35838         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35839         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35840
35841 2012-03-27  David S. Miller  <davem@davemloft.net>
35842
35843         * conform/Makefile: Run run-conformtest.sh using $(BASH).
35844
35845         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
35846         have-as-vis3 check.
35847
35848 2012-03-27  Andreas Jaeger  <aj@suse.de>
35849
35850         * sysdeps/x86_64/elf/configure.in: Moved to ...
35851         * sysdeps/x86_64/configure.in: ... here.
35852         * sysdeps/x86_64/elf/start.S: Moved to ...
35853         * sysdeps/x86_64/start.S: ... here.
35854         * sysdeps/x86_64/elf/configure: Delete.
35855
35856         * sysdeps/x86_64/configure.in: Merge contents from
35857         sysdeps/i386/configure.in (without i686 check).
35858
35859         * sysdeps/i386/elf/Versions: Merge into ...
35860         * sysdeps/i386/Versions: ... this.
35861         * sysdeps/i386/elf/Versions: Delete file.
35862         * sysdeps/i386/elf/start.S: Moved to ...
35863         * sysdeps/i386/start.S: ...here.
35864         * sysdeps/i386/elf/configure.in: Merge into...
35865         * sysdeps/i386/configure.in: ...here.
35866         * sysdeps/i386/elf/configure.in: Delete file.
35867         * sysdeps/i386/elf/configure: Delete file.
35868
35869         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
35870         * debug/backtracesyms.c: ... here.
35871         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
35872         * debug/backtracesymsfd.c: ... here.
35873         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
35874         * sysdeps/generic/ifunc-sel.h: ... here.
35875
35876         * sysdeps/unix/i386/start.c: Delete file.
35877         * sysdeps/unix/sparc/start.c: Delete file.
35878         * sysdeps/unix/start.c: Delete file.
35879
35880         * sysdeps/sh/elf/configure.in: Moved to ...
35881         * sysdeps/sh/configure.in: ... here.
35882         * sysdeps/sh/elf/start.S: Moved to ...
35883         * sysdeps/sh/start.S: ... here.
35884         * sysdeps/sh/elf/configure: Delete file.
35885
35886         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
35887         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
35888         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
35889         * sysdeps/powerpc/powerpc64/entry.h: ... here.
35890         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
35891         * sysdeps/powerpc/powerpc64/start.S: here.
35892         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
35893         * sysdeps/powerpc/powerpc64/Makefile: ... this.
35894         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
35895         * sysdeps/powerpc/powerpc64/configure.in: ... this.
35896         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
35897
35898         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
35899         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
35900         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
35901         * sysdeps/powerpc/powerpc32/start.S: ... here.
35902         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
35903         * sysdeps/powerpc/powerpc32/configure.in: ... this.
35904         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
35905
35906         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
35907         * sysdeps/powerpc/ifunc-sel.h: ... here.
35908         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
35909         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
35910
35911         * sysdeps/sparc/elf/configure.in: Moved to ...
35912         * sysdeps/sparc/configure.in: ... here.
35913         * sysdeps/sparc/elf/configure: Delete file.
35914         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
35915         * sysdeps/sparc/sparc32/start.S: ... here.
35916         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
35917         * sysdeps/sparc/sparc64/start.S: ... here.
35918         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
35919         * sysdeps/sparc/sparc32/Makefile: ... this.
35920         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
35921         * sysdeps/sparc/sparc64/Makefile: ... this.
35922
35923         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
35924         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
35925         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
35926         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
35927         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
35928         * sysdeps/s390/s390-32/setjmp.S: ... here.
35929         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
35930         * sysdeps/s390/s390-32/configure.in: ... here.
35931         * sysdeps/s390/s390-32/elf/configure: Delete file.
35932         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
35933         * sysdeps/s390/s390-32/start.S: ... here.
35934
35935         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
35936         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
35937         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
35938         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
35939         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
35940         * sysdeps/s390/s390-64/setjmp.S: ... here.
35941         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
35942         * sysdeps/s390/s390-64/configure.in: ... here
35943         * sysdeps/s390/s390-64/elf/configure: Delete file.
35944         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
35945         * sysdeps/s390/s390-64/start.S: ... here.
35946         * sysdeps/s390/s390-64/elf/configure: Delete.
35947
35948         * configure.in: Remove support for elf directories in sysdeps.
35949
35950         * configure: Regenerated.
35951         * sysdeps/i386/configure: Regenerated.
35952         * sysdeps/powerpc/powerpc32/configure: Regenerated.
35953         * sysdeps/powerpc/powerpc64/configure: Regenerated.
35954         * sysdeps/s390/s390-32/configure: Regenerated.
35955         * sysdeps/s390/s390-64/configure: Regenerated.
35956         * sysdeps/sh/configure: Regenerated.
35957         * sysdeps/sparc/configure: Regenerated.
35958         * sysdeps/x86_64/configure: Regenerated.
35959
35960 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
35961
35962         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35963
35964         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
35965         denormal result into account.
35966
35967 2012-03-25  Roland McGrath  <roland@hack.frob.com>
35968
35969         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
35970         Reported by Allan McRae <allan@archlinux.org>.
35971
35972 2012-03-23  Jeff Law  <law@redhat.com>
35973
35974         * nss/getnssent.c (__nss_getent): Fix typo.
35975
35976 2012-03-23  David S. Miller  <davem@davemloft.net>
35977
35978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35979
35980 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
35981
35982         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
35983         to pad to uint64_t for each field.
35984         (dl_tls_index): Replace unsigned long with uint64_t.
35985
35986 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
35987         Paul Pluzhnikov  <ppluzhnikov@google.com>
35988
35989         [BZ #6528]
35990         * grp/Makefile (otherlibs): Don't set it.
35991         * inet/Makefile (otherlibs): Likewise.
35992         * login/Makefile (otherlibs): Likewise.
35993         * nscd/Makefile (otherlibs): Likewise.
35994         * posix/Makefile (otherlibs): Likewise.
35995         * pwd/Makefile (otherlibs): Likewise.
35996         * rt/Makefile (otherlibs): Likewise.
35997         * sunrpc/Makefile (otherlibs): Likewise.
35998         * nss/Makefile (otherlibs): Likewise.
35999         Add libnss_files to routines and static-only-routines.
36000         ($(objpfx)getent): Remove rule.
36001         * resolv/Makefile: Add libnss_dns and libresolv to routines and
36002         static-only-routines.
36003
36004 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36005
36006         [BZ #13892]
36007         * math/s_cexp.c: Include <float.h>.
36008         (__cexp): Handle exp result overflowing not necessarily
36009         overflowing both real and imaginary parts of result.
36010         * math/s_cexpf.c: Likewise.
36011         * math/s_cexpl.c: Likewise.
36012         * math/libm-test.inc (cexp_test): Add more tests.
36013         * sysdeps/i386/fpu/libm-test-ulps: Update.
36014         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36015
36016 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36017
36018         * include/link.h (ELFW): New macro.
36019         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
36020         Replace ELF64_R_TYPE with ELFW(R_TYPE).
36021
36022 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36023
36024         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
36025         with uint64_t.
36026
36027 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36028
36029         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
36030         declaration.
36031         (struct La_x32_retval): Likewise.
36032
36033 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
36034
36035         * sysdeps/x86_64/preconfigure.in: New file.
36036         * sysdeps/x86_64/preconfigure: New generated file.
36037
36038 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
36039
36040         [BZ #13824]
36041         * math/e_exp2l.c: Include <float.h>.
36042         (__ieee754_exp2l): Handle overflow and underflow cases
36043         separately.  Only pass fractional part of argument to
36044         __ieee754_expl.
36045         * math/libm-test.inc (exp2_test): Add more tests.
36046
36047         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
36048         negating x to take absolute value.
36049         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
36050         Likewise.
36051         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
36052         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
36053         Likewise.
36054         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
36055         computing low part if x was negated.
36056         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
36057
36058 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36059
36060         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
36061         la_x32_gnu_pltexit.
36062         (pltexit): Cast int_retval to ptrdiff_t.
36063         * elf/tst-auditmod3b.c: Likewise.
36064         * elf/tst-auditmod4b.c: Likewise.
36065         * elf/tst-auditmod5b.c: Likewise.
36066         * elf/tst-auditmod6b.c: Likewise.
36067         * elf/tst-auditmod6c.c: Likewise.
36068         * elf/tst-auditmod7b.c: Likewise.
36069
36070         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
36071         and x32_gnu_pltexit.
36072
36073         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
36074         __ELF_NATIVE_CLASS.
36075         (La_x32_regs): New macro.
36076         (La_x32_retval): Likewise.
36077         (la_x32_gnu_pltenter): New function prototype.
36078         (la_x32_gnu_pltexit): Likewise.
36079
36080 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
36081
36082         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
36083         exponent.
36084
36085         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36086
36087         * configure.in (libc_cv_cc_nofma): Check for option to disable
36088         generation of FMA instructions.
36089         * configure: Regenerate.
36090         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
36091         * sysdeps/ieee754/dbl-64/Makefile: New file.
36092         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
36093         Remove brandred-fma4.
36094         (CFLAGS-brandred-fma4.c): Remove.
36095         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
36096         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
36097         define.
36098         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
36099         define.
36100
36101 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36102
36103         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
36104         LLONG_MAX != LONG_MAX.
36105         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36106         (_fitoa_word): Likewise.
36107         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
36108         LLONG_MAX != LONG_MAX.
36109         * stdio-common/_itowa.h: Include <_itoa.h>.
36110         (_itowa_word): Use _ITOA_WORD_TYPE on value.
36111         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
36112         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
36113         only if not defined.
36114         (_ITOA_WORD_TYPE): Likewise.
36115         (_itoa_word): Use _ITOA_WORD_TYPE on value.
36116         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
36117
36118 2012-03-21  David S. Miller  <davem@davemloft.net>
36119
36120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36121
36122 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
36123
36124         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
36125         of x86_64 when setting libc_cv_slibdir, libdir and
36126         libc_cv_localedir.
36127         * sysdeps/unix/sysv/linux/configure: Regenerated.
36128
36129 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36130
36131         * manual/lang.texi (Old Varargs): Remove section.
36132         (How Variadic): Update menu.
36133         (va_start): Do not mention varargs.h.
36134
36135 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36136             Joseph Myers  <joseph@codesourcery.com>
36137
36138         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
36139         link test.
36140         * configure: Regenerated.
36141
36142 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
36143
36144         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
36145         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
36146         conformtest.pl
36147
36148 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36149
36150         * NOTES: Remove.
36151         * Makefile (files-for-dist): Remove NOTES.
36152         (NOTES): Remove rule.
36153         * README: Don't refer to NOTES.
36154         * manual/creature.texi: Don't include macros.texi.
36155         * manual/intro.texi (creature.texi): Remove comment referring to
36156         NOTES.
36157
36158         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
36159         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
36160         * configure: Regenerated.
36161         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
36162         LIBC_TRY_CC_OPTION.
36163         (libc_cv_as_i686): Likewise.
36164         (libc_cv_cc_avx): Likewise.
36165         (libc_cv_cc_sse2avx): Likewise.
36166         (libc_cv_cc_fma4): Likewise.
36167         (libc_cv_cc_novzeroupper): Likewise.
36168         * sysdeps/i386/configure: Regenerated.
36169
36170         [BZ #13883]
36171         * sysdeps/i386/fpu/s_cexp.S: Remove.
36172         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36173         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36174         * math/libm-test.inc (cexp_test): Add more tests.
36175         * sysdeps/i386/fpu/libm-test-ulps: Update.
36176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36177
36178 2012-03-21  Allan McRae  <allan@archlinux.org>
36179
36180         * timezone/Makefile: Do not install iso3166.tab and zone.tab
36181
36182 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
36183
36184         [BZ #13871]
36185         * math/w_exp2.c: Do not include <float.h>.
36186         (o_threshold, u_threshold): Remove.
36187         (__exp2): Calculate result before checking finiteness and calling
36188         __kernel_standard.
36189         * math/w_exp2f.c: Likewise.
36190         * math/w_exp2l.c: Likewise.
36191         * math/libm-test.inc (exp2_test): Require overflow exception for
36192         1e6 input.
36193
36194         [BZ #3866]
36195         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
36196         range of signed 64-bit integers before using fistpll.  Remove
36197         checks for whether integers fit in mantissa bits.
36198         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
36199         the range of signed 32-bit integers before using fistpl.  Remove
36200         checks for whether integers fit in mantissa bits.
36201         * sysdeps/i386/fpu/e_powl.S (p64): New object.
36202         (__ieee754_powl): Test for y outside the range of signed 64-bit
36203         integers before using fistpll.  Reduce 64-bit values to 63-bit
36204         ones as needed.
36205         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
36206         divide-by-zero is raised for zero to large negative powers.
36207         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
36208         (__ieee754_powl): Test for y outside the range of signed 64-bit
36209         integers before using fistpll.  Reduce 64-bit values to 63-bit
36210         ones as needed.
36211         * math/libm-test.inc (pow_test): Add more tests.
36212
36213 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36214
36215         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
36216         <stdio-common/_itoa.h>.
36217         * debug/segfault.c: Likewise.
36218         * elf/dl-cache.c: Likewise.
36219         * elf/dl-minimal.c: Likewise.
36220         * elf/dl-misc.c: Likewise.
36221         * elf/dl-sysdep.c: Likewise.
36222         * elf/dl-version.c: Likewise.
36223         * elf/rtld.c: Likewise.
36224         * hurd/hurdsock.c: Likewise.
36225         * hurd/lookup-retry.c: Likewise.
36226         * malloc/malloc.c: Likewise.
36227         * malloc/mtrace.c: Likewise.
36228         * nscd/nscd_getgr_r.c: Likewise.
36229         * nscd/nscd_getpw_r.c: Likewise.
36230         * nscd/nscd_getserv_r.c: Likewise.
36231         * posix/getopt_init.c: Likewise.
36232         * posix/wordexp.c: Likewise.
36233         * stdio-common/_itoa.c: Likewise.
36234         * stdio-common/printf_fphex.c: Likewise.
36235         * stdio-common/vfprintf.c: Likewise.
36236         * string/_strerror.c: Likewise.
36237         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
36238         * sysdeps/i386/i686/hp-timing.h: Likewise.
36239         * sysdeps/mach/_strerror.c: Likewise.
36240         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
36241         * sysdeps/mach/hurd/sethostid.c: Likewise.
36242         * sysdeps/mach/hurd/xmknodat.c: Likewise.
36243         * sysdeps/mach/xpg-strerror.c: Likewise.
36244         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
36245         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
36246         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
36247         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
36248         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
36249         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
36250         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
36251         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
36252         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
36253         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
36254         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
36255         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
36256         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
36257         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
36258         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
36259         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
36260         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
36261         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
36262         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
36263         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
36264         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
36265
36266         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
36267
36268         * stdio-common/_itoa.h: Moved to ...
36269         * sysdeps/generic/_itoa.h: Here.
36270
36271         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
36272
36273         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
36274         instead of "_itoa.h" and "_itowa.h".
36275         * stdio-common/vfprintf.: Likewise.
36276
36277 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36278
36279         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
36280         <bits/wordsize.h>.
36281         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
36282         (__signbit): Likwise.
36283         (llrintf): Likwise.
36284         (llrint): Likwise.
36285
36286 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
36287
36288         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
36289         __WORDSIZE != 64.
36290
36291 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
36292
36293         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
36294         OVERFLOW_EXCEPTION_OK.
36295         * math/libm-test.inc ("Philosophy"): Update comment about
36296         exception testing.
36297         (OVERFLOW_EXCEPTION): Define.
36298         (OVERFLOW_EXCEPTION_OK): Likewise.
36299         (INVALID_EXCEPTION_OK): Renumber.
36300         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
36301         (IGNORE_ZERO_INF_SIGN): Likewise.
36302         (test_exceptions): Handle FE_OVERFLOW.
36303         (exp10_test): Expect overflow exceptions.
36304         (exp2_test): Likewise.
36305         (expm1_test): Likewise.
36306         (nextafter_test): Likewise.
36307         (pow_test): Likewise.
36308         (scalbn_test): Likewise.
36309         (scalbln_test): Likewise.
36310
36311 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36312
36313         * sysdeps/x86_64/bits/atomic.h
36314         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
36315         64bit integer.
36316         (atomic_exchange_acq): Likewise.
36317         (__arch_exchange_and_add_body): Likewise.
36318         (__arch_add_body): Likewise.
36319         (atomic_add_negative): Likewise.
36320         (atomic_add_zero): Likewise.
36321
36322 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36323
36324         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
36325         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
36326
36327 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36328
36329         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
36330         Check __x86_64__ instead of __WORDSIZE.
36331
36332 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36333
36334         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
36335
36336 2012-03-19  David S. Miller  <davem@davemloft.net>
36337
36338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36339
36340         * sysdeps/sparc/fpu/fenv_private.h: New file.
36341         * sysdeps/sparc/fpu/math_private.h: Use it.
36342         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
36343         Remove.
36344         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
36345         (libc_feholdexcept_setroundl): Remove.
36346         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
36347         Remove.
36348         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
36349         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
36350
36351 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36352
36353         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
36354         int64_t instead of long int.
36355         (INSERT_WORDS64): Likwise.
36356
36357 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
36358
36359         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
36360         _Unwind_GetCFA return to _Unwind_Ptr first.
36361
36362 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
36363
36364         [BZ #13629]
36365         * math/s_clog.c: Include <float.h>.
36366         (__clog): Scale large or subnormal inputs.
36367         * math/s_clogf.c: Likewise.
36368         * math/s_clogl.c: Likewise.
36369         * math/s_clog10.c: Include <float.h>.
36370         (M_LOG10_2): Define.
36371         (__clog10): Scale large or subnormal inputs.
36372         * math/s_clog10f.c: Likewise.
36373         * math/s_clog10l.c: Likewise.
36374         * math/libm-test.inc (clog_test): Add more tests.
36375         (clog10_test): Likewise.
36376         * sysdeps/i386/fpu/libm-test-ulps: Update.
36377         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36378
36379         [BZ #11451]
36380         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
36381         x and y.
36382         * math/libm-test.inc (atan2_test): Add another test.
36383
36384         * Makerules (common-objdir-compile): Remove.
36385         * sysdeps/unix/Makefile (config-generated): Do not add
36386         $(unix-generated) to variable.
36387         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
36388         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
36389         Remove rule.
36390         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
36391         Likewise.
36392         [generic bits/local_lim.h] (before-compile): Do not append to
36393         variable.
36394         [generic bits/local_lim.h] (common-generated): Likewise.
36395         [generic sys/param.h] (before-compile): Do not append to variable.
36396         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
36397         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
36398         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
36399         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
36400         include.
36401         [generic sys/param.h] (sys/param.h-includes): Remove variable.
36402         [generic sys/param.h] (sys/param.h-includes): Remove rule.
36403         [generic sys/param.h] ($(addprefix
36404         $(common-objpfx),$(sys/param.h-includes))): Likewise.
36405         [generic sys/param.h] (common-generated): Do not append to
36406         variable.
36407         [generic sys/param.h] (sysdep_headers): Likewise.
36408         [generic bits/errno.h] (before-compile): Do not append to
36409         variable.
36410         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
36411         rule.
36412         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
36413         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
36414         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
36415         [generic bits/errno.h] (common-generated): Do not append to
36416         variable.
36417         [generic bits/ioctls.h] (before-compile): Do not append to
36418         variable.
36419         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
36420         rule.
36421         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
36422         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
36423         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
36424         rule.
36425         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
36426         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
36427         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
36428         [generic bits/ioctls.h] (common-generated): Do not append to
36429         variable.
36430         [generic sys/syscall.h] (syscall.h): Remove variable.
36431         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
36432         rule.
36433         [generic sys/syscall.h] (before-compile): Do not append to
36434         variable.
36435         [generic sys/syscall.h] (common-generated): Likewise.
36436         * sysdeps/unix/errnos-tmpl.c: Remove file.
36437         * sysdeps/unix/errnos.awk: Likewise.
36438         * sysdeps/unix/ioctls-tmpl.c: Likewise.
36439         * sysdeps/unix/ioctls.awk: Likewise.
36440         * sysdeps/unix/mk-local_lim.c: Likewise.
36441         * sysdeps/unix/snarf-ioctls: Likewise.
36442
36443 2012-03-19  Richard Henderson  <rth@twiddle.net>
36444
36445         * sysdeps/i386/fpu/fenv_private.h: New file.
36446         * sysdeps/i386/fpu/math_private.h: Use it.
36447         (math_opt_barrier, math_force_eval): Remove.
36448         (libc_feholdexcept_setround_53bit): Remove.
36449         (libc_feupdateenv_53bit): Remove.
36450         * sysdeps/x86_64/fpu/math_private.h: Likewise.
36451         (math_opt_barrier, math_force_eval): Remove.
36452         (libc_feholdexcept): Remove.
36453         (libc_feholdexcept_setround): Remove.
36454         (libc_fetestexcept, libc_fesetenv): Remove.
36455         (libc_feupdateenv_test): Remove.
36456         (libc_feupdateenv, libc_feholdsetround): Remove.
36457         (libc_feresetround): Remove.
36458
36459         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
36460         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
36461
36462         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
36463         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
36464         (libc_feupdateenv_testl): New.
36465         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
36466         (libc_feupdateenv_testf): New.
36467         (libc_feupdateenv): Use libc_feupdateenv_test.
36468         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
36469         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
36470
36471         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
36472         (libc_feholdsetroundf, libc_feholdsetroundl): New.
36473         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
36474         (libc_feresetround_noex): New.
36475         (libc_feresetround_noexf): New.
36476         (libc_feresetround_noexl): New.
36477         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
36478         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
36479         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
36480         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
36481         SET_RESTORE_ROUND.
36482         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
36483         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
36484         (__cos): Likewise.
36485         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
36486         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
36487         SET_RESTORE_ROUND_NOEX.
36488         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
36489         SET_RESTORE_ROUND_NOEXF.
36490         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
36491         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
36492         (libc_feholdsetroundf): New.
36493         (libc_feresetround, libc_feresetroundf): New.
36494
36495         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
36496         (libc_feholdexcept_setround_53bit): Convert from macro to function.
36497         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
36498
36499         * sysdeps/generic/math_private.h: Include <fenv.h>.
36500         (default_libc_feholdexcept): New.
36501         (default_libc_feholdexcept_setround): New.
36502         (default_libc_fesetenv, default_libc_feupdateenv): New.
36503         (libc_feholdexcept): Only define if undefined.
36504         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
36505         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
36506         (libc_feholdexcept_setroundl): Likewise.
36507         (libc_feholdexcept_setround_53bit): Likewise.
36508         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
36509         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
36510         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
36511         (libc_feupdateenv_53bit): Likewise.
36512         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
36513         (libc_feholdexcept): Convert from macro to inline function.
36514         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
36515         (libc_fesetenv, libc_feupdateenv): Likewise.
36516
36517         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
36518         not previously defined.
36519         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
36520         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
36521         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
36522         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
36523         * sysdeps/ieee754/flt-32/math_private.h: New file.
36524         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
36525         math_private.h below SET_FLOAT_WORD.
36526         (__isnan, __isinf_ns, __finite): Remove.
36527         (__isnanf, __isinf_nsf, __finitef): Remove.
36528
36529 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
36530
36531         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36532
36533 2012-03-17  David S. Miller  <davem@davemloft.net>
36534
36535         [BZ #6471]
36536         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
36537         for 2.16.
36538
36539 2012-03-16  David S. Miller  <davem@davemloft.net>
36540
36541         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
36542         warnings.
36543
36544         [BZ #6471]
36545         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
36546         properly.
36547         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
36548         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
36549         sysdep_routines when subdir is sysvipc.
36550         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
36551         __getshmlba helper.
36552
36553         * sysdeps/sparc/fpu/libm-test/ulps: Update.
36554
36555 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36556
36557         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
36558         [__LP64__].
36559
36560 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36561
36562         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
36563         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
36564         (__lround): Renamed to ...
36565         (__llround): This.  Replace long int with long long int.
36566         Define lround functions as aliases of llround functions.
36567         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
36568
36569 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36570
36571         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
36572         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
36573         adresses to uintptr_t.  Replace "long int" and "unsigned long
36574         int" with "greg_t" on va_arg.
36575
36576 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36577
36578         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
36579         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
36580
36581         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
36582         Move e_machine check before EI_CLASS check.  Handle x32
36583         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
36584         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
36585         SKIP_EM_IA_64 and include
36586         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
36587
36588         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
36589         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
36590         (add_system_dir): New macro.
36591
36592         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
36593         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
36594
36595 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36596
36597         [BZ #2551]
36598         [BZ #2552]
36599         [BZ #2553]
36600         [BZ #2554]
36601         [BZ #2562]
36602         [BZ #2563]
36603         [BZ #2565]
36604         [BZ #2566]
36605         [BZ #2576]
36606         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
36607         (y0): Likewise.
36608         * math/w_j0f.c (j0f): Likewise.
36609         (y0f): Likewise.
36610         * math/w_j0l.c (__j0l): Likewise.
36611         (__y0l): Likewise.
36612         * math/w_j1.c (j1): Likewise.
36613         (y1): Likewise.
36614         * math/w_j1f.c (j1f): Likewise.
36615         (y1f): Likewise.
36616         * math/w_j1l.c (__j1l): Likewise.
36617         (__y1l): Likewise.
36618         * math/w_jn.c (jn): Likewise.
36619         (yn): Likewise.
36620         * math/w_jnf.c (jnf): Likewise.
36621         (ynf): Likewise.
36622         * math/w_jnl.c (__jnl): Likewise.
36623         (__ynl): Likewise.
36624         * math/libm-test.inc (j0_test): Add more tests.
36625         (j1_test): Likewise.
36626         (jn_test): Likewise.  Add trailing semicolon to existing test.
36627         (y0_test): Likewise.
36628         (y1_test): Likewise.
36629         * sysdeps/i386/fpu/libm-test-ulps: Update.
36630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36631
36632         [BZ #13851]
36633         [BZ #13854]
36634         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
36635         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
36636         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
36637         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
36638         (__tanl): Set errno for infinite argument.
36639         * sysdeps/i386/fpu/mptan.c: Remove.
36640         * sysdeps/i386/fpu/s_tan.S: Likewise.
36641         * sysdeps/i386/fpu/s_tanl.S: Likewise.
36642         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
36643         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
36644         * math/libm-test.inc (tan_test): Add more tests and enable more
36645         tests for double and long double.
36646         * sysdeps/i386/fpu/libm-test-ulps: Update.
36647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36648
36649 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
36650
36651         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
36652         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
36653
36654 2012-03-16  Roland McGrath  <roland@hack.frob.com>
36655
36656         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
36657         * configure.in: Use it for both main tree and add-ons.
36658         * configure: Regenerated.
36659
36660 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
36661
36662         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
36663
36664 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
36665
36666         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
36667         in comment.
36668
36669         [BZ #13851]
36670         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
36671         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
36672         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
36673         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
36674         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
36675         infinite argument.
36676         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
36677         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
36678         != 0 for prec == 2.
36679         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
36680         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
36681         * sysdeps/i386/fpu/s_cosl.S: Likewise.
36682         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
36683         * sysdeps/i386/fpu/s_sinl.S: Likewise.
36684         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
36685         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
36686         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
36687         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
36688         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
36689         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
36690         * math/libm-test.inc (cos_test): Add more tests and enable more
36691         tests for long double.
36692         (sin_test): Likewise.
36693         (sincos_test): Likewise.
36694         * sysdeps/i386/fpu/libm-test-ulps: Update.
36695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36696
36697 2012-03-16  David S. Miller  <davem@davemloft.net>
36698
36699         * sysdeps/sparc/fpu/math_private.h: New file.
36700
36701 2012-03-15  David S. Miller  <davem@davemloft.net>
36702
36703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
36704         file.
36705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
36706         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
36707         file.
36708         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
36709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
36710         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
36711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
36712         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
36713         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
36714         sysdep routines.
36715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36716
36717         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
36718         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
36719
36720         * sysdeps/sparc/sparc-ifunc.h: New file.
36721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
36722         sparc-ifunc.h
36723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
36724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
36725         Likewise.
36726         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
36727         Likewise.
36728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
36729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
36730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
36731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
36732         Likewise.
36733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
36734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
36735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
36736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
36737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
36738         Likewise.
36739         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
36740         Likewise.
36741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
36742         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
36743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
36744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
36745         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
36746         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
36747         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
36748         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
36749         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
36750         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
36751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
36752         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
36753         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36754         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
36755         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
36756         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
36757         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
36758         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
36759         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
36760         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
36761         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
36762         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
36763         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
36764         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
36765
36766 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36767
36768         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
36769         scaling.
36770         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36771
36772 2012-03-15  Andreas Jaeger  <aj@suse.de>
36773
36774         [BZ #13852]
36775         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
36776         ieee754/flt-32 implementation for sin, cos and sincos.
36777         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
36778         * sysdeps/i386/fpu/s_cosf.S: Likewise.
36779         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
36780         * sysdeps/i386/fpu/s_sinf.S: Likewise.
36781         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
36782         ieee754/flt-32 implementation for tan.
36783
36784         * math/libm-test.inc (cos_test): Enable some large input tests for
36785         float as well
36786         (sin_test): Likewise.
36787         (sincos_test): Likewise.
36788         (tan_test): Add tests for large input.
36789
36790         * sysdeps/i386/fpu/libm-test-ulps: Update.
36791
36792 2012-03-15  Andreas Jaeger  <aj@suse.de>
36793
36794         [BZ #13658]
36795         * math/libm-test.inc (cos_test): Add more test cases.
36796         (sin_test): Likewise.
36797         (sincos_test): Likewise.
36798
36799 2012-03-15  Andreas Jaeger  <aj@suse.de>
36800
36801         [BZ #13837]
36802         * math/libm-test.inc (cos_test): Add a test case for large input
36803         value.
36804         (sin_test): Likewise.
36805         (sincos_test): Likewise.
36806
36807 2012-03-15  Andreas Jaeger  <aj@suse.de>
36808             Joseph Myers  <joseph@codesourcery.com>
36809
36810         [BZ #13658]
36811         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
36812         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
36813         * sysdeps/i386/fpu/branred.c: Likewise.
36814         * sysdeps/i386/fpu/dosincos.c: Likewise.
36815         * sysdeps/i386/fpu/mpa.c: Likewise.
36816         * sysdeps/i386/fpu/s_cos.S: Likewise.
36817         * sysdeps/i386/fpu/s_sin.S: Likewise.
36818         * sysdeps/i386/fpu/s_sincos.S: Likewise.
36819         * sysdeps/i386/fpu/sincos32.c: Likewise.
36820
36821         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
36822         Define.
36823         (libc_feupdateenv_53bit): Define.
36824         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
36825         Define.
36826         (libc_feupdateenv_53bit): Define.
36827
36828         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
36829         53 bit (without extend i386 double precision).
36830
36831         * math/libm-test.inc (sincos_test): Add tests for large input.
36832         (sin): Likewise.
36833         (cos): Likewise.
36834
36835         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36836
36837 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
36838
36839         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36840
36841 2012-03-15  David S. Miller  <davem@davemloft.net>
36842
36843         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
36844         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
36845         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
36846         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
36847         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
36848         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
36849         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
36850         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
36851         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
36852         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
36853         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
36854         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
36855         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
36856         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
36857         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
36858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
36859         file.
36860         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
36861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
36862         file.
36863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
36864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
36865         file.
36866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
36867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
36868         file.
36869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
36870         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
36871         fmin/fmax sysdep routines.
36872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
36873
36874 2012-03-14  David S. Miller  <davem@davemloft.net>
36875
36876         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
36877         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
36878         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
36879         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
36880         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
36881         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
36882         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
36883         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
36884         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
36885         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
36886         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
36887         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
36888         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
36889         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
36890         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
36891         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
36892         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
36893         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
36894         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
36895         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
36896         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
36897         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
36898         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
36899         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
36900         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
36901         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
36902         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
36903         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
36904         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
36905         routines.
36906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
36907         file.
36908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
36909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
36910         file.
36911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
36912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
36913         file.
36914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
36915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
36916         file.
36917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
36918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
36919         file.
36920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
36921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
36922         file.
36923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
36924         file.
36925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
36926         file.
36927         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
36928         file.
36929         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
36930         New file.
36931         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
36932         file.
36933         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
36934         file.
36935         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
36936         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
36937         file.
36938         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
36939         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
36940         file.
36941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
36942         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
36943         file.
36944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
36945         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
36946         VIS3 routines.
36947
36948         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
36949         New file.
36950
36951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36952
36953         * sysdeps/sparc/configure.in: New file.
36954         * sysdeps/sparc/configure: Generate.
36955         * configure.in (libc_cv_sparc_as_vis3): Substitute.
36956         * configure: Regenerate.
36957         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
36958         * config.make.in (have-as-vis3): New.
36959         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
36960         available use -Av9d instead of -Av9a.
36961         * sysdeps/sparc/sparc64/Makefile: Likewise.
36962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
36963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
36964         New file.
36965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
36966         file.
36967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
36968         New file.
36969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
36970         file.
36971         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
36972         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
36973         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
36974         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
36975         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
36976
36977         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
36978         fzeros/fnegs to load 0x80000000 into a float register instead of
36979         using the stack.
36980         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
36981
36982 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
36983
36984         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36985         bits/syscall.h.
36986         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
36987         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
36988         ($(inst_includedir)/bits/syscall.h): Remove rule.
36989         ($(objpfx)bits/syscall.d): Include instead of
36990         $(objpfx)syscall-list.d.
36991         (generated): Change syscall-list.h and syscall-list.d to
36992         bits/syscall.h and bits/syscall.d.
36993
36994 2012-03-14  Roland McGrath  <roland@hack.frob.com>
36995
36996         [BZ #13846]
36997         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
36998
36999 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
37000
37001         [BZ #13841]
37002         * math/s_csqrt.c: Include <float.h>.
37003         (__csqrt): Scale large or subnormal inputs.
37004         * math/s_csqrtf.c: Likewise.
37005         * math/s_csqrtl.c: Likewise.
37006         * math/libm-test.inc (csqrt_test): Add more tests.
37007         * sysdeps/i386/fpu/libm-test-ulps: Update.
37008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37009
37010         [BZ #13840]
37011         * math/libm-test.inc (hypot_test): Add more tests.
37012
37013 2012-03-13  David S. Miller  <davem@davemloft.net>
37014
37015         [BZ #13840]
37016         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
37017         double-precision for the calculation instead of scaling.
37018
37019 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
37020
37021         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
37022         manipulate bits before adding and subtracting TWO52[sx].
37023         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
37024         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
37025         Likewise.
37026         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
37027
37028 2012-03-13  David S. Miller  <davem@davemloft.net>
37029
37030         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
37031         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
37032         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
37033         rtld-global-offsets.h
37034         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37035
37036         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
37037         large parameters.
37038
37039         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
37040
37041         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
37042         'err' in the ifdef scope in which it is actually used.
37043
37044         * nss/nss_db/db-init.c: Include string.h
37045
37046 2012-03-12  David S. Miller  <davem@davemloft.net>
37047
37048         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
37049         masking out of the most significant byte of random value used.
37050         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37051         Fix coding style in previous change.
37052
37053         * sysdeps/unix/sysv/linux/kernel-features.h
37054         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
37055         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
37056         expression.
37057         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
37058         later.
37059
37060 2012-03-11  David S. Miller  <davem@davemloft.net>
37061
37062         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
37063         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
37064         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
37065         for 'resultvar' otherwise things get truncated on 64-bit.
37066
37067         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
37068         Fix masking out of the most significant byte of random value used.
37069
37070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37071
37072 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
37073
37074         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37075
37076 2012-03-09  David S. Miller  <davem@davemloft.net>
37077
37078         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
37079         variables with appropriate CPP guards.
37080         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
37081         from the frame pointer, not the stack pointer.  Correct layout
37082         comments.  Fix test on resulting framesize and the management of
37083         the outregs buffer for pltexit.  Preserve floating point return
37084         values across _dl_call_pltexit call.
37085         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
37086         framesize and the management of the outregs buffer for pltexit.
37087         Preserve floating point return values across _dl_call_pltexit
37088         call.
37089         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
37090         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
37091         (la_sparc64_gnu_pltexit): New functions.
37092         (print_exit): Fix format string for return register value.
37093
37094 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
37095
37096         * sunrpc/Makefile (others): Add rpcgen.
37097         ($(objpfx)rpcgen): Remove special build rule and dependency on
37098         libc.
37099         * sunrpc/rpcgen.c: New file.
37100
37101 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
37102
37103         [BZ #13673]
37104         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
37105         * stdio-common/bug-vfprintf-nargs.c: Likewise.
37106         * sysdeps/i386/crti.S: Likewise.
37107         * sysdeps/i386/crtn.S: Likewise.
37108         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
37109         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
37110         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
37111         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
37112         * sysdeps/sh/crti.S: Likewise.
37113         * sysdeps/sh/crtn.S: Likewise.
37114         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37115
37116         [BZ #13673]
37117         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
37118         with URL.
37119         * locale/programs/locfile-kw.gperf: Likewise.
37120         * locale/programs/charmap-kw.h: Regenerated.
37121         * locale/programs/locfile-kw.h: Likewise.
37122
37123         [BZ #13673]
37124         * intl/plural.y: Replace FSF snail mail address with URL.
37125         * intl/plural.c: Regenerated.
37126
37127 2012-03-09  Richard Henderson  <rth@twiddle.net>
37128
37129         * include/math_private.h: Remove file.
37130         * math/math_private.h: Move file ...
37131         * sysdeps/generic/math_private.h: ... here.
37132
37133         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
37134         * sysdeps/powerpc/fpu/math_private.h: Likewise.
37135         * sysdeps/x86_64/fpu/math_private.h: Likewise.
37136
37137         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
37138         and <math_private.h>.
37139         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37140         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37141         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37142         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37143         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37144         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
37145         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37146         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37147         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
37148         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37149         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37150         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
37151         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
37152         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37153         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
37154         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
37155         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37156         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
37157         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
37158         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
37159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37160         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
37161         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
37162         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37163         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
37164         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
37165         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
37166         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37167         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37168         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37169         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
37170         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37171         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
37172         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37173         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37174         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37175         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37176         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37177         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37178         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37179         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
37180         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37181         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37182         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
37183         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
37184         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37185         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
37186         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
37187         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37188         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37189         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
37190         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
37191         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
37192         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37193         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
37194         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37195         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37196         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
37197         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
37198         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
37199         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37200         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
37201         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37202         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37203         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
37204         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37205         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37206         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37207         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
37208         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
37209         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
37210         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37211         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
37212         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37213         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
37214         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
37215         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
37216         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37217         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
37218         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
37219         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
37220         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
37221         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
37222         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37223         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37224         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
37225         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
37226         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
37227         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
37228         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37229         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37230         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
37231         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37232         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
37233         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
37234         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
37235         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37236         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
37237         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
37238         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
37239         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
37240         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
37241         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
37242         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
37243         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37244         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
37245         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
37246         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
37247         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37248         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37249         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37250         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37251         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
37252         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37253         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
37254         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37255         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37256         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37257         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37258         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37259         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37260         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37261         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37262         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
37263         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37264         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37265         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
37266         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
37267         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37268         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
37269         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
37270         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37271         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37272         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
37273         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
37274         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37275         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37276         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37277         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
37278         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37279         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37280         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37281         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37282         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
37283         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
37284         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37285         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37286         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37287         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
37288         * sysdeps/ieee754/k_standard.c: Likewise.
37289         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
37290         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
37291         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37292         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
37293         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
37294         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
37295         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
37296         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
37297         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
37298         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
37299         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
37300         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
37301         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
37302         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
37303         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
37304         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
37305         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
37306         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
37307         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
37308         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
37309         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
37310         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
37311         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37312         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37313         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
37314         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
37315         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37316         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37317         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37318         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37319         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
37320         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37321         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37322         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37323         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
37324         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37325         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37326         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
37327         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
37328         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37329         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
37330         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
37331         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
37332         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37333         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
37334         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
37335         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37336         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37337         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37338         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37339         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37340         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
37341         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37342         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
37343         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37344         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37345         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
37346         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
37347         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37348         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37349         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37350         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
37351         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37352         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
37353         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37354         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37355         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
37356         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
37357         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
37358         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
37359         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
37360         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37361         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
37362         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
37363         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
37364         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
37365         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
37366         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
37367         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37368         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
37369         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
37370         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
37371         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37372         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37373         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
37374         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37375         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37376         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
37377         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37378         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37379         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
37380         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37381         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
37382         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
37383         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37384         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37385         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
37386         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
37387         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
37388         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
37389         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37390         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37391         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37392         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37393         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
37394         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37395         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37396         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
37397         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
37398         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37399         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37400         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37401         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
37402         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37403         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
37404         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37405         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
37406         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37407         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37408         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
37409         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
37410         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
37411         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
37412         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
37413         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37414         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
37415         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37416         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37417         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37418         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37419         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37420         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37421         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37422         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
37423         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37424         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37425         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
37426         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
37427         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37428         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
37429         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
37430         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37431         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
37432         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
37433         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37434         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37435         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37436         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37437         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37438         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
37439         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37440         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37441         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37442         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37443         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
37444         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
37445         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37446         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37447         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37448         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
37449         * sysdeps/ieee754/s_lib_version.c: Likewise.
37450         * sysdeps/ieee754/s_matherr.c: Likewise.
37451         * sysdeps/ieee754/s_signgam.c: Likewise.
37452         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
37453         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
37454         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
37455         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
37456         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
37457         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37458         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
37459         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
37460         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
37461         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
37462         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
37463         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
37464         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37465         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37466         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
37467         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
37468         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
37469         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
37470         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
37471         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37472         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37473
37474 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37475
37476         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
37477         * sunrpc/rpc_main.c: Likewise.
37478         * sunrpc/rpc_svcout.c: Likewise.
37479
37480 2012-03-09  David S. Miller  <davem@davemloft.net>
37481
37482         * include/math_private.h: New file.
37483
37484 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
37485
37486         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
37487         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
37488         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
37489         from <bits/socket_type.h>.
37490         (enum __socket_type): Don't define here.
37491         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
37492         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37493         bits/socket_type.h.
37494
37495         [BZ #13566]
37496         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
37497         checking __USE_GNU.
37498
37499         * Makerules ($(inst_includedir)/%.h): New rule.
37500         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
37501         (install-others): Remove variable setting.
37502         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
37503
37504 2012-03-08  Richard Henderson  <rth@twiddle.net>
37505
37506         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
37507         from macro to inline function; merge with the
37508         !__LIBC_INTERNAL_MATH_INLINES version.
37509         (__ieee754_sqrtf): Likewise.
37510
37511         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
37512         to inline function.
37513         (__rintf, __floor, __floorf): Likewise.
37514
37515         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
37516         macro to inline function.
37517         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
37518
37519         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
37520         not <math/math_private.h>.
37521
37522 2012-03-08  David S. Miller  <davem@davemloft.net>
37523
37524         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
37525         copyright year.
37526         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
37527
37528 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
37529
37530         * resolv/gai_misc.c (handle_requests): Fix struct timespec
37531         normalization.
37532         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
37533         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
37534
37535 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
37536
37537         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
37538         be defined individually, they must be defined as a block.  Define
37539         S for printing a string instead of hidint the different by using a
37540         macro for adding the 'l'.
37541         * stdio-common/tst-fphex-wide.c: Adjust.
37542
37543 2012-03-07  Marek Polacek  <polacek@redhat.com>
37544
37545         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
37546
37547 2012-03-08  Marek Polacek  <polacek@redhat.com>
37548
37549         [BZ #13806]
37550         * stdio-common/Makefile (tests): Add tst-fphex-wide.
37551         * stdio-common/tst-fphex.c: Define a few macros to make the
37552         test reusable.  Use them.
37553         * stdio-common/tst-fphex-wide.c: New file.
37554
37555 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
37556
37557         [BZ #6911]
37558         * manual/macros.texi (gnusystems): New macro.
37559         (nongnusystems): Likewise.
37560         (gnulinuxhurdsystems): Likewise.
37561         (gnuhurdsystems): Likewise..
37562         (gnulinuxsystems): Likewise.
37563         * manual/charset.texi: Use new macros or @theglibc{} to refer to
37564         variants of the GNU system, not "GNU system".
37565         * manual/conf.texi: Likewise.
37566         * manual/errno.texi: Likewise.  Update example of errno macro
37567         expansion.
37568         * manual/filesys.texi: Likewise.
37569         (getumask): Document as specific to GNU/Hurd.
37570         * manual/install.texi: Likewise.  Reword some references to
37571         GNU/Linux.
37572         * manual/intro.texi: Likewise.
37573         * manual/io.texi: Likewise.
37574         (File Name Portability): Detail which constraints are inapplicable
37575         to all GNU systems and which are only inapplicable to GNU/Hurd.
37576         * manual/job.texi: Likewise.
37577         * manual/llio.texi: Likewise.
37578         (O_NOCTTY): Document as present on GNU/Linux.
37579         * manual/maint.texi: Likewise.
37580         * manual/memory.texi: Likewise.
37581         * manual/pattern.texi: Likewise.
37582         * manual/pipe.texi: Likewise.
37583         * manual/process.texi: Likewise.
37584         * manual/resource.texi: Likewise.
37585         (RUSAGE_CHILDREN): Remove statement about specifying a particular
37586         child on GNU/Hurd.
37587         * manual/setjmp.texi: Likewise.
37588         * manual/signal.texi: Likewise.
37589         * manual/startup.texi: Likewise.
37590         * manual/stdio.texi: Likewise.
37591         * manual/terminal.texi: Likewise.
37592         (ONLCR): Document as POSIX.
37593         (OXTABS): Document availability on GNU/Linux as XTABS.
37594         (ONOEOT): Document availability separately from other bits.
37595         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
37596         * manual/time.texi: Likewise.
37597         * manual/users.texi: Likewise.
37598         * INSTALL: Regenerated.
37599         * sysdeps/gnu/errlist.c: Regenerated.
37600
37601         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
37602         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
37603         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
37604         puts.
37605         * configure: Regenerated.
37606
37607 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
37608
37609         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
37610         default includes instead of AC_HEADER_CHECK.
37611         * sysdeps/i386/configure: Regenerated.
37612
37613         [BZ #10716]
37614         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
37615         * math/s_cacoshf.c (__cacoshf): Likewise.
37616         * math/s_cacoshl.c (__cacoshl): Likewise.
37617         * math/s_casinh.c (__casinh): Set signs of result from argument.
37618         * math/s_casinhf.c (__casinhf): Likewise.
37619         * math/s_casinhl.c (__casinhl): Likewise.
37620         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
37621         (casinh_test): Add more tests.
37622         * sysdeps/i386/fpu/libm-test-ulps: Update.
37623         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37624
37625 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
37626
37627         * po/zh_TW.po: Update from translation team.
37628
37629         * login/Makefile (distribute): Remove variable.
37630         * catgets/Makefile: Likewise.
37631         * mach/Makefile: Likewise.
37632         * malloc/Makefile: Likewise.
37633         * misc/Makefile: Likewise.
37634         * iconv/Makefile: Likewise.
37635         * nscd/Makefile: Likewise.
37636         * hurd/Makefile: Likewise.
37637         * manual/Makefile: Likewise.
37638         * locale/Makefile: Likewise.
37639         * intl/Makefile: Likewise.
37640         * conform/Makefile: Likewise.
37641         * nss/Makefile: Likewise.
37642         * time/Makefile: Likewise.
37643         * soft-fp/Makefile: Likewise.
37644         * dirent/Makefile: Likewise.
37645         * gmon/Makefile: Likewise.
37646         * po/Makefile: Likewise.
37647         * rt/Makefile: Likewise.
37648         * socket/Makefile: Likewise.
37649         * math/Makefile: Likewise.
37650         * signal/Makefile: Likewise.
37651         * debug/Makefile: Likewise.
37652         * elf/Makefile: Likewise.
37653         * timezone/Makefile: Likewise.
37654         * stdlib/Makefile: Likewise.
37655         * iconvdata/Makefile: Likewise.
37656         * sunrpc/Makefile: Likewise.
37657         * io/Makefile: Likewise.
37658         * argp/Makefile: Likewise.
37659         * inet/Makefile: Likewise.
37660         * hesiod/Makefile: Likewise.
37661         * grp/Makefile: Likewise.
37662         * csu/Makefile: Likewise.
37663         * wctype/Makefile: Likewise.
37664         * crypt/Makefile: Likewise.
37665         * libio/Makefile: Likewise.
37666         * string/Makefile: Likewise.
37667         * nis/Makefile: Likewise.
37668         * resolv/Makefile: Likewise.
37669         * stdio-common/Makefile: Likewise.
37670         * wcsmbs/Makefile: Likewise.
37671         * dlfcn/Makefile: Likewise.
37672         * posix/Makefile: Likewise.
37673
37674         [BZ #6959]
37675         * timezone/Makefile: Don't install timezone files, just the programs
37676         and scripts.
37677
37678 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
37679
37680         * nss/databases.def: Add missing gshadow entry.
37681
37682         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
37683
37684 2012-03-06  Marek Polacek  <polacek@redhat.com>
37685
37686         [BZ #13726]
37687         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
37688         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
37689         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
37690         * stdio-common/tst-long-dbl-fphex.c: New file.
37691
37692 2012-03-06  David S. Miller  <davem@davemloft.net>
37693
37694         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37695         (set_obp_int): New function.
37696         (get_obp_int): New function.
37697         (__get_clockfreq_via_dev_openprom): Likewise.
37698         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
37699         Avoid unused variable warnings on 'val' and use builtin_expect.
37700         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
37701         __builtin_expect.
37702         (INLINE_CLONE_SYSCALL): Likewise.
37703
37704 2012-03-05  David S. Miller  <davem@davemloft.net>
37705
37706         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37707
37708 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
37709
37710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37711
37712         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
37713         only for |x| >= 40.
37714         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
37715
37716 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
37717
37718         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
37719         Replace gettimeofday with __vdso_gettimeofday.
37720
37721         * sysdeps/unix/sysv/linux/x86_64/init-first.c
37722         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
37723         __vdso_clock_gettime and __vdso_getcpu.
37724
37725         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
37726         time with __vdso_time.
37727
37728 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37729
37730         * manual/lang.texi (size_t): Note types to which size_t may be
37731         equivalent with the GNU C Library, but do not describe when
37732         differences between them are significant.
37733
37734 2012-03-05  Andreas Jaeger  <aj@suse.de>
37735
37736         * sysdeps/i386/fpu/libm-test-ulps: Update.
37737
37738 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
37739
37740         [BZ #3976]
37741         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
37742         (__ieee754_pow): Save and restore rounding mode and use
37743         round-to-nearest for main computations.
37744         * math/libm-test.inc (pow_test_tonearest): New function.
37745         (pow_test_towardzero): Likewise.
37746         (pow_test_downward): Likewise.
37747         (pow_test_upward): Likewise.
37748         (main): Call the new functions.
37749         * sysdeps/i386/fpu/libm-test-ulps: Update.
37750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37751
37752         [BZ #3976]
37753         * math/libm-test.inc (cosh_test_tonearest): New function.
37754         (cosh_test_towardzero): Likewise.
37755         (cosh_test_downward): Likewise.
37756         (cosh_test_upward): Likewise.
37757         (sinh_test_tonearest): Likewise.
37758         (sinh_test_towardzero): Likewise.
37759         (sinh_test_downward): Likewise.
37760         (sinh_test_upward): Likewise.
37761         (main): Call the new functions.
37762         * sysdeps/i386/fpu/libm-test-ulps: Update.
37763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37764
37765 2012-03-05  Tom de Vries  <tom@codesourcery.com>
37766
37767         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
37768         default stack guard is set in last bytes.
37769         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
37770
37771 2012-03-05  Kees Cook  <keescook@chromium.org>
37772
37773         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
37774
37775         [BZ #13656]
37776         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
37777         possibly allocate from heap instead of stack.
37778         * stdio-common/bug-vfprintf-nargs.c: New file.
37779         * stdio-common/Makefile (tests): Add nargs overflow test.
37780
37781 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
37782
37783         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37784
37785 2012-03-03  Marek Polacek  <polacek@redhat.com>
37786
37787         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
37788         * math/math_private.h: Likewise.
37789         * stdlib/tst-strtod.c: Likewise.
37790         * sysdeps/i386/i486/bits/atomic.h: Likewise.
37791         * sysdeps/x86_64/bits/atomic.h: Likewise.
37792
37793 2012-03-02  David S. Miller  <davem@davemloft.net>
37794
37795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
37796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
37797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
37798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
37799         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
37800         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
37801         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
37802         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
37803
37804 2012-03-02  Roland McGrath  <roland@hack.frob.com>
37805
37806         [BZ #13792]
37807         * manual/examples/README: New file, says the example source files
37808         can be used under GPL>=2.
37809         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
37810         line containing just "*/".
37811         * manual/examples/add.c: Add copyright header (GPL>=2).
37812         * manual/examples/argp-ex1.c: Likewise.
37813         * manual/examples/argp-ex2.c: Likewise.
37814         * manual/examples/argp-ex3.c: Likewise.
37815         * manual/examples/argp-ex4.c: Likewise.
37816         * manual/examples/atexit.c: Likewise.
37817         * manual/examples/db.c: Likewise.
37818         * manual/examples/dir.c: Likewise.
37819         * manual/examples/dir2.c: Likewise.
37820         * manual/examples/execinfo.c: Likewise.
37821         * manual/examples/filecli.c: Likewise.
37822         * manual/examples/filesrv.c: Likewise.
37823         * manual/examples/fmtmsgexpl.c: Likewise.
37824         * manual/examples/genpass.c: Likewise.
37825         * manual/examples/inetcli.c: Likewise.
37826         * manual/examples/inetsrv.c: Likewise.
37827         * manual/examples/isockad.c: Likewise.
37828         * manual/examples/longopt.c: Likewise.
37829         * manual/examples/memopen.c: Likewise.
37830         * manual/examples/memstrm.c: Likewise.
37831         * manual/examples/mkfsock.c: Likewise.
37832         * manual/examples/mkisock.c: Likewise.
37833         * manual/examples/mygetpass.c: Likewise.
37834         * manual/examples/pipe.c: Likewise.
37835         * manual/examples/popen.c: Likewise.
37836         * manual/examples/rprintf.c: Likewise.
37837         * manual/examples/search.c: Likewise.
37838         * manual/examples/select.c: Likewise.
37839         * manual/examples/setjmp.c: Likewise.
37840         * manual/examples/sigh1.c: Likewise.
37841         * manual/examples/sigusr.c: Likewise.
37842         * manual/examples/stpcpy.c: Likewise.
37843         * manual/examples/strdupa.c: Likewise.
37844         * manual/examples/strftim.c: Likewise.
37845         * manual/examples/strncat.c: Likewise.
37846         * manual/examples/subopt.c: Likewise.
37847         * manual/examples/swapcontext.c: Likewise.
37848         * manual/examples/termios.c: Likewise.
37849         * manual/examples/testopt.c: Likewise.
37850         * manual/examples/testpass.c: Likewise.
37851         * manual/examples/timeval_subtract.c: Likewise.
37852
37853         [BZ #13792]
37854         * manual/time.texi (Elapsed Time): Move timeval_subtract example
37855         function to ...
37856         * manual/timeval_subtract.c.texi: ... here, new file.
37857
37858 2012-03-02  David S. Miller  <davem@davemloft.net>
37859
37860         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
37861
37862 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
37863
37864         [BZ #3976]
37865         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
37866         (__sin): Save and restore rounding mode and use round-to-nearest
37867         for all computations.
37868         (__cos): Save and restore rounding mode and use round-to-nearest
37869         for all computations.
37870         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
37871         <fenv.h>.
37872         (tan): Save and restore rounding mode and use round-to-nearest for
37873         all computations.
37874         * math/libm-test.inc (cos_test_tonearest): New function.
37875         (cos_test_towardzero): Likewise.
37876         (cos_test_downward): Likewise.
37877         (cos_test_upward): Likewise.
37878         (sin_test_tonearest): Likewise.
37879         (sin_test_towardzero): Likewise.
37880         (sin_test_downward): Likewise.
37881         (sin_test_upward): Likewise.
37882         (tan_test_tonearest): Likewise.
37883         (tan_test_towardzero): Likewise.
37884         (tan_test_downward): Likewise.
37885         (tan_test_upward): Likewise.
37886         (main): Call the new functions.
37887         * sysdeps/i386/fpu/libm-test-ulps: Update.
37888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37889
37890         [BZ #10135]
37891         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
37892         small n, then large n, before computing and testing k+n.
37893         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
37894         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
37895         Likewise.
37896         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
37897         Likewise.
37898         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
37899         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
37900         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
37901         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
37902         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
37903         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
37904         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
37905         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
37906         * math/libm-test.inc (scalbn_test): Add more tests.
37907         (scalbln_test): Likewise.
37908
37909         * manual/filesys.texi (mode_t): Describe constraints on size and
37910         signedness, not exact equivalence to a particular type.
37911         (ino_t): Likewise.
37912         (ino64_t): Likewise.
37913         (dev_t): Likewise.
37914         (nlink_t): Likewise.
37915         (blkcnt_t): Likewise.
37916         (blkcnt64_t): Likewise.
37917         * manual/llio.texi (off_t): Likewise.
37918
37919         [BZ #3976]
37920         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
37921         (__ieee754_exp): Save and restore rounding mode and use
37922         round-to-nearest for all computations.
37923         * math/libm-test.inc (exp_test_tonearest): New function.
37924         (exp_test_towardzero): Likewise.
37925         (exp_test_downward): Likewise.
37926         (exp_test_upward): Likewise.
37927         (main): Call the new functions.
37928         * sysdeps/i386/fpu/libm-test-ulps: Update.
37929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37930
37931 2012-03-01  Chris Demetriou  <cgd@google.com>
37932
37933         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
37934         have predictable order.
37935
37936 2012-03-01  David S. Miller  <davem@davemloft.net>
37937
37938         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
37939
37940         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
37941         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
37942         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
37943         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
37944
37945         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
37946         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
37947         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
37948         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
37949         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
37950         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
37951         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
37952         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
37953         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
37954
37955         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37956
37957         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
37958         * sysdeps/sparc/fpu/libm-test-ulps: to here.
37959         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
37960
37961         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
37962         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
37963         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
37964         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
37965         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
37966         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
37967         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
37968         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
37969         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
37970         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
37971         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
37972         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
37973         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
37974         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
37975         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
37976         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
37977         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
37978         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
37979         * sysdeps/sparc/elf/configure: Regenerated.
37980
37981 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
37982
37983         * configure.in (AS, LD): Require binutils 2.20 or later.
37984         * configure: Regenerated.
37985         * manual/install.texi (Tools for Compilation): Give binutils 2.20
37986         as required minimum version.
37987         * INSTALL: Regenerated.
37988
37989         [BZ #2541]
37990         [BZ #4108]
37991         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
37992         before squaring exponent.
37993         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
37994         bottom long double and 27 bits of top long double before squaring
37995         exponent.
37996         * math/libm-test.inc (erfc_test): Add more tests.
37997         * sysdeps/i386/fpu/libm-test-ulps: Update.
37998         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
37999         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38000
38001 2012-03-01  Kai Tietz  <ktietz@redhat.com>
38002
38003         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
38004         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
38005         containing bit-fields.
38006         * soft-fp/extended.h (_FP_UNION_E): Likewise.
38007         * soft-fp/single.h (_FP_UNION_S): Likewise.
38008         * soft-fp/double.h (_FP_UNION_D): Likewise.
38009
38010 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38011
38012         [BZ #13786]
38013         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
38014         not include ../strcmp.S.
38015         [USE_AS_STRNCASECMP_L]: Likewise.
38016         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
38017         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
38018         * sysdeps/i386/i686/multiarch/strncase_l-c.c
38019         (__strncasecmp_l_ia32): Define as alias to
38020         __strncasecmp_l_nonascii.
38021
38022         [BZ #5794]
38023         * math/libm-test.inc (expm1_test): Add test for bug 5794.
38024         * sysdeps/i386/fpu/libm-test-ulps: Update.
38025         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38026
38027         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
38028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38029
38030 2012-02-29  Jeff Law  <law@redhat.com>
38031
38032         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
38033         out of bounds read.
38034
38035 2012-02-29  Marek Polacek  <polacek@redhat.com>
38036
38037         [BZ #13706]
38038         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
38039         * elf/Makefile: Add rules to run tst-unused-dep.out.
38040
38041 2012-02-28  David S. Miller  <davem@davemloft.net>
38042
38043         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
38044         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
38045         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
38046         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
38047         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
38048         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
38049
38050 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
38051
38052         * math/libm-test.inc (llround_test): Move one test from
38053         lround_test.  Use TEST_f_L in moved test.
38054         (lround_test): Move misplaced test to llround_test.  Add testcase
38055         from bug 2561.
38056
38057 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
38058
38059         * sysdeps/x86_64/fpu/e_expf.S: New file.
38060         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
38061
38062 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
38063
38064         [BZ #13637]
38065         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
38066         of remain_len that may cause incomplete multi-byte character and
38067         false match.
38068         * posix/bug-regex33.c: New file.
38069         * posix/Makefile (tests): Add bug-regex33.
38070
38071 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
38072
38073         * manual/macros.texi: New file.
38074         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
38075         * manual/libc.texinfo: Include macros.texi.
38076         * manual/creatute.texi: Likewise.
38077         * manual/install.texi: Likewise.
38078         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
38079         @glibcadj{} in references to the GNU C Library.
38080         * manual/charset.texi: Likewise.
38081         * manual/conf.texi: Likewise.
38082         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
38083         when not using those macros.
38084         * manual/creature.texi: Likewise.
38085         * manual/crypt.texi: Likewise.
38086         * manual/errno.texi: Likewise.
38087         * manual/filesys.texi: Likewise.
38088         * manual/header.texi: Likewise.
38089         * manual/install.texi: Likewise.
38090         * manual/intro.texi: Likewise.
38091         * manual/io.texi: Likewise.
38092         * manual/job.texi: Likewise.
38093         * manual/lang.texi: Likewise.
38094         * manual/libc.texiinfo: Likewise.
38095         * manual/llio.texi: Likewise.
38096         * manual/locale.texi: Likewise.
38097         * manual/maint.texi: Likewise.
38098         * manual/math.texi: Likewise.
38099         * manual/memory.texi: Likewise.
38100         * manual/message.texi: Likewise.
38101         * manual/nss.texi: Likewise.
38102         * manual/pattern.texi: Likewise.
38103         * manual/process.texi: Likewise.
38104         * manual/resource.texi: Likewise.
38105         * manual/search.texi: Likewise.
38106         * manual/setjmp.texi: Likewise.
38107         * manual/signal.texi: Likewise.
38108         * manual/socket.texi: Likewise.
38109         * manual/startup.texi: Likewise.
38110         * manual/stdio.texi: Likewise.
38111         * manual/string.texi: Likewise.
38112         * manual/sysinfo.texi: Likewise.
38113         * manual/syslog.texi: Likewise.
38114         * manual/terminal.texi: Likewise.
38115         * manual/time.texi: Likewise.
38116         * manual/users.texi: Likewise.
38117         * INSTALL: Regenerated.
38118         * NOTES: Regenerated.
38119         * sysdeps/gnu/errlist.c: Regenerated.
38120
38121 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
38122
38123         * include/dirent.h: Include <dirstream.h> before
38124         <dirent/dirent.h>.
38125
38126 2012-02-28  David S. Miller  <davem@davemloft.net>
38127
38128         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
38129         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
38130         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
38131         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
38132
38133 2012-02-27  David S. Miller  <davem@davemloft.net>
38134
38135         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
38136         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
38137         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
38138         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
38139
38140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
38141         frame pointer instead of stack pointer relative arg slot.
38142         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38143         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38144         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38145
38146 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
38147
38148         [BZ #3992]
38149         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
38150
38151 2012-02-27  David S. Miller  <davem@davemloft.net>
38152
38153         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
38154         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
38155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
38156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
38157         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
38158         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
38159         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
38160         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
38161
38162 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38163
38164         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
38165         later.  Allow versions 5-9.
38166         * configure: Regenerated.
38167         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
38168         required minimum version and 4.6 as recommended version.  Do not
38169         mention bugs in GCC 2.7 and 2.8.
38170         * INSTALL: Regenerated.
38171
38172 2012-02-27  David S. Miller  <davem@davemloft.net>
38173
38174         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
38175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
38176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
38177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
38178         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
38179         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
38180         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
38181         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
38182
38183         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
38184         manipulate bits before adding and subtracting TWO112[sx].
38185         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
38186
38187 2012-02-27  Roland McGrath  <roland@hack.frob.com>
38188
38189         [BZ #13775]
38190         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
38191         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
38192         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
38193         being in POSIX, because they are in 1003.1-2008.
38194
38195         * rt/tst-aio.c: Include <fcntl.h>.
38196         * rt/tst-aio7.c: Likewise.
38197         * rt/tst-aio64.c: Likewise.
38198
38199         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
38200
38201 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
38202
38203         * manual/install.texi (--with-headers): Describe headers as
38204         interface headers, not private headers.
38205         (Specific advice for GNU/Linux systems): Describe use of headers
38206         from "make headers_install", not private headers from older
38207         kernels.
38208         * INSTALL: Regenerated.
38209         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
38210         Change to 2.6.19.
38211         * sysdeps/unix/sysv/linux/configure: Regenerated.
38212
38213         * manual/llio.texi (fclean): Remove documentation.
38214
38215         * manual/Makefile (libc-texi-generated): New variable.  Include
38216         version.texi.
38217         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
38218         $(libc-texi-generated), not duplicated list of files.
38219         (version.texi, stamp-version): New rules.
38220         (realclean): Remove $(libc-texi-generated), not individual files
38221         from that list.  Do not remove dir-add.texinfo.
38222         * manual/libc.texinfo: Comment out uses of edition numbers and
38223         references to printed manual.  Remove last-updated dates.
38224         (EDITION): Comment out.
38225         (ISBN): Likewise.
38226         (VERSION, UPDATED): Remove.
38227         (version.texi): Include.
38228
38229 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
38230
38231         * sysdeps/posix/spawni.c: Include <signal.h>.
38232         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
38233         * sysdeps/pthread/aio_fsync.c: Likewise.
38234
38235 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
38236
38237         * conform/Makefile (tests): Run only when not cross-compiling and
38238         when fast-check is not defined.
38239
38240         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
38241         * conform/data/limits.h-data: Fixes for POSIX2008.
38242         * conform/run-conformtest.sh: Run all tests.
38243         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
38244         headers.
38245         * include/bits/dlfcn.h: Likewise.
38246         * include/langinfo.h: Likewise.
38247         * include/monetary.h: Likewise.
38248         * include/sys/poll.h: Likewise.
38249
38250         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
38251         for __USE_GNU.
38252         * posix/spawn.h: Define __need_sigset_t.
38253         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
38254         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
38255         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
38256         to get sigevent_t only.
38257         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
38258         only for __USE_GNU.
38259         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38260         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38261         process_vm_writev only for __USE_GNU.
38262         * termios/termios.h: Declare tcgetsid also for POSIX2008.
38263
38264         * conform/Makefile: For now ignore errors from run-conformtest.
38265         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
38266         POSIX to avoid namespace pollution.  Don't prepend headers.
38267         * conform/data/aio.h-data: Fixes for POSIX testing.
38268         * conform/data/fcntl.h-data: Likewise.
38269         * conform/data/glob.h-data: Likewise.
38270         * conform/data/grp.h-data: Likewise.
38271         * conform/data/pthread.h-data: Likewise.
38272         * conform/data/pwd.h-data: Likewise.
38273         * conform/data/signal.h-data: Likewise.
38274         * conform/data/spawn.h-data: Likewise.
38275         * conform/data/stdio.h-data: Likewise.
38276         * conform/data/stdlib.h-data: Likewise.
38277         * conform/data/stropts.h-data: Likewise.
38278         * conform/data/sys/mman.h-data: Likewise.
38279         * conform/data/sys/stat.h-data: Likewise.
38280         * conform/data/sys/types.h-data: Likewise.
38281         * conform/data/sys/wait.h-data: Likewise.
38282         * conform/data/time.h-data: Likewise.
38283         * conform/data/unistd.h-data: Likewise.
38284         * conform/data/utime.h-data: Likewise.
38285
38286         * io/sys/stat.h: fchmod was always in POSIX.
38287         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
38288         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
38289         * rt/aio.h: Define __need_timespec before including <time.h>.
38290         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
38291         struct.  Add forward declaration of pthread_attr_t and use it in
38292         sigevent.
38293         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
38294         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
38295         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
38296         always remove CLK_TCK definition.
38297
38298 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
38299
38300         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
38301
38302 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
38303
38304         * conform/run-conformtest.sh: New file.
38305         * conform/Makefile: Run run-conformtest for tests.
38306         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
38307         support.
38308
38309         * conform/data/uchar.h-data: New file.
38310         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
38311         * conform/data/arpa/inet.h-data: Likewise.
38312         * conform/data/assert.h-data: Likewise.
38313         * conform/data/complex.h-data: Likewise.
38314         * conform/data/cpio.h-data: Likewise.
38315         * conform/data/ctype.h-data: Likewise.
38316         * conform/data/dirent.h-data: Likewise.
38317         * conform/data/dlfcn.h-data: Likewise.
38318         * conform/data/errno.h-data: Likewise.
38319         * conform/data/fcntl.h-data: Likewise.
38320         * conform/data/float.h-data: Likewise.
38321         * conform/data/fmtmsg.h-data: Likewise.
38322         * conform/data/fnmatch.h-data: Likewise.
38323         * conform/data/ftw.h-data: Likewise.
38324         * conform/data/glob.h-data: Likewise.
38325         * conform/data/grp.h-data: Likewise.
38326         * conform/data/iconv.h-data: Likewise.
38327         * conform/data/inttypes.h-data: Likewise.
38328         * conform/data/langinfo.h-data: Likewise.
38329         * conform/data/libgen.h-data: Likewise.
38330         * conform/data/limits.h-data: Likewise.
38331         * conform/data/locale.h-data: Likewise.
38332         * conform/data/math.h-data: Likewise.
38333         * conform/data/monetary.h-data: Likewise.
38334         * conform/data/mqueue.h-data: Likewise.
38335         * conform/data/ndbm.h-data: Likewise.
38336         * conform/data/net/if.h-data: Likewise.
38337         * conform/data/netdb.h-data: Likewise.
38338         * conform/data/netinet/in.h-data: Likewise.
38339         * conform/data/nl_types.h-data: Likewise.
38340         * conform/data/poll.h-data: Likewise.
38341         * conform/data/pthread.h-data: Likewise.
38342         * conform/data/pwd.h-data: Likewise.
38343         * conform/data/regex.h-data: Likewise.
38344         * conform/data/sched.h-data: Likewise.
38345         * conform/data/search.h-data: Likewise.
38346         * conform/data/semaphore.h-data: Likewise.
38347         * conform/data/setjmp.h-data: Likewise.
38348         * conform/data/signal.h-data: Likewise.
38349         * conform/data/spawn.h-data: Likewise.
38350         * conform/data/stdarg.h-data: Likewise.
38351         * conform/data/stdio.h-data: Likewise.
38352         * conform/data/stdlib.h-data: Likewise.
38353         * conform/data/string.h-data: Likewise.
38354         * conform/data/strings.h-data: Likewise.
38355         * conform/data/stropts.h-data: Likewise.
38356         * conform/data/sys/ipc.h-data: Likewise.
38357         * conform/data/sys/mman.h-data: Likewise.
38358         * conform/data/sys/msg.h-data: Likewise.
38359         * conform/data/sys/resource.h-data: Likewise.
38360         * conform/data/sys/select.h-data: Likewise.
38361         * conform/data/sys/sem.h-data: Likewise.
38362         * conform/data/sys/shm.h-data: Likewise.
38363         * conform/data/sys/socket.h-data: Likewise.
38364         * conform/data/sys/stat.h-data: Likewise.
38365         * conform/data/sys/statvfs.h-data: Likewise.
38366         * conform/data/sys/time.h-data: Likewise.
38367         * conform/data/sys/timeb.h-data: Likewise.
38368         * conform/data/sys/times.h-data: Likewise.
38369         * conform/data/sys/types.h-data: Likewise.
38370         * conform/data/sys/uio.h-data: Likewise.
38371         * conform/data/sys/un.h-data: Likewise.
38372         * conform/data/sys/utsname.h-data: Likewise.
38373         * conform/data/sys/wait.h-data: Likewise.
38374         * conform/data/syslog.h-data: Likewise.
38375         * conform/data/tar.h-data: Likewise.
38376         * conform/data/termios.h-data: Likewise.
38377         * conform/data/utime.h-data: Likewise.
38378         * conform/data/utmpx.h-data: Likewise.
38379         * conform/data/varargs.h-data: Likewise.
38380         * conform/data/wchar.h-data: Likewise.
38381         * conform/data/wctype.h-data: Likewise.
38382         * conform/data/wordexp.h-data: Likewise.
38383
38384         * include/stropts.h: New file.
38385         * include/uchar.h: New file.
38386         * include/aio.h: Changes to allow conformtest.pl to use the headers.
38387         * include/assert.h: Likewise.
38388         * include/ctype.h: Likewise.
38389         * include/dirent.h: Likewise.
38390         * include/dlfcn.h: Likewise.
38391         * include/fcntl.h: Likewise.
38392         * include/fnmatch.h: Likewise.
38393         * include/glob.h: Likewise.
38394         * include/grp.h: Likewise.
38395         * include/libio.h: Likewise.
38396         * include/locale.h: Likewise.
38397         * include/math.h: Likewise.
38398         * include/net/if.h: Likewise.
38399         * include/netdb.h: Likewise.
38400         * include/netinet/in.h: Likewise.
38401         * include/pthread.h: Likewise.
38402         * include/pwd.h: Likewise.
38403         * include/regex.h: Likewise.
38404         * include/sched.h: Likewise.
38405         * include/search.h: Likewise.
38406         * include/setjmp.h: Likewise.
38407         * include/signal.h: Likewise.
38408         * include/stdio.h: Likewise.
38409         * include/stdlib.h: Likewise.
38410         * include/string.h: Likewise.
38411         * include/sys/cdefs.h: Likewise.
38412         * include/sys/mman.h: Likewise.
38413         * include/sys/msg.h: Likewise.
38414         * include/sys/resource.h: Likewise.
38415         * include/sys/select.h: Likewise.
38416         * include/sys/socket.h: Likewise.
38417         * include/sys/stat.h: Likewise.
38418         * include/sys/statvfs.h: Likewise.
38419         * include/sys/time.h: Likewise.
38420         * include/sys/times.h: Likewise.
38421         * include/sys/uio.h: Likewise.
38422         * include/sys/utsname.h: Likewise.
38423         * include/sys/wait.h: Likewise.
38424         * include/termios.h: Likewise.
38425         * include/time.h: Likewise.
38426         * include/ulimit.h: Likewise.
38427         * include/unistd.h: Likewise.
38428         * include/utime.h: Likewise.
38429         * include/wchar.h: Likewise.
38430         * include/wctype.h: Likewise.
38431         * include/wordexp.h: Likewise.
38432
38433         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
38434
38435         * time/time.h: TIME_UTC must be a macro.
38436         Make timespec_get available for ISO C11 only as well.
38437
38438 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
38439
38440         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
38441         Reported by Peng Haitao <penght@cn.fujitsu.com>.
38442
38443 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38444
38445         * configure.in: Use -o not -a in test for unsupported multi-arch.
38446
38447 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38448
38449         * manual/texinfo.tex: Update to version 2012-01-19.16.
38450
38451 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
38452
38453         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
38454
38455 2012-02-24  Roland McGrath  <roland@hack.frob.com>
38456
38457         [BZ #13738]
38458         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
38459         * manual/fdl-1.3.texi: New file.
38460         * manual/fdl-1.1.texi: File removed.
38461
38462         [BZ #13738]
38463         * manual/libc.texinfo (FDL_VERSION): New @set.
38464         Use it for mention of FDL in cover text.
38465         (Documentation License): Use it in @include file name.
38466
38467 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38468             Roland McGrath  <roland@hack.frob.com>
38469
38470         [BZ #5461]
38471         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
38472         (not LONG_LONG_MAX and LONG_LONG_MIN.
38473         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
38474         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
38475         name.
38476         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
38477
38478 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38479
38480         [BZ #2547]
38481         [BZ #11365]
38482         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
38483         manipulate bits before adding and subtracting TWO23[sx].
38484         * math/libm-test.inc (nearbyint_test): Add more tests.
38485
38486 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38487
38488         [BZ #2548]
38489         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
38490         bits before adding and subtracting TWO23[sx].
38491         * math/libm-test.inc (rint_test): Add more tests.
38492         (rint_test_tonearest): Likewise.
38493         (rint_test_towardzero): Likewise.
38494         (rint_test_downward): Likewise.
38495         (rint_test_upward: Likewise.
38496
38497 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38498
38499         [BZ #10110]
38500         * include/stdc-predef.h: New file.  Extracted from features.h.
38501         * include/features.h: Include stdc-predef.h.
38502         * Makefile (headers): Add stdc-predef.h.
38503         * CONFORMANCE (Compiler limitations): Update.
38504
38505 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
38506
38507         * manual/libc.texinfo (VERSION, UPDATED): Revert.
38508
38509 2012-02-21  David S. Miller  <davem@davemloft.net>
38510
38511         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
38512         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38513
38514 2012-02-20  David S. Miller  <davem@davemloft.net>
38515
38516         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
38517         using a normal save/restore sequence, rather than allocating a
38518         dummy stack frame just to store a frame pointer and restore.
38519         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38520
38521 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38522
38523         * manual/install.texi: Fix stray word in line-wrapped comment.
38524
38525 2012-02-20  David S. Miller  <davem@davemloft.net>
38526
38527         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
38528         both binutils and gcc support GOTDATA.
38529
38530         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
38531         "rd %pc" in the PIC register setup sequences.
38532
38533         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
38534         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
38535         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
38536         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
38537         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
38538         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
38539         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
38540         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
38541         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
38542         (SYSCALL_ERROR_HANDLER): Likewise.
38543         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
38544         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
38545         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
38546         (SYSCALL_ERROR_HANDLER): Likewise.
38547
38548         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
38549         (HAVE_GCC_GOTDATA): New.
38550         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
38551         relocation support in both binutils and gcc.
38552         * sysdeps/sparc/elf/configure: Regenerate.
38553
38554         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
38555         * sysdeps/sparc/sparc32/elf/configure: Delete.
38556         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
38557         * sysdeps/sparc/sparc64/elf/configure: Delete.
38558         * sysdeps/sparc/elf/configure.in: New file.
38559         * sysdeps/sparc/elf/configure: Generate.
38560
38561         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
38562         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
38563         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38564         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
38565         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
38566
38567 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38568
38569         * manual/install.texi: Do not mention specific glibc version
38570         numbers.
38571         * manual/libc.texinfo (VERSION, UPDATED): Update.
38572         (@copying): Use @copyright{} and range of years.
38573
38574 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
38575
38576         [BZ #13695]
38577         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
38578         [crti.S not in sysdirs] (generated): Do not append.
38579         [crti.S not in sysdirs] (omit-deps): Likewise.
38580         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
38581         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
38582         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
38583         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
38584         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
38585         Likewise.
38586         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
38587         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
38588         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
38589         * csu/defs.awk: Remove file.
38590         * sysdeps/generic/initfini.c: Likewise.
38591         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
38592         variable.
38593         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
38594         Likewise.
38595
38596 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38597
38598         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
38599         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
38600         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
38601         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
38602         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38603         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
38604         <bits/epoll.h>.
38605         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
38606         (__EPOLL_PACKED): Define to empty if not defined by
38607         <bits/epoll.h>.
38608         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
38609         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38610         bits/epoll.h.
38611
38612 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38613
38614         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
38615         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
38616         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
38617         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
38618         <bits/timerfd.h>.
38619         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
38620         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38621         bits/timerfd.h.
38622
38623 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
38624
38625         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
38626         in C locale.
38627         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38628         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
38629         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
38630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38631
38632 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
38633
38634         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38635         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
38636
38637 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
38638
38639         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
38640         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
38641         defined.
38642         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
38643         Likewise.
38644         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
38645         entry for 2.16.
38646
38647 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
38648
38649         * math/w_acos.c: Use non-signaling floating-point comparisons.
38650         * math/w_acosf.c: Likewise.
38651         * math/w_acosh.c: Likewise.
38652         * math/w_acoshf.c: Likewise.
38653         * math/w_acoshl.c: Likewise.
38654         * math/w_acosl.c: Likewise.
38655         * math/w_asin.c: Likewise.
38656         * math/w_asinf.c: Likewise.
38657         * math/w_asinl.c: Likewise.
38658         * math/w_atanh.c: Likewise.
38659         * math/w_atanhf.c: Likewise.
38660         * math/w_atanhl.c: Likewise.
38661         * math/w_exp2.c: Likewise.
38662         * math/w_exp2f.c: Likewise.
38663         * math/w_exp2l.c: Likewise.
38664         * math/w_j0.c: Likewise.
38665         * math/w_j0f.c: Likewise.
38666         * math/w_j0l.c: Likewise.
38667         * math/w_j1.c: Likewise.
38668         * math/w_j1f.c: Likewise.
38669         * math/w_j1l.c: Likewise.
38670         * math/w_jn.c: Likewise.
38671         * math/w_jnf.c: Likewise.
38672         * math/w_log.c: Likewise.
38673         * math/w_log10.c: Likewise.
38674         * math/w_log10f.c: Likewise.
38675         * math/w_log10l.c: Likewise.
38676         * math/w_log2.c: Likewise.
38677         * math/w_log2f.c: Likewise.
38678         * math/w_log2l.c: Likewise.
38679         * math/w_logf.c: Likewise.
38680         * math/w_logl.c: Likewise.
38681         * math/w_sqrt.c: Likewise.
38682         * math/w_sqrtf.c: Likewise.
38683         * math/w_sqrtl.c: Likewise.
38684         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38685         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
38686         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38687         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
38688         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
38689
38690 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38691
38692         [BZ #9739]
38693         * manual/string.texi (strnlen): Use correct parameter name in
38694         equivalent expression.
38695
38696 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38697
38698         [BZ #11174]
38699         * manual/users.texi (seteuid): Consistently use neweuid for
38700         argument name.
38701
38702 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
38703
38704         [BZ #13704]
38705         * manual/nss.texi (Services in the NSS configuration): Correct
38706         list of services in example configuration file.
38707
38708 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
38709
38710         [BZ #11322]
38711         * manual/arith.texi: Remove statements about negative zero
38712         behaving identically to zero.
38713
38714 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38715
38716         [BZ #5993]
38717         * manual/install.texi: Do not document upgrading from libc5.
38718
38719 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
38720
38721         [BZ #4596]
38722         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
38723
38724 2012-02-18  David S. Miller  <davem@davemloft.net>
38725
38726         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
38727         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
38728         %o7 across the call.
38729         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
38730         instead.
38731         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
38732         SETUP_PIC_REG_LEAF.
38733         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38734         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
38735         * sysdeps/sparc/crtn.S: Likewise.
38736
38737 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
38738
38739         * aout/Makefile: Remove.
38740
38741 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
38742
38743         [BZ #13058]
38744         * manual/examples/argp-ex1.c (main): Format definition in GNU
38745         style.
38746         * manual/examples/argp-ex2.c (main): Likewise.
38747         * manual/examples/argp-ex3.c (main): Likewise.
38748         * manual/examples/argp-ex4.c (main): Likewise.
38749         * manual/examples/longopt.c (main): Use new-style prototype
38750         definition.
38751         * manual/examples/strncat.c (main): Specify return type and use
38752         (void) for arguments.
38753         * manual/examples/subopt.c (main): Use char **argv argument.
38754
38755 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38756
38757         [BZ #5077]
38758         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
38759         rounding modes.
38760
38761 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
38762
38763         [BZ #6907]
38764         * manual/string.texi (strchr): Change when strchrnul is
38765         recommended.
38766
38767 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
38768
38769         [BZ #174]
38770         * manual/locale.texi (setlocale): Document LOCPATH.
38771
38772 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38773
38774         [BZ #10210]
38775         * manual/process.texi (execle): Move @dots{} before last argument.
38776
38777 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
38778
38779         [BZ #12047]
38780         * manual/charset.texi (Generic Charset Conversion): Fix typo
38781         (LC_TYPE -> LC_CTYPE).
38782
38783 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
38784
38785         [BZ #5805]
38786         * manual/arith.texi (scalbn): Use @var{} on parameter names.
38787         (scalbnf): Likewise.
38788         (scalbnl): Likewise.
38789         (scalbln): Likewise.
38790         (scalblnf): Likewise.
38791         (scalblnl): Likewise.
38792         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
38793         (vwarnx): Likewise.
38794         (verr): Likewise.
38795         (verrx): Likewise.
38796         * manual/filesys.texi (telldir): Use braces around return type.
38797         * manual/llio.texi (mmap): Add space after comma.
38798         (mmap64): Likewise.
38799         * manual/math.texi (jn): Use @var{} on parameter names.
38800         (jnf): Likewise.
38801         (jnl): Likewise.
38802         (yn): Likewise.
38803         (ynf): Likewise.
38804         (ynl): Likewise.
38805         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
38806         line.
38807         * manual/resource.texi (ulimit): Use @dots{} instead of literal
38808         "...".
38809         (sched_get_priority_min): Remove semicolon on @deftypefun line.
38810         (sched_get_priority_max): Likewise.
38811         * manual/signal.texi (sigvec): Add space after comma.
38812         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
38813         names.
38814         (if_indextoname): Likewise.
38815         (if_freenameindex): Likewise.
38816         (sendto): Use ',' instead of '.' in prototype.
38817         * manual/startup.texi (syscall): Use @dots{} instead of literal
38818         "...".
38819         * manual/stdio.texi (__fpending): Separate initial words of
38820         paragraph from @deftypefun line.
38821         * manual/syslog.texi (syslog): Use @dots{} instead of literal
38822         "...".
38823         (vsyslog): Use @var{} on parameter names.
38824         * manual/terminal.texi (stty): Use @var{} on parameter names.
38825         * manual/users.texi (getutmp): Use @var{} on parameter names.
38826         (getutmpx): Likewise.
38827
38828 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38829
38830         [BZ #6884]
38831         * manual/stdio.texi (fopen): Fix typos in description of
38832         ",ccs=STRING".
38833
38834 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
38835
38836         [BZ #4026]
38837         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
38838         get clock_id definition.
38839
38840 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
38841
38842         [BZ #4822]
38843         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
38844         (madvise): Cast every argument to void on its own.
38845
38846 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38847
38848         [BZ #9902]
38849         * manual/startup.texi (Exit Status): Fix typo.
38850
38851 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
38852
38853         [BZ #10140]
38854         * manual/examples/argp-ex1.c: Include <stdlib.h>.
38855         * manual/examples/argp-ex2.c: Likewise.
38856         * manual/examples/argp-ex3.c: Likewise.
38857
38858 2012-02-16  Richard Henderson  <rth@redhat.com>
38859
38860         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
38861         * sysdeps/s390/s390-32/initfini.c: Remove.
38862         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
38863         * sysdeps/s390/s390-64/initfini.c: Remove.
38864
38865 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38866
38867         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
38868         compiler output for sysdeps/generic/initfini.c.
38869         * sysdeps/sh/elf/initfini.c: Remove file.
38870
38871 2012-02-16  David S. Miller  <davem@davemloft.net>
38872
38873         [BZ #11494]
38874         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
38875
38876         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
38877         * sysdeps/sparc/crti.S: New file.
38878         * sysdeps/sparc/crtn.S: New file.
38879         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
38880         * sysdeps/sparc/sparc64/Makefile: Likewise.
38881
38882 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
38883
38884         [BZ #3335]
38885         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
38886
38887 2012-02-15  Roland McGrath  <roland@hack.frob.com>
38888
38889         [BZ #4822]
38890         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
38891
38892         * mach/devstream.c (cookie_io_functions_t): Macro removed.
38893         (write, read, close): Likewise.
38894         Patch by Aurelien Jarno <aurelien@aurel32.net>.
38895
38896 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
38897
38898         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
38899         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
38900         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
38901         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
38902         <bits/signalfd.h>.
38903         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
38904         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38905         bits/signalfd.h.
38906
38907 2012-02-14  Marek Polacek  <polacek@redhat.com>
38908
38909         * sysdeps/x86_64/crti.S: New file.
38910         * sysdeps/x86_64/crtn.S: New file.
38911         * sysdeps/x86_64/elf/initfini.c: Remove file.
38912
38913 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38914
38915         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
38916         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
38917         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
38918         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
38919         <bits/inotify.h>.
38920         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
38921         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38922         bits/inotify.h.
38923
38924 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
38925
38926         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
38927         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
38928         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
38929         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
38930         <bits/eventfd.h>.
38931         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
38932         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38933         bits/eventfd.h.
38934
38935 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
38936
38937         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
38938         __feraiseexcept instead of feraiseexcept.
38939
38940         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
38941         nanosleep invocations.
38942         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
38943         strings, and add error checking for a nanosleep invocations.
38944
38945 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
38946
38947         Replace FSF snail mail address with URLs, as per GNU coding standards.
38948         Most of the snail mail addresses were wrong anyway, and omitting
38949         them makes the source code easier to maintain.  Almost all of the
38950         changes are to license notices and to locale LC_IDENTIFICATION
38951         addresses, except for this one:
38952         * manual/libc.texinfo: In "Published by", give the FSF's URL,
38953         not its snail mail address.
38954
38955 2012-02-09  Richard Henderson  <rth@twiddle.net>
38956
38957         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
38958         of kernel-features.h.
38959
38960         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
38961
38962 2012-02-08  Marek Polacek  <polacek@redhat.com>
38963
38964         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
38965         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
38966         * sysdeps/gnu/_G_config.h: Likewise.
38967         * sysdeps/generic/_G_config.h: Likewise.
38968
38969 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
38970
38971         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
38972         tests.
38973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38974
38975         * sysdeps/powerpc/powerpc32/crti.S: New file.
38976         * sysdeps/powerpc/powerpc32/crtn.S: New file.
38977         * sysdeps/powerpc/powerpc64/crti.S: New file.
38978         * sysdeps/powerpc/powerpc64/crtn.S: New file.
38979
38980         * Makeconfig (have-initfini): Don't set.
38981         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
38982         * configure.in (nopic_initfini): Don't substitute.
38983         * config.h.in (HAVE_INITFINI): Don't #undef.
38984         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
38985         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
38986
38987 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
38988
38989         Support crti.S and crtn.S provided directly by architectures.
38990         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
38991         [crti.S in sysdirs] (omit-deps): Likewise.
38992         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
38993         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
38994         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
38995         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
38996         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
38997         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
38998         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
38999         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
39000         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
39001         compiler output for sysdeps/generic/initfini.c.
39002         * sysdeps/i386/elf/Makefile: Remove file.
39003         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
39004
39005 2012-02-07  Marek Polacek  <polacek@redhat.com>
39006
39007         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
39008         * sysdeps/gnu/_G_config.h: Likewise.
39009         * sysdeps/mach/hurd/_G_config.h: Likewise.
39010
39011 2012-02-07  Marek Polacek  <polacek@redhat.com>
39012
39013         * math/Makefile (tests): Add tst-CMPLX2.
39014         * math/tst-CMPLX2.c: New file.
39015
39016 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
39017
39018         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39019
39020         * math/libm-test.inc (jn_test): Add missing L suffix.
39021
39022 2012-02-06  Marek Polacek  <polacek@redhat.com>
39023
39024         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
39025         * sysdeps/i386/fpu/e_powf.S: Likewise.
39026         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39027         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
39028         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39029         * sysdeps/i386/fpu/e_pow.S: Likewise.
39030         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39031         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39032         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39033         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39034         * sysdeps/i386/fpu/e_log2.S: Likewise.
39035         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39036         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39037         * sysdeps/i386/fpu/e_powl.S: Likewise.
39038         * sysdeps/i386/fpu/s_log1p.S: Likewise.
39039         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39040         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39041         * sysdeps/i386/fpu/e_logl.S: Likewise.
39042         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39043         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
39044         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39045         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39046         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39047         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39048         * sysdeps/i386/fpu/e_log.S: Likewise.
39049         * sysdeps/i386/fpu/s_cexp.S: Likewise.
39050         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39051         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
39052         * sysdeps/i386/fpu/e_logf.S: Likewise.
39053         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39054         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39055         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
39056         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39057         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
39058         * sysdeps/i386/fpu/e_log10.S: Likewise.
39059         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39060         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39061         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39062         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39063         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39064         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39065         * sysdeps/i386/asm-syntax.h: Likewise.
39066         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39067         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39068         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39069         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
39070         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
39071         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39072         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39073         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39074         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39075         * sysdeps/powerpc/sysdep.h: Likewise.
39076         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
39077         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39078
39079 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39080
39081         [BZ #411]
39082         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
39083
39084 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
39085
39086         * sysdeps/i386/sysdep.h: Include <features.h>.
39087         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
39088         version.
39089
39090 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
39091
39092         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
39093         Define.
39094         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
39095         LOAD_PIC_REG_STR.
39096
39097 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39098
39099         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
39100         (SETUP_PIC_REG): Use GET_PC_THUNK.
39101         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
39102         macro.
39103
39104 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39105
39106         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
39107         for non-PIC compilation.
39108         (SETUP_PIC_REG): Add .p2align directive.
39109         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
39110         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
39111         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
39112         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
39113         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
39114         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
39115         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
39116         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
39117         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
39118         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
39119         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
39120         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
39121         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
39122         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
39123         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
39124         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
39125         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
39126         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
39127         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
39128         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
39129         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
39130         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
39131         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
39132         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
39133         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
39134         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
39135         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
39136         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
39137         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
39138         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
39139         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
39140         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
39141         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
39142         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
39143         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
39144         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
39145         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
39146         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
39147         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
39148         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
39149         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
39150
39151 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
39152
39153         * math/tst-CMPLX.c: Include <stdio.h>.
39154
39155 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
39156
39157         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
39158         float.
39159         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39160         * sysdeps/sparc/bits/mathdef.h: Likewise.
39161
39162 2012-01-31  Marek Polacek  <polacek@redhat.com>
39163
39164         * libio/libio.h: Don't define _PARAMS.
39165         * locale/programs/config.h: Don't define PARAMS.
39166         * stdlib/strtol_l.c: Likewise.
39167         (__strtol_l): Remove PARAMS from the prototype.
39168
39169 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
39170
39171         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
39172         names.  Just use the correct names.  Remove unnecessary wrapper
39173         functions.
39174         * malloc/arena.c: Likewise.
39175         * malloc/hooks.c: Likewise.
39176
39177         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
39178         ARENA_TEST says not to.  Simplify test for creation of a new arena.
39179         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
39180
39181 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
39182
39183         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
39184         into tail calls.
39185         (update_get_addr): New function.
39186         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
39187         GET_ADDR_MODULE parameter.
39188
39189 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39190
39191         * crypt/cert.c: Remove __STDC__ conditionals.
39192         * crypt/crypt-entry.c: Likewise.
39193         * crypt/crypt_util.c: Likewise.
39194         * libio/filedoalloc.c: Likewise.
39195         * libio/fileops.c: Likewise.
39196         * libio/genops.c: Likewise.
39197         * libio/iofclose.c: Likewise.
39198         * libio/iofdopen.c: Likewise.
39199         * libio/iofopen.c: Likewise.
39200         * libio/iofopen64.c: Likewise.
39201         * libio/iogetdelim.c: Likewise.
39202         * libio/iopopen.c: Likewise.
39203         * libio/obprintf.c: Likewise.
39204         * libio/oldfileops.c: Likewise.
39205         * libio/oldiofclose.c: Likewise.
39206         * libio/oldiofdopen.c: Likewise.
39207         * libio/oldiofopen.c: Likewise.
39208         * libio/oldiopopen.c: Likewise.
39209         * libio/wfiledoalloc.c: Likewise.
39210         * libio/wgenops.c: Likewise.
39211         * locale/programs/xmalloc.c: Likewise.
39212         * misc/syslog.c: Likewise.
39213         * stdio-common/xbug.c: Likewise.
39214         * string/memchr.c: Likewise.
39215         * string/memcmp.c: Likewise.
39216         * string/memrchr.c: Likewise.
39217         * string/rawmemchr.c: Likewise.
39218         * sysdeps/posix/getcwd.c: Likewise.
39219         * time/strftime_l.c: Likewise.
39220
39221 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
39222
39223         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
39224         * config.make.in (config-cflags-sse2avx): Define.
39225         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
39226         Fix typo.
39227
39228 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
39229
39230         * scripts/config.guess: Update from upstream config git repository.
39231         * scripts/config.sub: Likewise.
39232
39233 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
39234
39235         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
39236         (EM_NUM): Update.
39237         (R_TILEPRO_*, R_TILEGX_*): New macros.
39238
39239         * scripts/firstversions.awk: Fix bug in version range handling.
39240
39241         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
39242
39243         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
39244
39245         * include/sys/epoll.h: New file.
39246         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
39247         libc_hidden_def.
39248
39249 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
39250
39251         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
39252         Avoid unnecessary __WORDSIZE == 64 test.
39253         (fmaxf): Use VEX format if possible.
39254         (fmax): Likewise.
39255         (fminf): Likewise.
39256         (fmin): Likewise.
39257
39258         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
39259         * math/math_private.h: Remove libc_fegetround* and
39260         libc_fesetround*.
39261         * sysdeps/i386/configure.in: Check for -msse2avx.
39262         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
39263         also if SSE2AVX is defined.
39264         Remove libc_fegetround* and libc_fesetround*.
39265         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
39266         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
39267         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
39268         of HAS_YMM_USABLE.
39269         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39270         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39271         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39272         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39273         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39274
39275         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
39276
39277 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39278
39279         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
39280         size is not set.
39281         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
39282
39283 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
39284
39285         [BZ #13618]
39286         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
39287         relocation.
39288         * Makeconfig (libm): Define.
39289         * elf/Makefile: Add rules to build and run tst-relsort1.
39290         * elf/tst-relsort1.c: New file.
39291         * elf/tst-relsort1mod1.c: New file.
39292         * elf/tst-relsort1mod2.c: New file.
39293
39294 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
39295
39296         * math/s_ldexp.c: Remove __STDC__ conditionals.
39297         * math/s_ldexpf.c: Likewise.
39298         * math/s_ldexpl.c: Likewise.
39299         * math/s_nextafter.c: Likewise.
39300         * math/s_nexttowardf.c: Likewise.
39301         * math/s_significand.c: Likewise.
39302         * math/s_significandf.c: Likewise.
39303         * math/s_significandl.c: Likewise.
39304         * math/w_jnl.c: Likewise.
39305         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
39306         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
39307         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
39308         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
39309         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
39310         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
39311         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
39312         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
39313         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
39314         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
39315         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
39316         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39317         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
39318         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
39319         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
39320         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
39321         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
39322         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
39323         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
39324         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39325         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39326         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
39327         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
39328         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
39329         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
39330         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
39331         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
39332         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
39333         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
39334         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
39335         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
39336         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
39337         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
39338         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
39339         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
39340         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
39341         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
39342         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
39343         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
39344         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
39345         * sysdeps/ieee754/k_standard.c: Likewise.
39346         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39347         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
39348         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
39349         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
39350         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
39351         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
39352         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
39353         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
39354         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
39355         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
39356         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
39357         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
39358         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
39359         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
39360         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
39361         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
39362         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
39363         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
39364         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
39365         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
39366         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39367         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
39368         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
39369         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
39370         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
39371         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
39372         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39373         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39374         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
39375         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
39376         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
39377         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
39378         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
39379         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
39380         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
39381         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
39382         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
39383         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
39384         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
39385         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
39386         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
39387         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
39388         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
39389         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
39390         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
39391         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
39392         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
39393         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
39394         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
39395         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
39396         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
39397         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
39398         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
39399         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
39400         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
39401         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
39402         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
39403         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39404         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39405         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39406         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
39407         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
39408         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
39409         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
39410         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
39411         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
39412         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
39413         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
39414         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
39415         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
39416         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
39417         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
39418         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
39419         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
39420         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
39421         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
39422         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
39423         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
39424         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
39425         * sysdeps/ieee754/s_matherr.c: Likewise.
39426         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
39427         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
39428         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
39429         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
39430
39431 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39432
39433         * crypt/md5.h: Remove __STDC__ conditionals.
39434         * libio/libioP.h: Likewise.
39435         * locale/programs/config.h: Likewise.
39436         * sysdeps/generic/sysdep.h: Likewise.
39437         * sysdeps/i386/asm-syntax.h: Likewise.
39438         * sysdeps/s390/asm-syntax.h: Likewise.
39439         * sysdeps/unix/sysdep.h: Likewise.
39440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
39441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
39442
39443 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
39444
39445         * libio/libio.h: Remove __STDC__ conditionals.
39446         * malloc/obstack.h: Likewise.
39447         * math/complex.h: Likewise.
39448         * math/math.h: Likewise.
39449         * sysdeps/generic/_G_config.h: Likewise.
39450         * sysdeps/gnu/_G_config.h: Likewise.
39451         * sysdeps/mach/hurd/_G_config.h: Likewise.
39452         * sysdeps/powerpc/bits/mathdef.h: Likewise.
39453         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
39454         * sysdeps/sparc/bits/mathdef.h: Likewise.
39455
39456 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
39457
39458         [BZ #13583]
39459         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
39460         Clean up HAS_* macros.
39461         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
39462         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
39463         possible.
39464         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
39465         HAS_AVX.
39466         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
39467         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
39468         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
39469         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
39470         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
39471
39472 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
39473
39474         * elf/tst-unique3.cc (gets): Remove declaration.
39475         * elf/tst-unique3lib.cc (gets): Likewise.
39476         * elf/tst-unique3lib2.cc (gets): Likewise.
39477         * elf/tst-unique4.cc (gets): Likewise.
39478
39479 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
39480
39481         * include/stdio.h: Add C++ protection.  Add gets declarations and
39482         definitions.
39483         * debug/tst-chk1.c: Don't declare gets here.
39484         * stdio-common/tst-gets.c: Likewise.
39485
39486 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39487
39488         * posix/glob: Remove directory.
39489
39490 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
39491
39492         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
39493
39494 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
39495
39496         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
39497         of the non-standard EPFNOSUPPORT.
39498
39499 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39500
39501         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
39502         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
39503         ANYWHERE set to 1 only on KERN_NO_SPACE error.
39504
39505 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
39506
39507         * wcsmbs/uchar.h: Test __STDC_VERSION__.
39508
39509 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
39510
39511         * nscd/aicache.c (addhstaiX): Do not cache negative results of
39512         transient errors.
39513         * nscd/grpcache.c (cache_addgr): Likewise.
39514         * nscd/hstcache.c (cache_addhst): Likewise.
39515         * nscd/initgrcache.c (addinitgroupsX): Likewise.
39516         * nscd/pwdcache.c (cache_addpw): Likewise.
39517         * nscd/servicescache.c (cache_addserv): Likewise.
39518
39519 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
39520
39521         * malloc/malloc.c: Various cleanups.
39522         * malloc/hooks.c: Likewise.
39523
39524         * stdlib/Makefile (tests): Add bug-fmtmsg1.
39525         * stdlib/bug-fmtmsg1.c: New file.
39526
39527         * stdlib/fmtmsg.c (init): Add missing unlock.
39528         Patch by Peng Haitao <penght@cn.fujitsu.com>.
39529
39530 2012-01-12  Marek Polacek  <polacek@redhat.com>
39531
39532         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
39533         and _GNU_SOURCE.
39534
39535 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
39536
39537         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
39538         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
39539         macro to ensure uniqueness of label name.
39540         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
39541         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
39542
39543 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
39544
39545         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
39546
39547         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
39548         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
39549         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39550         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
39551
39552 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
39553
39554         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
39555
39556         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
39557         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
39558         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
39559
39560         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
39561
39562         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
39563         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
39564         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
39565         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
39566
39567         * math/bits/math-finite.h: Add ldexp support.
39568
39569 2012-01-10  Marek Polacek  <polacek@redhat.com>
39570
39571         * locale/programs/localedef.h (show_archive_content): Add noreturn
39572         attribute.
39573
39574 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
39575
39576         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
39577
39578 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39579
39580         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
39581
39582         * io/Makefile (headers): Add bits/poll2.h.
39583
39584 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
39585
39586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
39587         typo #include statement.
39588
39589 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39590
39591         * include/sys/cdefs.h: Define __attribute_alloc_size.
39592         * catgets/gencat.c: Add alloc_size attribute and apply consistently
39593         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
39594         * elf/pldd.c: Likewise.
39595         * iconv/iconv_charmap.c: Likewise.
39596         * iconv/iconvconfig.c: Likewise.
39597         * iconv/strtab.c: Likewise.
39598         * locale/programs/locale.c: Likewise.
39599         * locale/programs/localedef.h: Likewise.
39600         * locale/programs/simple-hash.c: Likewise.
39601         * nscd/nscd.h: Likewise.
39602         * nss/makedb.c: Likewise.
39603         * sysdeps/generic/ldconfig.h: Likewise.
39604         * locale/programs/localedef.c: Remove xmalloc prototype.
39605         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
39606
39607 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39608
39609         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
39610         appropriate.
39611
39612 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
39613
39614         * math/Makefile (tests): Add tst-CMPLX.
39615         * math/tst-CMPLX.c: New file.
39616
39617         * math/complex.h (CMPLXL): Fix typo.
39618
39619         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
39620         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
39621         GLIBC_2.16.
39622         * debug/tst-chk1.c: Add poll and ppoll tests.
39623         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
39624         * include/sys/poll.h: Add hidden proto for ppoll.
39625         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
39626         * sysdeps/mach/hurd/ppoll.c: Likewise.
39627         * io/ppoll.c: Likewise.
39628         * debug/poll_chk.c: New file.
39629         * debug/ppoll_chk.c: New file.
39630         * include/bits/poll2.h: New file.
39631         * io/bits/poll2.h: New file.
39632
39633         [BZ #1350]
39634         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
39635
39636         * configure.in: static is always set to yes.  Remove.
39637         * config.make.in: Don't set build-static.
39638         * Makeconfig: Remove use of build-static.
39639         * dlfcn/Makefile: Likewise.
39640         * elf/Makefile: Likewise.
39641         * math/Makefile: Likewise.
39642         * misc/Makefile: Likewise.
39643         * nptl/Makefile: Likewise.
39644         * sysdeps/mach/hurd/Makefile: Likewise.
39645
39646         * configure.in: PWD_P is not used anymore.
39647         * config.make.in: Remove PWD_P entry.
39648
39649         * configure.in: Remove last remnants of RANLIB.
39650         No need to check for signed size_t anymore.
39651         Don't set libc_commonpagesize and libc_relro_required here for Alpha
39652         and IA-64.
39653         Remove __builtin_expect test because we require at least gcc 3.4.
39654         * aclocal.m4: Likewise.
39655
39656         * wcsmbs/mbrtoc16.c: Implement using towc function.
39657         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
39658         * wcsmbs/wcsmbsload.c: Likewise.
39659         * iconv/gconv_simple.c: Likewise.
39660         * iconv/gconv_int.h: Likewise.
39661         * iconv/gconv_builtin.h: Likewise.
39662         * iconv/iconv_prog.c: Remove CHAR16 handling.
39663
39664         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
39665
39666         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
39667
39668         * configure.in: Remove --with-elf and --enable-bounded options.
39669         Dont set base_machine for ia64.  More non-ELF conditions removed.
39670         Remove testing and setting of leading underscore information.
39671         * config.make.in (build-bounded): Set to no.
39672         * config.h.in: Remove NO_UNDERSCORES entry.
39673         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
39674         them.
39675         * csu/start.c: Remove !NO_UNDERSCORE code.
39676         * locale/localeinfo.h: Likewise.
39677         * sysdeps/generic/machine-gmon.h: Likewise.
39678         * sysdeps/generic/sysdep.h: Likewise.
39679         * sysdeps/i386/sysdep.h: Likewise.
39680         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39681         * sysdeps/mach/sysdep.h: Likewise.
39682         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39683         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39684         * sysdeps/sh/sysdep.h: Likewise.
39685         * sysdeps/sparc/sparc32/alloca.S: Likewise.
39686         * sysdeps/unix/i386/sysdep.S: Likewise.
39687         * sysdeps/unix/sparc/start.c: Likewise.
39688         * sysdeps/unix/sparc/sysdep.S: Likewise.
39689         * sysdeps/unix/sparc/sysdep.h: Likewise.
39690         * sysdeps/unix/start.c: Likewise.
39691         * sysdeps/unix/x86_64/sysdep.S: Likewise.
39692         * sysdeps/x86_64/sysdep.h: Likewise.
39693
39694 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
39695
39696         [BZ #13553]
39697         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
39698         for non-gcc.
39699         * argp/argp-fmtstream.h: Use const instead __const.
39700         * argp/argp.h: Likewise.
39701         * assert/assert.h: Likewise.
39702         * bits/fenv.h: Likewise.
39703         * bits/sched.h: Likewise.
39704         * bits/sigset.h: Likewise.
39705         * bits/sigthread.h: Likewise.
39706         * catgets/nl_types.h: Likewise.
39707         * conform/data/pthread.h-data: Likewise.
39708         * crypt/crypt-private.h: Likewise.
39709         * crypt/crypt.h: Likewise.
39710         * crypt/crypt_util.c: Likewise.
39711         * ctype/ctype.h: Likewise.
39712         * debug/execinfo.h: Likewise.
39713         * debug/mbsnrtowcs_chk.c: Likewise.
39714         * debug/mbsrtowcs_chk.c: Likewise.
39715         * debug/wcsnrtombs_chk.c: Likewise.
39716         * debug/wcsrtombs_chk.c: Likewise.
39717         * debug/wcstombs_chk.c: Likewise.
39718         * dirent/dirent.h: Likewise.
39719         * dlfcn/dlfcn.h: Likewise.
39720         * elf/neededtest4.c: Likewise.
39721         * grp/grp.h: Likewise.
39722         * gshadow/gshadow.h: Likewise.
39723         * iconv/gconv.h: Likewise.
39724         * iconv/gconv_int.h: Likewise.
39725         * iconv/gconv_simple.c: Likewise.
39726         * iconv/iconv.h: Likewise.
39727         * iconv/loop.c: Likewise.
39728         * iconv/skeleton.c: Likewise.
39729         * include/aio.h: Likewise.
39730         * include/aliases.h: Likewise.
39731         * include/argz.h: Likewise.
39732         * include/arpa/inet.h: Likewise.
39733         * include/assert.h: Likewise.
39734         * include/dirent.h: Likewise.
39735         * include/dlfcn.h: Likewise.
39736         * include/execinfo.h: Likewise.
39737         * include/fcntl.h: Likewise.
39738         * include/fenv.h: Likewise.
39739         * include/glob.h: Likewise.
39740         * include/grp.h: Likewise.
39741         * include/libintl.h: Likewise.
39742         * include/mntent.h: Likewise.
39743         * include/netdb.h: Likewise.
39744         * include/pwd.h: Likewise.
39745         * include/rpc/netdb.h: Likewise.
39746         * include/sched.h: Likewise.
39747         * include/search.h: Likewise.
39748         * include/shadow.h: Likewise.
39749         * include/signal.h: Likewise.
39750         * include/stdio.h: Likewise.
39751         * include/stdlib.h: Likewise.
39752         * include/string.h: Likewise.
39753         * include/sys/socket.h: Likewise.
39754         * include/sys/stat.h: Likewise.
39755         * include/sys/statfs.h: Likewise.
39756         * include/sys/statvfs.h: Likewise.
39757         * include/sys/syslog.h: Likewise.
39758         * include/sys/time.h: Likewise.
39759         * include/sys/uio.h: Likewise.
39760         * include/time.h: Likewise.
39761         * include/unistd.h: Likewise.
39762         * include/utmp.h: Likewise.
39763         * include/wchar.h: Likewise.
39764         * include/wctype.h: Likewise.
39765         * inet/aliases.h: Likewise.
39766         * inet/arpa/inet.h: Likewise.
39767         * inet/netinet/ether.h: Likewise.
39768         * inet/netinet/in.h: Likewise.
39769         * intl/libintl.h: Likewise.
39770         * io/bits/fcntl2.h: Likewise.
39771         * io/fcntl.h: Likewise.
39772         * io/ftw.h: Likewise.
39773         * io/sys/poll.h: Likewise.
39774         * io/sys/stat.h: Likewise.
39775         * io/sys/statfs.h: Likewise.
39776         * io/sys/statvfs.h: Likewise.
39777         * io/utime.h: Likewise.
39778         * libio/bits/stdio.h: Likewise.
39779         * libio/bits/stdio2.h: Likewise.
39780         * libio/libio.h: Likewise.
39781         * libio/libioP.h: Likewise.
39782         * libio/stdio.h: Likewise.
39783         * locale/lc-ctype.c: Likewise.
39784         * locale/locale.h: Likewise.
39785         * login/utmp.h: Likewise.
39786         * malloc/arena.c: Likewise.
39787         * malloc/malloc.c: Likewise.
39788         * malloc/malloc.h: Likewise.
39789         * malloc/mcheck.c: Likewise.
39790         * malloc/mtrace.c: Likewise.
39791         * math/bits/mathcalls.h: Likewise.
39792         * math/fenv.h: Likewise.
39793         * math/math_private.h: Likewise.
39794         * misc/bits/error.h: Likewise.
39795         * misc/bits/syslog.h: Likewise.
39796         * misc/err.h: Likewise.
39797         * misc/error.h: Likewise.
39798         * misc/fstab.h: Likewise.
39799         * misc/mntent.h: Likewise.
39800         * misc/regexp.h: Likewise.
39801         * misc/search.h: Likewise.
39802         * misc/sgtty.h: Likewise.
39803         * misc/sys/mman.h: Likewise.
39804         * misc/sys/syslog.h: Likewise.
39805         * misc/sys/uio.h: Likewise.
39806         * misc/sys/xattr.h: Likewise.
39807         * misc/ttyent.h: Likewise.
39808         * nis/rpcsvc/ypclnt.h: Likewise.
39809         * nss/nss.h: Likewise.
39810         * posix/bits/unistd.h: Likewise.
39811         * posix/fnmatch.h: Likewise.
39812         * posix/glob.h: Likewise.
39813         * posix/sched.h: Likewise.
39814         * posix/spawn.h: Likewise.
39815         * posix/sys/wait.h: Likewise.
39816         * posix/unistd.h: Likewise.
39817         * posix/wordexp.h: Likewise.
39818         * pwd/pwd.h: Likewise.
39819         * resolv/netdb.h: Likewise.
39820         * resource/sys/resource.h: Likewise.
39821         * rt/aio.h: Likewise.
39822         * rt/bits/mqueue2.h: Likewise.
39823         * rt/mqueue.h: Likewise.
39824         * shadow/shadow.h: Likewise.
39825         * signal/signal.h: Likewise.
39826         * socket/send.c: Likewise.
39827         * socket/sendto.c: Likewise.
39828         * socket/sys/socket.h: Likewise.
39829         * stdio-common/printf.h: Likewise.
39830         * stdlib/bits/stdlib.h: Likewise.
39831         * stdlib/fmtmsg.h: Likewise.
39832         * stdlib/monetary.h: Likewise.
39833         * stdlib/stdlib.h: Likewise.
39834         * stdlib/ucontext.h: Likewise.
39835         * streams/stropts.h: Likewise.
39836         * string/argz.h: Likewise.
39837         * string/bits/string2.h: Likewise.
39838         * string/string.h: Likewise.
39839         * string/strings.h: Likewise.
39840         * sunrpc/rpc/auth.h: Likewise.
39841         * sunrpc/rpc/auth_des.h: Likewise.
39842         * sunrpc/rpc/clnt.h: Likewise.
39843         * sunrpc/rpc/netdb.h: Likewise.
39844         * sunrpc/rpc/pmap_clnt.h: Likewise.
39845         * sunrpc/rpc/xdr.h: Likewise.
39846         * sysdeps/generic/inttypes.h: Likewise.
39847         * sysdeps/generic/net/if.h: Likewise.
39848         * sysdeps/generic/sys/swap.h: Likewise.
39849         * sysdeps/gnu/net/if.h: Likewise.
39850         * sysdeps/gnu/utmpx.h: Likewise.
39851         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
39852         * sysdeps/i386/i486/bits/string.h: Likewise.
39853         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
39854         * sysdeps/s390/bits/string.h: Likewise.
39855         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
39856         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
39857         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
39858         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
39859         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
39860         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
39861         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
39862         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
39863         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
39864         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
39865         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
39866         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
39867         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
39868         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
39869         * sysdeps/unix/sysv/linux/readv.c: Likewise.
39870         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
39871         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
39872         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
39873         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
39874         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
39875         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
39876         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
39877         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
39878         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
39879         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
39880         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
39881         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
39882         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
39883         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
39884         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
39885         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
39886         * sysvipc/sys/ipc.h: Likewise.
39887         * sysvipc/sys/msg.h: Likewise.
39888         * sysvipc/sys/sem.h: Likewise.
39889         * sysvipc/sys/shm.h: Likewise.
39890         * termios/termios.h: Likewise.
39891         * time/sys/time.h: Likewise.
39892         * time/time.h: Likewise.
39893         * wcsmbs/bits/wchar2.h: Likewise.
39894         * wcsmbs/uchar.h: Likewise.
39895         * wcsmbs/wchar.h: Likewise.
39896         * wctype/wctype.h: Likewise.
39897
39898         [BZ #13551]
39899         * Makeconfig: Remove all but ELF support including AIX support.
39900         * Makerules: Likewise.
39901         * config.h.in: Likewise.
39902         * config.make.in: Likewise.
39903         * configure: Likewise.
39904         * configure.in: Likewise.
39905         * csu/Makefile: Likewise.
39906         * csu/version.c: Likewise.
39907         * debug/Makefile: Likewise.
39908         * dlfcn/Makefile: Likewise.
39909         * elf/Makefile: Likewise.
39910         * extra-lib.mk: Likewise.
39911         * iconv/Makefile: Likewise.
39912         * include/libc-symbols.h: Likewise.
39913         * include/shlib-compat.h: Likewise.
39914         * resolv/Makefile: Likewise.
39915         * resolv/res_libc.c: Likewise.
39916         * rt/Makefile: Likewise.
39917         * sysdeps/i386/asm-syntax.h: Likewise.
39918         * sysdeps/i386/sysdep.h: Likewise.
39919         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
39920         * sysdeps/mach/sysdep.h: Likewise.
39921         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
39922         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
39923         * sysdeps/s390/asm-syntax.h: Likewise.
39924         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39925         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39926         * sysdeps/sh/sysdep.h: Likewise.
39927         * sysdeps/unix/sparc/sysdep.h: Likewise.
39928         * sysdeps/wordsize-32/divdi3.c: Likewise.
39929         * sysdeps/x86_64/sysdep.h: Likewise.
39930
39931         * argp/Versions: Remove _argp_unlock_xxx.
39932
39933         [BZ #13559]
39934         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
39935         * abilist/libBrokenLocale.abilist: Likewise.
39936         * abilist/libanl.abilist: Likewise.
39937         * abilist/libc.abilist: Likewise.
39938         * abilist/libcrypt.abilist: Likewise.
39939         * abilist/libdl.abilist: Likewise.
39940         * abilist/libm.abilist: Likewise.
39941         * abilist/libnsl.abilist: Likewise.
39942         * abilist/libpthread.abilist: Likewise.
39943         * abilist/libresolv.abilist: Likewise.
39944         * abilist/librt.abilist: Likewise.
39945         * abilist/libthread_db.abilist: Likewise.
39946         * abilist/libutil.abilist: Likewise.
39947         * abilist/libnss_db.abilist: New file.
39948
39949         * scripts/abilist.awk: Add support for indirect functions.
39950
39951         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
39952
39953         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
39954
39955         * shlib-versions: Remove entries for ports architectures.
39956
39957         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
39958         files in ports.
39959         * elf/stackguard-macros.h: Remove support for IA-64.
39960         * elf/tst-auditmod1.c: Likewise.
39961         * sysdeps/generic/ldsodefs.h: Likewise.
39962
39963         * sysdeps/unix/sysv/linux/configure.in: Ports should define
39964         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
39965         configure files.
39966
39967         [BZ #13552]
39968         * configure.in: Remove --enable-omitfp support.
39969         * FAQ.in: Adjust.
39970         * config.make.in: Likewise.
39971         * Makeconfig: Likewise.
39972         * manual/install.texi: Likewise.
39973
39974         In case anyone cares, the IA-64 architecture could move to ports.
39975         * sysdeps/ia64/*: Removed.
39976         * sysdeps/unix/sysv/linux/ia64/*: Removed.
39977         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
39978
39979         [BZ #13555]
39980         * configure.in: Remove entries for unsupported architectures.
39981
39982         [BZ #13533]
39983         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
39984         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
39985         routines.
39986         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
39987         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
39988         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
39989         fall back to using wcrtomb.
39990         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
39991         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
39992         renaming.
39993         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
39994         * wcsmbs/tst-c16c32-1.c: New file.
39995
39996         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
39997         local variable.
39998
39999         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
40000
40001         * elf/tst-unique3.cc: Add explicit declaration of gets.
40002         * elf/tst-unique3lib.cc: Likewise.
40003         * elf/tst-unique3lib2.cc: Likewise.
40004         * elf/tst-unique4.cc: Likewise.
40005
40006         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
40007
40008 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
40009
40010         [BZ #13566]
40011         * assert/assert.h (static_assert): Don't define for C++.
40012         * libio/stdio.h (gets): Do declare for C++ <= C++11.
40013         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
40014
40015 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
40016
40017         * iconv/loop.c (single loop): Fix assertion in storing of
40018         remaining bytes.
40019
40020         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
40021
40022 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
40023
40024         * posix/getconf.c: Update copyright year.
40025         * nss/getent.c: Likewise.
40026         * nss/makedb.c: Likewise.
40027         * iconv/iconvconfig.c: Likewise.
40028         * iconv/iconv_prog.c: Likewise.
40029         * elf/ldconfig.c: Likewise.
40030         * elf/pldd.c: Likewise.
40031         * elf/sotruss.ksh: Likewise.
40032         * catgets/gencat.c: Likewise.
40033         * csu/version.c: Likewise.
40034         * elf/ldd.bash.in: Likewise.
40035         * elf/sprof.c (print_version): Likewise.
40036         * locale/programs/locale.c: Likewise.
40037         * locale/programs/localedef.c: Likewise.
40038         * login/programs/pt_chown.c: Likewise.
40039         * nscd/nscd.c (print_version): Likewise.
40040         * debug/xtrace.sh: Likewise.
40041         * malloc/memusage.sh: Likewise.
40042         * malloc/mtrace.pl: Likewise.
40043         * debug/catchsegv.sh: Likewise.
40044
40045 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
40046
40047         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
40048         pure attribute.
40049
40050 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
40051
40052         [BZ #13533]
40053         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
40054         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
40055         transformations.
40056         * iconv/gconv_int.h: Likewise.
40057         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
40058         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
40059         from libc for GLIBC_2.16.
40060         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
40061         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
40062         * wcsmbs/uchar.h: Really define mbstate_t.
40063         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
40064         * wcsmbs/c16rtomb.c: New file.
40065         * wcsmbs/mbrtoc16.c: New file.
40066         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
40067         for C/POSIX locale.
40068         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
40069         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
40070
40071         * wcsmbs/wchar.h: Add missing __restrict.
40072
40073 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40074
40075         [BZ #13532]
40076         * time/Makefile (routines): Add timespec_get.
40077         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
40078         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
40079         timespec for ISO C11.
40080         * time/timespec_get.c: New file.
40081         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
40082         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
40083
40084         [BZ #13531]
40085         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
40086         * stdlib/stdlib.h: Declare aligned_alloc.
40087         * Versions.def: Add GLIBC_2.16 for libc.
40088         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
40089
40090         [BZ 13527]
40091         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
40092         ISO C11.
40093
40094         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
40095         code.
40096
40097         [BZ #13528]
40098         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
40099
40100         [BZ #13529]
40101         * assert/assert.h (static_assert): Define.
40102
40103         * version.h: Update for 2.16 development version.
40104
40105         [BZ #13526]
40106         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
40107         _ISOC11_SOURCE.
40108
40109         * version.h (RELEASE): Bump for 2.15 release.
40110         * include/features.h (__GLIBC_MINOR__): Bump to 15.
40111
40112         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
40113         Patch by Marek Polacek <mpolacek@redhat.com>.
40114
40115         * bits/byteswap.h: Protect long long constants with __extension__.
40116         * sysdeps/i386/bits/byteswap.h: Likewise.
40117         * sysdeps/ia64/bits/byteswap.h: Likewise.
40118         * sysdeps/s390/bits/byteswap.h: Likewise.
40119         * sysdeps/x86_64/bits/byteswap.h: Likewise.
40120
40121 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40122
40123         [BZ #13540]
40124         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
40125         destination buffer.
40126         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40127
40128 2011-12-23  Marek Polacek  <polacek@redhat.com>
40129
40130         * elf/dl-addr.c (determine_info): Add inline keyword.
40131         * elf/tst-auditmod4b.c (check_avx): Likewise.
40132         * elf/tst-auditmod6b.c (check_avx): Likewise.
40133         * elf/tst-auditmod6c.c (check_avx): Likewise.
40134         * elf/tst-auditmod7b.c (check_avx): Likewise.
40135
40136 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
40137
40138         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
40139         !__SSE_MATH__.
40140
40141 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40142
40143         [BZ #13540]
40144         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
40145         processing for last bytes.
40146
40147 2011-08-06  Bruno Haible  <bruno@clisp.org>
40148
40149         [BZ #13061]
40150         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
40151         U+0385, not to U+1FEE.
40152
40153         [BZ #13062]
40154         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
40155         entry for U+00A5 U+0301.
40156
40157 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40158
40159         [BZ #13166]
40160         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
40161         buffer for the output is too small.
40162
40163         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
40164         optimization.
40165
40166         [BZ #13185]
40167         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
40168         SSE flags if possible.
40169
40170 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40171
40172         [BZ #13540]
40173         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
40174         processing for last bytes.
40175
40176 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
40177
40178         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
40179         (syscall-list-default-options, syscall-list-default-condition)
40180         (syscall-list-includes): Define.
40181         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
40182         list of ABIs and options and #if conditions for each ABI.  Do not
40183         handle common syscalls between ABIs specially.
40184         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
40185         Remove.
40186         (syscall-list-variants, syscall-list-32bit-options)
40187         (syscall-list-32bit-condition, syscall-list-64bit-options)
40188         (syscall-list-64bit-condition): Define.
40189         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
40190         (syscall-list-variants, syscall-list-32bit-options)
40191         (syscall-list-32bit-condition, syscall-list-64bit-options)
40192         (syscall-list-64bit-condition): Define.
40193         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
40194         Remove.
40195         (syscall-list-variants, syscall-list-32bit-options)
40196         (syscall-list-32bit-condition, syscall-list-64bit-options)
40197         (syscall-list-64bit-condition): Define.
40198         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
40199         Remove.
40200         (syscall-list-variants, syscall-list-32bit-options)
40201         (syscall-list-32bit-condition, syscall-list-64bit-options)
40202         (syscall-list-64bit-condition): Define.
40203
40204 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
40205
40206         * locale/iso-639.def: Add brx entry.
40207
40208         [BZ #13328]
40209         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
40210         Proposed by Mariusz_Cukr <marcukr@op.pl>.
40211
40212         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
40213         __feraiseexcept_renamed.
40214
40215 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40216
40217         [BZ #13538]
40218         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
40219         EPOLLET with unsigned values.
40220         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
40221         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
40222
40223         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
40224         to large cancellation.
40225         * math/s_cacoshf.c: Likewise.
40226         * math/s_cacoshl.c: Likewise.
40227
40228 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
40229
40230         [BZ #13305]
40231         [BZ #12786]
40232         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
40233         * math/s_cacoshf.c: Likewise.
40234         * math/s_cacoshl.c: Likewise.
40235
40236 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
40237
40238         [BZ #13439]
40239         * iconv/gconv.h: Define __GCONV_SWAP.
40240         * iconvdata/unicode.c: The swap bit must be stored in __flags.
40241         * iconvdata/utf-16.c: Likewise.
40242         * iconvdata/utf-32.c: Likewise.
40243
40244 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
40245
40246         [BZ #13524]
40247         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
40248         numerator after shifting it by one limb.
40249
40250 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
40251
40252         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
40253         under [__USE_EXTERN_INLINES].
40254
40255 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40256
40257         [BZ #13446]
40258         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
40259
40260 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40261
40262         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
40263         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
40264         optimized code.
40265         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
40266         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
40267         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
40268         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
40269         for strncasecmp/strncasecmp_l compilation.
40270         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
40271         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
40272
40273 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
40274
40275         [BZ #13484]
40276         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
40277         of __asm__.
40278
40279 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
40280
40281         [BZ #13506]
40282         * time/tzfile.c (__tzfile_read): Check values from file header.
40283
40284 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
40285
40286         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
40287         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
40288         * powerpc/powerpc32/dl-start.S: Likewise.
40289         * powerpc/powerpc32/elf/start.S: Likewise.
40290         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40291         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
40292         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
40293         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
40294         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
40295         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
40296         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
40297         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
40298         * powerpc/powerpc32/fpu/s_round.S: Likewise.
40299         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
40300         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
40301         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
40302         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40303         * powerpc/powerpc32/memset.S: Likewise.
40304         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
40305         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
40306         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
40307         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
40308         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
40309         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40310         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40311         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40312         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
40313         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
40314         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
40315         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
40316         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
40317
40318 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40319
40320         * math/libm-test.inc: Added more nearbyint tests.
40321         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
40322         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
40323         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
40324         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
40325
40326 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
40327
40328         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
40329         FD_CLOEXEC.
40330
40331 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40332
40333         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
40334         Add wcscpy-ssse3 wcscpy-c.
40335         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
40336         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
40337         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
40338         * sysdeps/x86_64/wcschr.S: New file.
40339         * sysdeps/x86_64/wcsrchr.S: New file.
40340         * string/test-strcmp.c: Remove checking of wcscmp function for
40341         wrong alignments.
40342         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
40343         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
40344         wcsrchr-sse2 wcsrchr-c.
40345         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
40346         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
40347         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
40348         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
40349         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
40350         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
40351         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
40352         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
40353         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
40354         * wcsmbc/wcschr.c (WCSCHR): New macro.
40355
40356 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40357
40358         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
40359         * wcsmbs/test-wcsrchr.c: New file.
40360         * string/test-strrchr.c: Add wcsrchr support.
40361         (WIDE): New macro.
40362         * wcsmbs/test-wcscpy.c: New file.
40363         * string/test-strcpy.c: Add wcscpy support.
40364         (WIDE): New macro.
40365
40366 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
40367
40368         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
40369         the inner loop.
40370
40371 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
40372
40373         [BZ #13472]
40374         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
40375
40376 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
40377
40378         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
40379         Minor optimizations.
40380
40381         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
40382         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
40383         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
40384
40385 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
40386
40387         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
40388         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
40389         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
40390         for gcc to avoid warnings.
40391         * inet/Makefile (tests): Add tst-checks.
40392         * inet/tst-checks.c: New file.
40393
40394         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
40395         warning.
40396
40397         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
40398         __wmemcmp_sse2.
40399
40400         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
40401         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
40402
40403         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
40404
40405 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
40406
40407         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
40408         problem.
40409
40410         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
40411
40412 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
40413
40414         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
40415         conditional on GCC version.
40416         (__arch_compare_and_exchange_val_8_acq)
40417         (__arch_compare_and_exchange_val_16_acq)
40418         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
40419         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
40420         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
40421
40422 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
40423
40424         * sysdeps/sh/backtrace.c: New file.
40425
40426 2011-12-02  Andreas Schwab  <schwab@redhat.com>
40427
40428         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
40429         parenthesis.
40430
40431 2011-12-01  Andreas Schwab  <schwab@redhat.com>
40432
40433         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
40434         falling back to utime.
40435
40436 2011-11-30  Andreas Schwab  <schwab@redhat.com>
40437
40438         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
40439         expectations for float.
40440
40441 2011-11-29  Andreas Schwab  <schwab@redhat.com>
40442
40443         * locale/weight.h (findidx): Add parameter len.
40444         * locale/weightwc.h (findidx): Likewise.
40445         * posix/fnmatch_loop.c (FCT): Adjust caller.
40446         * posix/regcomp.c (build_equiv_class): Likewise.
40447         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
40448         * posix/regexec.c (check_node_accept_bytes): Likewise.
40449         * string/strcoll_l.c (STRCOLL): Likewise.
40450         * string/strxfrm_l.c (STRXFRM): Likewise.
40451
40452 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
40453
40454         * Makefile.in: Remove CVSOPT handling.
40455         * configure.in: Remove use of AC_REVISION.
40456         * iconvdata/Makefile (distribute): No need to filter out CVS.
40457         * scripts/list-sources.sh: Remove CVS, subversion and monotone
40458         handling.
40459
40460 2011-11-16  Andreas Schwab  <schwab@redhat.com>
40461
40462         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
40463         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
40464         [USE_AS_STRNCASECMP_L]: Likewise.
40465         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
40466         NO_TLS_DIRECT_SEG_REFS.
40467         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
40468         Fix argument offsets for non-PIC.
40469         [USE_AS_STRNCASECMP_L]: Likewise.
40470         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
40471         NO_TLS_DIRECT_SEG_REFS.
40472
40473 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40474
40475         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
40476         O_CLOEXEC.
40477         * locale/loadlocale.c (_nl_load_locale): Likewise.
40478
40479 2011-11-15  Andreas Schwab  <schwab@redhat.com>
40480
40481         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
40482         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
40483         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
40484         (SYSCALL_GETTIME): Set errno on error.
40485
40486         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
40487         count references to noai6ai_cached.
40488
40489 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
40490
40491         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
40492
40493         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
40494         FD_CLOEXEC for /proc/self/maps.
40495
40496         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
40497         FD_CLOEXEC for /proc/meminfo.
40498
40499         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
40500         gai.conf.
40501
40502         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
40503         FD_CLOEXEC for given file.
40504
40505         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
40506
40507         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
40508         FD_CLOEXEC for /etc/hosts.
40509         (_gethtent): Likewise.
40510
40511         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
40512
40513         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
40514         cancellation and set FD_CLOEXEC for /etc/netgroup.
40515
40516         * nss/nss_files/files-key.c (search): Don't allow cancellation when
40517         reading /etc/publickey.
40518
40519         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
40520         allow cancellation when reading /etc/group.
40521
40522         * nss/nss_files/files-alias.c (internal_setent): Don't allow
40523         cancellation.
40524         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
40525
40526         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
40527         when using data file.
40528
40529         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
40530
40531         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
40532         (write_nis_obj): Use "c" and "e" in fopen.
40533
40534         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
40535
40536         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
40537
40538         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
40539
40540         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
40541
40542         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
40543         locale.alias.
40544
40545         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
40546
40547         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
40548
40549         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
40550
40551         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
40552         file parsing and set FD_CLOEXEC.
40553
40554 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40555
40556         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
40557
40558 2011-11-14  Andreas Schwab  <schwab@redhat.com>
40559
40560         * malloc/arena.c (arena_get2): Don't call reused_arena when
40561         _int_new_arena failed.
40562
40563 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
40564
40565         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
40566         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
40567         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
40568         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40569         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
40570         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
40571         to compile strcasecmp and strncasecmp.
40572         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
40573         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
40574
40575         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
40576
40577 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
40578
40579         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
40580         locale-defines.sym to gen-as-const-headers.
40581         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
40582         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
40583         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
40584         to compile strcasecmp and strncasecmp.
40585         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
40586         strcasecmp_l and strncasecmp_l.
40587         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
40588         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
40589         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
40590         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
40591         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
40592         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
40593         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
40594         * sysdeps/i386/i686/multiarch/strncase.S: New file.
40595         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
40596         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
40597         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
40598
40599 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
40600
40601         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
40602         result of SYSDEP_GETTIME_CPU to retval.
40603         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
40604         parameter list to macro.  Remove trailing semicolon.  Adjust users.
40605
40606         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
40607         variable.
40608
40609         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
40610         mantissa words.
40611         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
40612
40613         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
40614         from unused variable.
40615
40616         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
40617         DWARF definitions.
40618         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
40619         for assembling.
40620
40621         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
40622         over namespaces.
40623
40624         * sunrpc/rpc_prot.c (rejected): Fix case value.
40625
40626         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
40627         unsigned long long int to avoid warnings in shift.
40628
40629         * posix/regex_internal.c (re_string_reconstruct): Actually use result
40630         of use of trans.
40631         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
40632         variable tmp.
40633
40634         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
40635         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40636         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40637
40638         * nis/nis_table.c (nis_list): Use variable of correct type for
40639         result of __follow_path call.
40640
40641 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40642
40643         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
40644         of math functions ceil, trunc, floor, round, and sqrt, when
40645         avaliable on the platform.
40646         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
40647         name clash.
40648         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
40649         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
40650         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
40651
40652 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
40653
40654         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
40655         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
40656
40657 2011-11-11  Roland McGrath  <roland@hack.frob.com>
40658
40659         * include/unistd.h: Fix __readlink return type.
40660         Reported by Chris Metcalf <cmetcalf@tilera.com>.
40661
40662 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
40663
40664         * stdlib/ucontext.h: Undo last change for makecontext.
40665
40666 2011-11-11  Andreas Schwab  <schwab@redhat.com>
40667
40668         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
40669
40670         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
40671         * setjmp/setjmp.h: Mark functions as non-leaf.
40672         * setjmp/bits/setjmp2.h: Likewise.
40673         * stdlib/ucontext.h: Likewise.
40674
40675 2011-11-10  Andreas Schwab  <schwab@redhat.com>
40676
40677         * malloc/arena.c (_int_new_arena): Don't increment narenas.
40678         (reused_arena): Don't check arena limit.
40679         (arena_get2): Atomically check arena limit.
40680
40681 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
40682
40683         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
40684         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
40685
40686         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
40687         instructions.
40688
40689 2011-11-07  Andreas Schwab  <schwab@redhat.com>
40690
40691         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
40692         handler when locking.
40693
40694         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40695         Fix size of allocated buffer.
40696
40697 2011-11-04  Andreas Schwab  <schwab@redhat.com>
40698
40699         [BZ #10103]
40700         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
40701         declarations for long double functions.
40702         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
40703
40704         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
40705
40706 2011-11-03  Andreas Schwab  <schwab@redhat.com>
40707
40708         * nscd/nscd.c (main): Don't start AVC thread until credentials are
40709         installed.
40710
40711         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
40712         is disabled.
40713
40714 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40715
40716         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
40717
40718 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
40719
40720         * include/alloca.h (stackinfo_alloca_round): Define.
40721         (extend_alloca): Use it.
40722         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
40723         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
40724         here.
40725
40726         * scripts/check-local-headers.sh: Ignore libaudit.h.
40727
40728         * nscd/Makefile (extra-objs): Make recursively expanded.
40729
40730 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
40731
40732         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
40733         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
40734
40735         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
40736         * posix/tst-rfc3484-2.c: Likewise.
40737         * posix/tst-rfc3484-3.c: Likewise.
40738
40739         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
40740         process_vm_writev.
40741         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
40742         process_vm_writev.
40743         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
40744         process_vm_writev from libc using GLIBC_2.15 version.
40745
40746         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
40747
40748 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
40749
40750         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
40751         stack usage.
40752
40753 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
40754
40755         [BZ #13367]
40756         * nss/getent.c (initgroups_keys): Show error message in case no group
40757         names are given.
40758
40759         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
40760         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
40761         __bump_nl_timestamp.
40762         * nscd/connections (nscd_init): When host database is served open
40763         netlink socket and request notification about configuration changes.
40764         (main_loop_poll): Track netlink file descriptor and bump timestamp
40765         in case data becomes available.
40766         (main_loop_epoll): Likewise.
40767         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
40768         (database_pers_head): Add extra_data fileds.
40769         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
40770         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
40771         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
40772         Adjust caller.
40773         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
40774         in6ai data, call __free_in6ai.
40775         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
40776         Add -DHAVE_NETLINK.
40777         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
40778         interface information.  Reuse previous data if netlink timestamp
40779         is not changed.
40780         (__bump_nl_timestamp): New function.
40781         (__free_in6ai): New function.
40782
40783 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
40784
40785         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
40786         close_not_cancel_no_status here.
40787         (__check_pf): Reorganize code a bit to not call close twice if OOM.
40788
40789 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40790
40791         [BZ #13276]
40792         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
40793         return value.
40794
40795         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
40796         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
40797         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
40798
40799 2011-07-03  Andreas Jaeger  <aj@suse.de>
40800
40801         [BZ #10709]
40802         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
40803         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
40804         * math/libm-test.inc (sin_test): Add test case.
40805
40806 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
40807
40808         [BZ #13337]
40809         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
40810         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40811
40812         * elf/chroot_canon.c (chroot_canon): Cleanups.
40813
40814         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
40815
40816         [BZ #13335]
40817         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
40818         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
40819
40820         * string/test-strchr.c: Make usable for strchrnul testing.
40821         * string/test-strchrnul.c: New file.
40822         * string/Makefile (strop-tests): Add strchrnul.
40823
40824         * po/it.po: Update from translation team.
40825         * po/es.po: Likewise.
40826
40827 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
40828
40829         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
40830         the three constants needed as parameters.  Drop the others.
40831         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
40832         __m128i_strloadu_tolower.
40833         Create and initialize variable zero and use it in all the places
40834         where _mm_setzero_si128 was used.
40835
40836         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
40837         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
40838         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
40839         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
40840         anymore.
40841         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
40842         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
40843         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
40844         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
40845         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
40846         __mpranred, __mptan.
40847         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
40848         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
40849         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
40850         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
40851         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
40852         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
40853         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
40854         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
40855         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
40856
40857 2011-10-28  Andreas Schwab  <schwab@redhat.com>
40858
40859         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
40860         redefine if SHARED.
40861         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
40862
40863         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
40864         wide char related routines to wcsmbs subdir.
40865
40866 2011-10-27  Andreas Schwab  <schwab@redhat.com>
40867
40868         [BZ #13344]
40869         * misc/sys/cdefs.h (__THROWNL): Define.
40870         * posix/unistd.h: Use __THREADNL instead of __THREAD
40871         for memory synchronization functions.
40872
40873 2011-10-26  Roland McGrath  <roland@hack.frob.com>
40874
40875         [BZ #13349]
40876         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
40877         doesn't exist.
40878         * manual/stdio.texi (Obstack Streams): Node removed.
40879
40880 2011-10-26  Andreas Schwab  <schwab@redhat.com>
40881
40882         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
40883         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40884         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40885
40886         * math/math_private.h (math_force_eval): Allow non-addressable
40887         arguments.
40888         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
40889
40890 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40891
40892         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
40893         file is not needed.
40894
40895         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
40896         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
40897         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
40898         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
40899         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
40900         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
40901         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
40902         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
40903         Add AVX variants.
40904         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
40905         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
40906         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
40907         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
40908         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
40909         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
40910         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
40911         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
40912         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
40913         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
40914         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
40915         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
40916         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
40917         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
40918         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
40919         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
40920         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
40921         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
40922         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
40923
40924         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
40925         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
40926
40927         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
40928         place.  Use VEX encoding when compiling for AVX.
40929
40930 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40931
40932         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
40933         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
40934
40935         * string/test-strchr.c (do_test): Don't generate NUL bytes.
40936
40937 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40938
40939         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
40940         useless if() expression.
40941         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
40942         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
40943         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
40944         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
40945         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
40946         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
40947         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
40948         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
40949         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
40950         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
40951         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
40952         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
40953         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
40954         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
40955         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
40956         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
40957         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
40958         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
40959         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
40960
40961         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
40962
40963 2011-10-25  Andreas Schwab  <schwab@redhat.com>
40964
40965         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
40966         condition.
40967         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40968
40969 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
40970
40971         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
40972         .text section.  Avoid duplicate constants.
40973         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
40974         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
40975         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
40976         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
40977         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
40978         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
40979         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
40980         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
40981         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
40982         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
40983         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
40984         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
40985         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
40986         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
40987         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
40988         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
40989         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
40990         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
40991         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
40992         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
40993         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
40994         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
40995         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
40996         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
40997         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
40998         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
40999         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
41000         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
41001         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
41002         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
41003         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
41004         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
41005         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
41006         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
41007         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
41008         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
41009         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
41010         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
41011         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
41012         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
41013         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
41014         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
41015         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
41016         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
41017         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
41018
41019 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
41020
41021         * sysdeps/x86_64/dla.h: Move to ...
41022         * sysdeps/x86_64/fpu/dla.h: ...here.
41023         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
41024         situations.  Use __builtin_fma only for gcc 4.6 and up.
41025
41026         * config.make.in: Add have-mfma4 entry.
41027         * configure.in: Substitute libc_cv_cc_fma4.
41028         * math/Makefile (dbl-only-routines): Add sincostab.
41029         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
41030         Use __sincostab not sincos.
41031         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
41032         name is a macro.
41033         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41034         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41035         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41036         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
41037         using __copysign.
41038         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
41039         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
41040         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
41041         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
41042         and __inv.
41043         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
41044         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
41045         __copysign.
41046         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
41047         define aliases when function name is a macro.
41048         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
41049         sysdeps/ieee754/dbl-64/sincos.tbl.
41050         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
41051         fma4-enabled routines.
41052         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
41053         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
41054         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
41055         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
41056         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
41057         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
41058         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
41059         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
41060         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
41061         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
41062         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
41063         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
41064         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
41065         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
41066         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
41067         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
41068         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
41069         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
41070         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
41071         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
41072         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
41073         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
41074         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
41075         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
41076         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
41077         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
41078         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
41079         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
41080         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
41081         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
41082
41083         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
41084         rename.
41085         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41086         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41087         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41088         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41089         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41090         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41091         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41092         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41093
41094 2011-10-24  Andreas Schwab  <schwab@redhat.com>
41095
41096         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
41097
41098 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41099
41100         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
41101
41102         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
41103         prediction.
41104         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
41105
41106         * string/strnlen.c: Don't define STRNLEN, reverse logic.
41107         Remove unused variable magic_bits.
41108         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
41109
41110         * string/strnlen.c: Define and use STRNLEN macro.
41111         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
41112         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
41113         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
41114         * wcsmbs/wcslen.c: Define and use WCSLEN.
41115         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
41116         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
41117         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
41118         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
41119         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
41120         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
41121         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
41122
41123 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41124
41125         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41126         strnlen-sse2-no-bsf.
41127         Rename strlen-no-bsf to strlen-sse2-no-bsf.
41128         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
41129         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
41130         Add strnlen support.
41131         (USE_AS_STRNLEN): New macro.
41132         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
41133         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
41134         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
41135         * sysdeps/x86_64/wcslen.S: New file.
41136
41137 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
41138
41139         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
41140         XMM-moves are used for copying on small sizes.
41141
41142 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41143
41144         * wcsmbs/Makefile (strop-tests): Add wcschr.
41145         * wcsmbs/test-wcschr.c: New file.
41146         * string/test-strchr.c: Update.
41147         Add wcschr support.
41148         (WIDE): New macro.
41149
41150 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41151
41152         * wcsmbs/Makefile (strop-tests): Add wcslen.
41153         * wcsmbs/test-wcslen.c: New file.
41154         * string/test-strlen.c: Update.
41155         Add wcslen support.
41156         (WIDE): New macro.
41157
41158 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41159
41160         * po/it.po: Update from translation team.
41161
41162 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41163
41164         * sysdeps/x86_64/wcscmp.S: Update.
41165         Fix wrong comparison semantics.
41166         wcscmp shall use signed comparison not unsigned.
41167         Don't use substraction to avoid overflow bug.
41168         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
41169         * wcsmbc/wcscmp.c: Likewise.
41170         * string/test-strcmp.c: Likewise.
41171         Add new tests to check cases with negative values.
41172
41173 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
41174
41175         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
41176         * sysdeps/x86_64/dla.h: ...here.  New file.
41177         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
41178         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41179         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41180         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41181         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41182         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41183         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41184         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41185         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41186
41187 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
41188
41189         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
41190         __ynl_finite aliases.
41191
41192 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41193
41194         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41195
41196         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
41197         define DLA_FMA.
41198         [DLA_FMA] (EMULV): Use DLA_FMA.
41199         [DLA_FMA] (MUL12): Use EMULV.
41200         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
41201         that are not needed.
41202         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
41203         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41204         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41205         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41206         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41207         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
41208         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
41209
41210 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
41211
41212         * math/s_nan.c: Undef __nan.
41213         * math/s_nanf.c: Undef __nanf.
41214         * math/s_nanl.c: Undef __nanl.
41215         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
41216         "math_private.h".
41217
41218 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
41219
41220         * math/s_catan.c: Add branch predictions.
41221         * math/s_catanf.c: Likewise.
41222         * math/s_catanh.c: Likewise.
41223         * math/s_catanhf.c: Likewise.
41224         * math/s_catanhl.c: Likewise.
41225         * math/s_catanl.c: Likewise.
41226         * math/s_cexp.c: Likewise.
41227         * math/s_cexpf.c: Likewise.
41228         * math/s_cexpl.c: Likewise.
41229         * math/s_clog.c: Likewise.
41230         * math/s_clog10.c: Likewise.
41231         * math/s_clog10f.c: Likewise.
41232         * math/s_clog10l.c: Likewise.
41233         * math/s_clogf.c: Likewise.
41234         * math/s_clogl.c: Likewise.
41235         * math/s_csqrt.c: Likewise.
41236         * math/s_csqrtf.c: Likewise.
41237         * math/s_csqrtl.c: Likewise.
41238         * math/s_ctanf.c: Likewise.
41239         * math/s_ctanh.c: Likewise.
41240         * math/s_ctanhf.c: Likewise.
41241         * math/s_ctanhl.c: Likewise.
41242         * math/s_ctanl.c: Likewise.
41243
41244         * math/math_private.h: Define __nan, __nanf, __nanl.
41245         * math/s_cacosh.c: Include <math_private.h>.
41246         * math/s_cacoshl.c: Likewise.
41247         * math/s_casinh.c: Likewise.
41248         * math/s_casinhf.c: Likewise.
41249         * math/s_casinhl.c: Likewise.
41250         * math/s_ccos.c: Rely entire on ccosh.
41251         * math/s_ccosf.c: Rely entire on ccoshf.
41252         * math/s_ccosl.c: Rely entirely on ccoshl.
41253         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
41254         Remove tests for FE_INVALID.
41255         * math/s_ccoshf.c: Likewise.
41256         * math/s_ccoshl.c: Likewise.
41257         * math/s_csin.c: Likewise.
41258         * math/s_csinf.c: Likewise.
41259         * math/s_csinh.c Likewise.
41260         * math/s_csinhf.c: Likewise.
41261         * math/s_csinhl.c: Likewise.
41262         * math/s_csinl.c: Likewise.
41263         * math/s_ctan.c: Likewise.
41264         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
41265         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
41266         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
41267
41268 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
41269
41270         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
41271         compilation problems.
41272
41273         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
41274         __builtin_expect.
41275
41276 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
41277
41278         * sysdeps/i386/configure.in: Test for -mfma4 option.
41279         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
41280         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
41281         COMMON_CPUID_INDEX_80000001.
41282         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
41283         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
41284         use it if FMA3 is not supported.
41285         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
41286
41287         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
41288         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
41289
41290 2011-10-20  Andreas Schwab  <schwab@redhat.com>
41291
41292         [BZ #12892]
41293         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
41294         it would create a cycle with a link time dependency.
41295
41296 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
41297
41298         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
41299         instruction.
41300         * string/Makefile (strop-tests): Add rawmemchr.
41301         * string/test-rawmemchr.c: New file.
41302
41303         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
41304         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
41305         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
41306         when compiling str{,n}casecmp and when AVX is available.  Hook up
41307         new optimized code in initializers.
41308
41309 2011-10-19  Andreas Schwab  <schwab@redhat.com>
41310
41311         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
41312         __feraiseexcept instead of feraiseexcept.
41313
41314 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
41315
41316         * math/math_private.h: Define defaults for libc_fetestexcept and
41317         libc_feupdateenv.
41318         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
41319         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
41320         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41321         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41322         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
41323         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41324         libc_fetestexcept and libc_feupdateenv.
41325
41326         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
41327         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
41328         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
41329         * sysdeps/x86_64/fpu/math_private.h: Define special version of
41330         libc_feholdexcept_setround.
41331
41332         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
41333         Add s_nearbyint-c and s_nearbyintf-c.
41334         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
41335         nearbyintf inlines.
41336         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
41337         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
41338         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
41339         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
41340
41341         * math/math_private.h: Define defaults for libc_fegetround,
41342         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
41343         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
41344         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
41345         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
41346         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
41347         standard functions.
41348         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41349         Remove comments and hacks for old compiler versions.
41350         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
41351         libc_fegetround, libc_fesetround, libc_feholdexcept, and
41352         libc_feholdexceptl.
41353
41354 2011-10-18  Andreas Schwab  <schwab@redhat.com>
41355
41356         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
41357         (__feraiseexcept_renamed): Add __NTH.
41358         (feraiseexcept): Add __NTH.  Rename local variables to fix
41359         namespace violations.
41360
41361 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
41362
41363         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
41364
41365         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
41366
41367         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
41368         recently added interfaces.
41369         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
41370
41371         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
41372         about macro parameter expansion.
41373
41374         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
41375         __NO_MATH_INLINES is defined.  Cleanups.
41376
41377         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
41378         and __floorf is target has SSE4.1.
41379         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
41380         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
41381         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
41382         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
41383
41384         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
41385         name.
41386         (floorf): Likewise.
41387
41388         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
41389
41390 2011-10-17  Andreas Schwab  <schwab@redhat.com>
41391
41392         * misc/sys/cdefs.h: Fix last change.
41393
41394         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
41395         database lookup.
41396
41397 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
41398
41399         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
41400
41401         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
41402         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
41403         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
41404         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
41405         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
41406         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
41407         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
41408         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
41409         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
41410         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
41411         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
41412         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
41413         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
41414         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
41415         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
41416         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
41417         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
41418         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
41419         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
41420         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
41421         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
41422         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
41423
41424         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
41425         ceil, ceilf, floor, floorf.
41426
41427         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
41428         Perform IRELATIVE relocations last.
41429
41430         * elf/do-rel.h: Add another parameter nrelative, replacing the
41431         local variable with the same name.  Change name of the function
41432         to end in Rel or Rela (uppercase).
41433         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
41434         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
41435         elf_dynamic_do_##reloc function.
41436
41437 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41438
41439         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
41440         is sufficient, at least on modern CPUs.
41441
41442         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
41443
41444         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
41445         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
41446
41447         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
41448         __expl_finite.
41449         * math/bits/math-finite.h: Add entries for exp.
41450         * math/e_expl.c: Add __*_finite alias.
41451         * sysdeps/i386/fpu/e_exp.S: Likewise.
41452         * sysdeps/i386/fpu/e_expf.S: Likewise.
41453         * sysdeps/i386/fpu/e_expl.c: Likewise.
41454         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
41455         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
41456         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
41457         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
41458         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
41459         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
41460         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
41461
41462         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
41463         is sufficient, at least on modern CPUs.
41464
41465         * ctype/ctype-info.c (__ctype_init): Define.
41466         * include/ctype.h (__ctype_init): Declare.
41467         (__ctype_b_loc): The variable is always initialized.
41468         (__ctype_toupper_loc): Likewise.
41469         (__ctype_tolower_loc): Likewise.
41470         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
41471         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
41472
41473 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
41474
41475         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
41476
41477         * configure.in: Also look in $cxxmachine/include for C++ system
41478         headers.
41479
41480 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41481
41482         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
41483         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
41484         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
41485         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
41486         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
41487         (USE_AS_WMEMCMP): New macro.
41488         Fixing indents.
41489         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
41490         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
41491         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
41492         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
41493         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41494         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
41495         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
41496         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
41497         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
41498         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
41499         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
41500         (USE_AS_WMEMCMP): New macro.
41501         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
41502         * sysdeps/string/test-memcmp.c: Update.
41503         Fix simple_wmemcmp.
41504         Add new tests.
41505         * wcsmbs/wmemcmp.c: Update.
41506         (WMEMCMP): New macro.
41507         Fix overflow bug.
41508
41509 2011-10-12  Andreas Jaeger  <aj@suse.de>
41510
41511         [BZ #13268]
41512         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
41513
41514 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
41515
41516         * libio/iofwide.c (do_length): Avoid warning.
41517
41518         * ctype/ctype.h (__isctype_f): Add missing __THROW.
41519
41520 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
41521
41522         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
41523
41524         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
41525         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
41526         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
41527         * sysdeps/i386/i686/fpu/e_log.S: New file.
41528         * sysdeps/i386/i686/fpu/e_logf.S: New file.
41529         * sysdeps/i386/i686/fpu/e_logl.S: New file.
41530
41531         * ctype/ctype.h: Add support for inlined isXXX functions when
41532         compiling C++ code.
41533
41534 2011-10-14  Andreas Schwab  <schwab@redhat.com>
41535
41536         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
41537
41538         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
41539
41540 2011-10-13  Roland McGrath  <roland@hack.frob.com>
41541
41542         [BZ #13291]
41543         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
41544
41545 2011-10-13  Andreas Schwab  <schwab@redhat.com>
41546
41547         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
41548         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
41549         feraiseexcept.
41550
41551         * sysdeps/x86_64/memrchr.S: Check for zero size.
41552
41553         * string/stratcliff.c: Add memrchr tests.
41554
41555 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41556
41557         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41558         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
41559         rawmemchr-sse2 rawmemchr-sse2-bsf.
41560         * sysdeps/i386/i686/multiarch/memchr.S: New file.
41561         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
41562         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
41563         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
41564         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
41565         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
41566         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
41567         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
41568         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
41569         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
41570         * string/memrchr.c (MEMRCHR): New macro.
41571
41572 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
41573
41574         Add integration with gcc's -ffinite-math-only and optimize wrapper
41575         functions in libm.
41576         * Versions.def: Define GLIBC_2.15 version for libm.
41577         * math/Makefile (headers): Add bits/math-finite.h.
41578         * math/bits/math-finite.h: New file.
41579         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
41580         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
41581         * math/e_acoshl.c: Add __*_finite alias.
41582         * math/e_acosl.c: Likewise.
41583         * math/e_asinl.c: Likewise.
41584         * math/e_atan2l.c: Likewise.
41585         * math/e_atanhl.c: Likewise.
41586         * math/e_coshl.c: Likewise.
41587         * math/e_exp10.c: Likewise.
41588         * math/e_exp10f.c: Likewise.
41589         * math/e_exp10l.c: Likewise.
41590         * math/e_exp2l.c: Likewise.
41591         * math/e_fmodl.c: Likewise.
41592         * math/e_gammal_r.c: Likewise.
41593         * math/e_hypotl.c: Likewise.
41594         * math/e_j0l.c: Likewise.
41595         * math/e_j1l.c: Likewise.
41596         * math/e_jnl.c: Likewise.
41597         * math/e_lgammal_r.c: Likewise.
41598         * math/e_log10l.c: Likewise.
41599         * math/e_log2l.c: Likewise.
41600         * math/e_logl.c: Likewise.
41601         * math/e_powl.c: Likewise.
41602         * math/e_sinhl.c: Likewise.
41603         * math/e_sqrtl.c: Likewise.
41604         * math/e_scalb.c: Completely rewritten and optimized.
41605         * math/e_scalbf.c: Likewise.
41606         * math/e_scalbl.c: Likewise.
41607         * math/w_acos.c: Likewise.
41608         * math/w_acosf.c: Likewise.
41609         * math/w_acosl.c: Likewise.
41610         * math/w_acosh.c: Likewise.
41611         * math/w_acoshf.c: Likewise.
41612         * math/w_acoshl.c: Likewise.
41613         * math/w_asin.c: Likewise.
41614         * math/w_asinf.c: Likewise.
41615         * math/w_asinl.c: Likewise.
41616         * math/w_atan2.c: Likewise.
41617         * math/w_atan2f.c: Likewise.
41618         * math/w_atan2l.c: Likewise.
41619         * math/w_atanh.c: Likewise.
41620         * math/w_atanhf.c: Likewise.
41621         * math/w_atanhl.c: Likewise.
41622         * math/w_exp10.c: Likewise.
41623         * math/w_exp10f.c: Likewise.
41624         * math/w_exp10l.c: Likewise.
41625         * math/w_fmod.c: Likewise.
41626         * math/w_fmodf.c: Likewise.
41627         * math/w_fmodl.c: Likewise.
41628         * math/w_j0.c: Likewise.
41629         * math/w_j0f.c: Likewise.
41630         * math/w_j0l.c: Likewise.
41631         * math/w_j1.c: Likewise.
41632         * math/w_j1f.c: Likewise.
41633         * math/w_j1l.c: Likewise.
41634         * math/w_jn.c: Likewise.
41635         * math/w_jnf.c: Likewise.
41636         * math/w_log.c: Likewise.
41637         * math/w_logf.c: Likewise.
41638         * math/w_logl.c: Likewise.
41639         * math/w_log10.c: Likewise.
41640         * math/w_log10f.c: Likewise.
41641         * math/w_log10l.c: Likewise.
41642         * math/w_log2.c: Likewise.
41643         * math/w_log2f.c: Likewise.
41644         * math/w_log2l.c: Likewise.
41645         * math/w_pow.c: Likewise.
41646         * math/w_powf.c: Likewise.
41647         * math/w_powl.c: Likewise.
41648         * math/w_remainder.c: Likewise.
41649         * math/w_remainderf.c: Likewise.
41650         * math/w_remainderl.c: Likewise.
41651         * math/w_scalb.c: Likewise.
41652         * math/w_scalbf.c: Likewise.
41653         * math/w_scalbl.c: Likewise.
41654         * math/w_sqrt.c: Likewise.
41655         * math/w_sqrtf.c: Likewise.
41656         * math/w_sqrtl.c: Likewise.
41657         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
41658         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
41659         used.
41660         * math/math_private.h: Declare __kernel_standard_f.
41661         * math/w_cosh.c: Remove cruft and optimize a bit.
41662         * math/w_coshf.c: Likewise.
41663         * math/w_coshl.c: Likewise.
41664         * math/w_exp2.c: Likewise.
41665         * math/w_exp2f.c: Likewise.
41666         * math/w_exp2l.c: Likewise.
41667         * math/w_hypot.c: Likewise.
41668         * math/w_hypotf.c: Likewise.
41669         * math/w_hypotl.c: Likewise.
41670         * math/w_lgamma.c: Likewise.
41671         * math/w_lgamma_r.c: Likewise.
41672         * math/w_lgammaf.c: Likewise.
41673         * math/w_lgammaf_r.c: Likewise.
41674         * math/w_lgammal.c: Likewise.
41675         * math/w_lgammal_r.c: Likewise.
41676         * math/w_sinh.c: Likewise.
41677         * math/w_sinhf.c: Likewise.
41678         * math/w_sinhl.c: Likewise.
41679         * math/w_tgamma.c: Likewise.
41680         * math/w_tgammaf.c: Likewise.
41681         * math/w_tgammal.c: Likewise.
41682         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
41683         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
41684         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
41685         Minor optimizations.  Pretty printing.  Remove cruft.
41686         * sysdeps/i386/fpu/e_acosf.S: Likewise.
41687         * sysdeps/i386/fpu/e_acosh.S: Likewise.
41688         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
41689         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
41690         * sysdeps/i386/fpu/e_acosl.c: Likewise.
41691         * sysdeps/i386/fpu/e_asin.S: Likewise.
41692         * sysdeps/i386/fpu/e_asinf.S: Likewise.
41693         * sysdeps/i386/fpu/e_atan2.S: Likewise.
41694         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
41695         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
41696         * sysdeps/i386/fpu/e_atanh.S: Likewise.
41697         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
41698         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
41699         * sysdeps/i386/fpu/e_exp10.S: Likewise.
41700         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
41701         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
41702         * sysdeps/i386/fpu/e_exp2.S: Likewise.
41703         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
41704         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
41705         * sysdeps/i386/fpu/e_fmod.S: Likewise.
41706         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
41707         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
41708         * sysdeps/i386/fpu/e_hypot.S: Likewise.
41709         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
41710         * sysdeps/i386/fpu/e_log.S: Likewise.
41711         * sysdeps/i386/fpu/e_log10.S: Likewise.
41712         * sysdeps/i386/fpu/e_log10f.S: Likewise.
41713         * sysdeps/i386/fpu/e_log10l.S: Likewise.
41714         * sysdeps/i386/fpu/e_log2.S: Likewise.
41715         * sysdeps/i386/fpu/e_log2f.S: Likewise.
41716         * sysdeps/i386/fpu/e_log2l.S: Likewise.
41717         * sysdeps/i386/fpu/e_logf.S: Likewise.
41718         * sysdeps/i386/fpu/e_logl.S: Likewise.
41719         * sysdeps/i386/fpu/e_pow.S: Likewise.
41720         * sysdeps/i386/fpu/e_powf.S: Likewise.
41721         * sysdeps/i386/fpu/e_powl.S: Likewise.
41722         * sysdeps/i386/fpu/e_remainder.S: Likewise.
41723         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
41724         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
41725         * sysdeps/i386/fpu/e_scalb.S: Likewise.
41726         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
41727         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
41728         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
41729         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
41730         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
41731         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
41732         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
41733         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
41734         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
41735         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
41736         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
41737         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
41738         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
41739         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
41740         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
41741         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
41742         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
41743         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
41744         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
41745         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
41746         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
41747         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
41748         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
41749         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
41750         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
41751         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
41752         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
41753         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
41754         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
41755         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
41756         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
41757         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
41758         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
41759         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
41760         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
41761         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
41762         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
41763         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
41764         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
41765         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
41766         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
41767         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
41768         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
41769         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
41770         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
41771         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
41772         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
41773         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
41774         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
41775         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
41776         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
41777         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
41778         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
41779         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
41780         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
41781         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
41782         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
41783         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
41784         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
41785         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
41786         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
41787         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
41788         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
41789         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
41790         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
41791         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
41792         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
41793         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
41794         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
41795         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
41796         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
41797         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
41798         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
41799         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
41800         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
41801         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
41802         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
41803         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
41804         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
41805         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
41806         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
41807         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
41808         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
41809         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
41810         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
41811         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
41812         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
41813         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
41814         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
41815         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
41816         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
41817         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
41818         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
41819         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
41820         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
41821         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
41822         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
41823         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
41824         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
41825         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
41826         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
41827         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
41828         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
41829         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
41830         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
41831         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
41832         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
41833         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
41834         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
41835         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
41836         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
41837         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
41838         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41839         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
41840         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
41841         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
41842         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
41843         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
41844         (__isnanf): Likewise.
41845         (__isinf_ns): Likewise.
41846         (__isinf_nsf): Likewise.
41847         (__finite): Likewise.
41848         (__finitef): Likewise.
41849         (__ieee754_sqrt): Define as macro.
41850         (__ieee754_sqrtf): Define as macro.
41851         (__ieee754_sqrtl): Define as macro.
41852         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
41853         inlined copy.
41854         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
41855         __FINITE_MATH_ONLY__ consistent.
41856         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
41857
41858 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
41859
41860         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
41861         of rawmemchr.
41862
41863         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
41864
41865 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
41866
41867         * po/ja.po: Update from translation team.
41868
41869 2011-10-08  Roland McGrath  <roland@hack.frob.com>
41870
41871         * locale/programs/locarchive.c (prepare_address_space): New function.
41872         (create_archive, enlarge_archive, open_archive): Use it.
41873
41874         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
41875         inside [SHARED], where it is used.
41876
41877         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
41878
41879         * nss/getent.c (netgroup_keys): Remove unused variable.
41880         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
41881
41882 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
41883
41884         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
41885         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
41886         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
41887         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
41888         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
41889         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
41890         * math/Makefile (libm-calls): Add s_isinf_ns.
41891         * math/divtc3.c: Use __isinf_nsl instead of isinf.
41892         * math/multc3.c: Likewise.
41893         * math/s_casin.c: Likewise.
41894         * math/s_casinf.c: Likewise.
41895         * math/s_casinl.c: Likewise.
41896         * math/s_ccos.c: Likewise.
41897         * math/s_ccosf.c: Likewise.
41898         * math/s_ccosl.c: Likewise.
41899         * math/s_ctan.c: Likewise.
41900         * math/s_ctanf.c: Likewise.
41901         * math/s_ctanh.c: Likewise.
41902         * math/s_ctanhf.c: Likewise.
41903         * math/s_ctanhl.c: Likewise.
41904         * math/s_ctanl.c: Likewise.
41905         * math/w_fmod.c: Likewise.
41906         * math/w_fmodf.c: Likewise.
41907         * math/w_fmodl.c: Likewise.
41908         * math/w_remainder.c: Likewise.
41909         * math/w_remainderf.c: Likewise.
41910         * math/w_remainderl.c: Likewise.
41911         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
41912         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
41913         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
41914         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
41915         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
41916         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
41917         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
41918         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
41919
41920         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
41921         of the number.
41922         * stdio-common/printf_fphex.c: Likewise.
41923         * stdio-common/printf_size.c: Likewise.
41924
41925         * math/e_exp10.c: Include math_private.h using <...> not "...".
41926         * math/e_exp10f.c: Likewise.
41927         * math/e_exp10l.c: Likewise.
41928         * math/e_exp2l.c: Likewise.
41929         * math/e_j0l.c: Likewise.
41930         * math/e_j1l.c: Likewise.
41931         * math/e_jnl.c: Likewise.
41932         * math/e_lgammal_r.c: Likewise.
41933         * math/e_rem_pio2l.c: Likewise.
41934         * math/e_scalb.c: Likewise.
41935         * math/e_scalbf.c: Likewise.
41936         * math/e_scalbl.c: Likewise.
41937         * math/k_cosl.c: Likewise.
41938         * math/k_sinl.c: Likewise.
41939         * math/k_tanl.c: Likewise.
41940         * math/s_cacoshf.c: Likewise.
41941         * math/s_catan.c: Likewise.
41942         * math/s_catanf.c: Likewise.
41943         * math/s_catanh.c: Likewise.
41944         * math/s_catanhf.c: Likewise.
41945         * math/s_catanhl.c: Likewise.
41946         * math/s_catanl.c: Likewise.
41947         * math/s_ccosh.c: Likewise.
41948         * math/s_ccoshf.c: Likewise.
41949         * math/s_ccoshl.c: Likewise.
41950         * math/s_cexp.c: Likewise.
41951         * math/s_cexpf.c: Likewise.
41952         * math/s_cexpl.c: Likewise.
41953         * math/s_clog.c: Likewise.
41954         * math/s_clog10.c: Likewise.
41955         * math/s_clog10f.c: Likewise.
41956         * math/s_clog10l.c: Likewise.
41957         * math/s_clogf.c: Likewise.
41958         * math/s_clogl.c: Likewise.
41959         * math/s_csin.c: Likewise.
41960         * math/s_csinf.c: Likewise.
41961         * math/s_csinh.c: Likewise.
41962         * math/s_csinhf.c: Likewise.
41963         * math/s_csinhl.c: Likewise.
41964         * math/s_csinl.c: Likewise.
41965         * math/s_csqrt.c: Likewise.
41966         * math/s_csqrtf.c: Likewise.
41967         * math/s_csqrtl.c: Likewise.
41968         * math/s_ctan.c: Likewise.
41969         * math/s_ctanf.c: Likewise.
41970         * math/s_ctanh.c: Likewise.
41971         * math/s_ctanhf.c: Likewise.
41972         * math/s_ctanhl.c: Likewise.
41973         * math/s_ctanl.c: Likewise.
41974         * math/s_ldexp.c: Likewise.
41975         * math/s_ldexpf.c: Likewise.
41976         * math/s_ldexpl.c: Likewise.
41977         * math/s_significand.c: Likewise.
41978         * math/s_significandf.c: Likewise.
41979         * math/s_significandl.c: Likewise.
41980         * math/w_acos.c: Likewise.
41981         * math/w_acosf.c: Likewise.
41982         * math/w_acosh.c: Likewise.
41983         * math/w_acoshf.c: Likewise.
41984         * math/w_acoshl.c: Likewise.
41985         * math/w_acosl.c: Likewise.
41986         * math/w_asin.c: Likewise.
41987         * math/w_asinf.c: Likewise.
41988         * math/w_asinl.c: Likewise.
41989         * math/w_atan2.c: Likewise.
41990         * math/w_atan2f.c: Likewise.
41991         * math/w_atan2l.c: Likewise.
41992         * math/w_atanh.c: Likewise.
41993         * math/w_atanhf.c: Likewise.
41994         * math/w_atanhl.c: Likewise.
41995         * math/w_cosh.c: Likewise.
41996         * math/w_coshf.c: Likewise.
41997         * math/w_coshl.c: Likewise.
41998         * math/w_dremf.c: Likewise.
41999         * math/w_exp10.c: Likewise.
42000         * math/w_exp10f.c: Likewise.
42001         * math/w_exp10l.c: Likewise.
42002         * math/w_exp2.c: Likewise.
42003         * math/w_exp2f.c: Likewise.
42004         * math/w_fmod.c: Likewise.
42005         * math/w_fmodf.c: Likewise.
42006         * math/w_fmodl.c: Likewise.
42007         * math/w_hypot.c: Likewise.
42008         * math/w_hypotf.c: Likewise.
42009         * math/w_hypotl.c: Likewise.
42010         * math/w_j0.c: Likewise.
42011         * math/w_j0f.c: Likewise.
42012         * math/w_j0l.c: Likewise.
42013         * math/w_j1.c: Likewise.
42014         * math/w_j1f.c: Likewise.
42015         * math/w_j1l.c: Likewise.
42016         * math/w_jn.c: Likewise.
42017         * math/w_jnf.c: Likewise.
42018         * math/w_jnl.c: Likewise.
42019         * math/w_lgamma.c: Likewise.
42020         * math/w_lgamma_r.c: Likewise.
42021         * math/w_lgammaf.c: Likewise.
42022         * math/w_lgammaf_r.c: Likewise.
42023         * math/w_lgammal.c: Likewise.
42024         * math/w_lgammal_r.c: Likewise.
42025         * math/w_log.c: Likewise.
42026         * math/w_log10.c: Likewise.
42027         * math/w_log10f.c: Likewise.
42028         * math/w_log10l.c: Likewise.
42029         * math/w_log2.c: Likewise.
42030         * math/w_log2f.c: Likewise.
42031         * math/w_log2l.c: Likewise.
42032         * math/w_logf.c: Likewise.
42033         * math/w_logl.c: Likewise.
42034         * math/w_pow.c: Likewise.
42035         * math/w_powf.c: Likewise.
42036         * math/w_powl.c: Likewise.
42037         * math/w_remainder.c: Likewise.
42038         * math/w_remainderf.c: Likewise.
42039         * math/w_remainderl.c: Likewise.
42040         * math/w_scalb.c: Likewise.
42041         * math/w_scalbf.c: Likewise.
42042         * math/w_scalbl.c: Likewise.
42043         * math/w_sinh.c: Likewise.
42044         * math/w_sinhf.c: Likewise.
42045         * math/w_sinhl.c: Likewise.
42046         * math/w_sqrt.c: Likewise.
42047         * math/w_sqrtf.c: Likewise.
42048         * math/w_sqrtl.c: Likewise.
42049         * math/w_tgamma.c: Likewise.
42050         * math/w_tgammaf.c: Likewise.
42051         * math/w_tgammal.c: Likewise.
42052
42053         * po/ja.po: Update from translation team.
42054
42055 2011-09-29  Andreas Jaeger  <aj@suse.de>
42056
42057         [BZ #13179]
42058         * sunrpc/netname.c (netname2host): Fix logic.
42059
42060         [BZ #6779]
42061         [BZ #6783]
42062         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
42063         correctly.
42064         * math/w_remainder.c (__remainder): Likewise.
42065         * math/w_remainderf.c (__remainderf): Likewise.
42066         * math/libm-test.inc (remainder_test): Add test cases.
42067
42068 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42069
42070         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
42071         sdiv_qrnnd.
42072
42073 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42074
42075         * string/test-memcmp.c: Avoid unncessary #defines.
42076         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
42077
42078 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42079
42080         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
42081         Use new sse2 version for core i3 - i7 as it's faster
42082         than sse42 version.
42083         (bit_Prefer_PMINUB_for_stringop): New.
42084         * sysdeps/x86_64/rawmemchr.S: Update.
42085         Replace with faster SSE2 version.
42086         * sysdeps/x86_64/memrchr.S: New file.
42087         * sysdeps/x86_64/memchr.S: Update.
42088         Replace with faster SSE2 version.
42089
42090 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
42091
42092         * elf/dl-load.c (lose): Add cast to avoid warning.
42093
42094 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
42095
42096         * po/ca.po: Update from translation team.
42097
42098         * inet/getnetgrent_r.c: Hook up nscd.
42099         * nscd/Makefile (routines): Add nscd_netgroup.
42100         (nscd-modules): Add netgroupcache.
42101         (CFLAGS-netgroupcache.c): Define.
42102         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
42103         (cache_search): Add const to second parameter.
42104         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
42105         INNETGR.
42106         (dbs): Add netgrdb entry.
42107         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
42108         (verify_persistent_db): Handle netgrdb.
42109         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
42110         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
42111         GETFDNETGR.
42112         (netgroup_response_header): Define.
42113         (innetgroup_response_header): Define.
42114         (datahead): Add netgroup_response_header and innetgroup_response_header
42115         elements.
42116         * nscd/nscd.conf: Add entries for netgroup cache.
42117         * nscd/nscd.h (dbtype): Add netgrdb.
42118         (_PATH_NSCD_NETGROUP_DB): Define.
42119         (netgroup_iov_disabled): Declare.
42120         (xmalloc, xcalloc, xrealloc): Move declarations here.
42121         (cache_search): Adjust prototype.
42122         Add netgroup-related prototypes.
42123         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
42124         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
42125         (__nscd_innetgr): Declare.
42126         * nscd/selinux.c (perms): Use access_vector_t as element type and
42127         add netgroup-related initializers.
42128         * nscd/netgroupcache.c: New file.
42129         * nscd/nscd_netgroup.c: New file.
42130         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
42131         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
42132         For four parameters use innetgr.
42133         * nss/nss_files/files-init.c: Add definition and callback for netgr.
42134         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
42135         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
42136         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
42137
42138         * nscd/connections.c (register_traced_file): Don't register file
42139         for disabled databases.
42140
42141 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
42142
42143         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
42144
42145         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
42146         from tree and freeing node.
42147
42148 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
42149
42150         * nss/nsswitch.c (__nss_database_lookup): Handle
42151         nss_parse_service_list out of memory case.
42152
42153 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
42154
42155         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
42156         out of memory case.
42157
42158 2011-10-04  Andreas Schwab  <schwab@redhat.com>
42159
42160         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
42161         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
42162         pass it down.
42163         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
42164         elf_machine_rela, elf_machine_lazy_rel.
42165         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
42166         (ELF_DYNAMIC_DO_REL): Likewise.
42167         (ELF_DYNAMIC_DO_RELA): Likewise.
42168         (ELF_DYNAMIC_RELOCATE): Likewise.
42169         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
42170         to ELF_DYNAMIC_DO_REL.
42171         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
42172         (dl_main): In trace mode always set __RTLD_NOIFUNC.
42173         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
42174         elf_machine_rela.
42175         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
42176         skip_ifunc, don't call ifunc function if non-zero.
42177         (elf_machine_rela): Likewise.
42178         (elf_machine_lazy_rel): Likewise.
42179         (elf_machine_lazy_rela): Likewise.
42180         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
42181         (elf_machine_lazy_rel): Likewise.
42182         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
42183         Likewise.
42184         (elf_machine_lazy_rel): Likewise.
42185         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42186         Likewise.
42187         (elf_machine_lazy_rel): Likewise.
42188         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
42189         (elf_machine_lazy_rel): Likewise.
42190         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
42191         (elf_machine_lazy_rel): Likewise.
42192         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42193         (elf_machine_lazy_rel): Likewise.
42194         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
42195         (elf_machine_lazy_rel): Likewise.
42196         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
42197         (elf_machine_lazy_rel): Likewise.
42198         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
42199         (elf_machine_lazy_rel): Likewise.
42200
42201 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
42202
42203         * nss/nss_files/files-init.c (_nss_files_init): Use static
42204         initialization for all the *_traced_file variables.
42205
42206 2011-09-28  Andreas Schwab  <schwab@redhat.com>
42207
42208         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42209
42210 2011-09-27  Roland McGrath  <roland@hack.frob.com>
42211
42212         [BZ #13226]
42213         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
42214
42215 2011-09-27  Andreas Schwab  <schwab@redhat.com>
42216
42217         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
42218         Reread the line before reparsing it.
42219
42220 2011-09-26  Andreas Schwab  <schwab@redhat.com>
42221
42222         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
42223
42224 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
42225             Maxim Kuvyrkov  <maxim@codesourcery.com>
42226             Joseph Myers  <joseph@codesourcery.com>
42227
42228         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
42229         if needed for __stack_chk_guard.
42230
42231 2011-09-19  Roland McGrath  <roland@hack.frob.com>
42232
42233         * sysdeps/posix/spawni.c (script_execute): Always define it.
42234         It will be optimized away if unused.
42235         (maybe_script_execute): New function.
42236         (__spawni): Call it.
42237
42238         * Makerules: Don't include tls.make.
42239         (config-tls): Always set to thread.
42240         * tls.make.c: File removed.
42241
42242 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
42243
42244         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
42245         * config.make.in (CPPFLAGS-config): New substituted variable.
42246
42247 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42248
42249         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
42250
42251         [BZ #13192]
42252         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
42253         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
42254
42255 2011-09-15  Roland McGrath  <roland@hack.frob.com>
42256
42257         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
42258         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
42259         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42260         (CALL_FAIL): Likewise.
42261         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
42262         (CALL_FAIL): Macro removed.
42263         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
42264
42265 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
42266
42267         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
42268         for __FINITE_MATH_ONLY__ == 1.
42269
42270 2011-09-15  Andreas Schwab  <schwab@redhat.com>
42271
42272         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
42273         __ieee754_sqrt instead of sqrt.
42274         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
42275         __ieee754_sqrtf instead of sqrtf.
42276         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
42277         __floorf instead of floorf.
42278         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
42279         __floorf, __truncf instead of floorf, truncf.
42280
42281 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
42282
42283         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
42284
42285         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
42286         __extern_always_inline.
42287         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
42288         32-bit.
42289
42290 2011-09-14  Andreas Schwab  <schwab@redhat.com>
42291
42292         * elf/rtld.c (dl_main): Also relocate in dependency order when
42293         doing symbol dependency testing.
42294
42295 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
42296
42297         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42298         Always define `refsym'.
42299
42300 2011-09-13  Andreas Schwab  <schwab@redhat.com>
42301
42302         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
42303         (__FD_ELT): Renamed from __FDELT.
42304         * misc/bits/select2.h (__FD_ELT): Likewise.
42305         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
42306         __FD_MASK instead of __FDELT, __FDMASK.
42307         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42308         Likewise.
42309         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
42310         Likewise.
42311
42312         * elf/Makefile (gen-ldd): Fix pattern.
42313
42314         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
42315         (init_tls): Likewise.
42316
42317 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
42318
42319         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
42320
42321 2011-09-12  Andreas Schwab  <schwab@redhat.com>
42322
42323         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
42324         `struct cmsghdr *' instead of `void *'.
42325         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
42326         Likewise.
42327
42328 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
42329
42330         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
42331         if non-absolute.
42332         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
42333         ldd_rewrite_script.
42334
42335 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
42336
42337         * configure.in: Remove --with-tls option.
42338         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
42339         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
42340         out in case it is missing.
42341         * sysdeps/ia64/elf/configure.in: Likewise.
42342         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
42343         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
42344         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
42345         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
42346         * sysdeps/sh/elf/configure.in: Likewise.
42347         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
42348         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
42349         * sysdeps/x86_64/elf/configure.in: Likewise.
42350         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
42351         * sysdeps/mach/hurd/tls.h: Likewise.
42352
42353         [BZ #13067]
42354         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
42355
42356         [BZ #13090]
42357         * configure.in: Fix use of AC_INIT.
42358
42359         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
42360
42361 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
42362
42363         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
42364         __set_errno.
42365         * malloc/hooks.c: Likewise.
42366
42367         [BZ #11929]
42368         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
42369         variables statically.
42370         (narenas): Initialize.
42371         (list_lock): Initialize.
42372         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
42373         initializtion of main_arena and list_lock.  Small cleanups.
42374         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
42375         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
42376         Add initializers to main_arena and mp_.
42377         (malloc_state): Remove pagesize member.  Change all users to use
42378         GLRO(dl_pagesize).
42379
42380         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
42381         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
42382         is always initialized.
42383
42384         * malloc/malloc.c: Removed unused configurations and dead code.
42385         * malloc/arena.c: Likewise.
42386         * malloc/hooks.c: Likewise.
42387         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
42388
42389         * include/tls.h: Removed.  USE___THREAD must always be defined.
42390         * bits/libc-tsd.h: Don't handle !USE___THREAD.
42391         * elf/dl-libc.c: Likewise.
42392         * elf/dl-tsd.c: Likewise.
42393         * include/errno.h: Likewise.
42394         * include/netdb.h: Likewise.
42395         * include/resolv.h: Likewise.
42396         * inet/herrno-loc.c: Likewise.
42397         * inet/herrno.c: Likewise.
42398         * malloc/arena.c: Likewise.
42399         * malloc/hooks.c: Likewise.
42400         * malloc/malloc.c: Likewise.
42401         * resolv/res-state.c: Likewise.
42402         * resolv/res_libc.c: Likewise.
42403         * sysdeps/i386/dl-machine.h: Likewise.
42404         * sysdeps/ia64/dl-machine.h: Likewise.
42405         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
42406         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
42407         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
42408         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
42409         * sysdeps/sh/dl-machine.h: Likewise.
42410         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
42411         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
42412         * sysdeps/unix/i386/sysdep.S: Likewise.
42413         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42414         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42415         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42416         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42417         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42418         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42419         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42420         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42421         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42422         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42423         * sysdeps/unix/x86_64/sysdep.S: Likewise.
42424         * sysdeps/x86_64/dl-machine.h: Likewise.
42425         * tls.make.c: Likewise.
42426
42427         * configure.in: Remove --with-__thread option.  Make tests for
42428         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
42429         tls_model attribute fail if no support is available.  Remove
42430         USE_IN_LIBIO.
42431         * Makeconfig: Adjust for dropped configure option.  All features are
42432         now mandatory.
42433         * Makerules: Likewise.
42434         * Versions.def: Likewise.
42435         * argp/argp-fmtstream.c: Likewise.
42436         * argp/argp-fmtstream.h: Likewise.
42437         * argp/argp-help.c: Likewise.
42438         * assert/assert.c: Likewise.
42439         * config.h.in: Likewise.
42440         * config.make.in: Likewise.
42441         * configure: Likewise.
42442         * configure.in: Likewise.
42443         * csu/Versions: Likewise.
42444         * csu/init.c: Likewise.
42445         * elf/tst-audit2.c: Likewise.
42446         * elf/tst-tls10.c: Likewise.
42447         * elf/tst-tls10.h: Likewise.
42448         * elf/tst-tls11.c: Likewise.
42449         * elf/tst-tls12.c: Likewise.
42450         * elf/tst-tls14.c: Likewise.
42451         * elf/tst-tlsmod11.c: Likewise.
42452         * elf/tst-tlsmod12.c: Likewise.
42453         * elf/tst-tlsmod13.c: Likewise.
42454         * elf/tst-tlsmod13a.c: Likewise.
42455         * elf/tst-tlsmod14a.c: Likewise.
42456         * elf/tst-tlsmod15b.c: Likewise.
42457         * elf/tst-tlsmod16a.c: Likewise.
42458         * elf/tst-tlsmod16b.c: Likewise.
42459         * elf/tst-tlsmod7.c: Likewise.
42460         * elf/tst-tlsmod8.c: Likewise.
42461         * elf/tst-tlsmod9.c: Likewise.
42462         * gmon/gmon.c: Likewise.
42463         * grp/fgetgrent_r.c: Likewise.
42464         * grp/putgrent.c: Likewise.
42465         * hurd/fopenport.c: Likewise.
42466         * include/libc-symbols.h: Likewise.
42467         * include/tls.h: Likewise.
42468         * intl/gettextP.h: Likewise.
42469         * intl/loadinfo.h: Likewise.
42470         * locale/global-locale.c: Likewise.
42471         * locale/localeinfo.h: Likewise.
42472         * mach/devstream.c: Likewise.
42473         * malloc/arena.c: Likewise.
42474         * malloc/set-freeres.c: Likewise.
42475         * misc/err.c: Likewise.
42476         * misc/getttyent.c: Likewise.
42477         * misc/mntent_r.c: Likewise.
42478         * posix/getopt.c: Likewise.
42479         * posix/wordexp.c: Likewise.
42480         * pwd/fgetpwent_r.c: Likewise.
42481         * resolv/Versions: Likewise.
42482         * resolv/res_hconf.c: Likewise.
42483         * shadow/fgetspent_r.c: Likewise.
42484         * shadow/putspent.c: Likewise.
42485         * stdio-common/printf_fphex.c: Likewise.
42486         * stdio-common/tmpfile.c: Likewise.
42487         * stdlib/abort.c: Likewise.
42488         * stdlib/fmtmsg.c: Likewise.
42489         * sunrpc/auth_unix.c: Likewise.
42490         * sunrpc/clnt_perr.c: Likewise.
42491         * sunrpc/clnt_tcp.c: Likewise.
42492         * sunrpc/clnt_udp.c: Likewise.
42493         * sunrpc/clnt_unix.c: Likewise.
42494         * sunrpc/openchild.c: Likewise.
42495         * sunrpc/svc_simple.c: Likewise.
42496         * sunrpc/svc_tcp.c: Likewise.
42497         * sunrpc/svc_udp.c: Likewise.
42498         * sunrpc/svc_unix.c: Likewise.
42499         * sunrpc/xdr.c: Likewise.
42500         * sunrpc/xdr_array.c: Likewise.
42501         * sunrpc/xdr_rec.c: Likewise.
42502         * sunrpc/xdr_ref.c: Likewise.
42503         * sunrpc/xdr_stdio.c: Likewise.
42504
42505 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42506
42507         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
42508
42509 2011-07-03  Andreas Jaeger  <aj@suse.de>
42510
42511         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
42512         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
42513         regenerate with gen-libm-tests.pl.
42514
42515 2010-05-12  Petr Baudis  <pasky@suse.cz>
42516
42517         [BZ #11589]
42518         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
42519         around j0() zero points by switching to j1().
42520         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
42521         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
42522         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
42523         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
42524
42525 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42526
42527         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
42528         instead of 0.
42529         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
42530         instead of 0.
42531         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
42532         Patch in part by Pavel Roskin <proski@gnu.org>.
42533
42534         [BZ #13138]
42535         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
42536         realloc.
42537         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
42538         Free memory block if necessary.
42539
42540         [BZ #12847]
42541         * libio/genops.c (INTDEF): For string streams the _lock pointer can
42542         be NULL.  Don't lock in this case.
42543
42544 2011-09-09  Roland McGrath  <roland@hack.frob.com>
42545
42546         * elf/elf.h (ELFOSABI_GNU): New macro.
42547         (ELFOSABI_LINUX): Define to that.
42548
42549 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
42550
42551         * string/strncat.c (strncat): Undef the symbol in case it has been
42552         defined in bits/string.h.
42553
42554 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
42555
42556         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
42557
42558         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
42559         link map.
42560
42561 2011-08-17  Andreas Jaeger  <aj@suse.de>
42562
42563         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
42564
42565 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
42566             Ian Lance Taylor  <iant@google.com>
42567
42568         * math/libm-test.inc (lround_test): New testcase.
42569         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
42570
42571 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
42572
42573         * Makefile: Remove support for automatic cvs check-ins.
42574         * Makerules: Likewise.
42575         * config.make.in: Likewise.
42576         * configure.in: Likewise.
42577         * intl/Makefile: Likewise.
42578         * locale/Makefile: Likewise.
42579         * po/Makefile: Likewise.
42580         * posix/Makefile: Likewise.
42581         * sysdeps/gnu/Makefile: Likewise.
42582         * sysdeps/mach/hurd/Makefile: Likewise.
42583         * sysdeps/sparc/sparc32/Makefile: Likewise.
42584
42585         [BZ #13118]
42586         * posix/Makefile (bug-regex32-ENV): Define.
42587         Patch by John Stanley <jpsinthemix@verizon.net>.
42588
42589         * misc/Makefile (headers): Add bits/select2.h.
42590         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
42591         * misc/bits/select2.h: New file.
42592         * include/bits/select2.h: New file.
42593         * debug/Makefile (routines): Add fdelt_chk.
42594         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
42595         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
42596         FD_ISSET.
42597         * debug/fdelt_chk.c: New file.
42598
42599         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
42600         * wcsmbs/test-wmemcmp.c: Likewise.
42601         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
42602         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
42603
42604 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42605
42606         * string/Makefile (strop-tests): Add memcmp.
42607         * string/test-wmemcmp.c: New file.
42608         * string/test-memcmp.c: Add wmemcmp support.
42609
42610 2011-09-08  Roland McGrath  <roland@hack.frob.com>
42611
42612         [BZ #13153]
42613         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
42614         2011-07-19 change.
42615
42616         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
42617         garbage value in a __mach_port_mod_refs call in the cases of the
42618         task-self and thread-self ports.
42619
42620 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42621
42622         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
42623
42624 2011-09-08  Andreas Schwab  <schwab@redhat.com>
42625
42626         * elf/dl-load.c (lose): Check for non-null L.
42627
42628 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42629
42630         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
42631
42632         * elf/dl-libc.c (dlerror_run): Pass back error code from
42633         dl_catch_error.
42634
42635         [BZ #13123]
42636         * elf/dl-load.c (lose): Free l_origin if it is valid.
42637
42638         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
42639         names.
42640         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42641         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42642         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42643         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42644         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42645         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
42646
42647 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42648
42649         * sysdeps/powerpc/fpu/e_hypot.c: New file.
42650         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
42651         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
42652         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
42653         * sysdeps/powerpc/fpu/k_cosf.c: New file.
42654         * sysdeps/powerpc/fpu/k_sinf.c: New file.
42655         * sysdeps/powerpc/fpu/s_cosf.c: New file.
42656         * sysdeps/powerpc/fpu/s_sinf.c: New file.
42657         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
42658         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
42659
42660 2011-08-15  Alan Modra  <amodra@gmail.com>
42661
42662         [BZ #13092]
42663         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
42664         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
42665         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
42666         ppc_mcount to static-only-routines.
42667         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
42668         __mcount_internal.
42669         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
42670         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
42671
42672 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
42673
42674         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
42675         for finite and infinity parameters.
42676
42677 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
42678
42679         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
42680         and add nop instructions for throughput optimization.
42681         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42682
42683 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
42684
42685         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
42686         aligned copy for power7 with vector-scalar instructions.
42687         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
42688
42689 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
42690
42691         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
42692         AVX check.
42693
42694 2011-09-07  Andreas Schwab  <schwab@redhat.com>
42695
42696         [BZ #13144]
42697         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
42698         last change.
42699
42700 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
42701
42702         * sysdeps/unix/sysv/linux/x86_64/init-first.c
42703         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
42704         syscall wrapper around clock_gettime in __vdso_clock_gettime.
42705         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
42706         clock_gettime.
42707
42708 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42709
42710         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
42711         Forgot to demangle the pointer.
42712
42713         * sysdeps/i386/sysdep.h: Define atom_text_section.
42714         * sysdeps/x86_64/sysdep.h: Likewise.
42715         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
42716         section with atom_text_section.
42717         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42718         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42719         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42720         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
42721         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
42722
42723         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
42724         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
42725         already be defined.  Change to take two parameters and don't assign
42726         result to variable.  Adjust all users.
42727         Define INTERNAL_GETTIME if not already defined.
42728         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
42729         call.
42730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
42731         HAVE_CLOCK_GETTIME_VSYSCALL.
42732         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
42733
42734         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
42735         gettimeofday vsyscall, just use time.
42736
42737 2011-09-06  Andreas Schwab  <schwab@redhat.com>
42738
42739         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
42740         <errno.h>.
42741
42742 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
42743
42744         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
42745         syscall on x86-64.
42746         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
42747         syscall.
42748         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
42749         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
42750         syscall if possible.
42751
42752 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42753
42754         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
42755         e_ident.  Don't pass to find_mapsXX.
42756         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
42757
42758 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42759
42760         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42761         strchr-sse2-no-bsf strrchr-sse2-no-bsf
42762         * sysdeps/x86_64/multiarch/strchr.S: Update.
42763         Check bit_slow_BSF bit.
42764         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
42765         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
42766         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
42767
42768 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42769
42770         [BZ #13134]
42771         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
42772         before glibc 2.15.
42773         (tryshell): Define.
42774         (__spawni): Change last parameter to be flag.  Test
42775         SPAWN_XFLAGS_USE_PATH flag to use path or not.
42776         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
42777         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
42778         * posix/spawni.c: Likewise.
42779         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
42780         * posix/spawnp.c: Likewise.  Change normal version to use
42781         SPAWN_XFLAGS_USE_PATH.
42782         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
42783         SPAWN_XFLAGS_TRY_SHELL.
42784
42785         [BZ #13150]
42786         * posix/glob.h: Remove gcc 1.x support.
42787
42788         [BZ #13068]
42789         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
42790
42791 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
42792
42793         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42794         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
42795         strrchr-sse2-bsf
42796         * sysdeps/i386/i686/multiarch/strchr.S: New file.
42797         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
42798         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
42799         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
42800         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
42801         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
42802
42803 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42804
42805         * sysdeps/x86_64/wcscmp.S: New file.
42806
42807         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
42808         wcscmp-c wcscmp-sse2
42809         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
42810         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
42811         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
42812         * wcsmbs/wcscmp.c: Allow renaming.
42813
42814 2011-09-05  David S. Miller  <davem@davemloft.net>
42815
42816         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
42817         stack slot, rather than the struct return pointer slot.
42818         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
42819         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
42820         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
42821         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
42822
42823 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
42824
42825         * po/ja.po: Update from translation team.
42826
42827         [BZ #13144]
42828         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
42829         kernel in 64-bit binaries.
42830
42831 2011-09-01  David S. Miller  <davem@davemloft.net>
42832
42833         * elf/elf.h (HWCAP_SPARC_*): Move to..
42834         * sysdeps/sparc/sysdep.h: this new file and add new values.
42835         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
42836         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
42837         _DL_HWCAP_COUNT to 24.
42838         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
42839         entries.
42840         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
42841         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
42842         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
42843         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
42844         instead of magic constants.
42845         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42846
42847 2011-08-31  David S. Miller  <davem@davemloft.net>
42848
42849         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
42850         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
42851         Reimplement to do errno handling inline.
42852         (SYSCALL_ERROR_HANDLER): New macro.
42853         (__SYSCALL_STRING): Do not do errno handling in asm.
42854         (__CLONE_SYSCALL_STRING): Delete.
42855         (__INTERNAL_SYSCALL_STRING): Delete.
42856         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
42857         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
42858         (PSEUDO): Reimplement to do errno handling inline.
42859         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
42860         (SYSCALL_ERROR_HANDLER): New macro.
42861         (__SYSCALL_STRING): Do not do errno handling in asm.
42862         (__CLONE_SYSCALL_STRING): Delete.
42863         (__INTERNAL_SYSCALL_STRING): Delete.
42864         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
42865         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
42866         i386.
42867         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
42868         (inline_syscall*): Add 'err' argument.
42869         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
42870         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
42871         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
42872         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
42873
42874         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
42875         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
42876
42877 2011-08-30  Andreas Schwab  <schwab@redhat.com>
42878
42879         * elf/rtld.c (dl_main): Relocate objects in dependency order.
42880
42881 2011-08-29  Jiri Olsa <jolsa@redhat.com>
42882
42883         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
42884         directive.
42885
42886 2011-08-24  David S. Miller  <davem@davemloft.net>
42887
42888         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
42889
42890 2011-08-24  Andreas Schwab  <schwab@redhat.com>
42891
42892         * elf/Makefile: Add rules to build and run unload8 test.
42893         * elf/unload8.c: New file.
42894         * elf/unload8mod1.c: New file.
42895         * elf/unload8mod1x.c: New file.
42896         * elf/unload8mod2.c: New file.
42897         * elf/unload8mod3.c: New file.
42898
42899         * elf/dl-close.c (_dl_close_worker): Reset private search list if
42900         it wasn't used.
42901
42902 2011-08-23  David S. Miller  <davem@davemloft.net>
42903
42904         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
42905         subtract stack bias.
42906         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
42907         %sp not %fp in calculations.
42908         (_JMPBUF_UNWINDS_ADJ): Likewise.
42909
42910         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
42911         (aio_suspend): Call it to force an exception region around the
42912         AIO_MISC_WAIT() invocation.
42913
42914 2011-08-23  Andreas Schwab  <schwab@redhat.com>
42915
42916         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
42917         backslash.
42918
42919 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
42920
42921         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
42922         protection macro.
42923         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
42924         and <dl-machine.h>.
42925         (Elf64_FuncDesc): Remove.
42926
42927 2011-08-22  David S. Miller  <davem@davemloft.net>
42928
42929         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
42930         sigaltstack check, add missing cfi directives.
42931         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
42932         missing cfi directives, and sigaltstack handling.
42933
42934 2011-08-16  Andreas Schwab  <schwab@redhat.com>
42935
42936         [BZ #11724]
42937         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
42938         object is seen twice.
42939         * elf/dl-fini.c (_dl_sort_fini): Likewise.
42940
42941         * elf/Makefile (distribute): Add tst-initorder2.c.
42942         (tests): Add tst-initorder2.
42943         (modules-names): Add tst-initorder2a tst-initorder2b
42944         tst-initorder2c tst-initorder2d.  Add rules to build them.
42945         ($(objpfx)tst-initorder2.out): New rule.
42946         * elf/tst-initorder2.c: New file.
42947         * elf/tst-initorder2.exp: New file.
42948
42949 2011-08-22  Andreas Schwab  <schwab@redhat.com>
42950
42951         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
42952
42953         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
42954         dependencies back to end of function.
42955
42956         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42957         $(elfobjdir)/ld.so.
42958
42959 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
42960
42961         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
42962         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
42963         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
42964         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
42965         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
42966         of __vdso_gettimeofday.
42967         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
42968         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
42969         attribute_hidden.
42970         (_libc_vdso_platform_setup): Remove initialization of
42971         __vdso_gettimeofday and __vdso_time.
42972
42973 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42974
42975         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
42976         and fgetc_unlocked.
42977         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
42978         getc_unlocked.
42979
42980         * elf/dl-open.c (add_to_global): Report additions to the global scope
42981         for LD_DEBUG=scopes.
42982         (dl_open_worker): Also print scope of newly loaded dependencies.
42983         (_dl_show_scope): Indicate if there is no scope.
42984
42985         [BZ #13114]
42986         * stdio-common/Makefile (tests): Add bug24.
42987         * stdio-common/bug24.c: New file.
42988
42989 2011-08-19  Andreas Jaeger  <aj@suse.de>
42990
42991         [BZ #13114]
42992         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
42993         non-existant file when using close-on-exec mode.
42994
42995 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
42996
42997         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
42998         the very first instruction.
42999
43000         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
43001         the CFI state in the end.
43002         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
43003         inclusion of dl-trampoline.h.
43004         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
43005
43006 2011-08-19  Andreas Schwab  <schwab@redhat.com>
43007
43008         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
43009         expectations for long double.
43010
43011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
43012         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
43013
43014 2011-08-14  David S. Miller  <davem@davemloft.net>
43015
43016         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
43017         artificual limit depends upon the system page size.
43018
43019 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43020
43021         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
43022         * resolv/Makefile: Define CFLAGS-libresolv.
43023
43024 2011-08-17  Andreas Schwab  <schwab@redhat.com>
43025
43026         * nss/makedb.c (compute_tables): Make variables used in nested
43027         function static.
43028
43029 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
43030
43031         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
43032         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
43033         if buffer was too small.
43034
43035         * elf/pldd.c (main): Attach to all threads in the process.
43036         Rewrite /proc handling to use *at functions.
43037
43038 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
43039
43040         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
43041         specifies first scope to show.
43042         (dl_open_worker): Update callers.  Move printing scope of new
43043         object to before the relocation.
43044         * elf/rtld.c (dl_main): Update _dl_show_scope call.
43045         * sysdeps/generic/ldsodefs.h: Update declaration.
43046
43047         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
43048         string for the scope number.
43049
43050 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
43051
43052         * nscd/servicescache.c (cache_addserv): Make sure written is always
43053         initialized.
43054
43055 2011-08-14  Roland McGrath  <roland@hack.frob.com>
43056
43057         * sysdeps/i386/i486/bits/atomic.h
43058         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
43059         statement expression, so as to suppress "set but not used" warning.
43060         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
43061
43062         * string/strncat.c (STRNCAT): Use prototype definition.
43063
43064         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
43065         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
43066         -Iprograms here.
43067         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
43068         (localedef-modules): Add localedef.
43069         (locale-modules): Add locale.
43070
43071         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
43072         * elf/rtld.c (dl_main): Invert order of assignment in last change,
43073         to avoid a warning.
43074
43075 2011-08-14  David S. Miller  <davem@davemloft.net>
43076
43077         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
43078         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
43079
43080 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
43081
43082         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
43083         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
43084         * elf/rtld.c (dl_main): Set l_name of vDSO.
43085         Call _dl_show_scope when DL_DEBUG_SCOPES.
43086         (process_dl_debug): Recognize scopes flag and also set it for all.
43087         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
43088         Declare _dl_show_scope.
43089
43090         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
43091         (do_dlopen): Pass caller_dlopen to dl_open.
43092         (__libc_dlopen_mode): Initialize caller_dlopen.
43093
43094         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
43095         of libc.  Make tolower call locale-independent.  Optimize a bit by
43096         using isdigit instead of isalnum.
43097         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
43098
43099 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
43100
43101         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
43102         was a dependency or dynamically loaded.
43103
43104 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
43105
43106         * intl/l10nflist.c: Allow architecture-specific pop function.
43107         * sysdeps/x86_64/l10nflist.c: New file.
43108
43109         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
43110         classification.
43111
43112 2011-08-10  Andreas Schwab  <schwab@redhat.com>
43113
43114         * include/dirent.h: Add libc_hidden_proto for scandirat and
43115         scandirat64.  Don't declare __scandirat64.
43116         * dirent/scandirat.c: Add libc_hidden_def.
43117         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
43118         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
43119
43120 2011-08-10  David S. Miller  <davem@davemloft.net>
43121
43122         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
43123         enum.
43124         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43125         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43126         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43127
43128 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
43129
43130         * Versions.def [libc]: Add GLIBC_2.15.
43131         * dirent/Makefile (routines): Add scandirat and scandirat64.
43132         * dirent/Versions [libc]: Export scandirat and scandirat64 for
43133         GLIBC_2.15.
43134         * dirent/dirent.h: Declare scandirat and scandirat64.
43135         * dirent/scandirat.c: New file.
43136         * dirent/scandirat64.c: New file.
43137         * sysdeps/wordsize-64/scandirat.c: New file.
43138         * sysdeps/wordsize-64/scandirat64.c: New file.
43139         * dirent/opendir.c: Define opendirat.
43140         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
43141         using scandirat.
43142         * dirent/scandir64.c: Adjust for scandir.c change.
43143         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
43144         __scandirat64, and __scandir_cancel_handler.
43145         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
43146         additional parameter and use openat instead of open (outside of ld.so).
43147         Add new __opendir as wrapper around __opendirat.
43148         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
43149         here without requiring old scandirat implementation.
43150
43151 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
43152
43153         * dirent/scandir.c (cancel_handler): Renamed to
43154         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
43155         defined.  Adjust users.
43156         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
43157         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
43158
43159 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
43160
43161         * string/test-string.h (IMPL): Use __STRING to expand name and then
43162         stringify it.
43163
43164         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
43165         of cleanups.
43166
43167 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43168
43169         * string/Makefile: Update.
43170         (strop-tests): Append strncat.
43171         * string/test-wcscmp.c: New file.
43172         New comprehensive test for wcscmp.
43173         * string/test-strcmp.c: Update.
43174         (WIDE): New define.
43175
43176 2011-07-22  Andreas Schwab  <schwab@redhat.com>
43177
43178         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
43179         line.
43180
43181 2011-07-26  Andreas Schwab  <schwab@redhat.com>
43182
43183         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43184         encoding to ACE if AI_IDN.
43185
43186 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
43187
43188         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
43189         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
43190
43191 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43192
43193         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
43194         Fix overflow bug in strncat.
43195         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
43196
43197         * string/test-strncat.c: Update.
43198         Add new tests for checking overflow bugs.
43199
43200 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43201
43202         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43203         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
43204         * sysdeps/i386/i686/multiarch/strcat.S: New file.
43205         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
43206         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
43207         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
43208         * sysdeps/i386/i686/multiarch/strncat.S: New file.
43209         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
43210         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
43211
43212         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
43213         (USE_AS_STRCAT): Define.
43214         Add strcat and strncat support.
43215         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
43216
43217 2011-07-25  Andreas Schwab  <schwab@redhat.com>
43218
43219         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
43220         __n bigger than INT_MAX+1.
43221         (__strncmp_g): Likewise.
43222
43223 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
43224
43225         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
43226         * libio/stido.h: Likewise.
43227
43228         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
43229         (AF_NFC): Define.
43230         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
43231         (AF_NFC): Define.
43232
43233         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
43234         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43235         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43236         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
43237         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43238
43239         [BZ #13021]
43240         * scripts/test-installation.pl: Don't expect libnss_test1 to be
43241         installed.
43242
43243         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
43244         typo.
43245         (_dl_x86_64_save_sse): Likewise.
43246
43247 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
43248
43249         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
43250         OSXSAVE.
43251         (_dl_x86_64_save_sse): Likewise.
43252
43253         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
43254
43255         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
43256
43257 2011-07-21  Andreas Schwab  <schwab@redhat.com>
43258
43259         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
43260         change.
43261         (_dl_x86_64_save_sse): Use correct AVX check.
43262
43263 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43264
43265         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
43266         bug in strncpy/strncat.
43267         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
43268
43269 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
43270
43271         * string/tester.c (test_strcat): Add tests for different alignments
43272         of source and destination.
43273         (test_strncat): Likewise.
43274
43275 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43276
43277         [BZ #12852]
43278         * posix/glob.c (glob): Check passed in values before using them in
43279         expressions to avoid some overflows.
43280         (glob_in_dir): Likewise.
43281
43282         [BZ #13007]
43283         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
43284         check for AVX enablement so that we don't crash with old kernels and
43285         new hardware.
43286         * elf/tst-audit4.c: Add same checks here.
43287         * elf/tst-audit6.c: Likewise.
43288
43289         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
43290
43291 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
43292
43293         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
43294
43295 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
43296
43297         * po/cs.po: Update from translation team.
43298         * po/bg.po: Likewise.
43299
43300 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
43301
43302         * misc/sys/cdefs.h: Add support for const attribute.
43303         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
43304         to gnu_dev_{major,minor,makedev} functions.
43305
43306 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
43307
43308         * intl/dcigettext.c (get_output_charset): Add missing bracket.
43309
43310 2011-07-20  Andreas Schwab  <schwab@redhat.com>
43311
43312         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
43313         strlen results.
43314
43315 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43316
43317         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
43318         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
43319         register in order to avoid conflicts with the soft frame pointer
43320         being held in r11 when necessary.
43321         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
43322         (INTERNAL_VSYSCALL_NCS): Likewise.
43323
43324 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
43325
43326         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
43327         * elf/dl-fini.c (_dl_fini): Adjust caller.
43328         * elf/dl-close.c (_dl_close_worker): Likewise.
43329         * sysdeps/generic/ldsodefs.h: Adjust declaration.
43330
43331 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43332
43333         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
43334         "aux_cache->nlibs < 0".
43335
43336         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
43337         in the reload-count case.
43338
43339 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
43340
43341         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43342         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
43343         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
43344         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
43345         * sysdeps/x86_64/multiarch/strcat.S: New file.
43346         * sysdeps/x86_64/multiarch/strncat.S: New file.
43347         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
43348         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
43349         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
43350         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
43351         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
43352         (USE_AS_STRCAT): Define.
43353         Add strcat and strncat support.
43354         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
43355         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
43356         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
43357         * string/strncat.c: Update.
43358         (USE_AS_STRNCAT): Define.
43359         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43360         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
43361         and i7.
43362         * sysdeps/x86_64/multiarch/init-arch.h
43363         (bit_Prefer_PMINUB_for_stringop): New.
43364         (index_Prefer_PMINUB_for_stringop): Likewise.
43365         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
43366         bit_Prefer_PMINUB_for_stringop.
43367
43368 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43369
43370         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
43371         buffer64.
43372         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
43373         of casting of buffer.
43374         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
43375         buffer32 and buffer64.
43376         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
43377         writes instead of casting of buffer.
43378         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
43379         buffer32.
43380         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
43381         casting of buffer.
43382
43383 2011-07-19  Andreas Schwab  <schwab@redhat.com>
43384
43385         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
43386
43387 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
43388
43389         * nscd/nscd.c (termination_handler): Don't do anything for a database
43390         if it has not yet been initialized.
43391
43392 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43393
43394         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43395
43396 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
43397
43398         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
43399
43400 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
43401
43402         * po/nl.po: Update from translation team.
43403         * po/sv.po: Likewise.
43404
43405 2011-07-16  Roland McGrath  <roland@hack.frob.com>
43406
43407         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
43408         now disallowed by GCC.
43409
43410         * configure.in (use-default-link): Default to yes if a test -shared
43411         link meets our qualifications.
43412         * configure: Regenerated.
43413
43414         * config.make.in (output-format): New variable.
43415         * configure.in: Check for ld --print-output-format support.
43416         * configure: Regenerated.
43417         * Makerules ($(common-objpfx)format.lds)
43418         [$(output-format) != unknown]: Just use $(output-format),
43419         instead of the linker-script munging.
43420
43421 2011-07-14  Roland McGrath  <roland@hack.frob.com>
43422
43423         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
43424         of $(common-objpfx)shlib.lds.
43425         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
43426
43427         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
43428         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
43429
43430         * configure.in (-z relro check): Adjust test code to add a large
43431         writable data section after it.
43432         * configure: Regenerated.
43433
43434 2011-07-11  Roland McGrath  <roland@hack.frob.com>
43435
43436         * configure.in (-z relro check): Fix test code to make the variable
43437         truly const.
43438         * configure: Regenerated.
43439
43440 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
43441
43442         * nscd/nscd.h (struct traced_file): Define.
43443         (struct database_dyn): Remove inotify_descr, reset_res, and filename
43444         elements.  Add traced_files.
43445         (inotify_fd): Declare.
43446         (register_traced_file): Declare.
43447         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
43448         (inotify_fd): Export.
43449         (resolv_conf_descr): Remove.
43450         (nscd_init): Move inotify descriptor creation to main.
43451         Don't register files for notification here.
43452         (register_traced_file): New function.
43453         (invalidate_cache): Don't use reset_res to determine whether to call
43454         res_init, go through the list of registered files.
43455         (main_loop_poll): The inotify descriptors are now stored in the
43456         structures for the traced files.
43457         (main_loop_epoll): Likewise
43458         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
43459         to __nss_disable_nscd.
43460         * nscd/cache.c (prune_cache): There is no single inotify descriptor
43461         for a database anymore.  Check the records for all the registered
43462         files instead.
43463         * nss/Makefile (libnss_files-routines): Add files-init.
43464         (libnss_db-routines): Add db-init.
43465         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
43466         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
43467         * nss/nss_db/db-init.c: New file.
43468         * nss/nss_files/files-init.c: New file.
43469         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
43470         __nss_lookup_function.
43471         (__nss_lookup_function): Call nss_load_library.
43472         (nss_load_all_libraries): New function.
43473         (__nss_disable_nscd): Take parameter with callback function for files
43474         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
43475         used for the cached services.
43476         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
43477         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
43478         options for features to all the files in nscd.
43479
43480         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
43481
43482 2011-07-10  Roland McGrath  <roland@hack.frob.com>
43483
43484         * csu/elf-init.c (__libc_csu_init): Comment typo.
43485
43486 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
43487
43488         * po/pl.po: Update from translation team.
43489         * po/ja.po: Likewise.
43490         * po/ru.po: Likewise.
43491         * po/ko.po: Likewise.
43492         * po/fr.po: Likewise.
43493
43494 2011-07-09  Roland McGrath  <roland@hack.frob.com>
43495
43496         * configure.in (.ctors/.dtors header and trailer check):
43497         Use an empirical test on a built program.
43498         * configure: Regenerated.
43499
43500         * configure.in (-z relro check): Use an empirical test on a built DSO.
43501         Detect, but do not require, on ia64.
43502         * configure: Regenerated.
43503
43504         * configure.in (READELF): Find it with AC_CHECK_TOOL.
43505         Update tests that use readelf to use $READELF instead.
43506         * configure: Regenerated.
43507
43508 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
43509
43510         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
43511         if the result is not used.
43512
43513 2011-07-05  Andreas Jaeger  <aj@suse.de>
43514
43515         [BZ#9696]
43516         * stdlib/tst-strtod.c: Add testcase.
43517
43518 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
43519
43520         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
43521         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
43522         The latter has a higher limit.  Take additional parameter to pass to
43523         the new function.
43524         (__pathconf): Pass file to __statfs_link_max.
43525         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
43526         __statfs_link_max.
43527         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
43528         __statfs_link_max.
43529
43530         [BZ #12868]
43531         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
43532         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43533         Handle Lustre.
43534         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
43535         (__statfs_filesize_max): Likewise.
43536         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
43537
43538 2011-07-05  Andreas Jaeger  <aj@suse.de>
43539
43540         * resolv/res_comp.c (dn_skipname): Remove unused variable.
43541
43542 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
43543
43544         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
43545         `status' variable.
43546         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
43547         Likewise.
43548
43549 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
43550
43551         * Makefile (strop-tests): Add strncat.
43552         * string/test-strncat.c: New file.
43553
43554 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
43555
43556         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
43557
43558 2011-06-21  Andreas Jaeger  <aj@suse.de>
43559
43560         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
43561         Copy rule from iconvdata/Makefile.
43562
43563 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43564
43565         [BZ #12922]
43566         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
43567         but no long options are defined, just return 'W'.
43568
43569 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
43570
43571         [BZ #9696]
43572         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
43573
43574 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
43575
43576         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
43577         netgroups to read.
43578         (innetgr): Likewise.
43579
43580 2011-07-05  Roland McGrath  <roland@hack.frob.com>
43581
43582         * config.make.in (install_root): Default to $(DESTDIR).
43583
43584 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
43585
43586         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
43587
43588 2011-07-02  Roland McGrath  <roland@hack.frob.com>
43589
43590         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
43591
43592         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
43593         containing directory rather than embedding absolute directory names.
43594
43595         * scripts/check-local-headers.sh: Rewritten using awk.
43596         Match by word, not by line.  Print error messages for matches.
43597         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
43598
43599         * Makerules [shlib-lds-flags empty]:
43600         ($(common-objpfx)libc_pic.opts): New target.
43601         ($(common-objpfx)libc_pic.os.clean): New target.
43602         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
43603
43604         * config.make.in (OBJCOPY): New variable.
43605         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
43606         * configure: Regenerated.
43607
43608         * config.make.in (use-default-link): New variable.
43609         * configure.in (use_default_link): Grok --with-default-link to set it.
43610         * configure: Regenerated.
43611         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
43612         (shlib-lds, shlib-lds-flags): Define to empty.
43613
43614         * Makerules (shlib-lds): New variable.
43615         (shlib-lds-flags): New variable.
43616         (build-shlib, build-moduile, build-module-asneeded): Use it.
43617         ($(common-objpfx)libc.so): Use $(shlib-lds).
43618         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
43619         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
43620
43621         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
43622         DT_FLAGS/DT_FLAGS_1 with zero flags.
43623
43624         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
43625         linker script munging.
43626
43627 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
43628
43629         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
43630         as 128-bit value.
43631         * crypt/sha512.c (sha512_process_block): Perform total addition using
43632         128-bit if possible.
43633         (__sha512_finish_ctx): Likewise.
43634         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
43635         as 64-bit value.
43636         * crypt/sha256.c (SWAP64): Define.
43637         (sha256_process_block): Perform total addition using 64-bit if
43638         possible.
43639         (__sha256_finish_ctx): Likewise.
43640
43641 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
43642
43643         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
43644         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43645         * nscd/hstcache.c (cache_addhst): Likewise.
43646         * nscd/grpcache.c (cache_addgr): Likewise.
43647         * nscd/aicache.c (addhstaiX): Likewise
43648         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
43649
43650 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
43651
43652         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
43653         * nscd/initgrcache.c (addinitgroupsX): Likewise.
43654         * nscd/hstcache.c (cache_addhst): Likewise.
43655         * nscd/grpcache.c (cache_addgr): Likewise.
43656         * nscd/aicache.c (addhstaiX): Likewise
43657
43658 2011-07-01  Andreas Schwab  <schwab@redhat.com>
43659
43660         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
43661         domain only when needed.
43662
43663 2011-06-30  Andreas Schwab  <schwab@redhat.com>
43664
43665         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
43666         is always restored.
43667
43668 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
43669
43670         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
43671         are re-adding the entry.
43672         * nscd/servicescache.c (cache_addserv): Likewise.
43673
43674 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
43675
43676         * sysdeps/generic/dl-irel.h: fix protection against multiple
43677         inclusions.
43678         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
43679
43680 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
43681
43682         [BZ #12935]
43683         * malloc/memusage.sh: Fix quoting in message.
43684         * debug/xtrace.sh: Likewise.
43685
43686         * configure.in: Remove support for --experimental-malloc option, make
43687         it the default.
43688         * config.make.in: Likewise.
43689         * malloc/Makefile: Likewise.
43690
43691 2011-06-27  Andreas Schwab  <schwab@redhat.com>
43692
43693         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
43694         two-byte characters.
43695
43696 2011-06-27  Roland McGrath  <roland@hack.frob.com>
43697
43698         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
43699         AC_CACHE_CHECK invocation.
43700         * configure: Regenerated.
43701
43702         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
43703
43704 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
43705
43706         [BZ #12350]
43707         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
43708         bit from old_res_options.
43709
43710         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
43711
43712         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
43713         value type for setfct.
43714
43715 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
43716
43717         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43718         __gettimeofday instead of gettimeofday.
43719
43720 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
43721
43722         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
43723
43724 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
43725
43726         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
43727
43728         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
43729         info.
43730
43731 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43732
43733         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43734         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43735         strcpy-sse2-unaligned strncpy-sse2-unaligned
43736         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
43737         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
43738         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
43739         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
43740         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
43741         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
43742         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
43743         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
43744         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
43745         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
43746         (STRCPY): Support SSE2 and SSSE3 versions.
43747
43748 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
43749
43750         [BZ #12874]
43751         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
43752         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
43753         kernels which artificially limit size of requests.
43754
43755 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
43756
43757         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
43758         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
43759         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
43760         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
43761         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
43762         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
43763         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
43764         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
43765         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
43766         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
43767         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
43768         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
43769         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
43770         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
43771         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
43772         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43773         Enable unaligned load optimization for Intel Core i3, i5 and i7
43774         processors.
43775         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
43776         Define.
43777         (index_Fast_Unaligned_Load): Define.
43778         (HAS_FAST_UNALIGNED_LOAD): Define.
43779
43780 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
43781
43782         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
43783
43784 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43785
43786         [BZ #12907]
43787         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
43788         until it is clear that the information is realy needed.
43789         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
43790
43791 2011-06-22  Andreas Schwab  <schwab@redhat.com>
43792
43793         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
43794
43795 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
43796
43797         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
43798         /sys/devices/system/cpu/online if it is usable.
43799
43800         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
43801         reading the information from the /proc filesystem to once a second.
43802
43803 2011-06-21  Andreas Jaeger  <aj@suse.de>
43804
43805         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
43806         NULL after inclusion of kernel headers.
43807
43808 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
43809
43810         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
43811         calls to internal_setent.
43812
43813         [BZ #12885]
43814         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
43815         addresses using gethostbyname4_r ignore IPv4 addresses.
43816
43817         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
43818         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
43819
43820         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
43821
43822 2011-06-20  David S. Miller  <davem@davemloft.net>
43823
43824         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
43825         inclusions.
43826         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
43827
43828         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
43829         (elf_irel): Use it.
43830         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
43831         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
43832         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
43833         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
43834         * sysdeps/x86_64/dl-irel.h: Likewise.
43835
43836         * elf/dl-runtime.c: Use elf_ifunc_invoke.
43837         * elf/dl-sym.c: Likewise.
43838
43839 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43840
43841         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
43842         need to dereference resplen2.
43843
43844 2011-06-14  Andreas Schwab  <schwab@redhat.com>
43845
43846         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
43847
43848 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
43849
43850         * Makeconfig: Define vardbdir and inst_vardbdir.
43851         * nss/Makefile: Add rules to install db-Makefile.
43852
43853         * nss/nss_db/db-XXX.c: Cleanup.
43854
43855         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
43856         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
43857         GLIBC_PRIVATE.
43858         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
43859         * nss/makedb.c: Implement -g option to specify that value strings
43860         are generated and should not be added to table iterated over for
43861         get*ent calls.
43862         * nss/nss_db/db-initgroups.c: New file.
43863
43864         * nss/getent.c: Add support for initgroups lookups through getgrouplist
43865         interface.
43866
43867         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
43868         (internal_getgrouplist): Adjust to name change.
43869         Update use_initgroups_entry if this is not the first call.
43870         * nss/databases.def: Add initgroups entry.
43871
43872         * nss/makedb.c (compute_tables): Check result of multiple hash table
43873         sizes to minimize maximum chain length.
43874
43875 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
43876
43877         * Versions.def: Add entry for libnss_db.
43878         * shlib-versions: Likewise.
43879         * nss/Makefile: Add rules to build libnss_db.
43880         * nss/Versions: Add libnss_db information.  Organize libnss_files
43881         entries better.
43882         * nss/db-Makefile: Add gshadow support.  Change rules for the new
43883         makedb progra.  Some minor improvements to generate smaller files.
43884         * nss/nss_db/nss_db.h: Move NSS database header data structures to
43885         here from...
43886         * nss/makedb.c: ...here.
43887         Improve database format to be smaller and require less memory at
43888         runtime.
43889         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
43890         db anymore.
43891         * nss/nss_db/db-netgrp.c: Likewise.
43892         * nss/nss_db/db-open.c: Likewise.
43893         * nss/nss_files/flies-XXX.x: Adjust comments.
43894         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
43895         * nss/nss_files/files-grp.c: Likewise.
43896         * nss/nss_files/files-hosts.c: Likewise.
43897         * nss/nss_files/files-network.c: Likewise.
43898         * nss/nss_files/files-proto.c: Likewise.
43899         * nss/nss_files/files-pwd.c: Likewise.
43900         * nss/nss_files/files-rpc.c: Likewise.
43901         * nss/nss_files/files-service.c: Likewise.
43902         * nss/nss_files/files-sgrp.c: Likewise.
43903         * nss/nss_files/files-spwd.c: Likewise.
43904         * nss/nss_db/db-alias.c: Removed.
43905         * nss/nss_db/dummy-db.h: Removed.
43906
43907 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
43908
43909         * nss/makedb.c: Rewritten to not use database library.
43910         * nss/Makefile: Update to build new makedb program.
43911
43912 2011-06-14  Andreas Jaeger  <aj@suse.de>
43913
43914         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
43915         memset declaration.
43916
43917 2011-06-10  Andreas Schwab  <schwab@redhat.com>
43918
43919         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
43920         tmpbuf.
43921
43922 2011-06-10  Roland McGrath  <roland@hack.frob.com>
43923
43924         * Makerules (shlib.lds): Fail if the linker script comes out empty.
43925         * elf/Makefile ($(objpfx)ld.so): Likewise.
43926
43927         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
43928         Don't list ld.so twice in dependencies.
43929
43930         * posix/bug-regex31.c: Include <stdlib.h>.
43931
43932         * nscd/hstcache.c (cache_addhst): Remove unused variable.
43933
43934         * nis/nss_compat/compat-spwd.c
43935         (getspent_next_nss_netgr): Remove unused variable.
43936         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
43937
43938         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
43939         nonmembers" output to use the right array.
43940
43941         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
43942
43943         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
43944
43945         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
43946         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
43947         * catgets/gencat.c (read_input_file): Likewise.
43948         * locale/programs/locarchive.c (enlarge_archive): Likewise.
43949
43950         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
43951         variable definition inside #if's controlling its use.
43952
43953         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
43954
43955         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
43956
43957         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
43958
43959         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
43960         unreachable code.
43961
43962         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
43963
43964         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
43965         * configure: Regenerated.
43966
43967         * Makerules: Revert last change.
43968         * elf/Makefile: Likewise.
43969
43970 2011-06-09  Roland McGrath  <roland@hack.frob.com>
43971
43972         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
43973         * elf/Makefile ($(objpfx)librtld.os): Likewise.
43974         (reloc-link): Likewise.
43975
43976 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
43977
43978         * elf/Makefile: Add rules to build pldd.
43979         * elf/pldd.c: New file.
43980         * elf/pldd-xx.c: New file.
43981
43982 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
43983
43984         * version.h: Update for 2.15 development version.
43985
43986 2011-06-07  David S. Miller  <davem@davemloft.net>
43987
43988         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
43989         ifuncs.
43990         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
43991         elf_machine_lazy_rel): Likewise.
43992         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
43993         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
43994         elf_machine_lazy_rel): Likewise.
43995         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
43996         dl_hwcap via passed in argument.
43997         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
43998         Likewise.
43999
44000 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44001
44002         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
44003
44004 2011-06-06  Roland McGrath  <roland@hack.frob.com>
44005
44006         [BZ #12849]
44007         * manual/fdl-1.1.texi: New file, verbatim from:
44008         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
44009         * manual/lgpl-2.1.texi: New file, verbatim from:
44010         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
44011         * manual/Makefile (licenses): New variable, list those new file names.
44012         (texis): Use it.
44013         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
44014
44015         * manual/fdl.texi: File removed.
44016         * manual/lesser.texi: File removed.
44017         * manual/libc.texinfo (Copying, Documentation License):
44018         Use new @include file names, put @appendix directive before @include.
44019
44020 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
44021
44022         [BZ #12841]
44023         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
44024         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
44025         (mq_open): Add __NTH.
44026
44027 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
44028
44029         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44030         Assume Intel Core i3/i5/i7 processor if AVX is available.
44031
44032 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44033
44034         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44035         typo.
44036
44037 2011-05-31  Andreas Schwab  <schwab@redhat.com>
44038
44039         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
44040         memory.  Use alloca_account.  Fix memory leak when retrying.
44041
44042 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
44043
44044         * version.h (RELEASE): Bump for 2.14 release.
44045         * include/features.h (__GLIBC_MINOR__): Bump to 14.
44046
44047         * config.make.in (RANLIB): Remove entry.
44048
44049 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
44050
44051         * po/Makefile (po-sed-cmd): Add ksh to extensions.
44052         (libc.pot): Work around missing support for .ksh extension in xgettext.
44053
44054         [BZ #12684]
44055         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
44056         if both request failed.
44057         (send_dg): In case of server errors clear resplen or *resplen2.
44058
44059         [BZ #12454]
44060         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
44061         when there are multiple maps.
44062         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
44063         (_dl_fini): Remove test here.
44064
44065         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
44066
44067 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
44068
44069         [BZ #12350]
44070         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
44071         bit from old_res_options.
44072         (gaih_inet): Likewise.
44073
44074         [BZ #11099]
44075         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
44076         as signed.
44077
44078         * resolv/res_init.c (res_setoptions): Make the code more compact.
44079
44080         [BZ #11558]
44081         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
44082         set RES_USEVC.
44083
44084         [BZ #11634]
44085         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
44086
44087         * malloc/malloc.h: Mark malloc hook variables as deprecated.
44088
44089         [BZ #11781]
44090         * malloc/malloc.h: Declare malloc hook variables as volatile.
44091
44092         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
44093         in last patch.
44094
44095         [BZ #11799]
44096         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
44097         raise in the comment.
44098         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44099         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44100         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
44101
44102 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
44103
44104         [BZ #12811]
44105         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
44106         grow the buffers more if it already has to be sufficient.
44107         (build_wcs_upper_buffer): Likewise.
44108         * posix/regexec.c (check_matching): Likewise.
44109         (clean_state_log_if_needed): Likewise.
44110         (extend_buffers): Don't enlarge buffers beyond size of the input
44111         buffer.
44112         Patches mostly by Emil Wojak <emil@wojak.eu>.
44113         * posix/bug-regex32.c: New file.
44114         * posix/Makefile (tests): Add bug-regex32.
44115
44116         * locale/findlocale.c (_nl_find_locale): Return right away if
44117         _nl_explode_name failed.
44118         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
44119
44120         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
44121
44122         * debug/xtrace.sh: Unify messages.
44123         * malloc/memusage.sh: Likewise.
44124
44125         [BZ #12813]
44126         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
44127         time symbol from vDSO.  Substitute with vsyscall if not available.
44128         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
44129         __vdso_time.
44130
44131         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
44132         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
44133         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
44134         Add sendmmsg and internal_sendmmsg.
44135         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
44136         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
44137         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
44138
44139         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
44140         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
44141         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
44142
44143 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
44144
44145         [BZ #12813]
44146         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
44147         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
44148         available.
44149         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
44150         __vdso_getcpu.
44151
44152         [BZ #12814]
44153         * iconvdata/Makefile (tests): Add bug-iconv9.
44154         * iconvdata/bug-iconv9.c: New file.
44155
44156 2011-05-27  Andreas Schwab  <schwab@redhat.com>
44157
44158         [BZ #12814]
44159         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
44160
44161 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
44162
44163         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44164         (struct user_regs_struct): Change intcs field back to cs.
44165
44166 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
44167
44168         * po/ja.po: Update from translation team.
44169
44170 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
44171
44172         [BZ #12795]
44173         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
44174         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
44175
44176 2011-05-20  Andreas Schwab  <schwab@redhat.com>
44177
44178         * stdlib/longlong.h: Update from GCC.
44179
44180 2011-05-23  Andreas Schwab  <schwab@redhat.com>
44181
44182         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
44183         parameter name.
44184         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
44185         Add parameter name.
44186         (__sysconf): Pass it down.
44187
44188 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
44189
44190         [BZ #12671]
44191         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
44192         some situations.
44193         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
44194         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
44195         add in in __libc_use_alloca calls.  Adjust callers.
44196         (glob): Use malloc in some situations.
44197
44198         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
44199         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
44200         pltexit.
44201
44202 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
44203
44204         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
44205         and CLOCK_BOOTTIME_ALARM.
44206
44207         [BZ #12782]
44208         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
44209         is returned.
44210
44211         * string/_strerror.c (__strerror_r): Print negative errors as signed
44212         numbers.
44213
44214         [BZ #12777]
44215         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
44216         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
44217         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
44218
44219         * configure.in: Fix typo in redirection and correct removal of test
44220         files in two cases.
44221
44222         [BZ #12788]
44223         * locale/setlocale.c (new_composite_name): Fix test to check for
44224         identical name of all categories.
44225
44226         [BZ #12792]
44227         * libio/filedoalloc.c (local_isatty): New function.
44228         (_IO_file_doallocate): Use local_isatty.
44229         * stdio-common/perror.c (perror): In case a new stream is used
44230         forward the stream error.
44231         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
44232         error flag.
44233
44234 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
44235
44236         [BZ #11869]
44237         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
44238         alloca.
44239         * include/alloca.h (extend_alloca_account): Define.
44240
44241         [BZ #11857]
44242         * posix/regex.h: Fix comments with documentation of user-accessible
44243         fields after compilation and describe correct free'ing of pattern
44244         after re_compile_pattern.
44245         Patch by Reuben Thomas <rrt@sc3d.org>.
44246
44247 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
44248
44249         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
44250         and -mno-altivec to prevent the compiler from using Altivec and/or
44251         VSX instructions when the corresponding registers are not available.
44252
44253 2011-05-19  Andreas Schwab  <schwab@redhat.com>
44254
44255         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
44256
44257 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
44258
44259         * libio/freopen.c (freopen): Use __dup2, not dup2.
44260         * libio/freopen64.c (freopen64): Likewise.
44261
44262 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
44263
44264         [BZ #12775]
44265         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
44266         * math/Makefile (tests): Add test-powl.
44267         (CFLAGS-test-powl.c): Define.
44268         * math/test-powl.c: New file.
44269
44270 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
44271
44272         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
44273
44274 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
44275
44276         [BZ #11837]
44277         * iconvdata/gb18030.c: Update to GB18020-2005.
44278
44279 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
44280
44281         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
44282         RE_SYNTAX_POSIX_AWK): Update to match recent development.
44283         Patch by Aharon Robbins <arnold@skeeve.com>.
44284
44285         [BZ #11892]
44286         * stdlib/putenv.c (putenv): Don't always create copy of the variable
44287         on the stack.
44288
44289         [BZ #11895]
44290         * misc/pselect.c (__pselect): Handle timeout value errors hidden
44291         through underflows.
44292
44293         [BZ #12766]
44294         * misc/error.c (error_at_line): Ensure file_name and old_file_name
44295         point to strings before performing equality test for error_one_per_line
44296         mode.
44297
44298         [BZ #11697]
44299         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
44300
44301         [BZ #11820]
44302         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
44303         (struct user_fpregs_struct): Avoid __uint*_t types.
44304
44305         [BZ #6420]
44306         * malloc/mtrace.c (tr_where): Add additional parameter to point to
44307         symbol info.  Use it instead of calling _dl_addr locally.
44308         (lock_and_info): New function.
44309         (tr_freehook): Call lock_and_info and pass symbol info as additional
44310         parameter to tr_where.
44311         (tr_mallochook): Likewise.
44312         (tr_reallochook): Likewise.
44313         (tr_memalignhook): Likewise.
44314
44315         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
44316         used and couldn't be at all thread-safe.
44317
44318 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
44319
44320         * libio/freopen.c (freopen): Don't close old file descriptor
44321         before the new one is opened.  Instead dup the new file descriptor
44322         to the old one after the new stream is created.
44323         * libio/freopen64.c (freopen64): Likewise.
44324         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
44325         * libio/fileops.c (_IO_new_file_close_it): Handle new
44326         _IO_FLAGS2_NOCLOSE flag.
44327         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
44328         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
44329         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
44330         _IO_FLAGS2_NOCLOSE flag.
44331         * include/unistd.h: Add hidden_proto for dup3.
44332         Define __have_dup3.
44333         * io/dup3.c: Define hidden symbol.
44334         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
44335
44336         [BZ #7101]
44337         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
44338         when an incomplete long option is used.
44339         * posix/tst-getopt_long1.c: New file.
44340         * posix/Makefile (tests): Add tst-getopt_long1.
44341
44342         [BZ #10138]
44343         * scripts/config.guess: Update from autoconf-2.68.
44344         * scripts/config.sub: Likewise.
44345
44346         [BZ #10157]
44347         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
44348         tests into ...
44349         (has_cpuclock): ...this.  New function.
44350         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
44351         macro here based on has_cpuclock code.
44352
44353         [BZ #10149]
44354         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44355         First byte (not low byte) is now always NUL.
44356         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
44357
44358         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44359         Use non-cancelable interfaces.
44360
44361         [BZ #9809]
44362         * locale/iso-639.def: Add entry for Sorani.
44363
44364         [BZ #11901]
44365         * include/stdlib.h: Move include protection to the right place.
44366         Define abort_msg_s.  Declare __abort_msg with it.
44367         * stdlib/abort.c (__abort_msg): Adjust type.
44368         * assert/assert.c (__assert_fail_base): New function.  Majority
44369         of code from __assert_fail.  Allocate memory for __abort_msg with
44370         mmap.
44371         (__assert_fail): Now call __assert_fail_base.
44372         * assert/assert-perr.c: Remove bulk of implementation.  Use
44373         __assert_fail_base.
44374         * include/assert.hL Declare __assert_fail_base.
44375         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
44376         mmap.
44377         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
44378
44379 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
44380
44381         [BZ #11952]
44382         [BZ #12453]
44383         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
44384         until all modules are registered in the DTV.
44385         * elf/Makefile: Add rules to build and run tst-tls19.
44386         * elf/tst-tls19.c: New file.
44387         * elf/tst-tls19mod1.c: New file.
44388         * elf/tst-tls19mod2.c: New file.
44389         * elf/tst-tls19mod3.c: New file.
44390         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
44391
44392         [BZ #12083]
44393         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
44394         correctly.
44395
44396         [BZ #12601]
44397         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
44398         two-byte sequence errors.
44399         * iconvdata/Makefile (tests): Add bug-iconv8.
44400         * iconvdata/bug-iconv8.c: New file.
44401
44402         [BZ #12626]
44403         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
44404         buf2 definition.
44405
44406         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
44407
44408         [BZ #12432]
44409         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
44410         (dummy_getcfa): New function.
44411         (init): Get _Unwind_GetCFA address, use dummy if not found.
44412         (backtrace_helper): In recursion check, also check whether CFA changes.
44413         (__backtrace): Completely initialize arg.
44414
44415         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
44416         storing incomplete byte sequence in state object.  Avoid testing for
44417         guaranteed too small input if we know there is enough data available.
44418
44419 2011-05-11  Andreas Schwab  <schwab@redhat.com>
44420
44421         * Makeconfig (+link-pie): Indent.
44422         * Rules (binaries-pie): Define if $(have-fpie) and
44423         $(build-shared).
44424         (binaries-shared): Also filter out $(binaries-pie).
44425         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
44426         * nscd/Makefile (others-pie): Add nscd.
44427         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
44428         ($(objpfx)nscd): Remove command override.
44429         * login/Makefile (others-pie): Add pt_chown.
44430         ($(objpfx)pt_chown): Remove command override.
44431         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
44432         remove command overrides.
44433
44434 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
44435
44436         * libio/tst_putwc.c: Fix error messages.
44437
44438         [BZ #12724]
44439         * libio/fileops.c (_IO_new_file_close_it): Always flush when
44440         currently writing and seek to current position when not.
44441         * libio/Makefile (tests): Add bug-fclose1.
44442         * libio/bug-fclose1.c: New file.
44443
44444 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
44445
44446         [BZ #12511]
44447         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
44448         don't set DF_1_NODELETE here.
44449         (do_lookup_x): When entering new entry test for copy relocation
44450         and if necessary set DF_1_NODELETE flag.
44451         * elf/tst-unique4.cc: New file.
44452         * elf/tst-unique4.h: New file.
44453         * elf/tst-unique4lib.cc: New file.
44454         * elf/Makefile: Add rules to build and run tst-unique4.
44455         Patch by Piotr Bury <pbury@goahead.com>.
44456
44457 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
44458
44459         [BZ #12052]
44460         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
44461
44462         [BZ #12625]
44463         * misc/mntent_r.c (addmntent): Flush the stream after the output
44464
44465         [BZ #12393]
44466         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
44467         (is_trusted_path_normalize): Skip initial colon.  Append slash
44468         to empty buffer.  Duplicate is_trusted_path code but allow
44469         constructed patch to be prefix.
44470         (is_dst): Allow $ORIGIN followed by /.
44471         (_dl_dst_substitute): Correct clearing of check_for_trusted.
44472         Correct testing of result of is_trusted_path_normalize
44473         (decompose_rpath): Fix warning.
44474
44475 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
44476
44477         [BZ #11257]
44478         * grp/initgroups.c (internal_getgrouplist): When we found the service
44479         list through the initgroups entry in nsswitch.conf do not always
44480         continue on a successful lookup.  Don't always use the
44481         __nss_group_database value if it is set.
44482         * nss/nsswitch.conf (initgroups): Change action for successful db
44483         lookup to continue for compatibility.
44484
44485 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
44486
44487         [BZ #11532]
44488         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
44489         and CP774 modules.
44490         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
44491         and CP774 modules.
44492         * iconvdata/tst-tables.sh: Likewise.
44493         * iconvdata/cp770.c: New file.
44494         * iconvdata/cp771.c: New file.
44495         * iconvdata/cp772.c: New file.
44496         * iconvdata/cp773.c: New file.
44497         * iconvdata/cp774.c: New file.
44498         * iconvdata/testdata/CP770: New file.
44499         * iconvdata/testdata/CP770..UTF8: New file.
44500         * iconvdata/testdata/CP771: New file.
44501         * iconvdata/testdata/CP771..UTF8: New file.
44502         * iconvdata/testdata/CP772: New file.
44503         * iconvdata/testdata/CP772..UTF8: New file.
44504         * iconvdata/testdata/CP773: New file.
44505         * iconvdata/testdata/CP773..UTF8: New file.
44506         * iconvdata/testdata/CP774: New file.
44507         * iconvdata/testdata/CP774..UTF8: New file.
44508
44509         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
44510         END CHARMAP line.
44511         * iconvdata/gen-8bit-gap.sh: Likewise.
44512         * iconvdata/gen-8bit.sh: Likewise.
44513
44514         * locale/iso-639.def: Add ary entry.
44515
44516         [BZ #11258]
44517         * locale/C-translit.h.in: Add U20A1 transliteration.
44518
44519         [BZ #12178]
44520         * locale/iso-639.def: Add wae entry.
44521         Patch by Kevin Bortis <bortis@translate-wae.ch>.
44522
44523         [BZ #12545]
44524         * locale/programs/localedef.c (construct_output_path): Use ssize_t
44525         for n.
44526
44527         [BZ #12711]
44528         * locale/C-translit.h.in: Add entry for U20B9.
44529         Patch by pravin.d.s@gmail.com.
44530
44531 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
44532
44533         [BZ #12713]
44534         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
44535         ENAMETOOLONG use generic getcwd.
44536         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
44537         in rtld.  Use *stat64.
44538         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
44539         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
44540         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
44541         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
44542         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
44543         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
44544         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
44545         __fstatat64 macros.
44546         * include/dirent.h: Add libc_hidden_proto for rewinddir.
44547         * dirent/rewinddir.c: Add libc_hidden_def.
44548         * sysdeps/mach/hurd/rewinddir.c: Likewise.
44549         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
44550
44551         * include/dirent.h (__alloc_dir): Add flags parameter.
44552         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
44553         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
44554         __alloc_dir.
44555         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
44556         from fdopendir if O_CLOEXEC is already set.
44557
44558 2011-03-15  Alan Modra  <amodra@gmail.com>
44559
44560         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
44561         l_tls_firstbyte_offset non-zero.  Save padding offset in
44562         l_tls_firstbyte_offset for later use.
44563         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
44564         freeing static tls block.
44565
44566 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
44567
44568         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
44569         where #ifdef was intended.  The intent is to prevent ARG_MAX from
44570         being defined by the kernel headers.
44571
44572 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
44573
44574         [BZ #12734]
44575         * resolv/resolv.h: Define RES_NOTLDQUERY.
44576         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
44577         no-tld-query and set RES_NOTLDQUERY.
44578         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
44579         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
44580         modern BIND to search name as TLD unless forbidden.
44581
44582 2011-05-07  Petr Baudis  <pasky@suse.cz>
44583             Ulrich Drepper  <drepper@gmail.com>
44584
44585         [BZ #12393]
44586         * elf/dl-load.c (fillin_rpath): Move trusted path check...
44587         (is_trusted_path): ...to here.
44588         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
44589         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
44590         using is_trusted_path_normalize() in setuid scripts.
44591
44592 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
44593
44594         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
44595         __BEGIN/__END_DECLS.
44596
44597 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
44598
44599         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
44600         NSS_STATUS_NOTFOUND if no record was found.
44601
44602 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44603
44604         * sunrpc/Makefile (headers): Add rpc/netdb.h.
44605         (headers-not-in-tirpc): Remove rpc/netdb.h
44606         * resolv/netdb.h: Revert last change.
44607
44608 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
44609
44610         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
44611         circular dependency between libgcc.a and libc.a.
44612
44613 2011-05-05  Andreas Schwab  <schwab@redhat.com>
44614
44615         * resolv/netdb.h: Don't include <rpc/netdb.h>.
44616         * nis/Makefile: Don't install rpcsvc/*.
44617         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
44618         instead of <rpc/types.h>.
44619         (MAXHOSTNAMELEN): Define.
44620
44621 2011-05-03  Andreas Schwab  <schwab@redhat.com>
44622
44623         * elf/ldconfig.c (add_dir): Don't crash on empty path.
44624
44625 2011-04-28  Maciej Babinski  <mbabinski@google.com>
44626
44627         [BZ #12714]
44628         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
44629         gethostbyname4_r when IPv6 results are possible.
44630
44631 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
44632
44633         [BZ #12723]
44634         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
44635         _PC_PIPE_BUF handling.
44636
44637 2011-04-30  Bruno Haible  <bruno@clisp.org>
44638
44639         [BZ #12717]
44640         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
44641         * resolv/netdb.h (getnameinfo): Change type of flags parameter
44642         to 'int'.
44643         * inet/getnameinfo.c (getnameinfo): Likewise.
44644
44645 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
44646
44647         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
44648         to groups setting in database lookup.
44649         * nss/nsswitch.conf: Add initgroups entry.
44650
44651 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
44652
44653         [BZ #12685]
44654         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
44655         mode string.
44656         Patch by Eric Blake <eblake@redhat.com>.
44657
44658 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
44659
44660         * sunrpc/Makefile (need-export-routines): Add svc_run.
44661         (routines): Remove svc_run.
44662         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
44663         * sunrpc/clnt_perr.c (clnt_perrno): Export.
44664         * sunrpc/svc_run.c (svc_run): Likewise.
44665         * sunrpc/svc_udp.c (svcudp_create): Likewise.
44666
44667 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
44668
44669         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
44670         problem in reallocation in last patch.
44671
44672 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
44673
44674         * sunrpc/Makefile: Move inclusion of Rules.
44675
44676 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44677
44678         * nss/nss_files/files-initgroups.c: New file.
44679         * nss/Makefile (libnss_files-routines): Add files-initgroups.
44680         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
44681         _nss_files_initgroups_dyn.
44682
44683 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
44684
44685         * elf/elf.h (R_ARM_IRELATIVE): Define.
44686
44687 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
44688
44689         * po/ru.po: Update from translation team.
44690
44691 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44692
44693         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
44694         dependencies.
44695
44696 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
44697
44698         [BZ #12653]
44699         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
44700         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
44701         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
44702         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
44703         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
44704
44705 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
44706
44707         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
44708         differing bytes.
44709         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
44710         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
44711         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
44712
44713 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
44714
44715         [BZ #12420]
44716         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
44717         storing it.
44718         * stdlib/bug-getcontext.c: New file.
44719         * stdlib/Makefile: Add rules to build and run bug-getcontext.
44720
44721 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44722
44723         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
44724         instructions into .machine "z9-109".
44725         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
44726         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
44727
44728 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44729
44730         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
44731         between environment variables and auxiliary vector.
44732
44733 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
44734
44735         * Makefile: Add rules to build linkobj/libc.so.
44736         * include/libc-symbols.h: Define libc_hidden_nolink.
44737         * include/rpc/auth.h: Mark functions which are to be hidden.
44738         * include/rpc/auth_des.h: Likewise.
44739         * include/rpc/auth_unix.h: Likewise.
44740         * include/rpc/clnt.h: Likewise.
44741         * include/rpc/des_crypt.h: Likewise.
44742         * include/rpc/key_prot.h: Likewise.
44743         * include/rpc/pmap_clnt.h: Likewise.
44744         * include/rpc/pmap_prot.h: Likewise.
44745         * include/rpc/pmap_rmt.h: Likewise.
44746         * include/rpc/rpc_msg.h: Likewise.
44747         * include/rpc/svc.h: Likewise.
44748         * include/rpc/svc_auth.h: Likewise.
44749         * include/rpc/xdr.h: Likewise.
44750         * nis/Makefile: Link all DSOs against linkobj/libc.so.
44751         * nss/Makefile: Likewise.
44752         * sunrpc/Makefile: Don't install headers.  Build library with normal
44753         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
44754         * sunrpc/auth_des.c: Hide exported symbols by default, export some
44755         for the compat linking library.  Remove use of INTDEF/INTUSE.
44756         * sunrpc/auth_none.c: Likewise.
44757         * sunrpc/auth_unix.c: Likewise.
44758         * sunrpc/authdes_prot.c: Likewise.
44759         * sunrpc/authuxprot.c: Likewise.
44760         * sunrpc/clnt_gen.c: Likewise.
44761         * sunrpc/clnt_perr.c: Likewise.
44762         * sunrpc/clnt_raw.c: Likewise.
44763         * sunrpc/clnt_simp.c: Likewise.
44764         * sunrpc/clnt_tcp.c: Likewise.
44765         * sunrpc/clnt_udp.c: Likewise.
44766         * sunrpc/clnt_unix.c: Likewise.
44767         * sunrpc/des_crypt.c: Likewise.
44768         * sunrpc/des_soft.c: Likewise.
44769         * sunrpc/get_myaddr.c: Likewise.
44770         * sunrpc/key_call.c: Likewise.
44771         * sunrpc/key_prot.c: Likewise.
44772         * sunrpc/netname.c: Likewise.
44773         * sunrpc/pm_getmaps.c: Likewise.
44774         * sunrpc/pm_getport.c: Likewise.
44775         * sunrpc/pmap_clnt.c: Likewise.
44776         * sunrpc/pmap_prot.c: Likewise.
44777         * sunrpc/pmap_prot2.c: Likewise.
44778         * sunrpc/pmap_rmt.c: Likewise.
44779         * sunrpc/publickey.c: Likewise.
44780         * sunrpc/rpc_cmsg.c: Likewise.
44781         * sunrpc/rpc_common.c: Likewise.
44782         * sunrpc/rpc_dtable.c: Likewise.
44783         * sunrpc/rpc_prot.c: Likewise.
44784         * sunrpc/rpc_thread.c: Likewise.
44785         * sunrpc/rtime.c: Likewise.
44786         * sunrpc/svc.c: Likewise.
44787         * sunrpc/svc_auth.c: Likewise.
44788         * sunrpc/svc_authux.c: Likewise.
44789         * sunrpc/svc_raw.c: Likewise.
44790         * sunrpc/svc_run.c: Likewise.
44791         * sunrpc/svc_simple.c: Likewise.
44792         * sunrpc/svc_tcp.c: Likewise.
44793         * sunrpc/svc_udp.c: Likewise.
44794         * sunrpc/svc_unix.c: Likewise.
44795         * sunrpc/svcauth_des.c: Likewise.
44796         * sunrpc/xcrypt.c: Likewise.
44797         * sunrpc/xdr.c: Likewise.
44798         * sunrpc/xdr_array.c: Likewise.
44799         * sunrpc/xdr_float.c: Likewise.
44800         * sunrpc/xdr_intXX_t.c: Likewise.
44801         * sunrpc/xdr_mem.c: Likewise.
44802         * sunrpc/xdr_rec.c: Likewise.
44803         * sunrpc/xdr_ref.c: Likewise.
44804         * sunrpc/xdr_sizeof.c: Likewise.
44805         * sunrpc/xdr_stdio.c: Likewise.
44806
44807 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
44808
44809         [BZ #12650]
44810         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
44811         * sysdeps/ia64/dl-tls.h: Likewise.
44812         * sysdeps/powerpc/dl-tls.h: Likewise.
44813         * sysdeps/s390/dl-tls.h: Likewise.
44814         * sysdeps/sh/dl-tls.h: Likewise.
44815         * sysdeps/sparc/dl-tls.h: Likewise.
44816         * sysdeps/x86_64/dl-tls.h: Likewise.
44817         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
44818
44819 2011-03-14  Andreas Schwab  <schwab@redhat.com>
44820
44821         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
44822         rpath element also skip the following colon.
44823         (expand_dynamic_string_token): Add is_path parameter and pass
44824         down to DL_DST_REQUIRED and _dl_dst_substitute.
44825         (decompose_rpath): Call expand_dynamic_string_token with
44826         non-zero is_path.  Ignore empty rpaths.
44827         (_dl_map_object_from_fd): Call expand_dynamic_string_token
44828         with zero is_path.
44829
44830 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
44831
44832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
44833         Make cancelable.
44834
44835 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
44836
44837         [BZ #12655]
44838         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
44839         Patch by Filipe David Manana <fdmanana@apache.org>.
44840
44841 2011-04-07  Andreas Schwab  <schwab@redhat.com>
44842
44843         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
44844         Maintain aligned stack.
44845         (CHECK_RSP): Remove unused macro.
44846
44847 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
44848
44849         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
44850         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
44851
44852 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
44853
44854         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
44855
44856         * include/features.h: Mention __USE_XOPEN2K8 in comment.
44857
44858 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
44859
44860         [BZ #12518]
44861         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
44862         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
44863         * sysdeps/x86_64/memmove.c: New file.
44864         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
44865         (memcpy): Renamed to ...
44866         (__new_memcpy): This.
44867         (memcpy): Provide GLIBC_2_14 memcpy.
44868         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
44869         (memcpy): Provide GLIBC_2_2_5 memcpy.
44870
44871 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44872
44873         [BZ #12631]
44874         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
44875
44876 2011-03-30  Andreas Schwab  <schwab@redhat.com>
44877
44878         * misc/syncfs.c: New file.
44879         * misc/Makefile (routines): Add syncfs.
44880         * posix/unistd.h: Declare syncfs.
44881         * sysdeps/unix/syscalls.list: Add syncfs.
44882
44883 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44884
44885         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
44886         open_by_handle_at.
44887         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44888         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44889         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44890         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44891         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44892         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
44893         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44894
44895 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44896
44897         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
44898         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44899         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
44900         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44901         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44903         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44904
44905         * io/Makefile: Compile fallocate.c, fallocate64.c, and
44906         sync_file_range.c with -fexceptions.
44907         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
44908         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
44909         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
44910         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
44911         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
44912         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
44913         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
44914         sync_file_range as cancellation point
44915         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
44916         now a wrapper around __call_sync_file_range with cancellation handling.
44917         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
44918         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
44919         function name to __call_sync_file_range.
44920         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
44921         Add call_sync_file_range.
44922
44923 2011-04-01  Andreas Schwab  <schwab@redhat.com>
44924
44925         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44926         bits/timex.h.
44927
44928 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
44929
44930         * iconv/iconv.h: Fix typo in comment.
44931         * io/fcntl.h: Likewise.
44932         * libio/stdio.h: Likewise.
44933         * posix/spawn.h: Likewise.
44934         * posix/unistd.h: Likewise.
44935         * stdlib/stdlib.h: Likewise.
44936         * time/time.h: Likewise.
44937         * wcsmbs/wchar.h: Likewise.
44938
44939         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
44940         open_by_handle): Add.
44941         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
44942         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
44943         Augment a few comments.
44944         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
44945         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44946         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44947         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44948         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44949         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
44950         open_by_handle.
44951
44952         * io/fcntl.h (AT_EMPTY_PATH): Define.
44953
44954 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
44955
44956         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
44957         * sysdeps/unix/sysv/linux/bits/time.h: New file.
44958         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
44959         to...
44960         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
44961         * Versions.def: Add GLIBC_2.14.
44962         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
44963         Export.
44964
44965 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
44966
44967         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
44968         round counter.
44969         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44970
44971 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44972
44973         [BZ #12597]
44974         * string/test-strncmp.c (do_page_test): New function.
44975         (check2): Likewise.
44976         (test_main): Call check2.
44977         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
44978
44979 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
44980
44981         [BZ #12587]
44982         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
44983         Handle cache information in CPU leaf 4.
44984         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
44985
44986 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
44987
44988         [BZ #12583]
44989         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
44990         character representation.
44991         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
44992
44993 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
44994
44995         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
44996         END(__isnan) to END(__isnanf) to match function entry point/label
44997         EALIGN(__isnanf,...).
44998
44999 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
45000
45001         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
45002
45003 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
45004
45005         [BZ #12510]
45006         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
45007         copy from the symbol referenced in the relocation to initialize the
45008         used variable.
45009         Patch by Piotr Bury <pbury@goahead.com>.
45010         * elf/Makefile: Add rules to build and tst-unique3.
45011         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
45012         * elf/tst-unique3.cc: New file.
45013         * elf/tst-unique3.h: New file.
45014         * elf/tst-unique3lib.cc: New file.
45015         * elf/tst-unique3lib2.cc: New file.
45016
45017         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
45018
45019 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
45020
45021         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
45022         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
45023         to _start.
45024
45025 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
45026
45027         * elf/dl-load.c (_dl_map_object): If we are looking for the first
45028         to-be-loaded object along a path to loader is ld.so.
45029
45030 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45031             Ulrich Drepper  <drepper@gmail.com>
45032
45033         * sysdeps/x86_64/memset.S: After aligning destination, code
45034         branches to different locations depending on the value of
45035         misalignment, when multiarch is enabled. Fix this.
45036
45037 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
45038
45039         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
45040         Set _x86_64_preferred_memory_instruction for AMD processsors.
45041         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45042         Set bit_Prefer_SSE_for_memop for AMD processors.
45043
45044 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
45045
45046         * libio/fmemopen.c (fmemopen): Optimize a bit.
45047
45048 2011-03-03  Andreas Schwab  <schwab@redhat.com>
45049
45050         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
45051
45052 2011-03-03  Roland McGrath  <roland@redhat.com>
45053
45054         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
45055
45056 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
45057
45058         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
45059         __bzero_ultra1 instead of __memset_ultra1.
45060
45061 2011-02-23  Andreas Schwab  <schwab@redhat.com>
45062             Ulrich Drepper  <drepper@gmail.com>
45063
45064         [BZ #12509]
45065         * include/link.h (struct link_map): Add l_orig_initfini.
45066         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
45067         returning unsuccessfully.
45068         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
45069         close of a file loaded at startup, restore the original l_initfini
45070         list.
45071         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
45072         list, store the pointer.
45073         * elf/Makefile ($(objpfx)noload-mem): New rule.
45074         (noload-ENV): Define.
45075         (tests): Add $(objpfx)noload-mem.
45076         * elf/noload.c: Include <memcheck.h>.
45077         (main): Call mtrace.  Close all opened handles.
45078
45079 2011-02-17  Andreas Schwab  <schwab@redhat.com>
45080
45081         [BZ #12454]
45082         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
45083         dependencies are missing.
45084
45085 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45086
45087         Fix __if_freereq crash: Unlike the generic version which uses free,
45088         Hurd needs munmap.
45089         * sysdeps/mach/hurd/ifreq.h: New file.
45090
45091 2011-01-27  Petr Baudis  <pasky@suse.cz>
45092             Ulrich Drepper  <drepper@gmail.com>
45093
45094         [BZ 12445]#
45095         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
45096         to extend_alloca().
45097         * stdio-common/bug23.c: New file.
45098         * stdio-common/Makefile (tests): Add bug23.
45099
45100 2010-09-28  Andreas Schwab  <schwab@redhat.com>
45101             Ulrich Drepper  <drepper@gmail.com>
45102
45103         [BZ #12489]
45104         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
45105         before performing relro protection.  At old place add assertion
45106         to make sure nothing changed.
45107
45108 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
45109             Glauber de Oliveira Costa  <glommer@gmail.com>
45110
45111         * elf/elf.h: Add new ARM TLS relocs.
45112
45113 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
45114
45115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
45116         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
45117         cast from r3.
45118         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
45119         'tests' variable.
45120         * sysdeps/wordsize-64/tst-writev.c: New file.
45121
45122 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
45123
45124         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
45125         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
45126         insns in _dl_start to prevent a TOC reference before relocs are
45127         resolved.
45128
45129 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
45130
45131         [BZ #12469]
45132         * Makeconfig: Remove RANLIB definition.
45133         * Makerules: Don't use RANLIB.
45134         * aclocal.m4: Remove ranlib test.
45135         * configure.in: No need to check for ranlib.
45136         * elf/rtld-Rules: Don't use RANLIB.
45137
45138 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45139
45140         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
45141         protection macro.
45142         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
45143         inclusion protection macro.
45144
45145         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
45146         SIGRTMIN and SIGRTMAX and print information in that case only when
45147         SIGRTMIN is defined.
45148
45149 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
45150
45151         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
45152         arginfo fn returning -1.
45153
45154         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
45155         and thousands string is zero terminated.
45156
45157 2011-02-03  Andreas Schwab  <schwab@redhat.com>
45158
45159         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
45160         sysdeps/unix/sysv/linux/bits/socket.h.
45161
45162 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45163
45164         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
45165         (__CPU_COUNT): Remove old macros.
45166         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
45167         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
45168         (__CPU_ALLOC, __CPU_FREE): Add macros.
45169         (__sched_cpualloc, __sched_cpufree): Add declarations.
45170
45171 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
45172
45173         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
45174         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
45175         * nscd/aicache.c (addhstaiX): Return timeout of added value.
45176         (readdhstai): Return value of addhstaiX call.
45177         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
45178         (addgrbyX): Return value returned by cache_addgr.
45179         (readdgrbyname): Return value returned by addgrbyX.
45180         (readdgrbygid): Likewise.
45181         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
45182         (addpwbyX): Return value returned by cache_addpw.
45183         (readdpwbyname): Return value returned by addhstbyX.
45184         (readdpwbyuid): Likewise.
45185         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
45186         (addservbyX): Return value returned by cache_addserv.
45187         (readdservbyname): Return value returned by addservbyX:
45188         (readdservbyport): Likewise.
45189         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
45190         (addhstbyX): Return value returned by cache_addhst.
45191         (readdhstbyname): Return value returned by addhstbyX.
45192         (readdhstbyaddr): Likewise.
45193         (readdhstbynamev6): Likewise.
45194         (readdhstbyaddrv6): Likewise.
45195         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
45196         (readdinitgroups): Return value returned by addinitgroupsX.
45197         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
45198         (prune_cache): Keep track of timeout value of re-added entries.
45199         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
45200         * nscd/nscd.h: Adjust prototypes of readd* functions.
45201
45202 2011-02-04  Roland McGrath  <roland@redhat.com>
45203
45204         * nis/nis_server.c (nis_servstate): Use the right name for 0.
45205         (nis_stats): Likewise.
45206         * nis/nis_modify.c (nis_modify): Likewise.
45207         * nis/nis_remove.c (nis_remove): Likewise.
45208         * nis/nis_add.c (nis_add): Likewise.
45209
45210         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
45211
45212         * posix/fnmatch_loop.c: Add some consts.
45213
45214         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
45215
45216 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
45217
45218         [BZ #12460]
45219         * config.make.in (config-cflags-novzeroupper): Define.
45220         * configure.in: Substitute libc_cv_cc_novzeroupper.
45221         * elf/Makefile (AVX-CFLAGS): Define.
45222         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
45223         (CFLAGS-tst-auditmod4a.c): Likewise.
45224         (CFLAGS-tst-auditmod4b.c): Likewise.
45225         (CFLAGS-tst-auditmod6b.c): Likewise.
45226         (CFLAGS-tst-auditmod6c.c): Likewise.
45227         (CFLAGS-tst-auditmod7b.c): Likewise.
45228         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
45229
45230 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
45231
45232         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
45233         function to the callback.
45234         Patch partly by Jiri Olsa <jolsa@redhat.com>.
45235
45236 2011-02-02  Andreas Schwab  <schwab@redhat.com>
45237
45238         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
45239         of errno.
45240
45241 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
45242
45243         [BZ #11724]
45244         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
45245         of constructors.
45246         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
45247         of destructors.
45248         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
45249
45250         [BZ #11724]
45251         * elf/Makefile: Add rules to build and run new test.
45252         * elf/tst-initorder.c: New file.
45253         * elf/tst-initorder.exp: New file.
45254         * elf/tst-initordera1.c: New file.
45255         * elf/tst-initordera2.c: New file.
45256         * elf/tst-initordera3.c: New file.
45257         * elf/tst-initordera4.c: New file.
45258         * elf/tst-initorderb1.c: New file.
45259         * elf/tst-initorderb2.c: New file.
45260         * elf/tst-order-a1.c: New file.
45261         * elf/tst-order-a2.c: New file.
45262         * elf/tst-order-a3.c: New file.
45263         * elf/tst-order-a4.c: New file.
45264         * elf/tst-order-b1.c: New file.
45265         * elf/tst-order-b2.c: New file.
45266         * elf/tst-order-main.c: New file.
45267         New test case by George Gensure <werkt0@gmail.com>.
45268
45269 2010-10-01  Andreas Schwab  <schwab@redhat.com>
45270
45271         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
45272         decoding ACE if AI_CANONIDN.
45273
45274 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
45275
45276         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
45277
45278 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
45279
45280         * version.h (RELEASE): Bump for 2.13 release.
45281         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
45282
45283         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
45284
45285         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
45286         MADV_NOHUGEPAGE.
45287         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
45288         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
45289         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45290         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45291         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45292         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45293
45294         * posix/getconf.c: Update copyright year.
45295         * catgets/gencat.c: Likewise.
45296         * csu/version.c: Likewise.
45297         * debug/catchsegv.sh: Likewise.
45298         * debug/xtrace.sh: Likewise.
45299         * elf/ldconfig.c: Likewise.
45300         * elf/ldd.bash.in: Likewise.
45301         * elf/sprof.c (print_version): Likewise.
45302         * iconv/iconv_prog.c: Likewise.
45303         * iconv/iconvconfig.c: Likewise.
45304         * locale/programs/locale.c: Likewise.
45305         * locale/programs/localedef.c: Likewise.
45306         * malloc/memusage.sh: Likewise.
45307         * malloc/mtrace.pl: Likewise.
45308         * nscd/nscd.c (print_version): Likewise.
45309         * nss/getent.c: Likewise.
45310
45311         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
45312         PF_CAIF, and PF_ALG.
45313         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
45314
45315 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
45316
45317         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
45318         (modules-names): Use them.
45319         (ifunc-test-modules, ifunc-pie-tests): Define.
45320         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
45321         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
45322         (test-extras): Likewise.
45323         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
45324         $(compile-command.c).
45325         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
45326         (all-built-dso): Define.
45327         (check-textrel.out, check-execstack.out): Depend on it.
45328
45329         * configure.in: Don't override --enable-multi-arch.
45330
45331 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
45332
45333         [BZ #6812]
45334         * nscd/hstcache.c (tryagain): Define.
45335         (cache_addhst): Return tryagain not notfound for temporary errors.
45336         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
45337         failed.
45338
45339 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
45340
45341         [BZ #10563]
45342         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
45343         to make the syscall.
45344         * sysdeps/unix/sysv/linux/setgroups.c: New file.
45345
45346         [BZ #12378]
45347         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
45348         and fall back to matching as normal character if the string ends before
45349         the matching ']' is found.  This is what POSIX requires.
45350         * posix/testfnm.c: Adjust test result.
45351         * posix/globtest.sh: Adjust test result.  Add new test.
45352         * posix/tst-fnmatch.input: Likewise.
45353         * posix/tst-fnmatch2.c: Add new test.
45354
45355 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
45356
45357         * elf/Makefile (check-execstack): Revert last change.  Depend on
45358         check-execstack.h.
45359         (check-execstack.h): New target.
45360         (generated): Add check-execstack.h.
45361         * elf/check-execstack.c: Include "check-execstack.h".
45362         (main): Revert last change.
45363         (handle_file): Return zero if GNU_STACK is absent and
45364         DEFAULT_STACK_PERMS doesn't include PF_X.
45365
45366 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
45367
45368         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
45369         in child fails because the descriptor is already closed.
45370         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
45371         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
45372         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
45373
45374         [BZ #12397]
45375         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
45376         syscall.
45377
45378         [BZ #10484]
45379         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
45380         temporary buffer used to handle multi lookups locally.
45381         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
45382
45383 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45384
45385         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
45386         loader is ld.so.
45387
45388 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
45389
45390         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
45391         alignment for SSE2.
45392
45393 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
45394
45395         [BZ #12394]
45396         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
45397         characters.  When rounding increased number of integer digits recompute
45398         number of groups.
45399         * stdio-common/tst-grouping.c: New file.
45400         * stdio-common/Makefile: Add rules to build and run tst-grouping.
45401
45402 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
45403
45404         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
45405         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
45406
45407         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
45408         void.
45409         * bits/select.h: Likewise.
45410
45411 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
45412
45413         * po/ja.po: Update from translation team.
45414
45415 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
45416
45417         [BZ #11155]
45418         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
45419         implementation just like for lxstat, fxstatat, et al.
45420
45421 2010-12-27  Jim Meyering  <meyering@redhat.com>
45422
45423         [BZ #12348]
45424         * posix/regexec.c (build_trtable): Return failure indication upon
45425         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
45426
45427 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
45428
45429         [BZ #12201]
45430         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
45431         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
45432         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
45433         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
45434
45435         [BZ #12207]
45436         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
45437
45438         [BZ #12204]
45439         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
45440         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
45441
45442 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
45443
45444         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
45445         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
45446         script has SORT_BY_INIT_PRIORITY.
45447         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
45448         NO_CTORS_DTORS_SECTIONS is defined.
45449         * elf/soinit.c: Likewise.
45450         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
45451         NO_CTORS_DTORS_SECTIONS is defined.
45452         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
45453         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
45454         * sysdeps/sh/init-first.c: Likewise.
45455         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
45456
45457 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
45458
45459         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
45460         always use the slow path.
45461
45462 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
45463
45464         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
45465         similar rule which adds the sysdep directories to the header search in
45466         order to pick up the correct platform stackinfo.h.
45467         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
45468         perform test if it is, otherwise return successfully without testing.
45469         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
45470         DEFAULT_STACK_PERMS define in stackinfo.h.
45471         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
45472         defined in stackinfo.h.
45473         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
45474         DEFAULT_STACK_PERMS defined in stackinfo.h.
45475         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
45476         * sysdeps/ia64/stackinfo.h: Likewise.
45477         * sysdeps/s390/stackinfo.h: Likewise.
45478         * sysdeps/sh/stackinfo.h: Likewise.
45479         * sysdeps/sparc/stackinfo.h: Likewise.
45480         * sysdeps/x86_64/stackinfo.h: Likewise.
45481         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
45482         PF_X for powerpc64.  Retain PF_X for powerpc32.
45483
45484 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
45485
45486         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
45487         accurately.
45488         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
45489         GETDENTS_64BIT_ALIGNED.
45490
45491 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
45492
45493         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
45494
45495 2010-12-10  Andreas Schwab  <schwab@redhat.com>
45496
45497         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
45498         _GNU_SOURCE.
45499
45500         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
45501         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
45502         Remove __restrict.
45503         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
45504         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
45505
45506 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
45507
45508         [BZ #11655]
45509         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
45510         are initialized.
45511
45512 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
45513
45514         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
45515
45516 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
45517
45518         * po/it.po: Update from translation team.
45519
45520 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
45521
45522         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
45523         unused codes.
45524
45525 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
45526
45527         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
45528
45529 2010-11-24  Andreas Schwab  <schwab@redhat.com>
45530
45531         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
45532         specially.
45533         (gaih_getanswer_slice): Likewise.
45534
45535 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
45536
45537         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
45538
45539 2010-05-31  Petr Baudis  <pasky@suse.cz>
45540
45541         [BZ #11149]
45542         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
45543         silently even in the chroot mode.
45544
45545 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
45546
45547         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
45548         last patch a bit.  Pretty printing
45549
45550 2010-05-31  Petr Baudis <pasky@suse.cz>
45551
45552         [BZ #10085]
45553         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
45554         initialization of skip_initgroups_dyn.
45555
45556 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
45557
45558         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
45559         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
45560
45561 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
45562
45563         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
45564
45565 2010-11-11  Andreas Schwab  <schwab@redhat.com>
45566
45567         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
45568         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
45569         (tst-fnmatch-ENV): Set MALLOC_TRACE.
45570         ($(objpfx)tst-fnmatch-mem): New rule.
45571         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
45572         * posix/tst-fnmatch.c (main): Call mtrace.
45573
45574 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
45575
45576         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45577         Support Intel processor model 6 and model 0x2c.
45578
45579 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
45580
45581         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
45582           signed comparison.
45583
45584 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
45585
45586         [BZ #12205]
45587         * string/test-strncasecmp.c (check_result): New function.
45588         (do_one_test): Use it.
45589         (check1): New function.
45590         (test_main): Use it.
45591         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
45592         Support strcasecmp and strncasecmp.
45593
45594 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
45595
45596         [BZ #12194]
45597         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
45598         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45599
45600 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
45601
45602         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
45603         IFUNC support.
45604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
45605         memset-x86-64.
45606         * sysdeps/x86_64/multiarch/bzero.S: New file.
45607         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
45608         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
45609         * sysdeps/x86_64/multiarch/memset.S: New file.
45610         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
45611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
45612         Set bit_Prefer_SSE_for_memop for Intel processors.
45613         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
45614         Define.
45615         (index_Prefer_SSE_for_memop): Define.
45616         (HAS_PREFER_SSE_FOR_MEMOP): Define.
45617
45618 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
45619
45620         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
45621         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
45622
45623 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
45624
45625         [BZ #12191]
45626         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45627         (__x86_64_raw_data_cache_size_half): Likewise.
45628         (__x86_64_raw_shared_cache_size): Likewise.
45629         (__x86_64_raw_shared_cache_size_half): Likewise.
45630
45631         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
45632         (__x86_64_raw_data_cache_size_half): Likewise.
45633         (__x86_64_raw_shared_cache_size): Likewise.
45634         (__x86_64_raw_shared_cache_size_half): Likewise.
45635         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
45636         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
45637         and __x86_64_raw_shared_cache_size_half.  Round
45638         __x86_64_data_cache_size_half, __x86_64_data_cache_size
45639         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
45640         to multiple of 256 bytes.
45641
45642 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
45643
45644         [BZ #12167]
45645         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
45646         of inacessible symlinks.  Verify result of symlink before returning it.
45647         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
45648         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
45649
45650 2010-10-28  Erich Ritz  <erichritz@gmail.com>
45651
45652         * math/math.h (isinf): Fix typo in comment.
45653
45654 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
45655
45656         * po/da.po: Update from translation team.
45657
45658 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
45659
45660         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
45661         is added to the list.
45662
45663 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45664             Ulrich Drepper  <drepper@gmail.com>
45665
45666         * elf/dl-object.c (_dl_new_object): Don't append the new object to
45667         the global list here.  Move code to...
45668         (_dl_add_to_namespace_list): ...here.  New function.
45669         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
45670         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
45671         * elf/dl-load.c (lose): Don't remove the element from the list.
45672         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
45673         (_dl_map_object): Likewise.
45674
45675 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
45676
45677         [BZ #12159]
45678         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
45679         into all bytes of SSE register.
45680         Patch by Richard Li <richardpku@gmail.com>.
45681
45682 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
45683
45684         [BZ #12140]
45685         * malloc/malloc.c (_int_free): Fill correct number of bytes when
45686         perturbing.
45687
45688 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
45689
45690         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
45691         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
45692         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
45693         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
45695         submachine.
45696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
45697
45698 2010-10-22  Andreas Schwab  <schwab@redhat.com>
45699
45700         * include/dlfcn.h (__RTLD_SECURE): Define.
45701         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
45702         mode & __RTLD_SECURE instead.
45703         (open_path): Rename preloaded parameter to secure.
45704         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
45705         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
45706         * elf/dl-deps.c (openaux): Likewise.
45707         * elf/rtld.c (struct map_args): Remove is_preloaded.
45708         (map_doit): Don't use it.
45709         (dl_main): Likewise.
45710         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
45711         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
45712
45713 2010-09-09  Andreas Schwab  <schwab@redhat.com>
45714
45715         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
45716         (sysd-rules-targets): Remove duplicates.
45717         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
45718         rtld-%.$o dependency.
45719
45720 2010-10-18  Andreas Schwab  <schwab@redhat.com>
45721
45722         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
45723         _dl_map_object do it.
45724
45725 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
45726
45727         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
45728         fast fma builtins, define the macros in the C99 standard.
45729         (FP_FAST_FMAF): Likewise.
45730         (FP_FAST_FMAL): Likewise.
45731         * sysdeps/x86_64/bits/mathdef.h: Likewise.
45732
45733         * bits/mathdef.h: Update copyright year.
45734         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45735
45736 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
45737
45738         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
45739         builtins, define the macros in the C99 standard.
45740         (FP_FAST_FMAF): Likewise.
45741         (FP_FAST_FMAL): Likewise.
45742         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
45743         multiply/add.
45744         (FP_FAST_FMAF): Likewise.
45745
45746 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
45747
45748         [BZ #3268]
45749         * math/libm-test.inc (fma_test): Some new testcases.
45750         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
45751         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
45752         y and infinite z.  Do multiplication by C already in long double.
45753         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
45754         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
45755         y and infinite z.  Do bitwise or of inexact bit into u.d.
45756         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
45757         * sysdeps/i386/fpu/s_fmaf.S: Removed.
45758         * sysdeps/i386/fpu/s_fma.S: Removed.
45759         * sysdeps/i386/fpu/s_fmal.S: Removed.
45760
45761 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
45762
45763         [BZ #3268]
45764         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
45765         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
45766         computation is not scheduled after fetestexcept.  Fix value
45767         of minimum denormal long double.
45768
45769 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
45770
45771         [BZ #3268]
45772         * math/libm-test.inc (fma_test): Add some more tests.
45773         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
45774         correctly.
45775
45776 2010-10-15  Andreas Schwab  <schwab@redhat.com>
45777
45778         * scripts/data/localplt-s390-linux-gnu.data: New file.
45779         * scripts/data/localplt-s390x-linux-gnu.data: New file.
45780
45781 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
45782
45783         [BZ #3268]
45784         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
45785         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
45786         instead of dbl-64.
45787         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
45788         inlines.
45789         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
45790         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
45791         if one of x and y is very large and the other is subnormal.
45792         * sysdeps/s390/fpu/s_fmaf.c: New file.
45793         * sysdeps/s390/fpu/s_fma.c: New file.
45794         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
45795         * sysdeps/powerpc/fpu/s_fma.S: New file.
45796         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
45797         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
45798         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
45799
45800 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
45801
45802         [BZ #3268]
45803         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
45804         fma tests.
45805         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
45806         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
45807         * sysdeps/i386/i686/multiarch/s_fma.c: Include
45808         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
45809         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
45810         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
45811         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
45812
45813 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
45814
45815         [BZ #12078]
45816         * posix/regcomp.c (parse_branch): One more memory leak plugged.
45817         * posix/bug-regex31.input: Add test case.
45818
45819 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45820
45821         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
45822         * posix/bug-regex31.input: New file.
45823
45824         [BZ #12078]
45825         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
45826         (parse_sub_exp): Fix last change, use postorder.
45827
45828         * posix/bug-regex31.c: New file.
45829         * posix/Makefile: Add rules to build and run bug-regex31.
45830
45831         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
45832
45833         [BZ #12078]
45834         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
45835
45836         [BZ #12108]
45837         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
45838         to have entries in sys_siglist.
45839
45840         [BZ #12093]
45841         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
45842         be NULL.
45843
45844 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
45845
45846         [BZ #3268]
45847         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
45848         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
45849         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
45850         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
45851         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
45852         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
45853         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
45854         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
45855         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
45856         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
45857         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
45858         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
45859         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
45860         * math/ftestexcept.c (fetestexcept): Likewise.
45861         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
45862         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
45863         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
45864         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
45865         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
45866         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
45867         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
45868
45869 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
45870
45871         [BZ #12107]
45872         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
45873         newline.
45874
45875 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
45876
45877         * string/bug-strstr1.c: New file.
45878         * string/Makefile: Add rules to build and run bug-strstr1.
45879
45880 2010-10-05  Eric Blake  <eblake@redhat.com>
45881
45882         [BZ #12092]
45883         * string/str-two-way.h (two_way_long_needle): Always clear memory
45884         when skipping input due to the shift table.
45885
45886 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
45887
45888         [BZ #12005]
45889         * malloc/mcheck.c: Handle large requests.
45890
45891         [BZ #12077]
45892         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
45893         for strncmp and strncasecmp.
45894         * string/stratcliff.c: Add tests for strcmp and strncmp.
45895         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
45896
45897 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45898
45899         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
45900         __set_fpscr.
45901
45902 2010-09-30  Andreas Jaeger  <aj@suse.de>
45903
45904         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
45905         (CGROUP_SUPER_MAGIC): Define.
45906         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
45907         Handle btrfs and cgroup file systems.
45908         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
45909         Likewise.
45910
45911 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
45912
45913         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
45914         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
45915
45916 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45917
45918         [BZ #12067]
45919         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
45920         trying to locate the ELF header.
45921
45922 2010-09-27  Andreas Schwab  <schwab@redhat.com>
45923
45924         [BZ #11611]
45925         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
45926         Mask out sign-bit copies when constructing f_fsid.
45927
45928 2010-09-24  Petr Baudis <pasky@suse.cz>
45929
45930         * debug/stack_chk_fail_local.c: Add missing licence exception.
45931         * debug/warning-nop.c: Likewise.
45932
45933 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
45934
45935         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
45936         implementing getdents64 using getdents syscall, set d_type if
45937         __ASSUME_GETDENTS32_D_TYPE.
45938
45939 2010-09-16  Andreas Schwab  <schwab@redhat.com>
45940
45941         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
45942         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
45943
45944 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
45945
45946         [BZ #12037]
45947         * posix/unistd.h: Undo change of feature selection for ftruncate from
45948         2010-01-11.
45949
45950 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
45951
45952         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
45953         detection.
45954
45955 2010-09-20  Andreas Schwab  <schwab@redhat.com>
45956
45957         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
45958         fanotify_mark.
45959         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
45960
45961 2010-09-14  Andreas Schwab  <schwab@redhat.com>
45962
45963         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
45964         variables after CHECK_SP call.
45965         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
45966
45967 2010-09-13  Andreas Schwab  <schwab@redhat.com>
45968             Ulrich Drepper  <drepper@redhat.com>
45969
45970         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
45971         re-relocationg ld.so.
45972         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
45973         _dl_init_paths call.
45974         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
45975         here anymore.
45976
45977 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
45978
45979         * resolv/res_init.c (__res_vinit): Count the default server we added.
45980
45981 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
45982             Ulrich Drepper  <drepper@redhat.com>
45983
45984         [BZ #11968]
45985         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
45986         (____longjmp_chk): Use %ebx for saving value across system call.
45987         Add unwind info.
45988
45989 2010-09-06  Andreas Schwab  <schwab@redhat.com>
45990
45991         * manual/Makefile: Don't mix pattern rules with normal rules.
45992
45993 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
45994
45995         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
45996         operation.
45997         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
45998         * libio/iofopncook.c (_IO_cookie_init): Likewise.
45999         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
46000         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
46001         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
46002         Likewise.
46003
46004 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
46005
46006         [BZ #11979]
46007         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
46008         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
46009
46010 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
46011
46012         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
46013         * sysdeps/x86_64/addmul_1.S: Likewise.
46014         * sysdeps/x86_64/lshift.S: Likewise.
46015         * sysdeps/x86_64/mul_1.S: Likewise.
46016         * sysdeps/x86_64/rshift.S: Likewise.
46017         * sysdeps/x86_64/sub_n.S: Likewise.
46018         * sysdeps/x86_64/submul_1.S: Likewise.
46019
46020 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46021
46022         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
46023         Define __sched_param instead of SCHED_* and sched_param when
46024         <bits/sched.h> is included with __need_schedparam defined.
46025         * bits/sched.h [__need_schedparam]
46026         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
46027         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
46028         (__defined_schedparam): Define to 1.
46029         (__sched_param): New structure, identical to sched_param.
46030         (__need_schedparam): Undefine.
46031
46032 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
46033
46034         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
46035         (epoll_create1): Declare.
46036
46037         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
46038
46039 2010-08-31  Andreas Schwab  <schwab@redhat.com>
46040
46041         [BZ #7066]
46042         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
46043         shifting retval into place.
46044
46045 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
46046
46047         * nis/rpcsvc/nis.h: Update copyright notice.
46048         * nis/rpcsvc/nis.x: Likewise.
46049         * nis/rpcsvc/nis_callback.h: Likewise.
46050         * nis/rpcsvc/nis_callback.x: Likewise.
46051         * nis/rpcsvc/nis_object.x: Likewise.
46052         * nis/rpcsvc/nis_tags.h: Likewise.
46053         * nis/rpcsvc/yp.h: Likewise.
46054         * nis/rpcsvc/yp.x: Likewise.
46055         * nis/rpcsvc/ypupd.h: Likewise.
46056         * nis/yp_xdr.c: Likewise.
46057         * nis/ypupdate_xdr.c: Likewise.
46058
46059         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
46060         mainly the body of pmap_getport.  Add parameters to specify timeouts.
46061         (pmap_getport): Use __libc_rpc_getport.
46062         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
46063         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
46064         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
46065
46066 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
46067
46068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
46069         fanotify_mark.
46070
46071 2010-08-27  Roland McGrath  <roland@redhat.com>
46072
46073         * sysdeps/i386/i686/multiarch/Makefile
46074         (CFLAGS-varshift.c): New variable.
46075
46076 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
46077
46078         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
46079         * sysdeps/i386/i686/multiarch/varshift.c: New file.
46080
46081         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
46082
46083         * sysdeps/x86_64/strlen.S: Minimal code improvement.
46084
46085 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
46086
46087         * sysdeps/x86_64/strlen.S: Unroll the loop.
46088         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46089         strlen-sse2 strlen-sse2-bsf.
46090         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
46091         __strlen_no_bsf if bit_Slow_BSF is set.
46092         (__strlen_sse42): Removed.
46093         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
46094         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
46095
46096 2010-08-25  Roland McGrath  <roland@redhat.com>
46097
46098         * sysdeps/x86_64/multiarch/varshift.S: File removed.
46099         * sysdeps/x86_64/multiarch/varshift.c: New file.
46100         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
46101         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
46102         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
46103         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
46104
46105 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
46106
46107         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46108         strlen-sse2 strlen-sse2-bsf.
46109         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
46110         __strlen_sse2_bsf if bit_Slow_BSF is unset.
46111         (__strlen_sse2): Removed.
46112         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
46113         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
46114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
46115         bit_Slow_BSF for Atom.
46116         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
46117         (index_Slow_BSF): Define.
46118         (HAS_SLOW_BSF): Define.
46119
46120 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
46121
46122         [BZ #10851]
46123         * resolv/res_init.c (__res_vinit): When no server address at all
46124         is given default to loopback.
46125
46126 2010-08-24  Roland McGrath  <roland@redhat.com>
46127
46128         * configure.in: Remove config-name.h generation.
46129         * configure: Regenerated.
46130         * config-name.in: File removed.
46131         * scripts/config-uname.sh: New file.
46132         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
46133         ($(objdir)config-name.h): New target.
46134
46135         * sunrpc/rpc_parse.h: Avoid nested comment.
46136
46137 2010-08-24  Richard Henderson  <rth@redhat.com>
46138             Ulrich Drepper  <drepper@redhat.com>
46139             H.J. Lu  <hongjiu.lu@intel.com>
46140
46141         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
46142         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
46143         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
46144         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
46145         _mm_alignr_epi8 with _mm_loadu_si128.
46146         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
46147         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
46148         (__m128i_shift_right): Removed.
46149         * sysdeps/i386/i686/multiarch/varshift.h: New file.
46150         * sysdeps/i386/i686/multiarch/varshift.S: New file.
46151         * sysdeps/x86_64/multiarch/varshift.h: New file.
46152         * sysdeps/x86_64/multiarch/varshift.S: New file.
46153
46154 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
46155
46156         * configure.in: Move assembler checks to before sysdep dir checking.
46157
46158 2010-08-20  Petr Baudis  <pasky@suse.cz>
46159
46160         * LICENSES: Sync the sunrpc license.
46161
46162 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
46163
46164         * sunrpc/auth_des.c: Update copyright notice once again.
46165         * sunrpc/auth_none.c: Likewise.
46166         * sunrpc/auth_unix.c: Likewise.
46167         * sunrpc/authdes_prot.c: Likewise.
46168         * sunrpc/authuxprot.c: Likewise.
46169         * sunrpc/bindrsvprt.c: Likewise.
46170         * sunrpc/clnt_gen.c: Likewise.
46171         * sunrpc/clnt_perr.c: Likewise.
46172         * sunrpc/clnt_raw.c: Likewise.
46173         * sunrpc/clnt_simp.c: Likewise.
46174         * sunrpc/clnt_tcp.c: Likewise.
46175         * sunrpc/clnt_udp.c: Likewise.
46176         * sunrpc/clnt_unix.c: Likewise.
46177         * sunrpc/des_crypt.c: Likewise.
46178         * sunrpc/des_soft.c: Likewise.
46179         * sunrpc/get_myaddr.c: Likewise.
46180         * sunrpc/getrpcport.c: Likewise.
46181         * sunrpc/key_call.c: Likewise.
46182         * sunrpc/key_prot.c: Likewise.
46183         * sunrpc/openchild.c: Likewise.
46184         * sunrpc/pm_getmaps.c: Likewise.
46185         * sunrpc/pm_getport.c: Likewise.
46186         * sunrpc/pmap_clnt.c: Likewise.
46187         * sunrpc/pmap_prot.c: Likewise.
46188         * sunrpc/pmap_prot2.c: Likewise.
46189         * sunrpc/pmap_rmt.c: Likewise.
46190         * sunrpc/rpc/auth.h: Likewise.
46191         * sunrpc/rpc/auth_unix.h: Likewise.
46192         * sunrpc/rpc/clnt.h: Likewise.
46193         * sunrpc/rpc/des_crypt.h: Likewise.
46194         * sunrpc/rpc/key_prot.h: Likewise.
46195         * sunrpc/rpc/netdb.h: Likewise.
46196         * sunrpc/rpc/pmap_clnt.h: Likewise.
46197         * sunrpc/rpc/pmap_prot.h: Likewise.
46198         * sunrpc/rpc/pmap_rmt.h: Likewise.
46199         * sunrpc/rpc/rpc.h: Likewise.
46200         * sunrpc/rpc/rpc_des.h: Likewise.
46201         * sunrpc/rpc/rpc_msg.h: Likewise.
46202         * sunrpc/rpc/svc.h: Likewise.
46203         * sunrpc/rpc/svc_auth.h: Likewise.
46204         * sunrpc/rpc/types.h: Likewise.
46205         * sunrpc/rpc/xdr.h: Likewise.
46206         * sunrpc/rpc_clntout.c: Likewise.
46207         * sunrpc/rpc_cmsg.c: Likewise.
46208         * sunrpc/rpc_common.c: Likewise.
46209         * sunrpc/rpc_cout.c: Likewise.
46210         * sunrpc/rpc_dtable.c: Likewise.
46211         * sunrpc/rpc_hout.c: Likewise.
46212         * sunrpc/rpc_main.c: Likewise.
46213         * sunrpc/rpc_parse.c: Likewise.
46214         * sunrpc/rpc_parse.h: Likewise.
46215         * sunrpc/rpc_prot.c: Likewise.
46216         * sunrpc/rpc_sample.c: Likewise.
46217         * sunrpc/rpc_scan.c: Likewise.
46218         * sunrpc/rpc_scan.h: Likewise.
46219         * sunrpc/rpc_svcout.c: Likewise.
46220         * sunrpc/rpc_tblout.c: Likewise.
46221         * sunrpc/rpc_util.c: Likewise.
46222         * sunrpc/rpc_util.h: Likewise.
46223         * sunrpc/rpcinfo.c: Likewise.
46224         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
46225         * sunrpc/rpcsvc/key_prot.x: Likewise.
46226         * sunrpc/rpcsvc/klm_prot.x: Likewise.
46227         * sunrpc/rpcsvc/mount.x: Likewise.
46228         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
46229         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
46230         * sunrpc/rpcsvc/rex.x: Likewise.
46231         * sunrpc/rpcsvc/rstat.x: Likewise.
46232         * sunrpc/rpcsvc/rusers.x: Likewise.
46233         * sunrpc/rpcsvc/sm_inter.x: Likewise.
46234         * sunrpc/rpcsvc/spray.x: Likewise.
46235         * sunrpc/rpcsvc/yppasswd.x: Likewise.
46236         * sunrpc/rtime.c: Likewise.
46237         * sunrpc/svc.c: Likewise.
46238         * sunrpc/svc_auth.c: Likewise.
46239         * sunrpc/svc_authux.c: Likewise.
46240         * sunrpc/svc_raw.c: Likewise.
46241         * sunrpc/svc_run.c: Likewise.
46242         * sunrpc/svc_simple.c: Likewise.
46243         * sunrpc/svc_tcp.c: Likewise.
46244         * sunrpc/svc_udp.c: Likewise.
46245         * sunrpc/svc_unix.c: Likewise.
46246         * sunrpc/svcauth_des.c: Likewise.
46247         * sunrpc/xcrypt.c: Likewise.
46248         * sunrpc/xdr.c: Likewise.
46249         * sunrpc/xdr_array.c: Likewise.
46250         * sunrpc/xdr_float.c: Likewise.
46251         * sunrpc/xdr_mem.c: Likewise.
46252         * sunrpc/xdr_rec.c: Likewise.
46253         * sunrpc/xdr_ref.c: Likewise.
46254         * sunrpc/xdr_sizeof.c: Likewise.
46255         * sunrpc/xdr_stdio.c: Likewise.
46256
46257         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
46258         handling.
46259
46260 2010-08-19  Andreas Schwab  <schwab@redhat.com>
46261
46262         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
46263
46264 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
46265
46266         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
46267         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
46268         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
46269         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
46270         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
46271         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
46272         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
46273         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
46274         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
46275         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
46276         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
46277         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
46278         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
46279         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
46280
46281 2010-07-26  Anton Blanchard  <anton@samba.org>
46282
46283         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
46284         * malloc/arena.c (heap_trim): Likewise.
46285
46286 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
46287
46288         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
46289         here.  Not...
46290         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
46291         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
46292
46293 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46294
46295         * sysdeps/i386/elf/Makefile: New file.
46296
46297 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46298
46299         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
46300         from fanotify_init.
46301         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
46302         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46303
46304 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
46305
46306         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
46307         of strncasecmp_l.
46308         * sysdeps/multiarch/strcmp.S: Likewise.
46309
46310 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
46311
46312         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46313         strncase_l-nonascii.
46314         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46315         Add strncase_l-ssse3.
46316         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
46317         * sysdeps/x86_64/strcmp.S: Likewise.
46318         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
46319         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
46320         * sysdeps/x86_64/strncase.S: New file.
46321         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
46322         * sysdeps/x86_64/strncase_l.S: New file.
46323         * string/Makefile (strop-tests): Add strncasecmp.
46324         * string/test-strncasecmp.c: New file.
46325
46326         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
46327         warning.
46328
46329         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
46330         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
46331
46332 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
46333
46334         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
46335
46336 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
46337
46338         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
46339         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
46340         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
46341
46342 2010-05-01  Alan Modra  <amodra@gmail.com>
46343
46344         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
46345         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
46346         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
46347         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
46348         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
46349         tidying.  Don't tail-call __sigjmp_save for static lib.
46350         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
46351         save location.
46352         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
46353         (CALL_MCOUNT): Add eh info, and nop after bl.
46354         (TAIL_CALL_SYSCALL_ERROR): New macro.
46355         (PSEUDO_RET): Use it.
46356         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
46357         Correct save location of integer regs and cr.
46358         (_dl_profile_resolve): Correct cr save location.  Delete nops
46359         after bl when SHARED.  Reduce cfi size a little by better
46360         placement of cfi directives.
46361         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
46362         make a stack frame.  Instead use parm save area as a temp.
46363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
46364         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
46365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
46366         Don't make a stack frame for parent, use parm save area.
46367         Increase child stack frame to 112 bytes.  Don't save unused reg,
46368         and adjust reg usage.  Set up cfi on error recovery and
46369         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
46370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
46371         (__makecontext): Add dummy nop after jump to exit.
46372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
46373         Use correct parm save area and cr save, reduce stack frame.
46374         Correct cfi for possible PSEUDO_RET frame setup.
46375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
46376         Branch to local label emitted by PSEUDO_RET rather than
46377         __syscall_error.
46378
46379 2010-08-12  Andreas Schwab  <schwab@redhat.com>
46380
46381         [BZ #11904]
46382         * locale/programs/locale.c (print_assignment): New function.
46383         (show_locale_vars): Use it.
46384
46385 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
46386
46387         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
46388         field.
46389         (struct statfs64): Likewise.
46390         (_STATFS_F_FLAGS): Define.
46391         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
46392         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
46393         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
46394         (ST_VALID): Define locally.
46395         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
46396         __statvfs_getflags, use the provided value.
46397         * sysdeps/unix/sysv/linux/kernel-features.h: Define
46398         __ASSUME_STATFS_F_FLAGS.
46399
46400         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
46401
46402         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
46403         Add sys/fanotify.h.
46404         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
46405         fanotify_mask for GLIBC_2.13.
46406         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
46407         fanotify_init and fanotify_mark.
46408         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
46409         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
46410
46411         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
46412         Add prlimit.
46413         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
46414         prlimit64 for GLIBC_2.13.
46415         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
46416         prlimit64.
46417         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
46418         syscall.
46419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
46420         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
46421         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
46422         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
46423         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
46424         add prlimit alias.
46425         * sysdeps/unix/sysv/linux/prlimit.c: New file.
46426
46427         [BZ #11903]
46428         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
46429         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
46430
46431         * nss/Makefile: Add rules to build and run tst-nss-test1.
46432         * shlib-versions: Add entry for libnss_test1.
46433         * nss/nss_test1.c: New file.
46434         * nss/tst-nss-test1.c: New file.
46435
46436         * nss/nsswitch.c (__nss_database_custom): Define new variable.
46437         (__nss_configure_lookup): Set appropriate entry in
46438         __nss_configure_lookup to true.
46439         * nss/nsswitch.h: Define enum with indeces of databases in
46440         databases and __nss_database_custom arrays.  Declare
46441         __nss_database_custom.
46442         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
46443         to avoid using nscd when custom rules are installed.
46444         * nss/getXXbyYY_r.c: Likewise.
46445         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46446
46447         * nss/nss_files/files-parse.c: Whitespace fixes.
46448
46449 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
46450
46451         [BZ #11883]
46452         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
46453         * posix/fnmatch_loop.c: Likewise.
46454
46455 2010-07-17  Andi Kleen  <ak@linux.intel.com>
46456
46457         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
46458         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
46459         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
46460         * Versions.def [GLIBC_2.13]: Add.
46461
46462 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
46463
46464         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46465         Also fail if tpwd after pwuid call is NULL.
46466
46467 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46468
46469         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
46470         when converting to ms.
46471
46472 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46473
46474         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
46475         EOPNOTSUPP errors with ENOTTY.
46476         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
46477         EOPNOTSUPP errors with ENOTTY.
46478
46479 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
46480
46481         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
46482         Add strcasecmp_l-ssse3.
46483         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
46484         strcasecmp.
46485         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
46486         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
46487         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
46488
46489 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
46490
46491         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
46492
46493         * string/Makefile (strop-tests): Add strcasecmp.
46494         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
46495         strcasecmp_l-nonascii.
46496         (gen-as-const-headers): Add locale-defines.sym.
46497         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
46498         * sysdeps/x86_64/strcasecmp.S: New file.
46499         * sysdeps/x86_64/strcasecmp_l.S: New file.
46500         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
46501         * sysdeps/x86_64/locale-defines.sym: New file.
46502         * string/test-strcasecmp.c: New file.
46503
46504         * string/test-strcasestr.c: Test both ends of the range of characters.
46505         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
46506
46507 2010-07-29  Roland McGrath  <roland@redhat.com>
46508
46509         [BZ #11856]
46510         * manual/locale.texi (Yes-or-No Questions): Fix example code.
46511
46512 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
46513
46514         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
46515         for ld.so.
46516
46517 2010-07-27  Andreas Schwab  <schwab@redhat.com>
46518
46519         * manual/memory.texi (Malloc Tunable Parameters): Document
46520         M_PERTURB.
46521
46522 2010-07-26  Roland McGrath  <roland@redhat.com>
46523
46524         [BZ #11840]
46525         * configure.in (-fgnu89-inline check): Set and substitute
46526         gnu89_inline, not libc_cv_gnu89_inline.
46527         * configure: Regenerated.
46528         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
46529
46530 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
46531
46532         * string/test-strnlen.c: New file.
46533         * string/Makefile (strop-tests): Add strnlen.
46534         * string/tester.c (test_strnlen): Add a few more test cases.
46535         * string/tst-strlen.c: Better error reporting.
46536
46537         * sysdeps/x86_64/strnlen.S: New file.
46538
46539 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
46540
46541         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
46542         lower-latency instructions.
46543
46544 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
46545
46546         * string/test-strcasestr.c: New file.
46547         * string/test-strstr.c: New file.
46548         * string/Makefile (strop-tests): Add strstr and strcasestr.
46549         * string/str-two-way.h: Don't undefine MAX.
46550         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
46551
46552 2010-07-21  Andreas Schwab  <schwab@redhat.com>
46553
46554         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
46555         strcasestr-nonascii.
46556         (CFLAGS-strcasestr-nonascii.c): Define.
46557         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
46558         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
46559         Remove unused attribute.
46560
46561 2010-07-20  Roland McGrath  <roland@redhat.com>
46562
46563         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
46564         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
46565         ld.so.cache was broken.  With it, there is no way to disable dsocaps
46566         like LD_HWCAP_MASK can disable hwcaps.
46567
46568 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46569
46570         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
46571
46572 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
46573
46574         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
46575         call in strcasestr.
46576         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
46577         __strcasestr_sse42_nonascii.
46578         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
46579         strcasestr-nonascii.c.
46580         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
46581
46582 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
46583
46584         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
46585         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
46586         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
46587         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
46588
46589 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
46590
46591         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
46592         fcntl.
46593
46594 2010-07-06  Andreas Schwab  <schwab@redhat.com>
46595
46596         [BZ #11577]
46597         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
46598         dl_signal_cerror.
46599
46600 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
46601
46602         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
46603         _PC_PIPE_BUF using F_GETPIPE_SZ.
46604
46605 2010-07-05  Roland McGrath  <roland@redhat.com>
46606
46607         * manual/arith.texi (Rounding Functions): Fix rint description
46608         implicit in round description.
46609
46610 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
46611
46612         * elf/Makefile: Fix linking for a few tests to make recent linker
46613         happy.
46614
46615 2010-06-30  Andreas Schwab  <schwab@redhat.com>
46616
46617         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
46618         $(common-objpfx)libc_nonshared.a.
46619
46620 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
46621
46622         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
46623         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
46624         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46625         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46626         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
46627         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
46628         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46629         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
46631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
46632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
46633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
46634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
46635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
46636         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
46637         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
46638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
46639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
46640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
46641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
46642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
46643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
46644         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
46645         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
46646         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
46647         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
46648         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
46649         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
46650         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
46651         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
46652         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
46653         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
46654         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
46655         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
46656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
46657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
46658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
46659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
46660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
46661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
46662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
46663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
46664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
46665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
46666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
46667         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
46668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
46669         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
46670
46671 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
46672
46673         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
46674         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
46675         * string/memmove.c (memmove): Renamed to ...
46676         (MEMMOVE): ...this.  Default to memmove.
46677         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
46678         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
46679         (END_CHK): Define.
46680         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46681         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
46682         mempcpy-ssse3-back memmove-ssse3-back.
46683         * sysdeps/x86_64/multiarch/bcopy.S: New file .
46684         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
46685         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
46686         * sysdeps/x86_64/multiarch/memcpy.S: New file.
46687         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
46688         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
46689         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
46690         * sysdeps/x86_64/multiarch/memmove.c: New file.
46691         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
46692         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
46693         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
46694         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
46695         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
46696         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
46697         Define.
46698         (index_Fast_Copy_Backward): Define.
46699         (HAS_ARCH_FEATURE): Define.
46700         (HAS_FAST_REP_STRING): Define.
46701         (HAS_FAST_COPY_BACKWARD): Define.
46702
46703 2010-06-21  Andreas Schwab  <schwab@redhat.com>
46704
46705         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
46706         Restore proper fallback handling.
46707
46708 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
46709
46710         [BZ #11701]
46711         * posix/group_member.c (__group_member): Correct checking loop.
46712
46713         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
46714         OOM in getpwuid_r correctly.  Return error number when the caller
46715         should return, otherwise -1.
46716         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
46717         call returning > 0 value.
46718         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
46719
46720 2010-06-07  Andreas Schwab  <schwab@redhat.com>
46721
46722         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
46723         libc_nonshared.a from targets in modules-names.
46724
46725 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
46726
46727         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
46728         requires it.
46729
46730 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
46731
46732         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
46733         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
46734         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
46735         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
46736
46737 2010-06-02  Andreas Schwab  <schwab@redhat.com>
46738
46739         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
46740
46741 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
46742
46743         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
46744         and F_GETPIPE_SZ.
46745         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
46746         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
46747         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
46748         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46749         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
46750         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
46751
46752 2010-06-14  Roland McGrath  <roland@redhat.com>
46753
46754         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
46755
46756 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
46757
46758         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
46759         __REDIRECT followed by __THROW.
46760         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
46761         * posix/getopt.h (getopt): Likewise.
46762
46763 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
46764
46765         * hurd/lookup-at.c (__file_name_lookup_at): Accept
46766         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
46767         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
46768         in AT_FLAGS.
46769         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
46770         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
46771
46772 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
46773
46774         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
46775
46776 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
46777
46778         [BZ #11640]
46779         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
46780         Properly check family and model.
46781
46782 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
46783
46784         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
46785
46786 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
46787
46788         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
46789
46790 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
46791
46792         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
46793         symbol reference.
46794
46795 2010-05-19  Andreas Schwab  <schwab@redhat.com>
46796
46797         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
46798         symbol reference.
46799
46800 2010-05-21  Andreas Schwab  <schwab@redhat.com>
46801
46802         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
46803         and internal_recvmmsg.
46804         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
46805         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
46806         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
46807         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
46808
46809         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
46810         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
46811         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
46812
46813 2010-05-20  Andreas Schwab  <schwab@redhat.com>
46814
46815         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
46816
46817 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
46818
46819         POWER7 optimizations.
46820         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
46821         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
46822
46823 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
46824
46825         * version.h: Update for 2.13 development version.
46826
46827 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
46828
46829         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
46830         exceptions.  Return 0.
46831
46832 2010-05-07  Roland McGrath  <roland@redhat.com>
46833
46834         * elf/ldconfig.c (main): Add a const.
46835
46836 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
46837
46838         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
46839         (args_options): Add no-idn option.
46840         (ahosts_keys_int): Add idn_flags to ai_flags.
46841         (parse_option): Handle 'i' option to clear idn_flags.
46842
46843         * malloc/malloc.c (_int_free): Possible race in the most recently
46844         added check.  Only act on the data if no current modification
46845         happened.
46846
46847 See ChangeLog.17 for earlier changes.